Age | Commit message (Collapse) | Author |
|
The XnView binary in that release has wrong permissions, add some more
permission cleanup.
|
|
|
|
|
|
I had the unpleasant surprise to find that something changed in the Qt5
libraries shipped in 0.93.1, in such a way that they're not quite
compatible with the system ones on Arch. Fortunately I found a way
around that, which is frankly horrifying, but as long as you don't look
at it it's probably alright!
On the plus side, I've made some cleanups:
- Drop the 32-bit package (like in xnviewmp).
- Drop the trash workaround, it's fixed in 0.93.1.
- No need to special-case the "styles" folder any more, since it's now
shipped as well.
|
|
As reported by fuan_k, the trash functionality is now quite broken
because XnView relies on gvfs-trash, which no longer exists. Until it is
properly fixed, use a wrapper that calls gio trash (gio is provided by
glib2, so the optdepends has been updated).
See also: https://newsgroup.xnview.com/viewtopic.php?t=37989
|
|
|
|
|
|
|
|
Pulled in qtav for libQtAVWidgets, see
https://newsgroup.xnview.com/viewtopic.php?f=82&t=37907
|
|
Setting QT_QPA_PLATFORMTHEME to gtk2 doesn't work out of the box on
Cinnamon (and probably other DEs). Using qt5ct works fine for me, so
let's remove the override for now and see if anyone complains :-)
|
|
|
|
|
|
As pointed out by Marcouney (thanks for the tip!), it can be useful to
symlink plugins/styles as well, so that theme engines such as qt5ct can
be used for XnView as well without additional hacks. Note that xnview.sh
would have to be modified for that purpose, as it overrides
QT_QPA_PLATFORMTHEME.
|
|
|
|
It turns out everything in lib/ should come from the system, so we can
gain a bit more space by removing all the provided libraries (except
those in Plugins/).
|
|
|
|
So apparently setting QT_QPA_PLATFORMTHEME was not enough to fix the
font issue. I found out that using QT_PLUGIN_PATH=/usr/lib/qt/plugins
didn't work for me because of an obscure issue in the OpenGL xcb
integration. So my idea was to use the system Qt plugins, but not the
whole directory as some stuff doesn't work. Symlinking just platforms
and platformthemes seems to do the trick: no segfault and no font
problem.
Do keep in mind that this package is experimental and things may break
as I am experimenting. But of course, when this happens, let me know and
I'll try my best to make it work for everyone.
|
|
|
|
Add the version number to the downloaded source archives. This talks
makepkg into redownloading the sources when there is a new release,
instead of keeping the old archive and failing the checksum. This also
has the nice side-effect of keeping previous source versions, should one
want to downgrade the package.
Since upstream does not always bump the version number when releasing
new sources, I had to use a trick to make it work. "-rel$srcrel" is
appended to the filename, and if new sources of the same version are
released, srcrel is incremented (and then reset to 1 when a new version
is released). Not beautiful, but it should do the job.
|
|
Hopefully the QT_QPA_PLATFORMTHEME hack will work for most people.
|