Commit Graph

212 Commits

Author SHA1 Message Date
David Korth
1c0c1d02ec [debian] changelog: zstd changes 2023-07-01 16:50:49 -04:00
David Korth
f26eb78c67 [debian] rules: Disable LTO for Ubuntu 16.04 "Xenial" Xerus. 2023-07-01 16:29:10 -04:00
David Korth
f12bad7d5b rom-properties 2.2 2023-07-01 15:42:35 -04:00
David Korth
7b22820162 [rpcli] Install rpcli.local.apparmor.conf as /etc/apparmor.d/local/usr.bin.rpcli .
The rpcli AppArmor configuration includes a local conf, but a default
one wasn't provided:

AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.bin.rpcli
at line 47: Could not open 'local/usr.bin.rpcli'

TODO: Do the same for rp-download, but the use of libexec might complicate
things.
2023-03-19 14:09:13 -04:00
David Korth
64cc7b7aba [debian] Bump libromdata2 to libromdata3. 2023-02-19 13:03:58 -05:00
David Korth
48b3d8530e [microtar] Initial import of MicroTAR, a small tar implementation.
This only implements tar v7, which has some limitations.
(maximum of 100 characters for filenames, etc.)

https://github.com/rxi/microtar
License: MIT
2023-02-13 20:05:21 -05: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
331996d9bd [debian] libromdata2.install: Don't install the libromdata2.so symlink.
This should only be included in a -dev package, and we're not including a
-dev package right now, since libromdata is intended for use only by
rom-properties.

This caused a conflict when upgrading from libromdata1 to libromdata2.

Upgrading from libromdata2 to libromdata3 in the future should work
without any issues.
2022-12-24 15:00:24 -05:00
David Korth
d246e79b4b [debian] Move rom-properties.thumbnailer from gtk3 to utils.
gtk3 depends on utils, so this shouldn't be a big problem.

This is needed to prepare for the gtk4 package, which will also use the
rom-properties.thumbnailer file.

(cherry picked from commit d2f3476ab5)
2022-12-24 15:00:15 -05:00
David Korth
b7bff34fc5 [debian] control: KDE packages should depend on rom-properties-utils, not rom-properties-stub.
rom-properties-stub was replaced by rom-properties-utils a while ago.
I oopsed when I added the stub dependency. :x
2022-12-24 13:38:00 -05:00
David Korth
ad98897d6b rom-properties 2.1 2022-12-24 12:39:40 -05:00
David Korth
803de996bd [debian] source/options: Use slightly higher xz compression. 2022-12-24 12:39:27 -05:00
David Korth
c3efad1368 [debian] rules: Explicitly disable GTK4 for now.
Otherwise, the minimum GLib version is set to 2.66.0, which doesn't work
for most of the older Ubuntu distributions.

FIXME: Fix this such that if GLib 2.66.0 isn't found, but 2.34.0 or later
is found, it builds correctly and GTK4 is automatically disabled.
2022-12-24 12:36:32 -05:00
David Korth
7e46a1b660 [debian] control: KDE4/KF5 packages depend on rom-properties-stub for the "Convert to PNG" service menu. 2022-12-23 14:31:03 -05:00
David Korth
031decebcc [kde4] Install the service menu.
Tested with a Kubuntu 14.04 live image.

FIXME: Previews weren't working properly in Kubuntu 14.04.
Perhaps at some point I should just remove KDE4 support.
2022-12-23 14:29: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
78867a4bb6 [librpfile] MemFile, VectorFile: Don't use non-pointer C++ objects in the class definition.
MSVC complains now because these classes are dllexport in order to fix
a build issue with RpPngFormatTest on Ubuntu 18.04:

src\librpfile/MemFile.hpp(150,15): warning C4251: 'LibRpFile::MemFile::m_filename':
	class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
	needs to have dll-interface to be used by clients of class 'LibRpFile::MemFile'
