Commit Graph

212 Commits

Author SHA1 Message Date
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