Commit Graph

212 Commits

Author SHA1 Message Date
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
David Korth
ed759cc334 debian/changelog: Update the timestamps correctly. 2018-08-25 10:35:26 -04:00
David Korth
3143ba1207 rom-properties 1.3.3 2018-08-25 10:05:42 -04:00
David Korth
d8f13a6f68 Added required KFileMetaData development packages. 2018-08-11 11:42:32 -04:00
David Korth
7d46e6103b Merge branch 'feature/KFileMetaData'
This partially fixes #112: Display image properties for texture files. (KFileMetaData, IPropertyStore)

TODO:
- KDE4 support. (or just forget about it?)
- GNOME support.
2018-08-11 11:40:21 -04:00
David Korth
b60d8cbc14 Merge branch 'release/1.3'
* Linux: Fixed a crash on GNOME and XFCE when using Ubuntu 16.04.
  IFUNC was not being disabled on gcc5 in the GTK+ directory.

* XFCE: The Specialized Thumbnailer file has a MimeTypes key, not MimeType.

Conflicts:
	CMakeLists.txt
	NEWS.md
2018-06-30 14:42:05 -04:00
David Korth
4b9f9e3572 debian/changelog: Added v1.3.2. 2018-06-30 13:56:18 -04:00
David Korth
01b6e3472d [kde] Initial KFileMetaData extractor plugin. (KDE5 only!)
Note that Qt's plugin system only allows exporting a single plugin
interface per .so file. ThumbCreator doesn't use the Qt plugin system,
but KPropertiesDialogPlugin does. Hence, for KFileMetaData, we're using
a forwarder library that exports the plugin, then creates the actual
plugin by calling into rom-properties-kde5.

Currently, only ADX files ("audio/x-adx") are supported, and a fixed
value (1234 seconds; 20:34) is returned. The next step is adding metadata
functions to the RomData subclasses.

NOTE: On Dolphin 5.46.0, file metadata doesn't show up unless system-wide
indexing is disabled. I'm guessing that if indexing is enabled, it only
reads from the cache, and these values haven't been cached yet because
the plugin is new; whereas if it's disabled, it fetches the properties
immediately.

FIXME: Ubuntu 16.04 doesn't have the KDE4 version of KFileMetaData.
I'll need to install an older version in order to ensure the plugin
works there. KFileMetaData is disabled on KDE4 for now.

NOTE: The RpExtractorPlugin and RpExtractorPluginForwarder files are
located in kde5/. This is because Qt's moc doesn't supprt preprocessor
directives like `#ifdef`, so we'll need separate versions for each.
2018-06-10 14:54:13 -04:00
David Korth
181084b9aa [gtk] Split the D-Bus thumbnailer out from xfce/ and into thumbnailer-dbus/.
Preparations for Thunar 1.8.0, which was released today and uses GTK+ 3.x.

NOTE: The .thumbnailer file is common for both GTK+ 2.x and 3.x,
so it's installed as part of thumbnailer-dbus.

[debian] Added a new package, rom-properties-thumbnailer-dbus.

rom-properties-xfce and rom-properties-all now have dependencies on
this package.
2018-06-07 20:20:36 -04:00
David Korth
eff83ddf6f Updated required packages in debian/control and doc/COMPILING.md.
Requires GdkPixbuf for GTK+ 2.x and Cairo for GTK+ 3.x.
2018-06-03 13:47:28 -04:00
David Korth
f0a6ce9a81 [debian] changelog: Updated entry. 2018-06-02 19:08:33 -04:00
David Korth
d55c1ddfa6 rom-properties 1.3 2018-06-02 18:38:17 -04:00
David Korth
89cfb541b9 [debian] Package message catalogs as rom-properties-lang.
Message catalogs are architecture-independent, so these are built for
'all' architectures instead of 'any' architecture.
2018-06-02 15:48:38 -04:00
David Korth
cc354750e5 Clean up QT_SELECT so we no longer need it set by the caller.
cmake/options.cmake: Unset QT_SELECT initially.

