Commit Graph

45 Commits

Author SHA1 Message Date
David Korth
6937f6c611 [doc] COMPILING.md: Increase the minimum compiler versions for Windows builds.
Also mention ARM builds.
2023-07-27 21:26:40 -04:00
David Korth
3ee3388996 Enable GTK4 builds.
COMPILING.md: Added packages required for GTK4 (GNOME 43).
2022-10-01 21:08:37 -04:00
David Korth
e0c1e78635 Merge remote-tracking branch 'Clownacy/master'
This removes the default "Release" build type, as per Arch requirements.
2022-07-17 14:17:54 -04:00
David Korth
f37709935c [doc] COMPILING.md: Fix libpng and gettext development package names for Fedora. 2022-07-05 19:57: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
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
Clownacy
febc56b19a
Specify Release build in compilation instructions
This is necessary since Release builds are no longer the default.
2021-07-21 22:07:57 +01:00
David Korth
2cb6ecd6f2 [doc] COMPILING.md: Arch doesn't have qt4 or GTK2 Thunar anymore.
Arch also doesn't have separate -dev packages. The main packages have
the development headers.
2021-04-13 21:43:24 -04:00
Amnesia1000
3a3799695d
Update COMPILING.md
The dependencies in quotes cannot be found (maybe it has another name or they are contained in another package)
2021-04-13 00:14:08 -03:00
David Korth
9426034d59 NEWS.md: Mention the MSVC compiler version changes.
MSVC 2012 is required due to commit 6e6499dc5b.
(Minimum MSVC version is now MSVC 2012 due to `enum class`.)

MSVC 2015 is required for test suites due to the Google Test upgrade in
commit 5a1b4d1be0.
([googletest] Updated to v1.10.0.)

[doc] COMPILING.md: Mention MSVC 2015 for test suites.
2020-09-13 02:34:39 -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
7029c71017 [gtk] MessageSound: GTK+ version using libcanberra.
Tested on both GTK+ 2.x (XFCE) and GTK+ 3.x.
2020-09-07 03:42:19 -04:00
Cameron Cawley
a600b119ef Remove leftover references to OpenGL 2020-07-13 14:06:44 +01:00
David Korth
6e6499dc5b Minimum MSVC version is now MSVC 2012 due to enum class.
MSVC 2010 supports explicit enum sizes, but not `enum class`.
Adding an ENUM_CLASS macro helps in some areas, but causes issues
due to the lack of `enum class` namespacing, so it's not worth it.

MSVC 2017 can still target Windows XP, so we're fine there.

I'm not sure if later MSVC can still be used with Windows 2000,
so I might remove oldwincompat at some point.

New formatting change: Using two spaces for tabs within preprocessor
macros instead of one space.
2020-06-30 02:11:14 -04:00
David Korth
2516f756c2 [doc] COMPILING.md: Added libzstd-dev. 2020-06-27 03:09:19 -04:00
David Korth
db6cdc27ae [doc] COMPILING.md: Updated some RPM packages for OpenSuSE.
This is also needed for Fedora.

- libpng-devel -> libpng16-devel
- gettext -> gettext-tools
2020-05-28 16:17:50 -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
9e7ae715b4 Added seccomp to the Debian files, travis.sh, and COMPILING.md. 2020-02-14 22:32:06 -05:00
David Korth
5f81c65c39 [doc] COMPILING.md: Use preformatted text for the Linux build instructions. 2020-01-19 13:07:52 -05:00
David Korth
4b03039123 [doc] COMPILING.md: Updated MSVC documentation.
- Added MSVC 2019, which has slightly different syntax.
- Use preformatted blocks.
- Updated the DLL directory name: bin\, not src\.
2020-01-19 13:06:33 -05:00
David Korth
bc830d0204 NEWS.md, README.md, COMPILING.md: Added Nemo (Cinnamon) information. 2019-12-15 16:31:57 -05:00
David Korth
934840b3bc Mention MATE in NEWS.md, README.md, and doc/COMPILING.md. 2019-06-08 17:13:50 -04: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
d8f13a6f68 Added required KFileMetaData development packages. 2018-08-11 11:42:32 -04:00
David Korth
81261614a3 [gtk] xfce3: Build a plugin for Thunar 1.8.0 (GTK+ 3.x).
All of the code is basically the same as xfce2, but the library
dependencies have changed.

- FindThunarX3.cmake: Find the GTK+ 3.x version of ThunarX.

- xfce3/CMakeLists.txt is a clone of xfce/CMakeLists.txt. It references
  all of the sources from the xfce/ directory.

- Thunar 1.8.0 doesn't change the formatting in the properties dialog,
  so RP_DFT_XFCE is kept as-is.

- #undef GTK_DISABLE_DEPRECATED in a few places because thunar-renamer.h
  uses GtkVBox, which is deprecated in GTK+ 3.x.

- doc/COMPILING.md: Added rom-properties-xfce3.

TODO: Add a Debian package once it's added to the repository.
2018-06-07 22:02:50 -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
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
ab8142996b Renamed CHANGES.md to NEWS.md. Install NEWS.md. 2018-04-28 09:45:43 -04:00
David Korth
c34efc2d25 COMPILING.md: Red Hat/Fedora 2018-03-30 11:46:51 -04:00
David Korth
1616235fc1 COMPILING.md: Added required packages for Fedora.
Tested using Fedora 27 amd64.

Added a note about installing tumbler when using Thunar.

Removed the note about Windows file extension conflicts, since this was
resolved with the introduction of fallbacks in v0.9-beta2.
2018-03-30 11:45:09 -04: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
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
10b430a405 doc/COMPILING.md: s/pkg-create-debsym/pkg-create-dbgsym/ 2017-11-12 11:16:20 -05:00
David Korth
4b233a641d doc/COMPILING.md: pkg-config is required for most libraries.
Once again, a package that should be installed on most systems with
development packages, but is apparently missing on some of them.

This bug was reported by @DankRank in #retro.
2017-08-05 06:16:29 -04:00
David Korth
6e87bfdc18 doc/COMPILING.md: extra-cmake-modules is required for KDE 5.
It's usually installed on systems with KDE 5 development packages, but
apparently `kio` doesn't pull it in, so on a system with no dev packages,
`extra-cmake-modules` won't get installed.

This bug was reported by @DankRank in #retro.
2017-08-05 05:58:46 -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
07db9a99af Added libtinyxml2-dev to debian/control and doc/COMPILING.md . 2017-05-08 23:51:09 -04:00
David Korth
d80586e4e7 [scripts] package.cmd: Updated for MSVC 2017.
Updated some documentation for MSVC 2017.
2017-03-14 23:02:51 -04:00
David Korth
923a18fbaf .travis.yml, doc/COMPILING.md: Added libjpeg-dev.
On Ubuntu 16.04, this selects libjpeg-turbo8-dev instead of libjpeg62-dev.
2017-02-26 17:42:47 -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
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
b8002c16f7 [doc] COMPILING.md: Added Windows package.cmd information. 2016-10-23 21:56:50 -04:00
David Korth
df02c845b6 [doc] COMPILING.md: Added .deb package information. 2016-10-23 21:54:05 -04:00
David Korth
684b063822 Split compiling instructions out of README.md into doc/COMPILING.md.
Install COMPILING.md in doc/ on Windows and the standard doc directory
on Linux.

README.md now has a standard "Installation" section for binary packages.
2016-10-21 23:49:03 -04:00