diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d02f5b3..0000000 --- a/.gitignore +++ /dev/null @@ -1,54 +0,0 @@ -gnome-games-2.31.5.tar.bz2 -gnome-games-2.31.6.tar.bz2 -/gnome-games-2.31.90.tar.bz2 -/gnome-games-2.31.91.1.tar.bz2 -/gnome-games-2.31.92.1.tar.bz2 -/gnome-games-2.32.0.tar.bz2 -/gnome-games-2.91.2.tar.bz2 -/gnome-games-2.91.90.tar.bz2 -/gnome-games-2.91.91.tar.bz2 -/gnome-games-2.91.93.tar.bz2 -/gnome-games-2.91.94.tar.bz2 -/gnome-games-3.0.0.tar.bz2 -/gnome-games-3.0.1.tar.bz2 -/gnome-games-3.0.1.1.tar.bz2 -/gnome-games-3.1.1.tar.bz2 -/gnome-games-3.1.3.tar.xz -/gnome-games-3.1.4.tar.xz -/gnome-games-3.1.5.tar.xz -/gnome-games-3.1.90.tar.xz -/gnome-games-3.1.91.tar.xz -/gnome-games-3.1.92.tar.xz -/gnome-games-3.2.0.tar.xz -/gnome-games-3.2.1.tar.xz -/gnome-games-3.3.1.tar.xz -/gnome-games-3.3.3.tar.xz -/gnome-games-3.3.4.tar.xz -/gnome-games-3.3.4.1.tar.xz -/gnome-games-3.3.5.tar.xz -/gnome-games-3.3.91.1.tar.xz -/gnome-games-3.3.92.tar.xz -/gnome-games-3.4.0.tar.xz -/gnome-games-3.4.1.tar.xz -/gnome-games-3.4.2.tar.xz -/gnome-games-3.5.2.tar.xz -/gnome-games-3.5.4.tar.xz -/gnome-games-3.5.5.tar.xz -/gnome-games-3.5.90.tar.xz -/gnome-games-3.6.0.1.tar.xz -/gnome-games-3.6.0.2.tar.xz -/gnome-games-3.6.1.tar.xz -/gnome-games-3.32.1.tar.xz -/gnome-games-3.34.0.tar.gz -/gnome-games-3.34.1.tar.gz -/gnome-games-3.34.2.tar.gz -/gnome-games.spec -/gnome-games-3.35.90.tar.gz -/gnome-games-3.35.92.tar.gz -/gnome-games-3.36.0.tar.gz -/gnome-games-3.36.1.tar.gz -/gnome-games-3.38.0.tar.gz -/gnome-games-40.beta.tar.gz -/gnome-games-40.rc.tar.gz -/gnome-games-40.rc.tar.xz -/gnome-games-40.0.tar.xz diff --git a/changelog b/changelog deleted file mode 100644 index 22611ba..0000000 --- a/changelog +++ /dev/null @@ -1,63 +0,0 @@ -* Thu Jul 21 2022 Fedora Release Engineering - 40.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 40.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 40.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sat Mar 20 2021 Artem Polishchuk - 40.0-1 -- Update to 40.0 - -* Tue Mar 16 2021 Artem Polishchuk - 40~rc-1 -- Update to 40.rc - -* Tue Mar 16 2021 Kalev Lember - 40~beta-1 -- Update to 40.beta - -* Tue Mar 16 2021 Kalev Lember - 3.38.0-3 -- Switch to tracker 3 - -* Tue Jan 26 2021 Fedora Release Engineering - 3.38.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Sep 12 17:08:14 EEST 2020 Artem Polishchuk - 3.38.0-1 -- Update to 3.38.0 - -* Sat Aug 01 2020 Fedora Release Engineering - 3.36.1-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 3.36.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Mar 31 2020 Artem Polishchuk - 3.36.1-1 -- Update to 3.36.1 - -* Fri Mar 06 2020 Artem Polishchuk - 3.36.0-1 -- Update to 3.36.0 - -* Fri Feb 28 2020 Artem Polishchuk - 3.35.92-1 -- Update to 3.35.92 - -* Wed Feb 12 2020 Artem Polishchuk - 3.35.90-1 -- Update to 3.35.90 - -* Wed Feb 12 2020 Artem Polishchuk - 3.34.2-1 -- Update to 3.34.2 - -* Tue Jan 28 2020 Fedora Release Engineering - 3.34.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sun Oct 06 2019 Artem Polishchuk - 3.34.1-1 -- Update to 3.34.1 - -* Sat Sep 14 2019 Artem Polishchuk - 3.34.0-1 -- Update to 3.34.0 - -* Thu Jul 25 2019 Fedora Release Engineering - 3.32.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Apr 15 2019 Artem Polishchuk - 3.32.1-2 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..27ee582 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Requires libsoup3 transition for grilo. Abandoned by upstream. diff --git a/gnome-games.spec b/gnome-games.spec deleted file mode 100644 index 7053e0d..0000000 --- a/gnome-games.spec +++ /dev/null @@ -1,104 +0,0 @@ -%global uuid org.gnome.Games - -%global tarball_version %%(echo %{version} | tr '~' '.') - -Name: gnome-games -Version: 40.0 -Release: %autorelease -Summary: Simple game launcher for GNOME - -License: GPLv3+ -URL: https://wiki.gnome.org/Apps/Games -Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz - -# Switch to tracker 3 -# https://gitlab.gnome.org/GNOME/gnome-games/-/merge_requests/424 -Patch0: tracker3.patch - -Patch1: meson-0.60.patch - -BuildRequires: desktop-file-utils -BuildRequires: intltool -BuildRequires: libappstream-glib -BuildRequires: meson >= 0.46.1 -BuildRequires: vala - -BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(glib-2.0) >= 2.38.0 -BuildRequires: pkgconfig(grilo-0.3) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(libarchive) -BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 -BuildRequires: pkgconfig(librsvg-2.0) -BuildRequires: pkgconfig(libsoup-2.4) -BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(manette-0.2) >= 0.2.0 -BuildRequires: pkgconfig(retro-gtk-1) -BuildRequires: pkgconfig(sqlite3) -BuildRequires: pkgconfig(tracker-sparql-3.0) - -Requires: hicolor-icon-theme - -Recommends: libretro-beetle-ngp%{?_isa} -Recommends: libretro-beetle-pce-fast%{?_isa} -Recommends: libretro-beetle-vb%{?_isa} -Recommends: libretro-beetle-wswan%{?_isa} -Recommends: libretro-bsnes-mercury%{?_isa} -Recommends: libretro-desmume2015%{?_isa} -Recommends: libretro-gambatte%{?_isa} -Recommends: libretro-handy%{?_isa} -Recommends: libretro-mgba%{?_isa} -Recommends: libretro-nestopia%{?_isa} -Recommends: libretro-pcsx-rearmed%{?_isa} -Recommends: libretro-prosystem%{?_isa} -Recommends: libretro-stella2014%{?_isa} - -%description -Games is a GNOME 3 application to browse your video games library and to -easily pick and play a game from it. It aims to do for games what Music -already does for your music library. - -You want to install Games if you just want a very simple and comfortable way -to play your games and you don’t need advanced features such as speedrunning -tools or video game development tools. - - -%prep -%autosetup -p1 -n %{name}-%{tarball_version} - - -%build -%meson -%meson_build - - -%install -%meson_install -%find_lang %{name} - -# Remove executable bit from AUTHORS and COPYING files -find %{buildroot}%{_datadir} -executable -type f -exec chmod -x {} + - - -%check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop - - -%files -f %{name}.lang -%license COPYING -%doc README.md AUTHORS HACKING.md -%{_bindir}/%{name} -%{_datadir}/%{name}/ -%{_datadir}/applications/*.desktop -%{_datadir}/dbus-1/services/*.service -%{_datadir}/glib-2.0/schemas/*.gschema.xml -%{_datadir}/gnome-shell/search-providers/%{uuid}.SearchProvider.ini -%{_datadir}/icons/hicolor/*/*/*.svg -%{_libdir}/%{name}/ -%{_libexecdir}/%{name}-search-provider -%{_metainfodir}/*.xml - - -%changelog -%autochangelog diff --git a/meson-0.60.patch b/meson-0.60.patch deleted file mode 100644 index c94a7ec..0000000 --- a/meson-0.60.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/data/meson.build -+++ b/data/meson.build -@@ -44,7 +44,7 @@ - desktop_conf = configuration_data() - desktop_conf.set('icon', application_id) - desktop_conf.set('mimetypes', ';'.join(mime_types) + ';') --desktop_file = i18n.merge_file ('desktop-file', -+desktop_file = i18n.merge_file ( - type: 'desktop', - input: configure_file( - input: files('org.gnome.Games.desktop.in.in'), -@@ -70,7 +70,7 @@ - - appdata_conf = configuration_data() - appdata_conf.set('appid', application_id) --appdata_file = i18n.merge_file ('appdata-file', -+appdata_file = i18n.merge_file ( - input: configure_file( - input: files('org.gnome.Games.appdata.xml.in.in'), - output: 'org.gnome.Games.appdata.xml.in', diff --git a/sources b/sources deleted file mode 100644 index be1a83c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (gnome-games-40.0.tar.xz) = e060c68fc936f4ac13d7a7be898711479b6489845b2fe7376fd0329e0d6b29d39611720ab6a1e0a52b89fc7f9d47e4654da946b62ecf1e9f645d0bfb62a3998d diff --git a/tracker3.patch b/tracker3.patch deleted file mode 100644 index cedb4a3..0000000 --- a/tracker3.patch +++ /dev/null @@ -1,161 +0,0 @@ -From e2a56887b2b8e6cdb0a6a9a26bfd1162f3a148f3 Mon Sep 17 00:00:00 2001 -From: Jean Felder -Date: Fri, 4 Sep 2020 23:11:35 +0200 -Subject: [PATCH 1/3] application: Remove an empty line at the end of file - ---- - src/ui/application.vala | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/ui/application.vala b/src/ui/application.vala -index 8ff9e7b6..e52dbe6c 100644 ---- a/src/ui/application.vala -+++ b/src/ui/application.vala -@@ -587,4 +587,3 @@ public class Games.Application : Gtk.Application { - return GLib.Application.get_default () as Application; - } - } -- --- -2.30.2 - - -From e0792419e7b294c02a2f0b314d775dd7630779a1 Mon Sep 17 00:00:00 2001 -From: Jean Felder -Date: Sat, 30 May 2020 18:48:06 +0200 -Subject: [PATCH 2/3] Port to tracker3 - -With tracker3, tracker-miner-fs dumps data in different graphs. Games -only needs to access data stored in the tracker:Software graph. - -'tracker_sparql_connection_get' has been replaced by -'tracker_sparql_connection_bus_new'. ---- - meson.build | 2 +- - plugins/desktop/src/desktop-plugin.vala | 2 +- - src/tracker/mime-type-tracker-uri-query.vala | 2 +- - src/ui/application.vala | 4 ++-- - 4 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/meson.build b/meson.build -index 13b52059..cd9ce9d4 100644 ---- a/meson.build -+++ b/meson.build -@@ -45,7 +45,7 @@ retro_gtk_dep = dependency ('retro-gtk-1', version: '>=' + retro_gtk_min_version - rsvg_dep = dependency ('librsvg-2.0') - soup_dep = dependency ('libsoup-2.4') - sqlite_dep = dependency ('sqlite3') --tracker_sparql_dep = dependency ('tracker-sparql-2.0') -+tracker_sparql_dep = dependency ('tracker-sparql-3.0') - xml_dep = dependency ('libxml-2.0') - - srcdir = meson.source_root () / 'src' -diff --git a/plugins/desktop/src/desktop-plugin.vala b/plugins/desktop/src/desktop-plugin.vala -index 93f824c8..1c9da904 100644 ---- a/plugins/desktop/src/desktop-plugin.vala -+++ b/plugins/desktop/src/desktop-plugin.vala -@@ -19,7 +19,7 @@ private class Games.DesktopPlugin : Object, Plugin { - public UriSource[] get_uri_sources () { - var query = new DesktopTrackerUriQuery (); - try { -- var connection = Tracker.Sparql.Connection.@get (); -+ var connection = Tracker.Sparql.Connection.@bus_new ("org.freedesktop.Tracker3.Miner.Files", null, null); - var uri_source = new TrackerUriSource (connection); - uri_source.add_query (query); - -diff --git a/src/tracker/mime-type-tracker-uri-query.vala b/src/tracker/mime-type-tracker-uri-query.vala -index d536899a..bf7b889a 100644 ---- a/src/tracker/mime-type-tracker-uri-query.vala -+++ b/src/tracker/mime-type-tracker-uri-query.vala -@@ -8,6 +8,6 @@ public class Games.MimeTypeTrackerUriQuery : Object, TrackerUriQuery { - } - - public string get_query () { -- return @"SELECT DISTINCT nie:url(?urn) WHERE { ?urn nie:mimeType \"$mime_type\" . }"; -+ return @"SELECT DISTINCT nie:isStoredAs(?urn) { GRAPH tracker:Software { ?urn nie:mimeType \"$mime_type\" . } }"; - } - } -diff --git a/src/ui/application.vala b/src/ui/application.vala -index e52dbe6c..9cdab2b8 100644 ---- a/src/ui/application.vala -+++ b/src/ui/application.vala -@@ -2,7 +2,7 @@ - - public class Games.Application : Gtk.Application { - const string HELP_URI = "https://wiki.gnome.org/Apps/Games/Documentation"; -- const string TEST_QUERY = "SELECT nie:url(?f) WHERE { ?f fts:match 'test query to check tracker' }"; -+ const string TEST_QUERY = "SELECT nie:isStoredAs(?f) WHERE { GRAPH tracker:Software { ?f fts:match 'test query to check tracker' } }"; - - private static bool? is_flatpak; - -@@ -346,7 +346,7 @@ public class Games.Application : Gtk.Application { - - TrackerUriSource tracker_uri_source = null; - try { -- var connection = Tracker.Sparql.Connection.@get (); -+ var connection = Tracker.Sparql.Connection.@bus_new ("org.freedesktop.Tracker3.Miner.Files", null, null); - connection.query (TEST_QUERY); - tracker_uri_source = new TrackerUriSource (connection); - } --- -2.30.2 - - -From 70335d516554ef96acf0e4df34f5f45df8194b88 Mon Sep 17 00:00:00 2001 -From: Jean Felder -Date: Fri, 4 Sep 2020 23:03:12 +0200 -Subject: [PATCH 3/3] flatpak: Port to tracker3 - -The add-policy permission allows to use the portal from Tracker -3. Games only needs the tracker:Software graph. -TRACKER_BACKEND can be removed. It does not do anything for Tracker 3. ---- - flatpak/org.gnome.Games.json | 25 +------------------------ - 1 file changed, 1 insertion(+), 24 deletions(-) - -diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json -index 40b2a5e1..01265056 100644 ---- a/flatpak/org.gnome.Games.json -+++ b/flatpak/org.gnome.Games.json -@@ -15,8 +15,7 @@ - "--socket=wayland", - "--device=dri", - "--socket=pulseaudio", -- "--talk-name=org.freedesktop.Tracker1", -- "--env=TRACKER_SPARQL_BACKEND=bus", -+ "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:Software", - "--share=network", - "--device=all", - "--talk-name=org.freedesktop.Flatpak", -@@ -79,28 +78,6 @@ - "mkdir -p /app/lib/libretro/extra.d" - ] - }, -- { -- "name" : "tracker", -- "buildsystem" : "meson", -- "config-opts" : [ -- "-Ddocs=false", -- "-Dfts=false", -- "-Dfunctional_tests=false", -- "-Djournal=false", -- "-Dnetwork_manager=disabled", -- "-Dstemmer=disabled", -- "-Dbash_completion=no", -- "-Ddbus_services=/app/share/dbus-1/services", -- "-Dsystemd_user_services=no" -- ], -- "sources" : [ -- { -- "type" : "git", -- "url" : "https://gitlab.gnome.org/GNOME/tracker.git", -- "branch" : "tracker-2.3" -- } -- ] -- }, - { - "name" : "grilo", - "buildsystem" : "meson", --- -2.30.2 -