Set QT_SELECT in each individual directory based on the required version.
For libunixcommon, set it, call the required program, then unset it.

This should fix all of the issues:
- Qt4: If set to 5, qmake would fail to detect Qt/X11.
- Qt5: If set to 4, the plugin path was wrong.
2018-06-02 15:40:59 -04:00
David Korth
1c0c174205 [debian] rules: export QT_SELECT=qt4
This is needed in order to build the KDE4 plugin on Xubuntu 18.04 when
using debuild. Exporting QT_SELECT before running debuild didn't seem
to work for me, though it does work on travis-ci (Ubuntu 14.04)...
2018-06-02 13:53:47 -04:00
David Korth
4bd5837133 [debian] rom-properties-*.docs: Added NEWS.md. 2018-06-02 13:45:34 -04:00
David Korth
ec70ad2777 [debian] rules: Enable LTO. 2018-06-02 13:41:01 -04:00
David Korth
3ee44f2bc1 [kde] Use KMessageWidget instead of our own MessageWidget and MessageStack.
The custom classes were borrowed from GCN MemCard Recover, which doesn't
use KDE libraries at all. Since rom-properties uses KDE, we should make
use of this for, among other things, better animation.

We're now using KMessageWidget::Information instead of Warning in cases
where no keys are loaded, since this means that while the keys file is
valid, it doesn't have any useful keys. (The keys might already be present
in keys.conf, or they might not be used by rom-properties.)

Added the required development packages to debian/control and
COMPILING.md.

The minimum KDE4 version is now 4.7.
2018-05-08 21:42:09 -04:00
David Korth
a9c4d4a518 [debian] control: Added mesa-common-dev for GL/gl.h. 2018-03-30 11:48:41 -04:00
David Korth
b7b0f1ca2c debian/: Fixed several lintian warnings and errors.
source-is-missing: Several JavaScript files included with libjpeg-turbo's
HTML documentation are minimized. These files have been added to
debian/source/lintian-overrides.

debhelper-but-no-misc-depends rom-properties-all: Added ${misc:Depends}.

virtual-package-depends-without-real-package-depends: Added non-virtual
dependencies as alternatives to libcurl-dev.

syntax-error-in-dep5-copyright: Removed an extra space at the beginning
of the GPL-3 license.

TODO: Move gettext to Build-Depends-Indep for the translations
metapackage, since that will be an "All" architectures package.
2017-11-18 17:19:29 -05:00
David Korth
2ba935fb06 Added gettext as a dependency to debian/control, .travis.yml, and doc/COMPILING.md.
The gettext package has the utility binaries.

libintl.h is part of libc6-dev, which is part of build-essential.
2017-11-18 16:45:59 -05:00
David Korth
d056e71f3a debian/source/format: Use "3.0 (native)" to allow for xz compression. 2017-11-12 13:55:01 -05:00
David Korth
28112b2031 rom-properties 1.2 2017-11-12 13:23:41 -05:00
David Korth
21ed4ba5c9 [minizip] libbsd is required for <bsd/stdlib.h>.
Updated .travis.yml, debian/control, and doc/COMPILING.md to require
libbsd-dev as a build dependency.
2017-11-12 11:58:25 -05:00
David Korth
a58ad35aaf debian/copyright: Added copyright for uvector.h.
Added GPL-3 and GPL-3+ licenses. Updated the contact information for all
GPL licenses to use the GNU website instead of a mailing address.
2017-09-02 09:24:57 -04:00
David Korth
09d03ce05b debian/changelog: Make it 1ppa2. 2017-07-04 17:49:30 -04:00
David Korth
2c92ea742a debian/changelog: Updated for xenial2. 2017-07-04 17:47:47 -04:00
David Korth
4d70e71c5f debian/changelog: PPA version bump due to weird Launchpad shenanigans. 2017-07-04 16:45:30 -04:00
David Korth
bbb77676a6 debian/copyright: Blank lines need a space before the '.'. 2017-07-04 16:36:09 -04:00
David Korth
980e2ba00f debian/changelog: Updated debian/changelog timestamp. 2017-07-04 16:32:47 -04:00
David Korth
48beb958ae debian/control: Added a dependency on lsb-release.
Seems to be missing on Launchpad PPA servers by default, which breaks
XFCE4 thumbnail service installation.
2017-07-04 16:32:15 -04:00
David Korth
6ec2e0b724 debian/rules: Disable LTO for now, since the KDE5 build is failing with LTO enabled.
Failing on Ubuntu 16.04, gcc-5.4.0.
2017-07-04 14:48:45 -04:00
David Korth
3de01899eb debian/changelog: Fix weekday for the v1.1 release. 2017-07-04 14:48:21 -04:00
David Korth
fd175b0f29 rom-properties 1.1 2017-07-04 13:43:43 -04:00
David Korth
36b53e5111 [libpng] Updated to libpng-1.6.30. 2017-07-04 13:26:25 -04:00
David Korth
7c22dbf4ad [debian] rom-properties-xfce.install: Added rp-thumbnailer-dbus and related files. 2017-06-17 18:45:04 -04:00
David Korth
2e54a06413 [debian] control: Added a meta-package, rom-properties-all.
The meta-package does include the documentation files.