src\librpfile\VectorFile.hpp(136,24): warning C4251: 'LibRpFile::VectorFile::m_vector':
	class 'std::vector<uint8_t,std::allocator<uint8_t>>' needs to have dll-interface
	to be used by clients of class 'LibRpFile::VectorFile'

For MemFile, use a char* instead of std::string. This has a nice side
effect of reducing memory usage a bit.

For VectorFile, allocate the vector using new. This might have slight
additional overhead, since there's another pointer dereference.
VectorFile is currently only used by gtk/DragImage.cpp, so it isn't
a significant issue.

Note that since these fields are used by inline functions, changing them
*does* break the ABI, even though none of the symbols have changed, so the
libromdata SOVERSION was bumped to 2.

For rom-properties 2.0, only the Ubuntu 18.04 and later builds had the
prior changes to export MemFile, IRpFile, and RefBase, so the Windows
version didn't have that change and thus didn't need this ABI-breaking
change.
2022-09-24 23:27:07 -04:00
David Korth
39c7743673 src/CMakeLists.txt: Need to set RP_LIBROMDATA_IS_DLL in the current *and* parent scope.
Otherwise, it shows up properly in the build summary, but libromdata
always ends up being built as a static library.
2022-09-24 20:02:19 -04:00
David Korth
d869f382d1 Re-add #include "dll-macros.h" to KeyStoreUI.hpp and RomFields.hpp.
It's an issue with KDE4 automoc.
2022-09-24 19:01:21 -04:00
David Korth
03e6f63625 [libromdata] stdafx.h: Fix stupid quoting errors. 2022-09-24 18:47:07 -04:00
David Korth
1a7343b3b0 Add #include "dll-macros.h" in more stdafx.h files.
It broke in RomFields.hpp in the KDE4 build this time.
2022-09-24 18:26:08 -04:00
David Korth
d58984d29b [debian] changelog: Bump the revision to get Launchpad to build it again. 2022-09-24 18:12:02 -04:00
David Korth
5625070726 rom-properties 2.0: Stella Edition 2022-09-24 17:13:03 -04:00
David Korth
0e9d379aeb Merge remote-tracking branch 'DankRank/ne-entries' into feature/ne-entries 2022-09-18 21:13:52 -04:00
Egor
1410700f6e [libromdata] EXE_NE: use span for resident portion of the header
uses my implementation of C++20 std::span
2022-09-18 16:59:09 +03:00
David Korth
cac47ba6ed [cmake] FindGTK4.cmake: GTK4 version of CMake's FindGTK2.cmake.
No `gdk` target since libgdk was merged into libgtk.

Added libgraphene-1.0, a dependency of libgtk-4.

Removed FindPango.cmake since it's no longer needed.

[gtk4] CMakeLists.txt: Use the new GTK4 targets and get rid of the
now-unnecessary FIND_PACKAGE() calls.
2022-09-17 13:32:48 -04:00
David Korth
47e3eae558 [cmake] FindGTK3.cmake: GTK3 version of CMake's FindGTK2.cmake.
_GTK3_FIND_LIBRARY(): Remove _append_version, since GTK's versioning
has stabilized. Instead, append the version number to the library name.
This prevents mismatched version numbers betwen various GTK versions.

[gtk3] CMakeLists.txt: Use the new GTK3 targets and get rid of the
now-unnecessary FIND_PACKAGE() calls.
2022-09-17 13:32:48 -04:00
David Korth
1547c3e619 [uniwidth] Add streq.h for cjk.h.
We're not using cjk.h right now, but better to ensure that it *is* usable
in case we decide to use it later.

[debian] copyright: Update copyrights for uniwidth.
2022-08-28 21:23:45 -04:00
David Korth
e644206255 [uniwidth] Import of the uniwidth subset of gnulib.
uniwidth provides a uc_width() function, which is similar to wcwidth().
Our version removes the 'encoding' parameter, which isn't needed because
we're always using UTF-8.

