[krita] [Bug 393307] Krita is looking for the unversioned libpython3.so instead of the versioned one

2018-05-29 Thread Pino Toscano
https://bugs.kde.org/show_bug.cgi?id=393307

Pino Toscano  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri
   |ta/1553c12637e15d77168e6dda |ta/8b59bf27b4af54203dd4e0ca
   |d287ccbf0c53075b|aec9d81c9957d8a9

--- Comment #4 from Pino Toscano  ---
Git commit 8b59bf27b4af54203dd4e0caaec9d81c9957d8a9 by Pino Toscano.
Committed on 29/05/2018 at 09:35.
Pushed by pino into branch 'krita/4.0'.

Fix loading of the Python library

Summary:
Instead of assuming the unversioned .so symlink will exist also at
runtime (which is not the case for binary distros), use the QLibrary
features: the SONAME of the Python library is "1.0", so use the
unsuffixed filename of Python library with it.

Additionally, this extends the loading also to Unices platforms
different than macOS (since Boud excluded it in a previous commit),
and destroy the QLibrary in case of loading failure.
Fixed-In: 4.0.4

Reviewers: rempt

Reviewed By: rempt

Subscribers: rempt

Differential Revision: https://phabricator.kde.org/D13144

(cherry picked from commit 1553c12637e15d77168e6ddad287ccbf0c53075b)

M  +7-31   plugins/extensions/pykrita/plugin/utilities.cpp

https://commits.kde.org/krita/8b59bf27b4af54203dd4e0caaec9d81c9957d8a9

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 393307] Krita is looking for the unversioned libpython3.so instead of the versioned one

2018-05-29 Thread Pino Toscano
https://bugs.kde.org/show_bug.cgi?id=393307

Pino Toscano  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/kri
   ||ta/1553c12637e15d77168e6dda
   ||d287ccbf0c53075b

--- Comment #3 from Pino Toscano  ---
Git commit 1553c12637e15d77168e6ddad287ccbf0c53075b by Pino Toscano.
Committed on 29/05/2018 at 08:45.
Pushed by pino into branch 'master'.

Fix loading of the Python library

Summary:
Instead of assuming the unversioned .so symlink will exist also at
runtime (which is not the case for binary distros), use the QLibrary
features: the SONAME of the Python library is "1.0", so use the
unsuffixed filename of Python library with it.

Additionally, this extends the loading also to Unices platforms
different than macOS (since Boud excluded it in a previous commit),
and destroy the QLibrary in case of loading failure.
Fixed-In: 4.0.4

Reviewers: rempt

Reviewed By: rempt

Subscribers: rempt

Differential Revision: https://phabricator.kde.org/D13144

M  +7-31   plugins/extensions/pykrita/plugin/utilities.cpp

https://commits.kde.org/krita/1553c12637e15d77168e6ddad287ccbf0c53075b

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 393307] Krita is looking for the unversioned libpython3.so instead of the versioned one

2018-05-27 Thread Pino Toscano
https://bugs.kde.org/show_bug.cgi?id=393307

Pino Toscano  changed:

   What|Removed |Added

 CC||p...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 393307] Krita is looking for the unversioned libpython3.so instead of the versioned one

2018-05-27 Thread Pino Toscano
https://bugs.kde.org/show_bug.cgi?id=393307

Pino Toscano  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #2 from Pino Toscano  ---
Opened a review with a potential fix:
https://phabricator.kde.org/D13144

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 393307] Krita is looking for the unversioned libpython3.so instead of the versioned one

2018-04-19 Thread Lisandro Damián Nicanor Pérez Meyer
https://bugs.kde.org/show_bug.cgi?id=393307

Lisandro Damián Nicanor Pérez Meyer  changed:

   What|Removed |Added

 CC||perezme...@gmail.com

--- Comment #1 from Lisandro Damián Nicanor Pérez Meyer  
---
In other words: the app seems to be using the unversioned .so file, which
should only be present in a developer's machine. Instead it should look for the
versioned file.

-- 
You are receiving this mail because:
You are watching all bug changes.