Commit Graph

9 Commits

Author SHA1 Message Date
David Korth
baa576f932 [kf5] Install KDE service menus in ${SERVICES_INSTALL_DIR} if older than KF5 5.85.
The path was changed to a common KIO directory in 5.85.

rom-properties-kf5.install: Add the ${SERVICES_INSTALL_DIR} entry, and
also remove the KIO install entry, since that was split out into the
rom-properties-kio-servicemenus package.

TODO: Don't install rom-properties-kio-servicemenus if KF5 is earlier
than 5.85, or install it anyway for forward compatibility?

[kf5] On Ubuntu 16.04, ${SERVICES_INSTALL_DIR} is incorrectly set to
the KDE4 directory. Not usre if it's because kdelibs5 for KDE4 is also
installed... As a workaround, if ${SERVICES_INSTALL_DIR} contains kde4,
change it to "share/kservices5".
2024-03-01 01:37:59 -05:00
David Korth
b408e8c5f8 [debian] Install xattrview-(kde4|kf5).desktop. 2024-02-29 23:27:54 -05:00
David Korth
db875e03e4 [debian] Reverted to the Ubuntu 16.04 versions.
Retained the -DENABLE_LTO=OFF change, since gcc-5 doesn't seem to
like doing LTO with the UI frontends anymore.
2023-07-01 21:48:01 -04:00
David Korth
a0f24ae8a7 [debian] rom-properties-kf5.install: Fix this for the previous changes. 2023-07-01 21:32:24 -04:00
David Korth
0e71d1ad37 [kf5] Fix plugin installation paths when using the JSON plugin loader.
rom-properties-kf5.so and xattrview-kf5.so are located in
KF5_PRPD_PLUGIN_INSTALL_DIR when using JSON loading, not
KF5_PLUGIN_INSTALL_DIR.

Ubuntu 22.04 has KF5 5.92.0; JSON loading was added in 5.89.0.

rom-properties-kf5.install:
- Update the paths.
- Remove the .desktop files, since they're not needed (or created)
  anymore.
2023-07-01 20:07:29 -04:00
David Korth
86bc7122b1 [kde] Split XAttrView into a completely separate plugin.
This lets us remove application/octet-stream from the main plugin,
so we don't have to check MIME types anymore.
2022-12-26 20:16:23 -05:00
David Korth
9f61aa160d [kf5] rp-convert-to-png.desktop: Added a service menu to make it easy to convert supported image formats to PNG.
This uses a new option in rp-stub, '-a' / '--autoext', which creates the
output filename by changing the file extension of the source file.

TODO: Test on KDE4. If it works there with no or minimal changes, move
the .desktop file to a KDE common package. For now, it's in the KF5
package.
2022-12-04 19:59:14 -05:00
David Korth
94235fc5a8 [kde] Split the .desktop files into one for ThumbCreator and one for KPropertiesDialog.
This fixes e.g. Windows EXE thumbnailing, which is supported by another
plugin on KDE, but not by rom-properties; however, rom-properties *does*
support EXE for properties functions. With both ThumbCreator and
KPropertiesDialog in one .desktop file, all MIME types were taken over
by rom-properties for ThumbCreator, even if those types weren't supported.
2020-09-13 04:22:41 -04:00
David Korth
71a9b61cd8 Renamed the KDE5 frontend to KF5 to match upstream branding guidelines.
Related bug report for LibreOffice:
https://bugs.documentfoundation.org/show_bug.cgi?id=125922

NOTE: dll-search.c still checks for "KDE5" for compatibility.

NOTE 2 We did NOT include "KDE5" in the forwarding plugins for
compatibility because they shouldn't be mixed-and-matched with
rom-properties versions.
2020-01-19 13:28:17 -05:00