[med-svn] [gtkglextmm] 02/03: add the debian directory

Gert Wollny gert-guest at moszumanska.debian.org
Thu Oct 6 14:36:06 UTC 2016


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

gert-guest pushed a commit to branch master
in repository gtkglextmm.

commit 3f031120f53341527ae9e58cff646ebd23f1f016
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Oct 6 16:25:09 2016 +0200

    add the debian directory
---
 debian/changelog                                  |  89 ++++++++++++++++
 debian/compat                                     |   1 +
 debian/control                                    |  58 +++++++++++
 debian/copyright                                  |  84 +++++++++++++++
 debian/libgtkglextmm-x11-1.2-0v5.install          |   2 +
 debian/libgtkglextmm-x11-1.2-dev.install          |  10 ++
 debian/libgtkglextmm-x11-1.2-doc.install          |   1 +
 debian/patches/Fix-FTBFS-with-modern-glibmm.patch |  34 ++++++
 debian/patches/Set-ACLOCAL_AMFLAGS.patch          |  24 +++++
 debian/patches/autoconf_warning                   |  13 +++
 debian/patches/fix_ftbfs_gtk_2_20                 |  28 +++++
 debian/patches/fix_ftbfs_gtk_2_36                 | 121 ++++++++++++++++++++++
 debian/patches/series                             |   5 +
 debian/rules                                      |  17 +++
 debian/source/format                              |   1 +
 debian/watch                                      |   2 +
 16 files changed, 490 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..428916a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,89 @@
