Commit 8c3f7f4d authored by Josselin Mouette's avatar Josselin Mouette

* New upstream development release.

* Build gucharmap twice, for gtk2 and gtk3.
* Add build-dependencies accordingly.
* Put the GTK3 versions in new libgucharmap-2-90-* packages.
parent 539861e0
gucharmap (1:2.33.2-1) experimental; urgency=low
* New upstream development release.
* Build gucharmap twice, for gtk2 and gtk3.
* Add build-dependencies accordingly.
* Put the GTK3 versions in new libgucharmap-2-90-* packages.
-- Josselin Mouette <joss@debian.org> Mon, 21 Mar 2011 20:15:48 +0100
gucharmap (1:2.30.3-1) unstable; urgency=low
* New upstream bugfix release.
......
......@@ -7,10 +7,11 @@ Source: gucharmap
Section: x11
Priority: optional
Maintainer: Sebastien Bacher <seb128@debian.org>
Uploaders: David Weinehall <tao@debian.org>, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Josselin Mouette <joss@debian.org>, Luca Falavigna <dktrkranz@debian.org>, Sebastian Dröge <slomo@debian.org>
Uploaders: David Weinehall <tao@debian.org>, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Josselin Mouette <joss@debian.org>, Luca Falavigna <dktrkranz@debian.org>
Build-Depends: cdbs (>= 0.2.6),
debhelper (>= 5),
libgtk2.0-dev (>= 2.13.6),
libgtk2.0-dev (>= 2.14.0),
libgtk-3-dev (>= 2.91.0),
libglib2.0-dev (>= 2.16.3),
libgconf2-dev,
libpopt-dev,
......@@ -31,8 +32,7 @@ Package: gucharmap
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libgucharmap7 (= ${binary:Version}),
libgtk2.0-bin
libgucharmap-2-90-7 (= ${binary:Version})
Recommends: yelp
Replaces: gnome-utils
Description: Unicode character picker and font browser
......@@ -46,7 +46,8 @@ Section: libdevel
Architecture: any
Depends: libgucharmap7 (= ${binary:Version}),
${misc:Depends},
libgtk2.0-dev (>= 2.12.0),
libgtk2.0-dev,
libglib2.0-dev,
libgconf2-dev
Replaces: libgucharmap-dev
Conflicts: libgucharmap-dev
......@@ -55,7 +56,7 @@ Description: Unicode browser widget library (development headers)
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the development headers.
This package contains the development headers for the GTK+ 2 version.
Package: libgucharmap7
Section: libs
......@@ -67,4 +68,33 @@ Description: Unicode browser widget library (shared library)
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the shared library.
This package contains the shared library for the GTK+ 2 version.
Package: libgucharmap-2-90-dev
Section: libdevel
Architecture: any
Depends: libgucharmap-2-90-7 (= ${binary:Version}),
${misc:Depends},
libgtk-3-dev,
libglib2.0-dev,
libgconf2-dev
Replaces: libgucharmap-dev
Conflicts: libgucharmap-dev
Description: Unicode browser widget library (development headers)
The libgucharmap library contains a Unicode browser widget; it is
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the development headers for the GTK+ 3 version.
Package: libgucharmap-2-90-7
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Unicode browser widget library (shared library)
The libgucharmap library contains a Unicode browser widget; it is
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the shared library for the GTK+ 3 version.
......@@ -5,7 +5,8 @@ Maintainer: Sebastien Bacher <seb128@debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: cdbs (>= 0.2.6),
debhelper (>= 5),
libgtk2.0-dev (>= 2.13.6),
libgtk2.0-dev (>= 2.14.0),
libgtk-3-dev (>= 2.91.0),
libglib2.0-dev (>= 2.16.3),
libgconf2-dev,
libpopt-dev,
......@@ -26,8 +27,7 @@ Package: gucharmap
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libgucharmap7 (= ${binary:Version}),
libgtk2.0-bin
libgucharmap-2-90-7 (= ${binary:Version})
Recommends: yelp
Replaces: gnome-utils
Description: Unicode character picker and font browser
......@@ -41,7 +41,8 @@ Section: libdevel
Architecture: any
Depends: libgucharmap7 (= ${binary:Version}),
${misc:Depends},
libgtk2.0-dev (>= 2.12.0),
libgtk2.0-dev,
libglib2.0-dev,
libgconf2-dev
Replaces: libgucharmap-dev
Conflicts: libgucharmap-dev
......@@ -50,7 +51,7 @@ Description: Unicode browser widget library (development headers)
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the development headers.
This package contains the development headers for the GTK+ 2 version.
Package: libgucharmap7
Section: libs
......@@ -62,4 +63,33 @@ Description: Unicode browser widget library (shared library)
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the shared library.
This package contains the shared library for the GTK+ 2 version.
Package: libgucharmap-2-90-dev
Section: libdevel
Architecture: any
Depends: libgucharmap-2-90-7 (= ${binary:Version}),
${misc:Depends},
libgtk-3-dev,
libglib2.0-dev,
libgconf2-dev
Replaces: libgucharmap-dev
Conflicts: libgucharmap-dev
Description: Unicode browser widget library (development headers)
The libgucharmap library contains a Unicode browser widget; it is
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the development headers for the GTK+ 3 version.
Package: libgucharmap-2-90-7
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Unicode browser widget library (shared library)
The libgucharmap library contains a Unicode browser widget; it is
most prominently used by the "gucharmap" program. See the package of
the same name for more information.
.
This package contains the shared library for the GTK+ 3 version.
debian/tmp/usr/lib/libgucharmap*.so.*
debian/tmp/usr/include /usr
debian/tmp/usr/lib/libgucharmap*.so /usr/lib
debian/tmp/usr/lib/pkgconfig/ /usr/lib
debian/tmp/usr/share/gtk-doc /usr/share
debian/tmp/usr/include/gucharmap-2/
debian/tmp/usr/lib/libgucharmap*.so
debian/tmp/usr/lib/pkgconfig/
debian/tmp/usr/share/gtk-doc
debian/tmp-gtk2/usr/include /usr
debian/tmp-gtk2/usr/lib/libgucharmap*.so /usr/lib
debian/tmp-gtk2/usr/lib/pkgconfig/ /usr/lib
debian/tmp-gtk2/usr/share/gtk-doc /usr/share
debian/tmp/usr/lib/libgucharmap*.so.*
debian/tmp-gtk2/usr/lib/libgucharmap*.so.* /usr/lib
......@@ -8,17 +8,35 @@ include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
libgucharmap := $(shell sed -nr 's/^Package:[[:space:]]*(libgucharmap[0-9]+)[[:space:]]*$$/\1/p' debian/control)
DEB_BUILDDIR := $(CURDIR)/debian/build/gtk2
DEB_BUILDDIR_gucharmap := $(CURDIR)/debian/build/gtk3
DEB_DESTDIR := $(CURDIR)/debian/tmp-gtk2
DEB_DESTDIR_gucharmap := $(CURDIR)/debian/tmp
# ensure gucharmap is built after libgucharmap
binary/gucharmap:: binary/$(libgucharmap)
DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc
configure/gucharmap:: $(DEB_BUILDDIR_gucharmap)/config.status
$(DEB_BUILDDIR_gucharmap)/config.status:
cd $(DEB_BUILDDIR_gucharmap) && \
$(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) \
$(DEB_CONFIGURE_NORMAL_ARGS) \
$(cdbs_configure_flags) \
$(DEB_CONFIGURE_EXTRA_FLAGS) \
--with-gtk=3.0 \
$(DEB_CONFIGURE_USER_FLAGS)
build/gucharmap::
make -C $(DEB_BUILDDIR_gucharmap)
install/gucharmap::
make -C $(DEB_BUILDDIR_gucharmap) install DESTDIR=$(DEB_DESTDIR_gucharmap)
clean::
rm -f intltool-extract intltool-merge intltool-update
rm -f po/.intltool-merge-cache
DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc
rm -rf $(DEB_BUILDDIR) $(DEB_BUILDDIR_gucharmap)
rm -rf $(DEB_DESTDIR) $(DEB_DESTDIR_gucharmap)
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
DEB_DH_MAKESHLIBS_ARGS_$(libgucharmap) += -V '$(libgucharmap) (>= 1:2.24.0)'
DEB_DH_MAKESHLIBS_ARGS_libgucharmap7 += -V'libgucharmap7 (>= 1:2.24.0)'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment