Hello community,

here is the log from the commit of package transmission for openSUSE:Factory 
checked in at 2016-08-16 13:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transmission (Old)
 and      /work/SRC/openSUSE:Factory/.transmission.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transmission"

Changes:
--------
--- /work/SRC/openSUSE:Factory/transmission/transmission.changes        
2016-03-07 13:37:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.transmission.new/transmission.changes   
2016-08-16 13:02:12.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Aug  4 02:13:43 UTC 2016 - [email protected]
+
+- Add transmission-appdata.patch to add, translate and install
+  metainfo files for gtk application.
+- Patch touches autotool files, add BuildRequires on libtool and
+  run autoreconf -fi before ./configure; workaround an issue where
+  aclocal fails due to "won't overwrite defined macro:
+  glib_DEFUN".
+- Add and install metainfo for transmission-qt as a separate
+  source file. 
+
+-------------------------------------------------------------------

New:
----
  transmission-appdata.patch
  transmission-qt.appdata.xml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ transmission.spec ++++++
--- /var/tmp/diff_new_pack.ntPxu9/_old  2016-08-16 13:02:14.000000000 +0200
+++ /var/tmp/diff_new_pack.ntPxu9/_new  2016-08-16 13:02:14.000000000 +0200
@@ -25,14 +25,19 @@
 Url:            http://www.transmissionbt.com/
 Source0:        
http://download.m0k.org/transmission/files/%{name}-%{version}.tar.xz
 Source1:        transmission-qt.desktop
+Source2:        transmission-daemon-systemd
+Source3:        README.openSUSE
+Source4:        transmission-qt.appdata.xml
+# PATCH-FIX-UPSTREAM transmission-appdata.patch [email protected] -- Add 
and install appdata files for both gtk and qt applications; enable translations 
for the gtk metainfo
+Patch0:         transmission-appdata.patch
+# Patch0 touches autotool files
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  intltool
+BuildRequires:  libtool
 %if 0%{?WITH_APPINDICATOR}
 BuildRequires:  libappindicator-devel >= 0.4.90
 %endif
-Source2:        transmission-daemon-systemd
-Source3:        README.openSUSE
 BuildRequires:  libb64-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libevent-devel >= 2.0.0
@@ -130,9 +135,14 @@
 %lang_package -n %{name}-qt
 %prep
 %setup -q
+%patch0 -p1
 cp %{S:3} .
 
 %build
+# Prevent m4_copy error when running aclocal
+# m4_copy: won't overwrite defined macro: glib_DEFUN
+rm m4/glib-gettext.m4 || exit 1
+autoreconf
 export CFLAGS="%{optflags} -fPIC"
 export CXXFLAGS="%{optflags} -fPIC"
 %configure \
@@ -172,6 +182,9 @@
 %suse_update_desktop_file -i transmission-qt
 %fdupes %{buildroot}
 
+# Install metainfo for qt
+install -Dm0644 %{S:4} 
%{buildroot}%{_datadir}/appdata/transmission-qt.appdata.xml
+
 %clean
 rm -rf %{buildroot}
 
@@ -274,6 +287,8 @@
 %{_mandir}/man1/transmission.1%{?ext_man}
 %ghost %{_sysconfdir}/alternatives/transmission
 %ghost %{_sysconfdir}/alternatives/transmission.1.gz
+%dir %{_datadir}/appdata
+%{_datadir}/appdata/transmission-gtk.appdata.xml
 
 %files -n %{name}-qt-lang -f transmission-qt.lang
 %defattr(-,root,root)
@@ -291,6 +306,8 @@
 %{_mandir}/man1/transmission.1%{?ext_man}
 %ghost %{_sysconfdir}/alternatives/transmission
 %ghost %{_sysconfdir}/alternatives/transmission.1.gz
+%dir %{_datadir}/appdata
+%{_datadir}/appdata/transmission-qt.appdata.xml
 
 %files common
 %defattr(-,root,root)