Fixes #353: rpcli: bad table alignment on multibyte characters
Reported by @DankRank.
2022-08-28 18:47:34 -04:00
David Korth
72ed5fcf80 [xdg] Add an AppStream metainfo XML file.
NOTE: `appstream-util verify` requires the XML file to have the correct
name in the source tree, so we can't simply have it as "metainfo.xml"
and rename on installation.

Other changes:

- rp-config.desktop: Rename on installation to:
  com.gerbilsoft.rom-properties.rp-config.desktop

- DIR_INSTALL_MIME -> DIR_INSTALL_XDG_MIME; don't set it on Windows
  or Linux.

- [xdg] CMakeLists.txt: Install based on the presence of the
  DIR_INSTALL_XDG_* variables instead of the OS.
2022-07-30 12:42:15 -04:00
David Korth
3c4345bb3b [debian] Add a libromdata1 package for libromdata.so.1.0.
Added dependencies to the various packages.

rules: Set LD_LIBRARY_PATH so tests will run correctly when libromdata
isn't installed system-wide.
2022-06-21 18:59:40 -04:00
David Korth
1ac66c2d91 [gtk] gtk-compat.h: Use NULL instead of nullptr.
This breaks in the C PCH build.
2022-05-22 14:37:23 -04:00
David Korth
530d503b03 rom-properties 1.9 2022-05-22 14:02:08 -04:00
David Korth
e251a5b429 [debian] rom-properties-xdg.install: Add rp-config.desktop . 2022-05-21 13:49:04 -04:00
David Korth
1317a931d4 [librptexture] GodotSTEX: Initial implementation of ASTC 8x8 decoding.
Added the ASTC decoder from Basis Universal.

FIXME: The decoded images have swapped R and B channels.
2021-09-03 23:24:42 -04:00
David Korth
1b30d0c73e [debian] Update the copyright file.
- Updated years.
- Removed timegm.c and libjpeg-turbo.
2021-09-03 21:59:01 -04:00
David Korth
6a3647486c rom-properties 1.8.3 2021-08-03 21:22:56 -04:00
David Korth
86339962df [gtk] Use GSound if it's available.
GSound depends on libcanberra, but it's an indirect dependency, so
if we use GSound, we don't need to use libcanberra.

GSound is available on Ubuntu 16.04, so we can switch to it on
most systems. The libcanberra backend is still supported for now,
though it might be removed later.

