Package: spatialite-gui
Version: 1.7.1-3
Severity: normal
Tags: patch
User: freewx-ma...@lists.alioth.debian.org
Usertags: wx3.0

Dear maintainer,

We're aiming to migrate the archive to using wxwidgets3.0 instead of
wxwidgets2.8.

I've rebuilt your package using the attached simple patch to make
configure find the required wx libraries.  It seems to run OK, but I
have no suitable spatial data to test it with so I haven't exercised it
very thoroughly.

I'm happy to NMU this change if you wish me to - just let me know.

Cheers,
    Olly
diff -Nru spatialite-gui-1.7.1/debian/changelog spatialite-gui-1.7.1/debian/changelog
--- spatialite-gui-1.7.1/debian/changelog	2014-03-19 20:24:16.000000000 +1300
+++ spatialite-gui-1.7.1/debian/changelog	2014-05-01 19:55:07.000000000 +1200
@@ -1,3 +1,10 @@
+spatialite-gui (1.7.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update to use wxWidgets 3.0.
+
+ -- Olly Betts <o...@survex.com>  Thu, 01 May 2014 19:55:07 +1200
+
 spatialite-gui (1.7.1-3) unstable; urgency=low
 
   * Add gbp.conf to use pristine-tar by default.
diff -Nru spatialite-gui-1.7.1/debian/control spatialite-gui-1.7.1/debian/control
--- spatialite-gui-1.7.1/debian/control	2014-03-19 20:24:16.000000000 +1300
+++ spatialite-gui-1.7.1/debian/control	2014-05-01 19:55:22.000000000 +1200
@@ -8,8 +8,7 @@
                dh-autoreconf,
                pkg-config,
                wx-common,
-               wx2.8-headers,
-               libwxgtk2.8-dev,
+               libwxgtk3.0-dev,
                libspatialite-dev (>= 4.1.1-5~),
                libproj-dev,
                libgeos-dev,
diff -Nru spatialite-gui-1.7.1/debian/patches/series spatialite-gui-1.7.1/debian/patches/series
--- spatialite-gui-1.7.1/debian/patches/series	2014-03-19 20:24:16.000000000 +1300
+++ spatialite-gui-1.7.1/debian/patches/series	2014-05-01 20:04:00.000000000 +1200
@@ -2,3 +2,4 @@
 01-fix_binary_name.patch
 02-fix_typos.patch
 03-link-sqlite3.patch
+wx3.0-compat.patch
diff -Nru spatialite-gui-1.7.1/debian/patches/wx3.0-compat.patch spatialite-gui-1.7.1/debian/patches/wx3.0-compat.patch
--- spatialite-gui-1.7.1/debian/patches/wx3.0-compat.patch	1970-01-01 12:00:00.000000000 +1200
+++ spatialite-gui-1.7.1/debian/patches/wx3.0-compat.patch	2014-05-01 20:04:18.000000000 +1200
@@ -0,0 +1,26 @@
+Description: Fix to build with wxwidgets 3.0
+Author: Olly Betts <o...@survex.com>
+Last-Update: 2014-05-01
+
+--- spatialite-gui-1.7.1.orig/configure
++++ spatialite-gui-1.7.1/configure
+@@ -15543,7 +15543,7 @@ if test x$WX_CONFIG == xnot_found; then
+ fi
+ CXXFLAGS="$(wx-config --cxxflags)"
+ AM_CXXFLAGS="$(wx-config --cxxflags)"
+-WX_LIBS="$(wx-config --libs)"
++WX_LIBS="$(wx-config --libs std,aui)"
+ 
+ 
+ # Checks for header files.
+--- spatialite-gui-1.7.1.orig/configure.ac
++++ spatialite-gui-1.7.1/configure.ac
+@@ -54,7 +54,7 @@ if test x$WX_CONFIG == xnot_found; then
+ fi
+ CXXFLAGS="$(wx-config --cxxflags)"
+ AM_CXXFLAGS="$(wx-config --cxxflags)"
+-WX_LIBS="$(wx-config --libs)"
++WX_LIBS="$(wx-config --libs std,aui)"
+ AC_SUBST(WX_LIBS)
+ 
+ # Checks for header files.
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to