r13087 - in /desktop/unstable/gtkmm2.4/debian: control control.in rules

manphiz-guest at users.alioth.debian.org manphiz-guest at users.alioth.debian.org
Sat Oct 13 07:54:39 UTC 2007


Author: manphiz-guest
Date: Sat Oct 13 07:54:39 2007
New Revision: 13087

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13087
Log:
Use 'binary-post-install' rule instead of 'install', so it can use the original fix-path scripts;
With the original scripts, the new -doc doesn't conflict with older -dev anymore;
Make some preparation for -dbg package, but wait until FTBFS is fixed.

Modified:
    desktop/unstable/gtkmm2.4/debian/control
    desktop/unstable/gtkmm2.4/debian/control.in
    desktop/unstable/gtkmm2.4/debian/rules

Modified: desktop/unstable/gtkmm2.4/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtkmm2.4/debian/control?rev=13087&op=diff
==============================================================================
--- desktop/unstable/gtkmm2.4/debian/control (original)
+++ desktop/unstable/gtkmm2.4/debian/control Sat Oct 13 07:54:39 2007
@@ -49,6 +49,23 @@
  .
  This package contains shared libraries.
 
+#Package: libgtkmm-2.4-1c2a-dbg
+#Section: libs
+#Architecture: any
+#Depends: ${misc:Depends},
+#         libgtkmm-2.4-1c2a (= ${binary:Version})
+#Conflicts: libgtkmm-2.4-1, libgtkmm-2.4-1c2
+#Replaces: libgtkmm-2.4-1, libgtkmm-2.4-1c2
+#Description: C++ wrappers for GTK+ 2.4 (shared libraries)
+# Gtkmm is a C++ interface for the popular GUI library gtk+.
+# Gtkmm provides a convenient interface for C++ programmers to create
+# graphical user interfaces with Gtk's flexible OO framework. Highlights
+# include type safe callbacks, widgets extensible using inheritance and
+# over 180 classes that can be freely combined to quickly create complex
+# user interfaces.
+# .
+# This package contains debug symbols for debugging applications using gtkmm.
+
 Package: libgtkmm-2.4-doc
 Section: doc
 Architecture: all
@@ -56,7 +73,6 @@
          lynx | www-browser,
          doc-base
 Suggests: libgtkmm-2.4-dev, libglibmm-2.4-doc
-Conflicts: libgtkmm-2.4-dev (<< 2.12.1-1)
 Description: C++ wrappers for GTK+ 2.4 (documentation)
  Gtkmm is a C++ interface for the popular GUI library gtk+.
  Gtkmm provides a convenient interface for C++ programmers to create

Modified: desktop/unstable/gtkmm2.4/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtkmm2.4/debian/control.in?rev=13087&op=diff
==============================================================================
--- desktop/unstable/gtkmm2.4/debian/control.in (original)
+++ desktop/unstable/gtkmm2.4/debian/control.in Sat Oct 13 07:54:39 2007
@@ -49,6 +49,23 @@
  .
  This package contains shared libraries.
 
+#Package: libgtkmm-2.4-1c2a-dbg
+#Section: libs
+#Architecture: any
+#Depends: ${misc:Depends},
+#         libgtkmm-2.4-1c2a (= ${binary:Version})
+#Conflicts: libgtkmm-2.4-1, libgtkmm-2.4-1c2
+#Replaces: libgtkmm-2.4-1, libgtkmm-2.4-1c2
+#Description: C++ wrappers for GTK+ 2.4 (shared libraries)
+# Gtkmm is a C++ interface for the popular GUI library gtk+.
+# Gtkmm provides a convenient interface for C++ programmers to create
+# graphical user interfaces with Gtk's flexible OO framework. Highlights
+# include type safe callbacks, widgets extensible using inheritance and
+# over 180 classes that can be freely combined to quickly create complex
+# user interfaces.
+# .
+# This package contains debug symbols for debugging applications using gtkmm.
+
 Package: libgtkmm-2.4-doc
 Section: doc
 Architecture: all