++++++ transmission-appdata.patch ++++++
Index: transmission-2.92/gtk/Makefile.am
===================================================================
--- transmission-2.92.orig/gtk/Makefile.am
+++ transmission-2.92/gtk/Makefile.am
@@ -97,6 +97,11 @@ DESKTOP_IN_FILES=transmission-gtk.deskto
 DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+APPDATAdir = $(datadir)/appdata
+APPDATA_IN_FILES = transmission-gtk.appdata.xml.in
+APPDATA_DATA = $(APPDATA_IN_FILES:.appdata.xml.in=.appdata.xml)
+@INTLTOOL_XML_RULE@
+
 Productivitydir = $(datadir)/applications
 Productivity_DATA = $(DESKTOP_FILES)
 
@@ -124,7 +129,8 @@ EXTRA_DIST = \
        $(DESKTOP_IN_FILES) \
        $(UI_FILES) \
        transmission.gresource.xml \
-       transmission.png
+       transmission.png \
+       $(APPDATA_IN_FILES)
 
 DISTCLEANFILES = \
        transmission-gtk.desktop
Index: transmission-2.92/gtk/transmission-gtk.appdata.xml.in
===================================================================
--- /dev/null
+++ transmission-2.92/gtk/transmission-gtk.appdata.xml.in
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+  <id type="desktop">transmission-gtk.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>Transmission BitTorrent Client</_name>
+  <project_license>(GPL-2.0 or GPL-3.0) and MIT</project_license>
+  <_summary>Lightweight, yet powerful BitTorrent client</_summary>
+  <url type="homepage">http://www.transmissionbt.com/</url>
+  <description>
+    <_p>Transmission is a fast, easy, and free multi-platform BitTorrent client
+with a focus on being lightweight yet feature-filled. Its simple,
+intuitive interface is designed to integrate tightly with whatever
+computing environment you choose to use. Transmission strikes a balance
+between providing useful functionality without feature bloat.
+Furthermore, it is free for anyone to use or modify.</_p>
+    <_p>This installs the GTK interface for transmission.</_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image height="805" 
width="1252">https://www.transmissionbt.com/images/screenshots/GTK-Large.jpg</image>
+      <caption>Transmission in action</caption>
+    </screenshot>
+  </screenshots>
+  <update_contact>[email protected]</update_contact>
+  <translation type="gettext">transmission-gtk</translation>
+</component>
Index: transmission-2.92/po/POTFILES.in
===================================================================
--- transmission-2.92.orig/po/POTFILES.in
+++ transmission-2.92/po/POTFILES.in
@@ -15,6 +15,7 @@ gtk/open-dialog.c
 gtk/relocate.c
 gtk/stats.c
 gtk/torrent-cell-renderer.c
+gtk/transmission-gtk.appdata.xml.in
 gtk/transmission-gtk.desktop.in
 gtk/tr-core.c
 gtk/tr-icon.c
++++++ transmission-qt.appdata.xml ++++++
<?xml version='1.0' encoding='UTF-8'?>
<component>
  <id type="desktop">transmission-qt.desktop</id>
  <metadata_license>CC0-1.0</metadata_license>
  <name>Transmission (Qt) BitTorrent Client</name>
  <project_license>(GPL-2.0 or GPL-3.0) and MIT</project_license>
  <summary>Lightweight, yet powerful BitTorrent client</summary>
  <url type="homepage">http://www.transmissionbt.com/</url>
  <description>
    <p>Transmission is a fast, easy, and free multi-platform BitTorrent client
with a focus on being lightweight yet feature-filled. Its simple,
intuitive interface is designed to integrate tightly with whatever
computing environment you choose to use. Transmission strikes a balance
between providing useful functionality without feature bloat.
Furthermore, it is free for anyone to use or modify.</p>
    <p>
This installs the QT graphical user interface to transmission.</p>
  </description>
  <screenshots>
    <screenshot type="default">
      <image height="785" 
width="1165">https://www.transmissionbt.com/images/screenshots/Qt-Large.jpg</image>
      <caption>QT interface for transmission</caption>
    </screenshot>
  </screenshots>
  <update_contact>[email protected]</update_contact>
</component>

Reply via email to