+gtkglextmm (1.2.0-8) UNRELEASED; urgency=medium
+
+  * d/control: New maintainer, Closes: #674875
+  * d/rules: Add hardening 
+  * d/rules: Add CPPFLAGS -DGLIBMM_DISABLE_DEPRECATED Closes: #838808  
+  * d/control: Update standards version to 3.9.8 
+
+ -- Gert Wollny <gw.fossdev at gmail.com>  Thu, 06 Oct 2016 11:11:14 +0200
+
+gtkglextmm (1.2.0-7) unstable; urgency=medium
+
+  * QA upload
+  * Use dh-autoreconf to support new ports
+    - drop fix_as_needed patch, we should no longer need to patch ltmain.sh
+      now that we are copying in the one from libtool
+    - add patch from upstream to set the correct ACLOCAL_AMFLAGS
+    - add patch to fix FTBFS with modern glibmm, which has moved its
+      Autoconf macros and other metadata
+  * Rename library package to libgtkglextmm-x11-1.2-0v5 for libstdc++
+    ABI transition
+    - version the build-dependencies to ensure the g++-5-compiled versions
+  * Set the Section of the new package to oldlibs since it is based
+    on the deprecated Gtk 2
+
+ -- Simon McVittie <smcv at debian.org>  Tue, 25 Aug 2015 09:44:58 +0100
+
+gtkglextmm (1.2.0-6) unstable; urgency=low
+
+  * QA upload.
+  * debian/ cleanup:
+    + use dh
+    + bump debhelper compat
+    + use source format 3.0 (quilt)
+    + remove invalid VCS headers
+    + add Multi-Arch support
+    + add missing dependencies of -dev package (Closes: #594187)
+  * Apply patch by Andres Mejia to fix autoconf warning.
+    (Closes: #580829)
+
+ -- Frank Lichtenheld <djpig at debian.org>  Fri, 17 May 2013 21:31:51 +0200
+
+gtkglextmm (1.2.0-5) unstable; urgency=low
+
+  * QA upload. (Closes: #631783)
+  * Change maintainer to QA Group.
+  * Fix FTBFS with newer GTK by switching #includes around
+    so that the G_DISABLE_DEPRECATED trick in glibmm still
+    works (Closes: #707356)
+
+ -- Frank Lichtenheld <djpig at debian.org>  Thu, 16 May 2013 23:51:57 +0200
+
+gtkglextmm (1.2.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove references to other libraries from dependency_libs field
+    (Closes: #620633).
+  * Define GdkSpanFunc (Closes: #621976).
+
+ -- Luk Claes <luk at debian.org>  Mon, 27 Jun 2011 08:17:17 +0200
+
+gtkglextmm (1.2.0-4) unstable; urgency=low
+
+  * Switch libgtkglextmm-x11-1.2-doc to arch all. Closes: #517606.
+
+ -- Bradley Smith <bradsmith at debian.org>  Sat, 28 Feb 2009 21:14:06 +0000
+
+gtkglextmm (1.2.0-3) unstable; urgency=low
+
+  * Update maintainer email address.
+  * Update compat version to 7 and upgrade debhelper Build-Depends.
+  * Add Vcs-* fields.
+  * Convert copyright to machine readable format.
+
+ -- Bradley Smith <bradsmith at debian.org>  Tue, 30 Dec 2008 21:53:43 +0000
+
+gtkglextmm (1.2.0-2) unstable; urgency=low
+
+  * Add missing dependency on libgtkglext1-dev. Closes: #493381.
+  * Bump Standards-Version to 3.8.0 (No changes).
+
+ -- Bradley Smith <brad at brad-smith.co.uk>  Sat, 02 Aug 2008 18:24:43 +0100
+
+gtkglextmm (1.2.0-1) unstable; urgency=low
+
+  * Initial release. Closes: #476293
+  * Add fix_as-needed patch
+   - Fix ordering for --as-needed in libtool
+
+ -- Bradley Smith <brad at brad-smith.co.uk>  Sun, 11 May 2008 16:12:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4e41651
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: gtkglextmm
+Section: devel
+Priority: extra
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Build-Depends:
+ autotools-dev,
+ debhelper (>= 9~),
+ dh-autoreconf,
+ libglibmm-2.4-dev (>= 2.44.0-2),
+ libgtkglext1-dev (>= 1.0.0),
+ libgtkmm-2.4-dev (>= 1:2.24.4-2),
+ mm-common,
+Standards-Version: 3.9.8
+Homepage: http://www.k-3d.org/gtkglext/
+
+Package: libgtkglextmm-x11-1.2-0v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libgtkglextmm-x11-1.2-0
+Replaces: libgtkglextmm-x11-1.2-0
+Description: C++ bindings for GtkGLExt (Shared libraries)
+ GtkGLExtmm is a C++ wrapper for GtkGLExt. C++ programmers can use it to
+ write GTK+-based OpenGL applications using Gtkmm 2.
+ .
+ This package contains the shared libraries.
+
+Package: libgtkglextmm-x11-1.2-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ libgtkglextmm-x11-1.2-0v5 (= ${binary:Version}),
+ libgtkglext1-dev,
+ libglibmm-2.4-dev,
+ libgtkmm-2.4-dev,
+ libpangomm-1.4-dev
+Description: C++ bindings for GtkGLExt (Development files)
+ GtkGLExtmm is a C++ wrapper for GtkGLExt. C++ programmers can use it to
+ write GTK+-based OpenGL applications using Gtkmm 2.
+ .
+ This package contains the development files.
+
+Package: libgtkglextmm-x11-1.2-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libgtkglextmm-x11-1.2-dev (= ${binary:Version})
+Description: C++ bindings for GtkGLExt (Documentation)
+ GtkGLExtmm is a C++ wrapper for GtkGLExt. C++ programmers can use it to
+ write GTK+-based OpenGL applications using Gtkmm 2.
+ .
+ This package contains documentation and examples.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..19dfabe
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,84 @@
+Author: Naofumi Yasufuku
+Download: http://sourceforge.net/projects/gtkglext
+
+Files: *
+Copyright: (C) 2002-2003  Naofumi Yasufuku
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or (at
+ your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+ License for more details.
+
+Files:
+ examples/trackball.c
+ examples/trackball.h
+Copyright: (C) 1993, 1994, Silicon Graphics, Inc.
+License: Other
+ Permission to use, copy, modify, and distribute this software for any
+ purpose and without fee is hereby granted, provided that the above
+ copyright notice appear in all copies and that both the copyright notice
+ and this permission notice appear in supporting documentation, and that
+ the name of Silicon Graphics, Inc. not be used in advertising or publicity
+ pertaining to distribution of the software without specific, written prior
+ permission.
+ .
+ THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" AND
+ WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING
+ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON GRAPHICS, INC.  BE LIABLE
+ TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL, INDIRECT OR
+ CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING
+ WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR
+ THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS
+ BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE POSSESSION,
+ USE OR PERFORMANCE OF THIS SOFTWARE.
+ .
+ US Government Users Restricted Rights
+ Use, duplication, or disclosure by the Government is subject to
+ restrictions set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii)
+ of the Rights in Technical Data and Computer Software clause at DFARS
+ 252.227-7013 and/or in similar or successor clauses in the FAR or the DOD
+ or NASA FAR Supplement.
+ Unpublished-- rights reserved under the copyright laws of the United
+ States.  Contractor/manufacturer is Silicon Graphics, Inc., 2011 N.
+ Shoreline Blvd., Mountain View, CA 94039-7311.
+ .
+ OpenGL(TM) is a trademark of Silicon Graphics, Inc.
+
+Files: tools/extra_defs_gen/generate_defs_gtkglext.cc
+Copyright: (C) 2001 The Free Software Foundation
+License: GPL-2+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option)
+ any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
+ License for more details.
+
+Files: debian/*
+Copyright: (C) 2008 Bradley Smith <brad at brad-smith.co.uk>
+License: GPL-2+.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL-2'.
+
+On Debian GNU/Linux systems, the full text of the GNU Lesser General Public
+License can be found in the file /usr/share/common-licenses/LGPL.
diff --git a/debian/libgtkglextmm-x11-1.2-0v5.install b/debian/libgtkglextmm-x11-1.2-0v5.install
new file mode 100644
index 0000000..d9e04cd
--- /dev/null
+++ b/debian/libgtkglextmm-x11-1.2-0v5.install
@@ -0,0 +1,2 @@
+usr/lib/*/libgtkglextmm-x11-1.2.so.*
+usr/lib/*/libgdkglextmm-x11-1.2.so.*
diff --git a/debian/libgtkglextmm-x11-1.2-dev.install b/debian/libgtkglextmm-x11-1.2-dev.install
new file mode 100644
index 0000000..44b3087
--- /dev/null
+++ b/debian/libgtkglextmm-x11-1.2-dev.install
@@ -0,0 +1,10 @@
+usr/include/*
+usr/lib/*/libgtkglextmm-x11-1.2.a
+usr/lib/*/libgtkglextmm-x11-1.2.la
+usr/lib/*/libgtkglextmm-x11-1.2.so
+usr/lib/*/libgdkglextmm-x11-1.2.a
+usr/lib/*/libgdkglextmm-x11-1.2.la
+usr/lib/*/libgdkglextmm-x11-1.2.so
+usr/lib/*/pkgconfig/*
+usr/share/aclocal/*
+usr/lib/*/gtkglextmm-1.2
diff --git a/debian/libgtkglextmm-x11-1.2-doc.install b/debian/libgtkglextmm-x11-1.2-doc.install
new file mode 100644
index 0000000..e3e549c
--- /dev/null
+++ b/debian/libgtkglextmm-x11-1.2-doc.install
@@ -0,0 +1 @@
+usr/share/doc/gtkglextmm-1.2/html usr/share/doc/libgtkglextmm-x11-1.2-doc/
diff --git a/debian/patches/Fix-FTBFS-with-modern-glibmm.patch b/debian/patches/Fix-FTBFS-with-modern-glibmm.patch
new file mode 100644
index 0000000..b68f0e1
--- /dev/null
+++ b/debian/patches/Fix-FTBFS-with-modern-glibmm.patch
@@ -0,0 +1,34 @@
+From: Simon McVittie <smcv at debian.org>
+Date: Tue, 25 Aug 2015 09:44:36 +0100
+Subject: Fix FTBFS with modern glibmm
+
+Based on upstream commit 065cf359524e332eb4ea556a6af776898a744b32.
+---
+ configure.in | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index c4d85f4..e031ac7 100644
+--- a/configure.in
++++ b/configure.in
+@@ -52,7 +52,7 @@ m4_define([sigcxx_required_version], [2.0.0])
+ 
+ # glibmm
+ m4_define([glibmm_pkg], [glibmm-2.4])
+-m4_define([glibmm_required_version], [2.4.0])
++m4_define([glibmm_required_version], [2.16.0])
+ 
+ # pangomm
+ m4_define([pangomm_pkg], [pangomm-1.4])
+@@ -290,9 +290,8 @@ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ 
+ # gmmproc
+-GLIBMM_CHECK_PERL([5.6.0])
+-GLIBMM_PREFIX=`$PKG_CONFIG --variable=prefix glibmm_pkg`
+-GMMPROC_DIR=$GLIBMM_PREFIX/lib/glibmm_pkg/proc
++MM_CHECK_PERL([5.6.0])
++GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4`
+ AC_SUBST(GMMPROC_DIR)
+ GMMPROC=$GMMPROC_DIR/gmmproc
+ AC_SUBST(GMMPROC)
diff --git a/debian/patches/Set-ACLOCAL_AMFLAGS.patch b/debian/patches/Set-ACLOCAL_AMFLAGS.patch
new file mode 100644
index 0000000..8ecc339
--- /dev/null
+++ b/debian/patches/Set-ACLOCAL_AMFLAGS.patch
@@ -0,0 +1,24 @@
+From: Braden McDaniel <braden at users.sourceforge.net>
+Date: Mon, 9 Mar 2009 09:59:46 +0000
+Subject: Set ACLOCAL_AMFLAGS.
+
+[smcv: omitted ChangeLog]
+
+Origin: upstream, commit:bebdaca643f389a4fddb2f9c5839ffb688ce3d8a
+---
+ Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 34875d5..fd45604 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,8 @@
+ ## -*- Makefile -*-
+ ## Makefile.am for gtkglextmm
+ 
++ACLOCAL_AMFLAGS = -I m4macros
++
+ SUBDIRS = tools gdkglext gtkglext m4macros docs
+ DIST_SUBDIRS = $(SUBDIRS) examples
+ 
diff --git a/debian/patches/autoconf_warning b/debian/patches/autoconf_warning
new file mode 100644
index 0000000..b606193
--- /dev/null
+++ b/debian/patches/autoconf_warning
@@ -0,0 +1,13 @@
+Index: gtkglextmm-1.2.0/m4macros/gtkglextmm.m4
+===================================================================
+--- gtkglextmm-1.2.0.orig/m4macros/gtkglextmm.m4	2004-05-18 08:29:34.000000000 +0200
++++ gtkglextmm-1.2.0/m4macros/gtkglextmm.m4	2013-05-17 00:39:35.162869859 +0200
+@@ -222,7 +222,7 @@
+ dnl AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]])
+ dnl Checks whether gtkglextmm supports multihead.
+ dnl
+-AC_DEFUN(AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD,
++AC_DEFUN([AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD],
+ [ AC_LANG_SAVE
+   AC_LANG_CPLUSPLUS
+   AC_CACHE_CHECK([whether gtkglextmm supports multihead],
diff --git a/debian/patches/fix_ftbfs_gtk_2_20 b/debian/patches/fix_ftbfs_gtk_2_20
new file mode 100644
index 0000000..1755f93
--- /dev/null
+++ b/debian/patches/fix_ftbfs_gtk_2_20
@@ -0,0 +1,28 @@
+Description: Fix FTBFS due to missing GdkSpanFunc definition
+ .
+ The sequence of #include directives is important - if gtk/gtkglwidget.h
+ is included first, before widget.h, it includes gdk.h without undefing
+ GDK_DISABLE_DEPRECATED - this leads to GdkSpanFunc not being defined
+ and compilation errors. 
+ The fix is to first include widget.h which includes the right gdkmm header
+ which defines GDK_DISABLE_DEPRECATED before including gdk.h.
+Forwarded: no
+Bug-Ubuntu: http://launchpad.net/bugs/662572
+
+Index: gtkglextmm-1.2.0/gtkglext/gtkmm/gl/widget.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gtkglext/gtkmm/gl/widget.cc	2010-12-08 13:31:59.651270000 +0100
++++ gtkglextmm-1.2.0/gtkglext/gtkmm/gl/widget.cc	2010-12-08 13:32:10.871270000 +0100
+@@ -17,10 +17,10 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
+  */
+ 
+-#include <gtk/gtkglwidget.h>
+-
+ #include "widget.h"
+ 
++#include <gtk/gtkglwidget.h>
++
+ namespace Gtk
+ {
+   namespace GL
diff --git a/debian/patches/fix_ftbfs_gtk_2_36 b/debian/patches/fix_ftbfs_gtk_2_36
new file mode 100644
index 0000000..88e271e
--- /dev/null
+++ b/debian/patches/fix_ftbfs_gtk_2_36
@@ -0,0 +1,121 @@
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/wrap_init.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/wrap_init.cc	2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/wrap_init.cc	2013-05-16 23:42:40.193801834 +0200
+@@ -1,15 +1,8 @@
+-
+-#include <glib.h>
+-
+ // Disable the 'const' function attribute of the get_type() functions.
+ // GCC would optimize them out because we don't use the return value.
+ #undef  G_GNUC_CONST
+ #define G_GNUC_CONST /* empty */
+ 
+-#include <gdkmm/gl/wrap_init.h>
+-#include <glibmm/error.h>
+-#include <glibmm/object.h>
+-
+ // #include the widget headers so that we can call the get_type() static methods:
+ 
+ #include "tokens.h"
+@@ -19,6 +12,12 @@
+ #include "pixmap.h"
+ #include "window.h"
+ 
++#include <glib.h>
++
++#include <gdkmm/gl/wrap_init.h>
++#include <glibmm/error.h>
++#include <glibmm/object.h>
++
+ extern "C"
+ {
+ 
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/query.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/query.cc	2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/query.cc	2013-05-16 23:42:40.193801834 +0200
+@@ -17,10 +17,10 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
+  */
+ 
+-#include <gdk/gdkglquery.h>
+-
+ #include "query.h"
+ 
++#include <gdk/gdkglquery.h>
++
+ namespace Gdk
+ {
+   namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/pixmapext.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/pixmapext.cc	2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/pixmapext.cc	2013-05-16 23:42:40.193801834 +0200
+@@ -17,11 +17,11 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
+  */
+ 
++#include "pixmapext.h"
++
+ #include <gdk/gdkgldrawable.h>
+ #include <gdk/gdkglpixmap.h>
+ 
+-#include "pixmapext.h"
+-
+ namespace Gdk
+ {
+   namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/windowext.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/windowext.cc	2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/windowext.cc	2013-05-16 23:42:40.193801834 +0200
+@@ -17,11 +17,11 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
+  */
+ 
++#include "windowext.h"
++
+ #include <gdk/gdkgldrawable.h>
+ #include <gdk/gdkglwindow.h>
+ 
+-#include "windowext.h"
+-
+ namespace Gdk
+ {
+   namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/font.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/font.cc	2004-05-18 08:01:49.000000000 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/font.cc	2013-05-16 23:43:07.637456821 +0200
+@@ -17,10 +17,10 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
+  */
+ 
+-#include <gdk/gdkglfont.h>
+-
+ #include "font.h"
+ 
++#include <gdk/gdkglfont.h>
++
+ namespace Gdk
+ {
+   namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/init.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/init.cc	2003-02-27 10:49:24.000000000 +0100
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/init.cc	2013-05-16 23:44:38.320316782 +0200
+@@ -19,11 +19,11 @@
+ 
+ #include <cstdlib>
+ 
+-#include <gdk/gdkglinit.h>
+-
+ #include "wrap_init.h"
+ #include "init.h"
+ 
++#include <gdk/gdkglinit.h>
++
+ namespace Gdk
+ {
+   namespace GL
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..25a8478
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,5 @@
+Set-ACLOCAL_AMFLAGS.patch
+fix_ftbfs_gtk_2_20
+fix_ftbfs_gtk_2_36
+autoconf_warning
+Fix-FTBFS-with-modern-glibmm.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b9e2a28
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_CXXFLAGS_MAINT_APPEND = -DGLIBMM_DISABLE_DEPRECATED
+
+%:
+	dh $@ --with=autoreconf
+
+override_dh_auto_install:
+	dh_auto_install
+	for file in debian/tmp/usr/lib/*/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
+
+override_dh_makeshlibs:
+	dh_makeshlibs -V "libgtkglextmm-x11-1.2-0v5 (>= 1.2.0)"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..67aa294
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/gtkglext/gtkglextmm-(\d+\.\d+\.\d+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gtkglextmm.git



More information about the debian-med-commit mailing list