@@ -56,7 +73,6 @@
          lynx | www-browser,
          doc-base
 Suggests: libgtkmm-2.4-dev, libglibmm-2.4-doc
-Conflicts: libgtkmm-2.4-dev (<< 2.12.1-1)
 Description: C++ wrappers for GTK+ 2.4 (documentation)
  Gtkmm is a C++ interface for the popular GUI library gtk+.
  Gtkmm provides a convenient interface for C++ programmers to create

Modified: desktop/unstable/gtkmm2.4/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtkmm2.4/debian/rules?rev=13087&op=diff
==============================================================================
--- desktop/unstable/gtkmm2.4/debian/rules (original)
+++ desktop/unstable/gtkmm2.4/debian/rules Sat Oct 13 07:54:39 2007
@@ -8,9 +8,9 @@
 
 GNOME_MODULE := gtkmm
 
-LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS+=" -Wl,-z,defs -Wl,-O1"
 
-DEB_CONFIGURE_EXTRA_FLAGS += \
+DEB_CONFIGURE_EXTRA_FLAGS := \
 	--enable-static \
 	--disable-examples \
 	--disable-demos
@@ -19,19 +19,23 @@
 
 DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
 
-install/libgtkmm-2.4-doc::
-	for file in `find debian/tmp/usr/share/doc/gtkmm-2.4/docs/ -name "*.html"`; do \
+DEB_COMPRESS_EXCLUDE := \
+	doxygen_tags \
+	examples
+
+binary-post-install/libgtkmm-2.4-doc::
+	for file in `find debian/libgtkmm-2.4-doc/usr/share/doc/libgtkmm-2.4-doc/ -name "*.html"`; do \
 		sed 's/\.\.\/\.\.\/glibmm-2\.4\/docs\//\.\.\/libglibmm-2.4-doc\//g' $$file > $$file.fixed; \
 		mv $$file.fixed $$file; \
 	done
-	for file in `find debian/tmp/usr/share/doc/gtkmm-2.4/docs/ -name "*.html"`; do \
+	for file in `find debian/libgtkmm-2.4-doc/usr/share/doc/libgtkmm-2.4-doc/ -name "*.html"`; do \
 		sed 's/\.\.\/\.\.\/\.\.\/examples\//\.\.\/\.\.\/examples\//g' $$file > $$file.fixed; \
 		mv $$file.fixed $$file; \
 	done
-#	mkdir debian/libgtkmm-2.4-dev/usr/share/doc/libgtkmm-2.4-dev/reference
-#	mv debian/libgtkmm-2.4-doc/usr/share/doc/libgtkmm-2.4-doc/reference/gtkmm_doxygen_tags \
-#		debian/libgtkmm-2.4-dev/usr/share/doc/libgtkmm-2.4-dev/reference
-	for file in debian/tmp/usr/share/devhelp/books/gtkmm-2.4/gtkmm-2.4.devhelp; do \
+	mkdir -p debian/libgtkmm-2.4-dev/usr/share/doc/libgtkmm-2.4-dev/reference
+	mv debian/libgtkmm-2.4-doc/usr/share/doc/libgtkmm-2.4-doc/reference/gtkmm_doxygen_tags \
+		debian/libgtkmm-2.4-dev/usr/share/doc/libgtkmm-2.4-dev/reference
+	for file in debian/libgtkmm-2.4-doc/usr/share/devhelp/books/gtkmm-2.4/gtkmm-2.4.devhelp; do \
 		sed 's/\.\.\/\.\.\/\.\.\/doc\/gtkmm-2\.4\/docs\//\.\.\/\.\.\/\.\.\/doc\/libgtkmm-2.4-doc\//g' $$file > $$file.fixed; \
 		mv $$file.fixed $$file; \
 	done




More information about the pkg-gnome-commits mailing list