Package: gnome-pie
Version: 0.7.1-1
Tags: patch
User: pkg-ayatana-de...@lists.alioth.debian.org
Usertags: ayatana-appindicator

Dear maintainer(s) of gnome-pie,

find attached a .debdiff that ports your package from building against Ubuntu's AppIndicator
to building against Ayatana AppIndicator API.

This contribution is part of the Ayatana Indicators shift in Debian.

For more info, see
https://lists.debian.org/debian-devel/2018/03/msg00506.html

Thanks,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

diff -Nru gnome-pie-0.7.1/debian/changelog gnome-pie-0.7.1/debian/changelog
--- gnome-pie-0.7.1/debian/changelog    2017-07-25 06:55:33.000000000 +0200
+++ gnome-pie-0.7.1/debian/changelog    2018-08-29 11:50:15.000000000 +0200
@@ -1,3 +1,13 @@
+gnome-pie (0.7.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control:
+    + Switch B-D from libappindicator3-dev to libayatana-indicator3-dev.
+  * debian/patches:
+    + Add ayatana-appindicator.patch.
+
+ -- Mike Gabriel <mike.gabr...@das-netzwerkteam.de>  Wed, 29 Aug 2018 11:50:15 
+0200
+
 gnome-pie (0.7.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gnome-pie-0.7.1/debian/control gnome-pie-0.7.1/debian/control
--- gnome-pie-0.7.1/debian/control      2017-07-25 06:51:21.000000000 +0200
+++ gnome-pie-0.7.1/debian/control      2018-08-29 11:46:54.000000000 +0200
@@ -5,7 +5,7 @@
 Build-Depends:
  debhelper (>= 10),
  cmake,
- libappindicator3-dev,
+ libayatana-appindicator3-dev,
  libarchive-dev,
  libcairo2-dev,
  libgee-0.8-dev (>= 0.10),
diff -Nru gnome-pie-0.7.1/debian/patches/ayatana-appindicator.patch 
gnome-pie-0.7.1/debian/patches/ayatana-appindicator.patch
--- gnome-pie-0.7.1/debian/patches/ayatana-appindicator.patch   1970-01-01 
01:00:00.000000000 +0100
+++ gnome-pie-0.7.1/debian/patches/ayatana-appindicator.patch   2018-08-29 
11:49:28.000000000 +0200
@@ -0,0 +1,70 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -26,7 +26,7 @@
+ find_package(PkgConfig)
+ 
+ pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
+-pkg_check_modules(INDICATOR3 appindicator3-0.1)
++pkg_check_modules(INDICATOR3 ayatana-appindicator3-0.1)
+ pkg_check_modules(WNCK REQUIRED libwnck-3.0)
+ pkg_check_modules(BAMF libbamf3)
+ pkg_check_modules(GIO REQUIRED gio-unix-2.0)
+@@ -75,11 +75,7 @@
+     pkg_check_modules(GMENU REQUIRED libgnome-menu)
+ endif (${GMENU3_FOUND})
+ 
+-# notify application of presence of libappindicator
+-if (${INDICATOR_FOUND})
+-    LIST(APPEND CFLAGS -DHAVE_APPINDICATOR)
+-    LIST(APPEND VALA_DEFINES --define HAVE_APPINDICATOR)
+-endif (${INDICATOR_FOUND})
++# notify application of presence of libayatana-appindicator
+ if (${INDICATOR3_FOUND})
+     LIST(APPEND CFLAGS -DHAVE_APPINDICATOR)
+     LIST(APPEND VALA_DEFINES --define HAVE_APPINDICATOR)
+@@ -97,7 +93,6 @@
+     ${GTK3_LIBRARIES}
+     ${CAIRO_LIBRARIES}
+     ${GEE_LIBRARIES}
+-    ${INDICATOR_LIBRARIES}
+     ${INDICATOR3_LIBRARIES}
+     ${XML_LIBRARIES}
+     ${XTST_LIBRARIES}
+@@ -117,7 +112,6 @@
+     ${GTK3_LIBRARY_DIRS}
+     ${CAIRO_LIBRARY_DIRS}
+     ${GEE_LIBRARY_DIRS}
+-    ${INDICATOR_LIBRARY_DIRS}
+     ${INDICATOR3_LIBRARY_DIRS}
+     ${XML_LIBRARY_DIRS}
+     ${XTST_LIBRARY_DIRS}
+@@ -134,7 +128,6 @@
+     ${GTK3_INCLUDE_DIRS}
+     ${CAIRO_INCLUDE_DIRS}
+     ${GEE_INCLUDE_DIRS}
+-    ${INDICATOR_INCLUDE_DIRS}
+     ${INDICATOR3_INCLUDE_DIRS}
+     ${XML_INCLUDE_DIRS}
+     ${XTST_INCLUDE_DIRS}
+@@ -166,12 +159,8 @@
+     libarchive
+ )
+ 
+-if (${INDICATOR_FOUND})
+-    LIST(APPEND VALA_PKGS appindicator-0.1)
+-endif (${INDICATOR_FOUND})
+-
+ if (${INDICATOR3_FOUND})
+-    LIST(APPEND VALA_PKGS appindicator3-0.1)
++    LIST(APPEND VALA_PKGS ayatana-appindicator3-0.1)
+ endif (${INDICATOR3_FOUND})
+ 
+ if (${GMENU3_FOUND})
+@@ -210,7 +199,6 @@
+ message( "  GTK3_LIBRARIES = ${GTK3_LIBRARIES}" )
+ message( "  CAIRO_LIBRARIES = ${CAIRO_LIBRARIES}" )
+ message( "  GEE_LIBRARIES = ${GEE_LIBRARIES}" )
+-message( "  INDICATOR_LIBRARIES = ${INDICATOR_LIBRARIES}" )
+ message( "  INDICATOR3_LIBRARIES = ${INDICATOR3_LIBRARIES}" )
+ message( "  XML_LIBRARIES = ${XML_LIBRARIES}" )
+ message( "  XTST_LIBRARIES = ${XTST_LIBRARIES}" )
diff -Nru gnome-pie-0.7.1/debian/patches/series 
gnome-pie-0.7.1/debian/patches/series
--- gnome-pie-0.7.1/debian/patches/series       2016-09-22 20:07:00.000000000 
+0200
+++ gnome-pie-0.7.1/debian/patches/series       2018-08-29 11:46:37.000000000 
+0200
@@ -1 +1,2 @@
 #0500_bamf3-vapi.patch
+ayatana-appindicator.patch

Attachment: pgpkgEVMxglox.pgp
Description: Digitale PGP-Signatur

Reply via email to