Compare commits
10 Commits
11b6210650
...
18bca7d8a3
Author | SHA1 | Date | |
---|---|---|---|
|
18bca7d8a3 | ||
|
ad9e37b296 | ||
|
bc77844890 | ||
|
47f2a72d5a | ||
|
605938ae3f | ||
|
38c7546851 | ||
|
7f5611590a | ||
|
aa808a8cc6 | ||
|
1602023b27 | ||
|
c1a94993cd |
1
.brasero.metadata
Normal file
1
.brasero.metadata
Normal file
@ -0,0 +1 @@
|
||||
2f3677c2aafa1c6a832befe45e0aeb25f9f95089 brasero-3.12.2.tar.xz
|
34
.gitignore
vendored
34
.gitignore
vendored
@ -0,0 +1,34 @@
|
||||
brasero-2.31.5.tar.bz2
|
||||
/brasero-2.31.90.tar.bz2
|
||||
/brasero-2.31.91.tar.bz2
|
||||
/brasero-2.31.92.tar.bz2
|
||||
/brasero-2.32.0.tar.bz2
|
||||
/brasero-2.91.0.tar.bz2
|
||||
/brasero-2.91.1.tar.bz2
|
||||
/brasero-2.91.2-gitcede364.tar.gz
|
||||
/brasero-2.91.2.tar.bz2
|
||||
/brasero-2.91.3.tar.bz2
|
||||
/brasero-2.91.4.2.tar.bz2
|
||||
/brasero-2.91.5.tar.bz2
|
||||
/brasero-2.91.6.tar.bz2
|
||||
/brasero-2.91.90.tar.bz2
|
||||
/brasero-2.91.91.tar.bz2
|
||||
/brasero-2.91.93.tar.bz2
|
||||
/brasero-3.0.0.tar.bz2
|
||||
/brasero-3.2.0.tar.xz
|
||||
/brasero-3.3.91.tar.xz
|
||||
/brasero-3.3.92.tar.xz
|
||||
/brasero-3.4.0.tar.xz
|
||||
/brasero-3.4.1.tar.xz
|
||||
/brasero-3.5.92.tar.xz
|
||||
/brasero-3.6.0.tar.xz
|
||||
/brasero-3.6.1.tar.xz
|
||||
/brasero-3.7.91.tar.gz
|
||||
/brasero-3.8.0.tar.xz
|
||||
/brasero-3.10.0.tar.xz
|
||||
/brasero-3.11.0.tar.xz
|
||||
/brasero-3.11.3.tar.xz
|
||||
/brasero-3.11.4.tar.xz
|
||||
/brasero-3.12.0.tar.xz
|
||||
/brasero-3.12.1.tar.gz
|
||||
/brasero-3.12.2.tar.xz
|
31
brasero-3.12.2-default-checksum.patch
Normal file
31
brasero-3.12.2-default-checksum.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 9c25c3c501a85220701d2b377f609e15ac11b829 Mon Sep 17 00:00:00 2001
|
||||
From: David King <amigadave@amigadave.com>
|
||||
Date: Tue, 19 Oct 2021 10:04:07 +0100
|
||||
Subject: [PATCH] checksum: Default to SHA256 rather than MD5
|
||||
|
||||
---
|
||||
data/org.gnome.brasero.gschema.xml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/data/org.gnome.brasero.gschema.xml b/data/org.gnome.brasero.gschema.xml
|
||||
index 4bad20b0..2359bc7f 100644
|
||||
--- a/data/org.gnome.brasero.gschema.xml
|
||||
+++ b/data/org.gnome.brasero.gschema.xml
|
||||
@@ -12,12 +12,12 @@
|
||||
</schema>
|
||||
<schema id="org.gnome.brasero.config" path="/org/gnome/brasero/config/">
|
||||
<key name="checksum-image" type="i">
|
||||
- <default>0</default>
|
||||
+ <default>2</default>
|
||||
<summary>The type of checksum used for images</summary>
|
||||
<description>Set to 0 for MD5, 1 for SHA1 and 2 for SHA256</description>
|
||||
</key>
|
||||
<key name="checksum-files" type="i">
|
||||
- <default>0</default>
|
||||
+ <default>2</default>
|
||||
<summary>The type of checksum used for files</summary>
|
||||
<description>Set to 0 for MD5, 1 for SHA1 and 2 for SHA256</description>
|
||||
</key>
|
||||
--
|
||||
GitLab
|
||||
|
682
brasero.spec
Normal file
682
brasero.spec
Normal file
@ -0,0 +1,682 @@
|
||||
%define basever %(echo %{version} | sed "s/\.[0-9]*$//")
|
||||
|
||||
%if 0%{?rhel} >= 9
|
||||
%bcond_with cdrdao
|
||||
%bcond_with cdrkit
|
||||
%bcond_with dvdrwtools
|
||||
%else
|
||||
%bcond_without cdrdao
|
||||
%bcond_without cdrkit
|
||||
%bcond_without dvdrwtools
|
||||
%endif
|
||||
|
||||
Name: brasero
|
||||
Version: 3.12.2
|
||||
Release: 19%{?dist}
|
||||
Summary: Gnome CD/DVD burning application
|
||||
|
||||
|
||||
# see https://bugzilla.gnome.org/show_bug.cgi?id=683503
|
||||
License: GPLv3+
|
||||
URL: https://wiki.gnome.org/Apps/Brasero
|
||||
Source0: https://download.gnome.org/sources/brasero/%{basever}/brasero-%{version}.tar.xz
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/brasero/-/merge_requests/10
|
||||
Patch0: tracker3.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1935460
|
||||
Patch1: brasero-3.12.2-default-checksum.patch
|
||||
|
||||
# For patch0
|
||||
BuildRequires: autoconf automake
|
||||
BuildRequires: gnome-common
|
||||
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 0.11.92
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 2.99.0
|
||||
BuildRequires: pkgconfig(ice)
|
||||
BuildRequires: pkgconfig(libburn-1) >= 0.4.0
|
||||
BuildRequires: pkgconfig(libcanberra-gtk3)
|
||||
BuildRequires: pkgconfig(libisofs-1) >= 0.6.4
|
||||
BuildRequires: pkgconfig(libnotify) >= 0.7.0
|
||||
BuildRequires: pkgconfig(libnautilus-extension) >= 2.22.2
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
|
||||
BuildRequires: pkgconfig(sm)
|
||||
BuildRequires: pkgconfig(totem-plparser) >= 2.29.1
|
||||
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: itstool
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: make
|
||||
BuildRequires: yelp-tools
|
||||
|
||||
%{?with_dvdrwtools:Requires: dvd+rw-tools}
|
||||
%{?with_cdrkit:Requires: wodim}
|
||||
%{?with_cdrkit:Requires: genisoimage}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
%ifnarch s390x
|
||||
%{?with_cdrdao:Requires: cdrdao}
|
||||
%endif
|
||||
%{?with_cdrkit:Recommends: icedax}
|
||||
|
||||
%description
|
||||
Simple and easy to use CD/DVD burning application for the Gnome
|
||||
desktop.
|
||||
|
||||
|
||||
%package libs
|
||||
Summary: Libraries for %{name}
|
||||
|
||||
%description libs
|
||||
The %{name}-libs package contains the runtime shared libraries for
|
||||
%{name}.
|
||||
|
||||
|
||||
%package nautilus
|
||||
Summary: Nautilus extension for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description nautilus
|
||||
The %{name}-nautilus package contains the brasero nautilus extension.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Headers for developing programs that will use %{name}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
This package contains the static libraries and header files needed for
|
||||
developing brasero applications.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
# For patch0
|
||||
autoreconf -fi
|
||||
|
||||
%configure \
|
||||
--enable-nautilus \
|
||||
--enable-libburnia \
|
||||
--enable-search \
|
||||
--enable-playlist \
|
||||
--enable-preview \
|
||||
--enable-inotify \
|
||||
%{!?with_cdrdao:--disable-cdrdao} \
|
||||
%{!?with_cdrkit:--disable-cdrkit} \
|
||||
%{!?with_dvdrwtools:--disable-growisofs} \
|
||||
--disable-caches \
|
||||
--disable-static
|
||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
||||
%find_lang %{name}
|
||||
|
||||
# Update the screenshot shown in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was pushed upstream.
|
||||
#
|
||||
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
|
||||
#
|
||||
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/brasero.appdata.xml \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/a.png \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/b.png \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/c.png
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%{_mandir}/man1/%{name}.*
|
||||
%{_bindir}/*
|
||||
%{_libdir}/brasero3
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/help/*
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/mime/packages/*
|
||||
%{_datadir}/GConf/gsettings/brasero.convert
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml
|
||||
|
||||
%files libs
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
|
||||
%files nautilus
|
||||
%{_libdir}/nautilus/extensions-3.0/*.so
|
||||
%{_datadir}/applications/brasero-nautilus.desktop
|
||||
|
||||
%files devel
|
||||
%doc %{_datadir}/gtk-doc/html/libbrasero-media
|
||||
%doc %{_datadir}/gtk-doc/html/libbrasero-burn
|
||||
%doc ChangeLog
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/brasero3
|
||||
%{_datadir}/gir-1.0/*.gir
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 29 2021 David King <amigadave@amigadave.com> - 3.12.2-19
|
||||
- Improve default checksum hash algorithm (#1935460)
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.12.2-18
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jun 28 2021 David King <amigadave@amigadave.com> - 3.12.2-17
|
||||
- Drop dependencies on cdrdao, cdrkit, and dvd+rw-tools for el9+ (#1973071)
|
||||
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.12.2-16
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 3.12.2-15
|
||||
- Switch to Tracker 3
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Jan 21 2021 Adam Jackson <ajax@redhat.com> - 3.12.2-13
|
||||
- Relax Requires: icedax to Recommends
|
||||
|
||||
* Thu Jan 07 2021 David King <amigadave@amigadave.com> - 3.12.2-12
|
||||
- Use pkgconfig for BuildRequires
|
||||
- Depend on tracker only on Fedora
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 3.12.2-6
|
||||
- Update requires
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.12.2-4
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.12.2-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Aug 10 2017 Kalev Lember <klember@redhat.com> - 3.12.2-2
|
||||
- Rebuilt for libtotem-plparser soname bump
|
||||
|
||||
* Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 3.12.2-1
|
||||
- Update to 3.12.2
|
||||
- Use desktop-file-validate instead of desktop-file-install
|
||||
- Update download URLs
|
||||
|
||||
* Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 3.12.1-7
|
||||
- Rebuilt for libtotem-plparser soname bump
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Nov 17 2015 Richard Shaw <hobbes1069@gmail.com> - 3.12.1-3
|
||||
- Add patch to fix libdvdcss version detection, fixes BZ#1193628.
|
||||
- Use %%license tag.
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Tue Apr 28 2015 Matthias Clasen <mclasen@redhat.com> - 3.12.1-1
|
||||
- Update to 3.12.1
|
||||
|
||||
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.12.0-2
|
||||
- Use better AppData screenshots
|
||||
|
||||
* Thu Nov 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
|
||||
- Update to 3.12.0
|
||||
|
||||
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.4-2
|
||||
- Drop last GConf2 remnants (#1142397)
|
||||
|
||||
* Thu Sep 11 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.4-1
|
||||
- Update to 3.11.4
|
||||
|
||||
* Thu Aug 21 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.3-11
|
||||
- Backport a patch to fix crashes with gtk+ 3.13.x
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Aug 12 2014 Rex Dieter <rdieter@fedoraproject.org> - 3.11.3-9
|
||||
- update scriptlets
|
||||
- tighten subpkg dep
|
||||
- %%check: validate appdata
|
||||
|
||||
* Sat Aug 2 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.11.3-8
|
||||
- Base package should depend on -libs
|
||||
|
||||
* Mon Jul 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.3-7
|
||||
- Rebuilt once more for tracker
|
||||
|
||||
* Mon Jul 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.11.3-6
|
||||
- rebuild (tracker)
|
||||
|
||||
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.3-5
|
||||
- Rebuilt for gobject-introspection 1.41.4
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.11.3-3
|
||||
- Support tracker 1.0 API
|
||||
|
||||
* Fri Dec 27 2013 Adam Williamson <awilliam@redhat.com> - 3.11.3-2
|
||||
- rebuild for new tracker
|
||||
|
||||
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
|
||||
- Update to 3.11.3
|
||||
|
||||
* Mon Dec 09 2013 Richard Hughes <rhughes@redhat.com> - 3.11.0-1
|
||||
- Update to 3.11.0
|
||||
|
||||
* Sat Nov 30 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
|
||||
- Update to 3.10.0
|
||||
|
||||
* Thu Sep 19 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-4
|
||||
- Rebuilt for totem-pl-parser soname bump
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 2 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.0-2
|
||||
- Cosmetic spec file cleanups
|
||||
|
||||
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
|
||||
- Update to 3.8.0
|
||||
|
||||
* Wed Mar 6 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
|
||||
- Update to 3.7.91
|
||||
|
||||
* Sun Jan 27 2013 Kalev Lember <kalevlember@gmail.com> - 3.6.1-2
|
||||
- Build with tracker 0.16 API
|
||||
|
||||
* Mon Nov 12 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.6.1-1
|
||||
- Update to 3.6.1
|
||||
|
||||
* Wed Oct 10 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.6.0-2
|
||||
- Fix BD media disc copy
|
||||
|
||||
* Tue Sep 25 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0-1
|
||||
- Update to 3.6.0
|
||||
|
||||
* Wed Sep 19 2012 Richard Hughes <hughsient@gmail.com> - 3.5.92-1
|
||||
- Update to 3.5.92
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
|
||||
- Update to 3.4.1
|
||||
|
||||
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0-1
|
||||
- Update to 3.4.0
|
||||
|
||||
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.3.92-1
|
||||
- Update to 3.3.92
|
||||
|
||||
* Tue Mar 6 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.91-2
|
||||
- Rebuild against new tracker
|
||||
|
||||
* Tue Mar 6 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.91-1
|
||||
- Update to 3.3.91
|
||||
|
||||
* Tue Feb 28 2012 Matthias Clasen <mclasen@redhat.com> - 3.2.0-3
|
||||
- Rebuild against new tracker
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
|
||||
- Update to 3.2.0
|
||||
|
||||
* Fri May 6 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-1
|
||||
- Update scriptlets per packaging guidelines
|
||||
|
||||
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
|
||||
- Update to 3.0.0
|
||||
|
||||
* Fri Mar 25 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.93-1
|
||||
- Update to 2.91.93
|
||||
|
||||
* Tue Mar 8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-1
|
||||
- Update to 2.91.91
|
||||
|
||||
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
|
||||
- Update to 2.91.90
|
||||
|
||||
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-4
|
||||
- Rebuild against newer gtk
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Feb 06 2011 Bastien Nocera <bnocera@redhat.com> 2.91.6-2
|
||||
- Fix GTK+ name in pkg-config file
|
||||
|
||||
* Wed Feb 2 2011 Christopher Aillon <caillon@redhat.com> - 2.91.6-1
|
||||
- Update to 2.91.6
|
||||
|
||||
* Thu Jan 13 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-2
|
||||
- Move girs to -devel
|
||||
|
||||
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-1
|
||||
- Update to 2.91.5
|
||||
|
||||
* Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4.2-1
|
||||
- Update to 2.91.4.2
|
||||
|
||||
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.3-1
|
||||
- Update to 2.91.3
|
||||
|
||||
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.2-1
|
||||
- Update to 2.91.2
|
||||
|
||||
* Wed Nov 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.2-0.2.gitcede364
|
||||
- Rebuild against libnotify 0.7.0
|
||||
|
||||
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.2-0.1.gitcede364
|
||||
- Git snapshot that builds against gtk3
|
||||
|
||||
* Wed Oct 6 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.0-1
|
||||
- Update to 2.91.0
|
||||
|
||||
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1
|
||||
- Update to 2.32.0
|
||||
|
||||
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.92-1
|
||||
- Update to 2.31.92
|
||||
|
||||
* Tue Aug 31 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.91-1
|
||||
- Update to 2.31.91
|
||||
|
||||
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.90-1
|
||||
- Update to 2.31.90
|
||||
|
||||
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 2.31.5-2
|
||||
- Rebuild with new gobject-introspection
|
||||
|
||||
* Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.5-1
|
||||
- Update to 2.31.5
|
||||
|
||||
* Wed Jun 30 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.4-1
|
||||
- Update to 2.31.4
|
||||
|
||||
* Tue Jun 8 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-1
|
||||
- Update to 2.31.3
|
||||
|
||||
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.2-1
|
||||
- Update to 2.31.2
|
||||
|
||||
* Tue Apr 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-1
|
||||
- Update to 2.30.1
|
||||
- Spec file cleanups
|
||||
|
||||
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.0-1
|
||||
- Update to 2.30.0
|
||||
|
||||
* Thu Mar 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.92-1
|
||||
- Update to 2.29.92
|
||||
|
||||
* Wed Mar 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.91-2
|
||||
- Fix a nautilus cd-burner crash
|
||||
|
||||
* Mon Feb 22 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.91-1
|
||||
- Update to 2.29.91
|
||||
|
||||
* Wed Feb 10 2010 Bastien Nocera <bnocera@redhat.com> 2.29.90-1
|
||||
- Update to 2.29.90
|
||||
|
||||
* Tue Jan 26 2010 Bastien Nocera <bnocera@redhat.com> 2.29.4-2
|
||||
- Add patch for new totem-pl-parser API
|
||||
- Fix introspection building
|
||||
|
||||
* Tue Dec 22 2009 Matthias Clasen <mclasen@redhat.com> 2.29.4-1
|
||||
- Update to 2.29.4
|
||||
|
||||
* Wed Dec 2 2009 Bastien Nocera <bnocera@redhat.com> 2.29.3-2
|
||||
- Make libbeagle dep more automatic
|
||||
|
||||
* Tue Dec 01 2009 Bastien Nocera <bnocera@redhat.com> 2.29.3-1
|
||||
- Update to 2.29.3
|
||||
|
||||
* Thu Nov 12 2009 Matthias Clasen <mclasen@redhat.com> 2.28.2-3
|
||||
- Obsolete nautilus-cd-burner-devel and -libs as well
|
||||
|
||||
* Mon Oct 26 2009 Matthias Clasen <mclasen@redhat.com> 2.28.2-2
|
||||
- Avoid a stray underline in a button label
|
||||
|
||||
* Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> 2.28.2-1
|
||||
- Update to 2.28.2
|
||||
|
||||
* Wed Oct 07 2009 Bastien Nocera <bnocera@redhat.com> 2.28.1-2
|
||||
- Fix command-line parsing (#527484)
|
||||
|
||||
* Mon Oct 5 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.1-1
|
||||
- Update to 2.28.1, fixes a number of crashes and other serious bugs:
|
||||
- Fix a crash when we try to download a missing gstreamer plugin through PK
|
||||
- Don't fail if a drive cannot be checksumed after a burn
|
||||
- Fix a data corruption when libisofs was used for a dummy session
|
||||
- Fix #596625: brasero crashed with SIGSEGV in brasero_track_data_cfg_add
|
||||
- Fix progress reporting
|
||||
...
|
||||
|
||||
* Fri Oct 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-2
|
||||
- Fix ejecting after burning
|
||||
|
||||
* Tue Sep 22 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-1
|
||||
- Update to 2.28.0
|
||||
|
||||
* Fri Sep 11 2009 Karsten Hopp <karsten@redhat.com> 2.27.92-2
|
||||
- fix requirements on s390, s390x where we don't have cdrdao
|
||||
|
||||
* Mon Sep 7 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.92-1
|
||||
- Update to 2.27.92
|
||||
|
||||
* Tue Aug 25 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-1
|
||||
- Update to 2.27.91
|
||||
|
||||
* Mon Aug 10 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.90-1
|
||||
- Update to 2.27.90
|
||||
|
||||
* Mon Aug 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.5-2
|
||||
- Fix a nautilus segfault when burning
|
||||
|
||||
* Tue Jul 28 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.5-1
|
||||
- Update to 2.27.5
|
||||
|
||||
* Sun Jul 26 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-3
|
||||
- Move ChangeLog to -devel to save some space
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Jul 14 2009 Matthias Clasen <mclasen@redhat.com> 2.27.4-1
|
||||
- Update to 2.27.4
|
||||
|
||||
* Tue Jun 16 2009 Matthias Clasen <mclasen@redhat.com> 2.27.3-1
|
||||
- Update to 2.27.3
|
||||
|
||||
* Wed May 27 2009 Bastien Nocera <bnocera@redhat.com> 2.27.2-1
|
||||
- Update to 2.27.2
|
||||
|
||||
* Tue May 26 2009 Bastien Nocera <bnocera@redhat.com> 2.27.1-2
|
||||
- Add missing unique-devel BR
|
||||
|
||||
* Mon May 18 2009 Bastien Nocera <bnocera@redhat.com> 2.27.1-1
|
||||
- Update to 2.27.1
|
||||
|
||||
* Fri May 1 2009 Bill Nottingham <notting@redhat.com> - 2.26.1-3
|
||||
- require main package in brasero-nautilus (#498632)
|
||||
|
||||
* Fri Apr 17 2009 Denis Leroy <denis@poolshark.org> - 2.26.1-2
|
||||
- Obsoletes nautilus-cd-burner
|
||||
|
||||
* Tue Apr 14 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-1
|
||||
- Update to 2.26.1
|
||||
- See http://download.gnome.org/sources/brasero/2.26/brasero-2.26.1.news
|
||||
|
||||
* Mon Apr 13 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-2
|
||||
- Removed duplicate desktop source
|
||||
|
||||
* Sun Mar 29 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
|
||||
- Update to 2.26.0
|
||||
|
||||
* Mon Mar 02 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.91.2-3
|
||||
- Fix icon and Bugzilla component
|
||||
|
||||
* Mon Mar 02 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.91.2-2
|
||||
- Fix regressions in burn:/// and blank media handling
|
||||
|
||||
* Tue Feb 24 2009 Denis Leroy <denis@poolshark.org> - 2.25.91.2-1
|
||||
- Update to upstream 2.25.91.2
|
||||
- Dvdcss patch upstreamed
|
||||
- Split nautilus extension into subpackage (#485918)
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.90-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sat Feb 7 2009 Denis Leroy <denis@poolshark.org> - 2.25.90-2
|
||||
- Added patch to fix dynamic load of libdvdcss (#484413)
|
||||
|
||||
* Tue Feb 3 2009 Denis Leroy <denis@poolshark.org> - 2.25.90-1
|
||||
- Update to upstream 2.25.90
|
||||
- Split media library into separate RPM (#483754)
|
||||
- Added patch to validate desktop files
|
||||
|
||||
* Tue Jan 20 2009 Denis Leroy <denis@poolshark.org> - 0.9.1-1
|
||||
- Update to upstream 0.9.1
|
||||
- Added development package
|
||||
|
||||
* Tue Dec 16 2008 Denis Leroy <denis@poolshark.org> - 0.8.3-1
|
||||
- Update to upstream 0.8.4
|
||||
- Enabled nautilus extension
|
||||
|
||||
* Mon Sep 15 2008 Denis Leroy <denis@poolshark.org> - 0.8.2-1
|
||||
- Update to upstream 0.8.2
|
||||
|
||||
* Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 0.8.1-1
|
||||
- Update to upstream 0.8.1
|
||||
- Desktop patch upstreamed
|
||||
|
||||
* Sun Jul 6 2008 Denis Leroy <denis@poolshark.org> - 0.7.91-1
|
||||
- Update to unstable 0.7.91
|
||||
- open flags patch upstreamed
|
||||
|
||||
* Wed Jun 11 2008 Denis Leroy <denis@poolshark.org> - 0.7.90-1
|
||||
- Update to unstable 0.7.90
|
||||
- Added patch to validate desktop file
|
||||
- BRs updated
|
||||
|
||||
* Fri May 16 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-4
|
||||
- Rebuild for new totem-pl-parser
|
||||
|
||||
* Sat Feb 23 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-3
|
||||
- Fixed desktop mime field
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7.1-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Tue Jan 29 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-1
|
||||
- Update to 0.7.1 upstream, bugfix release
|
||||
|
||||
* Sun Dec 30 2007 Denis Leroy <denis@poolshark.org> - 0.7.0-1
|
||||
- Update to upstream 0.7.0, updated BRs
|
||||
- Forward-ported open() permission patch
|
||||
|
||||
* Mon Dec 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-4
|
||||
- Changed totem-devel req to totem-pl-parser-devel
|
||||
|
||||
* Sun Dec 9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-3
|
||||
- Rebuild with new libbeagle
|
||||
|
||||
* Fri Nov 9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-2
|
||||
- Rebuild to pick up new totem version (#361361)
|
||||
|
||||
* Sat Aug 25 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-1
|
||||
- Update to upstream version 0.6.1
|
||||
- Filter UI patch is now upstream
|
||||
|
||||
* Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-2
|
||||
- Updated License tag
|
||||
- Fixed open() O_CREAT problem
|
||||
|
||||
* Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-1
|
||||
- Update to 0.6.0
|
||||
- Removed libburn support until it compiles against libisofs 0.2.8
|
||||
- Fixed project URL
|
||||
- Added patch to port to new Gtk+ tooltip interface
|
||||
- Added patch to fix filter dialog crash
|
||||
|
||||
* Sun Jun 3 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-4
|
||||
- Removed beagle support for ppc64
|
||||
|
||||
* Tue May 22 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-3
|
||||
- Added umask 022 to scriptlets (#230781)
|
||||
|
||||
* Mon May 21 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-2
|
||||
- Rebuild to pick up new totem library
|
||||
|
||||
* Mon Feb 26 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-1
|
||||
- Update to 0.5.2
|
||||
- Removed libisofs patch, now upstream
|
||||
|
||||
* Wed Jan 17 2007 Denis Leroy <denis@poolshark.org> - 0.5.1-2
|
||||
- Added patch to support libisofs.so.4 and libburn.so.6
|
||||
|
||||
* Thu Nov 16 2006 Denis Leroy <denis@poolshark.org> - 0.5.1-1
|
||||
- Update to 0.5.1
|
||||
|
||||
* Sun Oct 29 2006 Denis Leroy <denis@poolshark.org> - 0.5.0-1
|
||||
- Update to 0.5.0
|
||||
- Updated icon paths
|
||||
- Added gconf schemas sections
|
||||
|
||||
* Tue Oct 3 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-3
|
||||
- fixed homepage URL
|
||||
|
||||
* Tue Sep 26 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-2
|
||||
- BRs cleanup
|
||||
|
||||
* Fri Sep 22 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-1
|
||||
- First version
|
||||
foo
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (brasero-3.12.2.tar.xz) = 14886e772123f179f79d3172b59e21ced990fd8834cd27e8717eb635a75163c44c1d5084818b53da559a0c2ef25e7c0da4a3a7d3781e2ea74b59cfe98987384f
|
240
tracker3.patch
Normal file
240
tracker3.patch
Normal file
@ -0,0 +1,240 @@
|
||||
From ca0d487aac3b9cf21e520a00b94cb3eaf833b9a3 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 12:19:49 +0100
|
||||
Subject: [PATCH 1/5] Obtain TrackerSparqlConnection in a single point
|
||||
|
||||
The is_available vmethod tries to create a connection if it's not
|
||||
there. But the BraseroSearchTracker initialization already tries to
|
||||
obtain the SPARQL connection. Let this method return wether
|
||||
initialiation was successful.
|
||||
---
|
||||
src/brasero-search-tracker.c | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index fe7be2bd..f8c29c0d 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -56,12 +56,6 @@ brasero_search_tracker_is_available (BraseroSearchEngine *engine)
|
||||
BraseroSearchTrackerPrivate *priv;
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (engine);
|
||||
- GError *error = NULL;
|
||||
- if (priv->connection)
|
||||
- return TRUE;
|
||||
-
|
||||
- priv->cancellable = g_cancellable_new ();
|
||||
- priv->connection = tracker_sparql_connection_get (priv->cancellable, &error);
|
||||
return (priv->connection != NULL);
|
||||
}
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From c0dace005ec34b345845aacd1f929fd618b199af Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 12:37:13 +0100
|
||||
Subject: [PATCH 2/5] Fix ORDER BY clauses in Tracker search
|
||||
|
||||
The ?urn variable is not defined anywhere else in the query, so
|
||||
ordering is left undefined. Access the url/filename properly here.
|
||||
---
|
||||
src/brasero-search-tracker.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index f8c29c0d..94085070 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -307,7 +307,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
g_string_append (query, ")");
|
||||
|
||||
g_string_append (query,
|
||||
- "} ORDER BY DESC(nie:url(?urn)) DESC(nfo:fileName(?urn))");
|
||||
+ "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
|
||||
tracker_sparql_connection_query_async (priv->connection,
|
||||
query->str,
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From f7181445bf9c88b7fab1bb5237d602b491694a9e Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:04:03 +0100
|
||||
Subject: [PATCH 3/5] Only use fts:rank with FTS searches
|
||||
|
||||
This fixes two things:
|
||||
- The use of fts:match depends on priv->keywords being set, but
|
||||
fts:rank() has undefined behavior if fts:match is not present.
|
||||
Its value is returned in the cursor, but fortunately unused,
|
||||
so it can go away.
|
||||
|
||||
- Fixes "garbage" being added at the end of the query, concretely
|
||||
") } ORDER BY ... " is appended at the supposed end of the query
|
||||
string. Older SPARQL parser implementations would allow garbage
|
||||
at the end of its parsing state, I suspect "LIMIT 0 OFFSET 10000"
|
||||
was just a mean to push it to that state that it'd allow the
|
||||
remaining string, so that is gone too.
|
||||
---
|
||||
src/brasero-search-tracker.c | 21 +++++++++------------
|
||||
1 file changed, 9 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index 94085070..ae1d388a 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -234,7 +234,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (search);
|
||||
|
||||
- query = g_string_new ("SELECT ?file ?url ?mime fts:rank(?file) " /* Which variables should be returned */
|
||||
+ query = g_string_new ("SELECT ?file ?url ?mime " /* Which variables should be returned */
|
||||
"WHERE {" /* Start defining the search and its scope */
|
||||
" ?file a nfo:FileDataObject . " /* File must be a file (not a stream, ...) */
|
||||
" ?file nie:url ?url . " /* Get the url of the file */
|
||||
@@ -293,21 +293,18 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
" ) ");
|
||||
}
|
||||
|
||||
- if (priv->keywords)
|
||||
+ if (priv->keywords) {
|
||||
g_string_append_printf (query,
|
||||
" ?file fts:match \"%s\" ", /* File must match possible keywords */
|
||||
priv->keywords);
|
||||
|
||||
- g_string_append (query,
|
||||
- " } "
|
||||
- "ORDER BY ASC(fts:rank(?file)) "
|
||||
- "OFFSET 0 "
|
||||
- "LIMIT 10000");
|
||||
-
|
||||
- g_string_append (query, ")");
|
||||
-
|
||||
- g_string_append (query,
|
||||
- "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
+ g_string_append (query,
|
||||
+ " } "
|
||||
+ "ORDER BY ASC(fts:rank(?file))");
|
||||
+ } else {
|
||||
+ g_string_append (query,
|
||||
+ "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
+ }
|
||||
|
||||
tracker_sparql_connection_query_async (priv->connection,
|
||||
query->str,
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From ede7758e2fae487d57be641a120c4c02bfd249f1 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:15:21 +0100
|
||||
Subject: [PATCH 4/5] Observe nfo:FileDataObject/nie:InformationElement split
|
||||
|
||||
These resources are interpreted differently in Tracker 3.0 compared
|
||||
to older versions, the newer version makes those 2 different resources
|
||||
(one representing the "file", other the "content) that relate to each
|
||||
other. In older tracker versions, these 2 aspects were conflated in
|
||||
a single resource.
|
||||
|
||||
The query is implicitly crossing that barrier, so make it explicit.
|
||||
With this change, the query may run with either version.
|
||||
---
|
||||
src/brasero-search-tracker.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index ae1d388a..9aa06289 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -238,7 +238,8 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
"WHERE {" /* Start defining the search and its scope */
|
||||
" ?file a nfo:FileDataObject . " /* File must be a file (not a stream, ...) */
|
||||
" ?file nie:url ?url . " /* Get the url of the file */
|
||||
- " ?file nie:mimeType ?mime . "); /* Get its mime */
|
||||
+ " ?file nie:mimeType ?mime . " /* Get its mime */
|
||||
+ " ?content nie:isStoredAs ?file . "); /* Get the resource representing the content */
|
||||
|
||||
if (priv->mimes) {
|
||||
int i;
|
||||
@@ -259,7 +260,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
gboolean param_added = FALSE;
|
||||
|
||||
g_string_append (query,
|
||||
- " ?file a ?type . "
|
||||
+ " ?content a ?type . "
|
||||
" FILTER ( ");
|
||||
|
||||
if (priv->scope & BRASERO_SEARCH_SCOPE_MUSIC) {
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From 05589be7da3a0dfb00617df049d129abba703c36 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:22:43 +0100
|
||||
Subject: [PATCH 5/5] Support Tracker 3.0
|
||||
|
||||
Add the compile-time checks, and add the minimal code catering for
|
||||
the API changes. In 3.0 connections are no longer singletons.
|
||||
---
|
||||
configure.ac | 6 +++++-
|
||||
src/brasero-search-tracker.c | 8 ++++++++
|
||||
2 files changed, 13 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index d0c7a870..96afc551 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -388,7 +388,7 @@ AC_ARG_ENABLE(search,
|
||||
if test x"$enable_search" != "xno"; then
|
||||
# Try to figure out the tracker API version to use
|
||||
tracker_api="0.10"
|
||||
- m4_foreach([VERSION], [[0.10], [0.12], [0.14], [0.16], [0.18], [1.0], [2.0]],
|
||||
+ m4_foreach([VERSION], [[0.10], [0.12], [0.14], [0.16], [0.18], [1.0], [2.0], [3.0]],
|
||||
[PKG_CHECK_EXISTS([tracker-sparql-VERSION >= $TRACKER_REQUIRED],
|
||||
[tracker_api="VERSION"])
|
||||
])
|
||||
@@ -408,6 +408,10 @@ if test x"$enable_search" = "xyes"; then
|
||||
AC_SUBST(BRASERO_SEARCH_LIBS)
|
||||
build_tracker="yes"
|
||||
build_search="yes"
|
||||
+
|
||||
+ if test x"$tracker_api" = x"3.0"; then
|
||||
+ AC_DEFINE(HAVE_TRACKER3, 1, [define if tracker3 is available])
|
||||
+ fi
|
||||
else
|
||||
build_search="no"
|
||||
fi
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index 9aa06289..40c5f1ac 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -17,6 +17,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
+
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <libtracker-sparql/tracker-sparql.h>
|
||||
@@ -444,7 +446,13 @@ brasero_search_tracker_init (BraseroSearchTracker *object)
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (object);
|
||||
priv->cancellable = g_cancellable_new ();
|
||||
+
|
||||
+#ifdef HAVE_TRACKER3
|
||||
+ priv->connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files",
|
||||
+ NULL, NULL, &error);
|
||||
+#else
|
||||
priv->connection = tracker_sparql_connection_get (priv->cancellable, &error);
|
||||
+#endif
|
||||
|
||||
if (error) {
|
||||
g_warning ("Could not establish a connection to Tracker: %s", error->message);
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
Reference in New Issue
Block a user