TODO: Make sure uninstalling the meta-package doesn't uninstall
other packages.
2017-06-17 17:55:13 -04:00
David Korth
852b212194 [debian] Removed README.Debian.
Leftover from the Dolphin Emulator package.

Also, wrt the previous commit: `lintian` error unstripped-binary-or-object
2017-06-17 17:27:28 -04:00
David Korth
8fb2de04e8 [debian] Fix an unstripped binary issue with rp-thumbnail.
[rp-stub] CMakeLists.txt: Install rp-stub.

rom-properties-stub.install: LIkewise.

[debian] rules: Remove rp-config and rp-thumbnail, and replace them
with symlinks. This should really be done in CMake, but that doesn't
seem to be working.
2017-06-17 17:23:24 -04:00
David Korth
a283e0320e [debian] *.docs: Don't install LICENSE.
`lintian` complains about extra-license-file, since all licensing info
should be listed in the debian/copyright file.

Reference: https://lintian.debian.org/tags/extra-license-file.html
2017-06-17 16:43:40 -04:00
David Korth
feb2b4ae3a Fix packaging for rp-stub.
- Install rp-thumbnail and rp-config as copies of rp-stub, and don't
  install rp-stub. The symlinking code I used didn't work properly
  in Debian's fakeroot.

Debian packaging:
- rom-properties-gnome: Depend on rom-properties-stub.
- rom-properties-stub.install: Disable rp-stub.
2017-06-17 16:25:53 -04:00
David Korth
41c647dd03 Revert ".travis.yml: libdbus-glib-1-dev is required for rp-thumbnail-dbus."
This reverts commit 3d1633975b.

Not needed anymore due to the conversion to GDBus.
2017-06-03 22:23:47 -04:00
David Korth
3d1633975b .travis.yml: libdbus-glib-1-dev is required for rp-thumbnail-dbus.
debian/control, doc/COMPILING.md: Likewise.
2017-06-03 00:02:19 -04:00
David Korth
06d6ddec10 [debian] Added rom-properties-stub; fix rom-properties-gnome thumbnailing.
The GNOME package inadvertently left out the .thumbnailer file, which
prevented thumbnailing from working.
2017-05-24 20:56:44 -04:00
David Korth
547afdfcf1 [debian] *.docs: Added rom-properties.conf.example. 2017-05-24 20:42:37 -04:00
David Korth
84f64d357f qttools5-dev-tools is needed for qtpaths on Ubuntu.
[kde5] CMakeLists.txt: Fail if `qtpaths` isn't working.
2017-05-20 13:58:48 -04:00
David Korth
553266e3c1 rom-properties 1.0 2017-05-20 12:59:14 -04:00
David Korth
08d0a39efb [debian] copyright: Updated the file listing and added svrplus and tinyxml2. 2017-05-20 12:56:44 -04:00
David Korth
07db9a99af Added libtinyxml2-dev to debian/control and doc/COMPILING.md . 2017-05-08 23:51:09 -04:00
David Korth
d92fec619f [inih] ini_parse_w(): New function that takes a wchar_t* filename.
Needed for Unicode filenames on Windows.
2017-05-04 00:51:43 -04:00
David Korth
77e87cf590 [inih] New INI parser library inih.
inih version r39: https://github.com/benhoyt/inih/releases/tag/r39