Since GSound doesn't have a GTK+ dependency, we can use it in the
GTK4 backend. (libcanberra doesn't support GTK4.)
2021-07-30 20:55:12 -04:00
David Korth
d89550e587 Install NETWORK.md in the Windows ZIPs and Debian packages.
It turns out we never actually included it in distribution packages,
though it was always included in the source packages.
2021-07-28 22:13:09 -04:00
Clownacy
4a48e15cc7 Unlist libbsd as a dependency
This doesn't appear to have been a dependency since at least
860288ab05
2021-07-25 11:55:50 +01:00
David Korth
67ffdf5aef rom-properties 1.8.2 2021-07-19 22:59:17 -04:00
David Korth
0c3fba1b0d rom-properties 1.8 2021-07-18 17:34:25 -04:00
David Korth
b5cac6dd3e [libromdata/tests] ImageDecoderTest: Add the TGA 2.0 conformance test suite.
utc16 and utc32 are currently disabled, since they aren't decoding
properly. (Image is completely transparent!)
2021-04-07 18:24:13 -04:00
David Korth
188d3efe53 [debian] rom-properties-data: New package for data files.
This package currently contains the Nintendo amiibo database.

More files may be added if they're split out of the binary and into
separate files.
2021-03-22 00:35:58 -04:00
David Korth
6efa587a54 [debian] control: GUI plugins should depend on rom-properties-xdg.
The MIME data is needed by most GUI frontends to determine which
thumbnailer to use.
2021-03-22 00:35:06 -04:00
David Korth
cb54945f39 rom-properties 1.7.3 2020-09-25 21:59:19 -04:00
David Korth
e968cfd0ec rom-properties 1.7.2 2020-09-24 18:04:55 -04:00
David Korth
90b33fafc3 [debian] changelog: Rebuild with files not marked as executable. (VM issue) 2020-09-20 17:45:29 -04:00
David Korth
cb77351d45 MiniZip 2.10.0 requires zstd-1.4.0.
MiniZip 2.10.0 uses ZSTD_compressStream2() and ZSTD_EndDirective.

Note that MiniZip is not currently used outside of test suites,
so this won't be installed as part of the package.
2020-09-20 16:49:58 -04:00
David Korth
6f434d764b rom-properties 1.7 2020-09-20 15:51:35 -04: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
64774cc6b2 Dependencies: Added liblz4-dev and liblzo2-dev for PSP CISO.
Forgot to do this before.

.travis.yml: Also added libzst-dev and the canberra dev packages.
2020-09-07 03:45:53 -04:00
David Korth
4a127faec4 [debian] control: Added zstd and canberra development packages. 2020-09-07 03:43:35 -04:00
David Korth
cdd88e2455 [rapidjson] Added rapidjson-1.1.0.
The JSON output code will be rewritten to use rapidjson, which will allow
us to add more stuff without having to worry if the resulting text has
the correct formatting.

This adds around 20 KB to the compiled binary.
2020-09-06 00:33:12 -04:00
David Korth
7b282f5d81 [minilzo] Added an internal copy of MiniLZO.
I chose MiniLZO instead of regular LZO because we only need to be able to
decompress LZO1X blocks.

[libromdata] CisoPspReader: Don't call lzo_init() if this JISO isn't
actually using LZO. Otherwise, if the DLL is missing on Windows, the
program will crash.
2020-09-05 11:05:12 -04:00
David Korth
6b99946adb [debian] copyright: Fix swapped licenses for LZ4.
LZ4's lib/ directory is BSD-2-clause.
Everything else is GPL-2+ (not GPL-2).
2020-09-05 10:46:39 -04:00
David Korth
ad476eb9a0 [lz4] Added a copy of lz4-1.9.2 for PSP CISO. 2020-09-05 02:32:50 -04:00
Cameron Cawley
a600b119ef Remove leftover references to OpenGL 2020-07-13 14:06:44 +01:00
David Korth
9e92bab93e [debian] rules: Remove XFCE3, MATE, CINNAMON; renamed GNOME to GTK3. 2020-07-12 17:25:40 -04:00
David Korth
1a7d919f78 Fix some more ARM64 and AMD64 build issues.
- ImageDecoder: Default parameter for the SSE2-only version isn't needed.

- byteswap.h: Check for i386/amd64 before using the non-inline functions.
2020-07-12 15:57:31 -04:00
David Korth
8b7db70995 [librptexture] ImageDecoder: Add default parameter for stride in non-i386/non-amd64 cases. 2020-07-12 15:39:24 -04:00
David Korth
ae06e7d357 [debian] changelog: Update changelog. 2020-07-12 15:26:10 -04:00
David Korth
4c39562f85 rom-properties 1.6 2020-07-12 15:00:26 -04:00
David Korth
558a1b007c [rp-stub] Create symlinks in CMakeLists.txt, not debian/rules. 2020-07-12 13:17:01 -04:00
David Korth
81be81f4af [zstd] Added LICENSE and a section in the Debian copyright file. 2020-06-27 03:09:19 -04:00
David Korth
a7dea6bdbc [debian] Updated for the GTK3 consolidation.
- Renamed the gnome package to gtk3.
- gtk3-common is now part of gtk3.
- gtk3 now depends on thumbnailer-dbus.
- gtk3 has gnome in Conflicts/Replaces.

The XFCE (GTK+ 2.x) version is kept as-is.

Note that while the desktop-specific dev packages aren't needed anymore,
we're still listing them as build dependencies in order to ensure that
the extensions directory is correct.
2020-06-23 23:58:13 -04:00
David Korth
7b45d54692 [debian] control: Added "Conflicts:" in addition to "Replaces:".
"Replaces:" by itself didn't work to remove the old package.

TODO: Test this.
2020-05-27 16:45:11 -04:00
David Korth
93151b25d6 [debian] Removed the MATE and Cinnamon packages.
Forgot to do this before merging the feature/combine-gnome3-plugins branch.

[gnome] CMakeLists.txt: Find LibNautilusExtension, LibCajaExtension,
and LibNemoExtension to install symlinks. If any of them aren't found,
a default value will be used.
2020-05-17 17:02:32 -04:00
David Korth
f01ed82565 [debian] rom-properties-cli.install: Install the AppArmor profile. 2020-03-14 00:53:44 -04:00
David Korth
63be14b7a2 Backported seccomp() fixes from the Ubuntu 19.10 "Eoan" Ermine branch.
- Check for both __SNR_* and __NR_*. libseccomp-2.4.2 added the __SNR_*
  macros, but Ubuntu 19.10 has libseccomp-2.4.1. (Ubuntu 20.04 has
  libseccomp-2.4.2.)

- #include <linux/unistd.h> to ensure the __NR_* macros are defined.

- debian/rules: Explicitly enable seccomp and disable seccomp debugging.
2020-03-14 00:25:22 -04:00
David Korth
37f991c3fb [debian] control: Added rom-properties-utils as a dependency of KDE4, KF5, and XFCE.
Needed for rp-download.

NOTE: Not rebuilding the Ubuntu 16.04 "Xenial Xerus" packages right now.
This is a minor issue and can be remedied by installing the
rom-properties-utils package manually.

(cherry picked from commit 8642c59004)
2020-03-14 00:17:33 -04:00
David Korth
0eadbd84cc rom-properties 1.5 2020-03-13 20:45:11 -04:00
David Korth
2797c5b689 [debian] rom-properties-cinnamon.install: Multiarch is used on Ubuntu 16.04.
Nautilus doesn't use multiarch for some reason, but Nemo does.
2020-03-13 18:48:48 -04:00
David Korth
b675e1afdc [librpbase] Add the timegm() implementation from boost-1.72.0.
Since we can't get it working with 32-bit MinGW-w64, we'll just add our
own implementation that we'll use if timegm() and _mkgmtime() aren't
available.

TODO: Add a unit test to ensure that it's working correctly.
2020-03-08 16:30:31 -04:00
David Korth
59aa5e2faa [gtk, kde] Use RomData::mimeType() instead of framework-specific functions.
It's more efficient than loading the system MIME database, and it's more
accurate, since we already checked the ROM to determine what it is, and
the file extension might be incorrect and/or not specific enough.

Example: DSi-only ROM with a .nds extension.

[kde4] Removed MimeGlobsParser and config.kde4.h.in.

[debian] Removed the shared-mime-info dependency for the KDE4 UI frontend.

[doc] Removed the shared-mime-info mention for the KDE4 UI frontend.
2020-02-29 12:09:18 -05:00
David Korth
249ce026ff Added shared-mime-info as a runtime dependency for rom-properties-kde4. 2020-02-29 01:02:18 -05:00
David Korth
c3f48b43a7 Enable PCH in the Debian, travis-ci, and AppVeyor builds.
It was enabled by default on AppVeyor, but now we're explicit.

This should reduce build times slightly on the Ubuntu PPA servers and
travis-ci.
2020-02-23 12:52:15 -05:00
David Korth
9e7ae715b4 Added seccomp to the Debian files, travis.sh, and COMPILING.md. 2020-02-14 22:32:06 -05:00
David Korth
fabe771298 [libi18n] gettext.h: Updated to the latest version from gettext-0.20.1.
No actual changes, but the license is now LGPL-2.1+ instead of GPL-3+.
The version in gettext seems to have always been LGPL, so I'm not sure
why mine was GPL.

[debian] copyright: Added gettext.h license information.
- s/poublisher/publisher/
- Use https for the GNU website.
- Added LGPL-2.1+.
- Updated LGPL-2.1 to refer to LGPL, not GPL.

This should have been done in commit b3f17f6318
([libi18n] gettext.h: Rebased to gettext-0.20.1's version.)
but it wasn't for some reason.
2020-02-05 23:41:53 -05:00
David Korth
d251edf572 [gtk] Added flags resources using glib-compile-resources.
Using GCR_Cmake macros from: https://github.com/Makman2/GCR_CMake

Currently loading the full 16x16 sprite sheet as the icon for each
dropdown entry. This is obviously wrong, but it works as a basic
test for now.

PIMGTYPE.cpp: New function PIMGTYPE_load_png_from_gresource(). This
function loads a PNG image from the glibresources and returns it as
PIMGTYPE. This does *not* use rp_image at all; it uses Cairo's
built-in PNG loading functionality.

TODO: GdkPixbuf version.
2020-01-20 00:00:00 -05: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
David Korth
01eb4732a9 [debian] rules: Explicitly enable installation of AppArmor profiles. 2020-01-19 13:05:49 -05:00
David Korth
6aed6ce4b5 [rp-download] Added an AppArmor profile.
The AppArmor profile has the following permissions, with everything else
denied:

- Allow TCP network access to download from online image databases.
- Allow read access to rom-properties.conf.
- Allow write access to .cache/rom-properties/.
2020-01-19 12:28:33 -05:00
David Korth
08a1170603 [libromdata] CacheManager: Implement fork()/execve() on Linux for rp-download.
[rp-download] Cache keys have the file extension, so we shouldn't add
it here. We *are* verifying that the file extension is supported, and
we have to remove it for amiibo.

CurlDownloader: Reduced the timeout to 10 seconds.

Install to the libexec directory.

[debian] Renamed rom-properties-stub to rom-properties-utils.
rp-download is now included as part of this package.
2020-01-15 00:01:07 -05:00
David Korth
7ebde6a998 [debian] control: libnemo-extension-dev is needed for Nemo. 2019-12-15 16:31:06 -05:00
David Korth
527dd6892f [debian] Added Nemo (Cinnamon) rules. 2019-12-15 15:56:51 -05:00
David Korth
e51803a4fe [librptexture] Use the PowerVR Native SDK (well, a subset) to decode PVRTC.
It seems that the R and B channels are backwards, so we'll need to fix
that next. Other than that, both 2bpp and 4bpp decoding seems to work.
(A lot better than my terrible attempt, at least.)

[cmake] options.cmake: Added an option for PVRTC. The code is licensed
under the MIT license, but we might as well provide an option for it
because it's third-party code instead of my own code.

TODO:
- Fix R/B channel ordering.
- PVRTC-II decoding?
- Add PVRTC decoding to KTX and DDS.
2019-12-10 22:01:21 -05:00
David Korth
55ead2290f rom-properties 1.4 2019-08-04 18:14:15 -04:00
David Korth
2137b04eb0 debian/: The .postinst and .postrm files aren't actually needed.
shared-mime-info has its own trigger for MIME package files.
2019-08-04 16:12:32 -04:00
David Korth
d857f8f409 [xdg] Install rom-properties.xml into /usr/share/mime/packages/.
debian/: Added a rom-properties-xdg package. This includes postinst and
postrm files to update the system MIME database.
2019-08-04 15:50:37 -04:00
David Korth
b1cc033eea debian/control: Fix D-Bus thumbnailer package dependency in rom-properties-all.
rom-properties-thumbnail-dbus -> rom-properties-thumbnailer-dbus
2019-08-04 15:50:06 -04:00
David Korth
1f7b7952b9 debian/rules: Explicitly specify XFCE3, GNOME, and MATE build options.
The defaults here are correct for Ubuntu 16.04.
2019-08-04 15:36:33 -04:00
David Korth
0eeceb4ea1 debian/copyright: Added GNU gettext (GPL-3+); simplified files for many components.
The split-out listings were done to exclude custom CMakeLists.txt and
_MODIFIED_*.txt files, but those files aren't too important.
2019-08-04 15:28:07 -04:00
David Korth
f75756a9f0 [gtk] Split rom-properties.thumbnailer into a separate package, rom-properties-gtk3-common.
Moved it up from the gnome directory to the gtk3 directory.

NOTE: We can't add a MATE package right now because the earliest version
of Ubuntu I'm still supporting is 16.04, and that has MATE 1.12 (GTK2).
I'll add the MATE (and XFCE GTK3) packaging files in branches for the
appropriate Ubuntu verisons:

- Ubuntu 16.04 LTS: MATE 1.12.7 (GTK2), Thunar 1.6.11 (GTK2)
- Ubuntu 18.04 LTS: MATE 1.20.2 (GTK3), Thunar 1.6.15 (GTK2)
- Ubuntu 18.10: MATE 1.20.2 (GTK3), Thunar 1.8.1 (GTK3)
- Ubuntu 19.04: MATE 1.20.3 (GTK3), Thunar 1.8.4 (GTK3)
2019-06-08 17:24:27 -04:00
David Korth
bab9228cf2 [libmspack-xenia] xenia_lzx.c, xenia_lzx.h: Added Xenia's lzx_decompress() wrapper function.
Partially rewritten so it compiles as C code.

References:
- https://github.com/xenia-project/xenia/blob/master/src/xenia/cpu/lzx.cc
- https://github.com/xenia-project/xenia/blob/master/src/xenia/cpu/lzx.h

debian/copyright: Added copyright notices for these files.
2019-02-01 22:37:26 -05:00
David Korth
22ef7f5637 [extlib] libmspack-xenia: Imported libmspack code from the Xenia emulator.
This is a stripped-down version of libmspack containing only the necessary
functionality for Xbox 360 executables.

Xenia commit: e706cf0d5413c31b7e80a50411cc88cc7c71af30
License: LGPLv2.1

config.h.in: Modified for cmake; removed unnecessary checks.

debian/copyright: Added copyright information.
cmake/options.cmake: Added an ENABLE_LIBMSPACK option. (default is ON)
2019-02-01 22:17:56 -05:00
David Korth
79cffa4975 [kde5] RpOverlayIconPlugin: New plugin (and forwarder) for overlay icons.
Currently returns "security-medium" for all URLs.

TODO:
- The JSON file is not currently used. Should use kcoreaddons_add_plugin()
  in CMake to make use of it.
- Consolidate common code in the plugin forwarders into a templated class.
  (Or don't; it's not *that* much duplicated code...)
- Actually check the RomData subclass for overlay icons.
2018-12-19 20:02:18 -05:00
David Korth
78beb4b3a6 [debian] kio-dev was renamed to libkf5kio-dev in Ubuntu 18.04. 2018-12-18 22:37:15 -05:00
David Korth
0c1e37178d debian/copyright: Added unice68. (GPL-3+)
Updated inih and tinyxml2 copyright dates.
2018-10-04 22:40:52 -04:00
David Korth
d643bb5d82 Merge branch 'release/1.3'
* GameCube: Fixed a crash when downloading external images for Disc 2
  from multi-disc games. Thanks to @Nomelas for reporting this bug.

Conflicts:
	CMakeLists.txt
	NEWS.md
2018-08-25 11:26:27 -04:00