[higan] 01/02: Remove dependence on libgtksourceview2.0-dev.

Tobias Hansen thansen at moszumanska.debian.org
Sat Dec 30 15:33:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository higan.

commit 6366052a10abd1ad90c630c768cb3e185ec1cf66
Author: Tobias Hansen <thansen at debian.org>
Date:   Sat Dec 30 16:11:23 2017 +0100

    Remove dependence on libgtksourceview2.0-dev.
---
 debian/changelog                      |  7 +++++++
 debian/control                        |  1 -
 debian/patches/no_gtksourceview.patch | 28 ++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 4 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 97255b7..856636a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+higan (106-2) unstable; urgency=medium
+
+  * Build hiro without SourceEdit to avoid dependence on
+    libgtksourceview2.0-dev. (Closes: #885687)
+
+ -- Tobias Hansen <thansen at debian.org>  Sat, 30 Dec 2017 16:09:44 +0100
+
 higan (106-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 3dc6825..f03fbb6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders: Tobias Hansen <thansen at debian.org>
 Build-Depends: debhelper (>= 10),
                pkg-config,
                libgtk2.0-dev,
-               libgtksourceview2.0-dev,
                libsdl1.2-dev,
                libpulse-dev,
                libopenal-dev,
diff --git a/debian/patches/no_gtksourceview.patch b/debian/patches/no_gtksourceview.patch
new file mode 100644
index 0000000..5d198ab
--- /dev/null
+++ b/debian/patches/no_gtksourceview.patch
@@ -0,0 +1,28 @@
+Description: Build hiro without SourceEdit to avoid gtksourceview dependence
+ gtksourceview2 is deprecated and will be removed from Debian.
+Author: Tobias Hansen <thansen at debian.org>
+Bug-Debian: http://bugs.debian.org/885687
+
+--- a/hiro/GNUmakefile
++++ b/hiro/GNUmakefile
+@@ -36,8 +36,8 @@
+   endif
+ 
+   ifeq ($(hiro),gtk)
+-    hiroflags = $(cppflags) $(flags) -DHIRO_GTK $(shell pkg-config --cflags gtk+-2.0 gtksourceview-2.0)
+-    hirolink = -lX11 $(shell pkg-config --libs gtk+-2.0 gtksourceview-2.0)
++    hiroflags = $(cppflags) $(flags) -DHIRO_GTK $(shell pkg-config --cflags gtk+-2.0)
++    hirolink = -lX11 $(shell pkg-config --libs gtk+-2.0)
+   endif
+ 
+   ifeq ($(hiro),qt)
+--- a/hiro/components.hpp
++++ b/hiro/components.hpp
+@@ -66,7 +66,6 @@
+ #define Hiro_ProgressBar
+ #define Hiro_RadioButton
+ #define Hiro_RadioLabel
+-#define Hiro_SourceEdit
+ #define Hiro_TabFrame
+ #define Hiro_TableView
+ #define Hiro_TextEdit
diff --git a/debian/patches/series b/debian/patches/series
index ba6309c..6c03419 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ create_config.patch
 include_cmath.patch
 disable-alsa-and-udev-on-non-linux.patch
 tomoko-makefile-fixes.patch
+no_gtksourceview.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git



More information about the Pkg-games-commits mailing list