License: 3-clause BSD
2017-05-04 00:16:28 -04:00
David Korth
24bcaba234 Explicitly enable JPEG in all builds.
debian/control: Added a build-time dependency on libjpeg-dev.
2017-02-26 20:15:25 -05:00
David Korth
e741decc4e [debian] copyright: Added the libjpeg-turbo copyright from Debian.
References:
- https://packages.debian.org/source/sid/libjpeg-turbo
- http://ftp-master.metadata.debian.org/changelogs//main/libj/libjpeg-turbo/libjpeg-turbo_1.5.1-2_copyright
2017-02-26 19:30:43 -05:00
David Korth
9ff2d87881 [debian] changelog: Use the correct timezone for v0.9-beta2. 2017-02-07 22:44:04 -05:00
David Korth
3e17536ac0 [debian] Updated changelog and copyright for rom-properties-0.9.
- Updated Egor's copyrights.
- Updated zlib dates.
- Added libpng.
2017-02-07 22:00:27 -05:00
David Korth
71e0ef5dfa Merge branch 'merge/DankRank/feature/rpcli'
Conflicts:
	debian/control
2017-01-07 19:33:27 -05:00
David Korth
3b7db6f940 [debian] Added a package for rom-properties-gnome.
doc/COMPILING.md: Added the required dependencies for rom-properties-gnome.
2017-01-07 19:19:11 -05:00
David Korth
6833007ce4 Fixed some issues with split debug files.
cmake/options.cmake: Force disable INSTALL_DEBUG if SPLIT_DEBUG is off.

debian/rules: Set INSTALL_DEBUG=OFF.
2017-01-07 19:05:13 -05:00
David Korth
1441226090 [rpcli] Install rpcli.
rpcli is a program, so it's in a new component called "program".

[debian] New package rom-properties-cli. This package contains rp-cli.
2017-01-07 18:48:04 -05:00
David Korth
026e5afba6 [debian] Added a package for rom-properties-xfce.
changelog will be updated before release.

README.md: Added XFCE.
- Removed the "Icon" column, since it will probably only ever apply
  to Windows.

doc/COMPILING.md: Added XFCE dependencies.
2017-01-02 00:35:12 -05:00
David Korth
da6caca74f [debian] changelog: Updated timestamp for v0.8. 2016-10-23 22:38:07 -04:00
David Korth
9771ada930 [debian] rules: Disable our own split debug functionality in favor of debhelper.
Note that we can't specify per-distro Build-Depends, so we'll have to
rely on the package builder to have the correct packages installed.

- Debian: debhelper >= 9.20151219
- Ubuntu: pkg-create-debsym

The Depends variable *can* be customized per-distro:
https://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/
2016-10-23 21:00:27 -04:00
David Korth
bd1955d98d [debian] Initial rules for Debian packaging.
Partially based on dolphin-emu:
https://packages.debian.org/sid/games/dolphin-emu

CMake's debian package generator supports generating multiple DEB
packages by component, but doesn't easily allow installing common
files in each (e.g. document files). It turns out that writing
standard Debian package rules got a lot easier now than the last
time I tried (with gens), so we'll use standard Debian rules.

NOTE: Multi-arch is enabled on the KDE 5 plugin, but not the KDE 4
plugin, since the KDE 4 plugin is installed in /usr/lib/. This
shouldn't be an issue in most cases, since most 64-bit Linux systems
don't have many 32-bit KDE applications installed.

TODO: "rom-properties" might not be a valid name due to the hyphen.
I might have to either remove the '-', change it to an underscore,
or something else...
2016-10-20 23:03:29 -04:00