]> saetta.ns0.it Git - libgtkform/commitdiff
Debian pkg: adjustments for wheezy.
authorAndrea Zagli <azagli@libero.it>
Sun, 29 May 2016 09:34:36 +0000 (11:34 +0200)
committerAndrea Zagli <azagli@libero.it>
Sun, 29 May 2016 09:34:36 +0000 (11:34 +0200)
debian/control
debian/gbp.conf
debian/patches/0001-Added-DESTDIR-support.patch
debian/patches/0002-Gladeui-old-version.patch [new file with mode: 0644]
debian/patches/series

index 29f78e0d726c57f649a63167694ab7bca42c779b..3cc22f22626c77b8f285b6774d85140d86fe3398 100644 (file)
@@ -19,6 +19,6 @@ Description: GObject library to manage forms - development files
 
 Package: libgtkform
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxml2, libgdaex, libgladeui-2-6
+Depends: ${shlibs:Depends}, ${misc:Depends}, libxml2, libgdaex, libgladeui-2-0
 Description: GObject library to manage forms
  GObject library to manage forms, based on plugins.
index f0b445444645151c30eb62b7f3975348761fe322..f10a52249942ae4d737b081e1c5bf2a0a2709c1c 100644 (file)
@@ -1,10 +1,10 @@
 [buildpackage]
 export-dir=../build_area
-debian-branch=debian/sid
+debian-branch=debian/wheezy
 ignore-new=True
 upstream-tree=BRANCH
 upstream-branch=gtk3
 force-create=True
 export=WC
-dist=sid
+dist=wheezy
 pbuilder=True
index e0ddc914aec1e441172c44cee3120fabf522c703..3a1a44caddc560e596b984dbd867e2653a153385 100644 (file)
@@ -14,11 +14,11 @@ index ea9eb53..587b649 100644
 +++ b/libgtkform/Makefile.am
 @@ -48,7 +48,7 @@ libgtkform_include_HEADERS = form.h \
  libgtkform_includedir = $(includedir)/libgtkform
+
  install-exec-hook:
 -      mkdir -p "$(libdir)/$(PACKAGE)/modules"
 +      mkdir -p "$(DESTDIR)$(libdir)/$(PACKAGE)/modules"
+
  uninstall-hook:
 -      rm -rf "$(libdir)/$(PACKAGE)"
 +      rm -rf "$(DESTDIR)$(libdir)/$(PACKAGE)"
@@ -28,12 +28,12 @@ index 1e3b1b5..b80803e 100644
 +++ b/libgtkformui/Makefile.am
 @@ -41,8 +41,8 @@ libgtkformui_include_HEADERS = gtkformdecoder.h \
  libgtkformui_includedir = $(includedir)/libgtkformui
+
  install-exec-hook:
 -      cd $(libdir)/$(PACKAGE)/modules && \
 +      cd $(DESTDIR)$(libdir)/$(PACKAGE)/modules && \
        ln -s -f $(libmodulesdir)/libgtkformui$(libmodulesext) .
+
  uninstall-hook:
 -      rm -f $(libdir)/$(PACKAGE)/modules/libgtkformui$(libmodulesext)
 +      rm -f $(DESTDIR)$(libdir)/$(PACKAGE)/modules/libgtkformui$(libmodulesext)
@@ -43,23 +43,23 @@ index 5ecb3e7..a159f54 100644
 +++ b/libgtkformui/glade/Makefile.am
 @@ -1,8 +1,8 @@
  SUBDIRS = icons
+
 -glademodulesdir = $(GLADE_MODULE_DIR)
 +glademodulesdir = $(DESTDIR)$(GLADE_MODULE_DIR)
+
 -gladecatalogsdir = $(GLADE_CATALOG_DIR)
-+gladecatalogsdir = $(DESTDIR)$(GLADE_CATALOG_DIR)
++gladecatalogsdir = $(GLADE_CATALOG_DIR)
+
  gladecatalogs_DATA = gtkformui.xml
+
 @@ -19,8 +19,9 @@ libmodulesdir = $(libdir)
  endif
+
  install-exec-hook:
 +      mkdir -p $(glademodulesdir) && \
        cd $(glademodulesdir) && \
 -      ln -s -f $(libmodulesdir)/libgtkformui$(libmodulesext) libgtkformui$(libmodulesextglade)
 +      ln -s -f $(DESTDIR)$(libmodulesdir)/libgtkformui$(libmodulesext) libgtkformui$(libmodulesextglade)
+
  uninstall-hook:
        rm -f $(glademodulesdir)/libgtkformui$(libmodulesextglade)
diff --git a/debian/patches/0002-Gladeui-old-version.patch b/debian/patches/0002-Gladeui-old-version.patch
new file mode 100644 (file)
index 0000000..214342c
--- /dev/null
@@ -0,0 +1,21 @@
+From: Andrea Zagli <azagli@libero.it>
+Date: Sun, 29 May 2016 10:46:30 +0200
+Subject: Gladeui old version.
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ffe3a97..5194f48 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -44,7 +44,7 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
+ AM_GLIB_GNU_GETTEXT
+ # Checks for libraries.
+-PKG_CHECK_EXISTS(gladeui-2.0 >= 3.14.0, [GLADEUI_FOUND=yes], [GLADEUI_FOUND=no])
++PKG_CHECK_EXISTS(gladeui-2.0 >= 3.12.0, [GLADEUI_FOUND=yes], [GLADEUI_FOUND=no])
+ if test "x$GLADEUI_FOUND" = "xyes"; then
+       GLADE_CATALOG_DIR=`$PKG_CONFIG --variable=catalogdir gladeui-2.0`
index 638256036608d2e24826d901836dba1ac9eef3e6..6f17f3669c62953d53a5a844801d161fbf9e7f52 100644 (file)
@@ -1 +1,2 @@
 0001-Added-DESTDIR-support.patch
+0002-Gladeui-old-version.patch