Commit Graph

8 Commits

Author SHA1 Message Date
David Korth
55f86d1158 Add an internal copy of PugiXML and remove TinyXML2 completely.
TODO:
- Add the 'd' postfix to the debug DLL.
- Configure PugiXML options and hide them from the user, since these are
  configured by rom-properties.
2025-04-01 19:19:20 -04:00
David Korth
fded19cd7d Add libpugixml-dev to appveyor-dpkg.sh and debian/control.
This will allow us to test the PugiXML code on AppVeyor.

TODO:
- Add an internal copy of PugiXML.
- Port everything from TinyXML2 to PugiXML.
- Remove TinyXML2.
2025-04-01 19:19:20 -04:00
David Korth
5b179efa0f appveyor-dpkg.sh: The Ubuntu 22.04 image doesn't have Qt4/KDE4. 2025-03-03 21:17:33 -05:00
David Korth
58edc08879 appveyor-dpkg.sh: Install libfmt-dev.
NOTE: Ubuntu 16.04 doesn't have libfmt-dev, so rom-properties will no
longer build on Ubuntu 16.04 until an internal copy is added.

We'll probably use a header-only build for Ubuntu 16.04, and a DLL
build for Windows.
2025-01-21 00:55:40 -05:00
David Korth
2bd68a817b appveyor-dpkg.sh: Add libkf5crash-dev.
Otherwise, the AppVeyor Ubuntu build fails to build the
KF5 UI frontend.
2025-01-05 14:56:03 -05:00
David Korth
de43b12882 [tracker] Add support for tracker-3.0.
Besides the filename and path changes, these changes were needed:

- Tracker 3.3.0-alpha added a function tracker_file_get_content_identifier(),
  which is used for the content identifier. I'm only calling this function
  if we're using API version 3. (TODO: Only for 3.3.0 or later, maybe.)

- tracker_file_get_content_identifier() is part of libtracker-miners-common,
  which is statically linked into every extractor. As such, we can't simply
  dlsym() the function from libtracker_extract. (We *could* get it from one
  of the existing extractors, since they're exporting all of the symbols,
  but that's an implementation detail that could change later.)

- tracker-file-utils.c implements tracker_file_get_content_identifier().
  This file requires libblkid and (optionally) BTRFS_IOC_INO_LOOKUP.
  CMakeLists.txt now checks for those and links in libblkid.

- Add libblkid to other relevant files, plus FindBlkid.cmake.

- Rename the .rule files to 14- so they take precedence over tracker-3's
  own 15-executable.rule and 15-games.rule.
2024-03-29 22:53:45 -04:00
David Korth
5e0cffae07 appveyor-dpkg.sh: apt.postgresql.org removed bionic-pgdg.
This should fix the AppVeyor build.
2023-11-11 23:23:11 -05:00
David Korth
6a91ee5759 appveyor.yml: Initial attempt to use AppVeyor for Linux builds.
- Temporarily disabled most of the Windows builds.

- Added Linux build scripts, including a script run as root to
  install packages via `apt-get`.
2022-08-30 18:01:03 -04:00