Move experimental branch to unstable.

This commit is contained in:
Josselin Mouette
2006-07-30 09:39:29 +00:00
15 changed files with 70472 additions and 51 deletions

51
debian/changelog vendored
View File

@ -1,3 +1,54 @@
gtk+2.0 (2.8.18-5) UNRELEASED; urgency=low
[ Loic Minier ]
* Set Priority to extra to sync with overrides.
[ Josselin Mouette ]
* Set priority to extra for the udeb.
* Bump build dependencies for libcairo to the stable version.
-- Josselin Mouette <joss@debian.org> Sun, 2 Jul 2006 23:13:29 +0200
gtk+2.0 (2.8.18-4) experimental; urgency=low
* Bump libcairo build dependencies.
* Only install the PNG loader in the udeb.
* Rebuild against a fixed glib.
-- Josselin Mouette <joss@debian.org> Mon, 26 Jun 2006 22:34:27 +0200
gtk+2.0 (2.8.18-3) experimental; urgency=low
* 003_gtk+-2.8.17-directfb.patch: new patch, bringing a new directfb
backend.
* 004_reautoconf.patch: new patch, result of "libtoolize --force
--copy; aclocal; autoheader; automake -acf; autoconf; rm -rf
autom4te.cache" with the previous patches applied.
* Make 3 new packages: libgtk+2.0-directfb0-udeb,
libgtk+2.0-directfb-dev and libgtk+2.0-directfb0.
* Add a new build flavour for directfb (only the shared version).
* Use chrpath to remove the rpath in the udeb.
* Generate a fake shlibs.local to handle all intra-gtk dependencies by
hand.
* Switch to debhelper compatibility mode 5 and require 5.0.22.
* Standards-version is 3.7.2.
* Break the circular dependency between libgtk2.0-0, libgtk2.0-bin and
libgtk2.0-common (closes: #309604).
+ Remove libgtk2.0-common dependency on libgtk2.0-0.
+ Remove libgtk2.0-0 dependency on libgtk2.0-bin.
+ Use ${binary:Version} and ${source:Version} to ensure strict
dependencies.
+ Build-depend on dpkg-dev 1.13.19.
+ Invert the libgtk2.0-common -> libgtk2.0-0 symbolic link.
+ libgtk2.0-common.preinst, libgtk2.0-0.postinst: dance the symbolic
link samba.
+ Move support binaries and scripts to libgtk2.0-0 and make
libgtk2.0-bin a binary-all package containing only scripts.
+ Move /usr/sbin/update-* calls to libgtk2.0-0.
+ update-*: call binaries at their new location.
-- Josselin Mouette <joss@debian.org> Mon, 26 Jun 2006 22:31:14 +0200
gtk+2.0 (2.8.18-2) UNRELEASED; urgency=low
* Bump libgtk2.0-dev dependency and build-dep on libx11-dev to >= 2:1.0.0-6

2
debian/compat vendored
View File

@ -1 +1 @@
4
5

66
debian/control vendored
View File

@ -3,17 +3,17 @@ Section: libs
Priority: optional
Maintainer: Sebastien Bacher <seb128@debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andreas Rottmann <rotty@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Clément Stenac <zorglub@debian.org>, Dafydd Harries <daf@debian.org>, Guilherme de S. Pastore <gpastore@debian.org>, Gustavo Franco <stratus@debian.org>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Jordi Mallach <jordi@debian.org>, Jose Carlos Garcia Sogo <jsogo@debian.org>, Josselin Mouette <joss@debian.org>, Loic Minier <lool@dooz.org>, Marc HE Brockschmidt <he@debian.org>, Marco Cabizza <marco87@gmail.com>, Ondřej Surý <ondrej@debian.org>, Ross Burton <ross@debian.org>, Sjoerd Simons <sjoerd@debian.org>, Takuo KITAME <kitame@debian.org>
Build-Depends: debhelper (>> 4.0.0), gettext, pkg-config, libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.12.1-2), libatk1.0-dev (>= 1.6.1-2), libx11-dev (>= 2:1.0.0-6), libxext-dev, libxi-dev, libxrandr-dev, libxt-dev, libxrender-dev, libxft-dev, libxcursor-dev, libxkbfile-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev, libtiff4-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text, gnome-pkg-tools
Build-Depends: debhelper (>= 5.0.22), gettext, pkg-config, libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.12.1-2), libatk1.0-dev (>= 1.6.1-2), libx11-dev (>= 2:1.0.0-6), libxext-dev, libxi-dev, libxrandr-dev, libxt-dev, libxrender-dev, libxft-dev, libxcursor-dev, libxkbfile-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev (>= 1.2.0), libcairo-directfb2-dev (>= 1.2.0), libtiff4-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text, gnome-pkg-tools, chrpath, dpkg-dev (>= 1.13.19)
Build-Depends-Indep: gtk-doc-tools, docbook-xml
Standards-Version: 3.6.1.0
Standards-Version: 3.7.2
Package: libgtk2.0-0
Section: libs
Architecture: any
Depends: libgtk2.0-common (>= ${Source-Version}), libgtk2.0-bin (>= ${Source-Version}), ${shlibs:Depends}
Depends: libgtk2.0-common (= ${source:Version}), ${shlibs:Depends}
Conflicts: libgtk2.0-0png3, eog2 (<< 1.0.1-4), gnome-panel2 (<< 2.0.4-1), celestia (<< 1.2.4-4), gimp1.3 (<< 1.3.7-1.1), metatheme (<< 0.9.7-3), libgnomeui-0 (<< 2.0.6-2), gtk2.0-examples (<< 2.2.0), libgdkxft0, gtk2-engines-wonderland (<= 1.0-2), gtk2-engines-cleanice (<= 1.2.8-1), gtk2-engines-thinice (<< 2.6), gtk2-engines-crux (<< 2.6), gtk2-engines-mist (<< 2.6), gtk2-engines-highcontrast (<< 2.6), gtk2-engines-lighthouseblue (<< 2.6), gnome-themes (<< 2.6), gtk2-engines-industrial (<< 0.2.32-5), gtk2-engines-pixbuf (<< 2.2.0-2.1), gtk2-engines-redmond95 (<< 2.2.0-2.1), gtk2-engines-metal (<< 2.2.0-2.1), gtk2-engines-magicchicken (<= 1.1.1-4), gtk2-engines-qtpixmap (<= 0.28-1), gtk2-engines-smooth (<< 0.5.6-3), gtk2-engines-xfce (<= 2.1.8-1), tamil-gtk2im (<= 2.2-4), imhangul (<< 0.9.9-3), librsvg2-common (<< 2.6.3-1)
Replaces: libgtk2.0-0png3
Recommends: hicolor-icon-theme
Recommends: hicolor-icon-theme, libgtk2.0-bin
Description: The GTK+ graphical user interface library
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
@ -22,10 +22,40 @@ Description: The GTK+ graphical user interface library
.
This package contains the shared libraries.
Package: libgtk+2.0-directfb0
Section: libs
Architecture: any
Depends: libgtk2.0-0 (= ${binary:Version}), ${shlibs:Depends}
Description: The GTK+ graphical user interface library - DirectFB runtime
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This version uses DirectFB, a thin library providing an integrated
windowing system and hardware acceleration on top of the Linux
framebuffer.
Package: libgtk+2.0-directfb0-udeb
XC-Package-Type: udeb
Section: debian-installer
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
Description: The GTK+ graphical user interface library - minimal runtime
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This package contains the minimal runtime library using DirectFB needed
by the Debian installer.
Package: libgtk2.0-common
Section: misc
Architecture: all
Depends: libgtk2.0-0, ${misc:Depends}
Depends: ${misc:Depends}
Recommends: libgtk2.0-0
Replaces: libgtk1.3-common, libgtk2.0-data
Conflicts: libgtk1.3-common, libgtk2.0-data
Description: Common files for the GTK+ graphical user interface library
@ -38,8 +68,8 @@ Description: Common files for the GTK+ graphical user interface library
Package: libgtk2.0-bin
Section: misc
Architecture: any
Depends: ${shlibs:Depends}
Architecture: all
Depends: ${misc:Depends}, libgtk2.0-0 (>= ${source:Version})
Replaces: libgtk2.0-common (<= 2.4.0-3), libgtk2.0-dev (<= 2.4.3-1)
Conflicts: libgtk2.0-dev (<= 2.4.3-1)
Description: The programs for the GTK+ graphical user interface library
@ -54,7 +84,7 @@ Description: The programs for the GTK+ graphical user interface library
Package: libgtk2.0-dev
Section: libdevel
Architecture: any
Depends: libgtk2.0-0 (= ${Source-Version}), libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.10.0-2), libatk1.0-dev (>= 1.6.1-2), libcairo2-dev, libx11-dev (>= 2:1.0.0-6), libxext-dev, libxinerama-dev, libxi-dev, libxrandr-dev, libxcursor-dev, libxfixes-dev, pkg-config
Depends: libgtk2.0-0 (= ${binary:Version}), libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.10.0-2), libatk1.0-dev (>= 1.6.1-2), libcairo2-dev, libx11-dev (>= 2:1.0.0-6), libxext-dev, libxinerama-dev, libxi-dev, libxrandr-dev, libxcursor-dev, libxfixes-dev, pkg-config
Suggests: libgtk2.0-doc
Replaces: libgtk1.3-dev
Conflicts: libgtk1.3-dev
@ -67,11 +97,25 @@ Description: Development files for the GTK+ library
This package contains the header files and static libraries which is
needed for developing the GTK+ applications.
Package: libgtk+2.0-directfb-dev
Section: libdevel
Architecture: any
Depends: libgtk+2.0-directfb0 (= ${binary:Version}), libgtk2.0-dev (= ${binary:Version}), libcairo-directfb2-dev, libcairo2-dev (>= 1.2.0)
Description: Development files for the GTK+ library - DirectFB version
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This package contains the header files and static libraries which is
needed for developing the GTK+ applications on top of the DirectFB
library.
Package: libgtk2.0-0-dbg
Section: libdevel
Priority: extra
Architecture: any
Depends: libgtk2.0-0 (= ${Source-Version})
Depends: libgtk2.0-0 (= ${binary:Version})
Conflicts: libgtk2.0-dbg
Replaces: libgtk2.0-dbg
Description: The GTK+ libraries and debugging symbols
@ -107,7 +151,7 @@ Package: gtk2.0-examples
Section: x11
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, libgtk2.0-0 (= ${binary:Version})
Replaces: libgtk1.3-dev
Description: Examples files for the GTK+ 2.0
The GTK+ is a multi-platform toolkit for creating graphical user
@ -122,7 +166,7 @@ Package: gtk2-engines-pixbuf
Section: graphics
Priority: optional
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, libgtk2.0-0 (= ${binary:Version})
Suggests: gtk-engines-pixmap
Conflicts: gtk2.0-engines-pixbuf
Replaces: gtk2.0-engines-pixbuf

66
debian/control.in vendored
View File

@ -3,17 +3,17 @@ Section: libs
Priority: optional
Maintainer: Sebastien Bacher <seb128@debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper (>> 4.0.0), gettext, pkg-config, libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.12.1-2), libatk1.0-dev (>= 1.6.1-2), libx11-dev (>= 2:1.0.0-6), libxext-dev, libxi-dev, libxrandr-dev, libxt-dev, libxrender-dev, libxft-dev, libxcursor-dev, libxkbfile-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev, libtiff4-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text, gnome-pkg-tools
Build-Depends: debhelper (>= 5.0.22), gettext, pkg-config, libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.12.1-2), libatk1.0-dev (>= 1.6.1-2), libx11-dev (>= 2:1.0.0-6), libxext-dev, libxi-dev, libxrandr-dev, libxt-dev, libxrender-dev, libxft-dev, libxcursor-dev, libxkbfile-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev (>= 1.2.0), libcairo-directfb2-dev (>= 1.2.0), libtiff4-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text, gnome-pkg-tools, chrpath, dpkg-dev (>= 1.13.19)
Build-Depends-Indep: gtk-doc-tools, docbook-xml
Standards-Version: 3.6.1.0
Standards-Version: 3.7.2
Package: libgtk2.0-@SONAME@
Section: libs
Architecture: any
Depends: libgtk2.0-common (>= ${Source-Version}), libgtk2.0-bin (>= ${Source-Version}), ${shlibs:Depends}
Depends: libgtk2.0-common (= ${source:Version}), ${shlibs:Depends}
Conflicts: libgtk2.0-0png3, eog2 (<< 1.0.1-4), gnome-panel2 (<< 2.0.4-1), celestia (<< 1.2.4-4), gimp1.3 (<< 1.3.7-1.1), metatheme (<< 0.9.7-3), libgnomeui-0 (<< 2.0.6-2), gtk2.0-examples (<< 2.2.0), libgdkxft0, gtk2-engines-wonderland (<= 1.0-2), gtk2-engines-cleanice (<= 1.2.8-1), gtk2-engines-thinice (<< 2.6), gtk2-engines-crux (<< 2.6), gtk2-engines-mist (<< 2.6), gtk2-engines-highcontrast (<< 2.6), gtk2-engines-lighthouseblue (<< 2.6), gnome-themes (<< 2.6), gtk2-engines-industrial (<< 0.2.32-5), gtk2-engines-pixbuf (<< 2.2.0-2.1), gtk2-engines-redmond95 (<< 2.2.0-2.1), gtk2-engines-metal (<< 2.2.0-2.1), gtk2-engines-magicchicken (<= 1.1.1-4), gtk2-engines-qtpixmap (<= 0.28-1), gtk2-engines-smooth (<< 0.5.6-3), gtk2-engines-xfce (<= 2.1.8-1), tamil-gtk2im (<= 2.2-4), imhangul (<< 0.9.9-3), librsvg2-common (<< 2.6.3-1)
Replaces: libgtk2.0-0png3
Recommends: hicolor-icon-theme
Recommends: hicolor-icon-theme, libgtk2.0-bin
Description: The GTK+ graphical user interface library
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
@ -22,10 +22,40 @@ Description: The GTK+ graphical user interface library
.
This package contains the shared libraries.
Package: libgtk+2.0-directfb@SONAME@
Section: libs
Architecture: any
Depends: libgtk2.0-@SONAME@ (= ${binary:Version}), ${shlibs:Depends}
Description: The GTK+ graphical user interface library - DirectFB runtime
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This version uses DirectFB, a thin library providing an integrated
windowing system and hardware acceleration on top of the Linux
framebuffer.
Package: libgtk+2.0-directfb@SONAME@-udeb
XC-Package-Type: udeb
Section: debian-installer
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
Description: The GTK+ graphical user interface library - minimal runtime
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This package contains the minimal runtime library using DirectFB needed
by the Debian installer.
Package: libgtk2.0-common
Section: misc
Architecture: all
Depends: libgtk2.0-@SONAME@, ${misc:Depends}
Depends: ${misc:Depends}
Recommends: libgtk2.0-@SONAME@
Replaces: libgtk1.3-common, libgtk2.0-data
Conflicts: libgtk1.3-common, libgtk2.0-data
Description: Common files for the GTK+ graphical user interface library
@ -38,8 +68,8 @@ Description: Common files for the GTK+ graphical user interface library
Package: libgtk2.0-bin
Section: misc
Architecture: any
Depends: ${shlibs:Depends}
Architecture: all
Depends: ${misc:Depends}, libgtk2.0-@SONAME@ (>= ${source:Version})
Replaces: libgtk2.0-common (<= 2.4.0-3), libgtk2.0-dev (<= 2.4.3-1)
Conflicts: libgtk2.0-dev (<= 2.4.3-1)
Description: The programs for the GTK+ graphical user interface library
@ -54,7 +84,7 @@ Description: The programs for the GTK+ graphical user interface library
Package: libgtk2.0-dev
Section: libdevel
Architecture: any
Depends: libgtk2.0-@SONAME@ (= ${Source-Version}), libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.10.0-2), libatk1.0-dev (>= 1.6.1-2), libcairo2-dev, libx11-dev (>= 2:1.0.0-6), libxext-dev, libxinerama-dev, libxi-dev, libxrandr-dev, libxcursor-dev, libxfixes-dev, pkg-config
Depends: libgtk2.0-@SONAME@ (= ${binary:Version}), libglib2.0-dev (>= 2.8.5), libpango1.0-dev (>= 1.10.0-2), libatk1.0-dev (>= 1.6.1-2), libcairo2-dev, libx11-dev (>= 2:1.0.0-6), libxext-dev, libxinerama-dev, libxi-dev, libxrandr-dev, libxcursor-dev, libxfixes-dev, pkg-config
Suggests: libgtk2.0-doc
Replaces: libgtk1.3-dev
Conflicts: libgtk1.3-dev
@ -67,11 +97,25 @@ Description: Development files for the GTK+ library
This package contains the header files and static libraries which is
needed for developing the GTK+ applications.
Package: libgtk+2.0-directfb-dev
Section: libdevel
Architecture: any
Depends: libgtk+2.0-directfb@SONAME@ (= ${binary:Version}), libgtk2.0-dev (= ${binary:Version}), libcairo-directfb2-dev, libcairo2-dev (>= 1.2.0)
Description: Development files for the GTK+ library - DirectFB version
The GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, the GTK+ is suitable
for projects ranging from small one-off tools to complete application
suites.
.
This package contains the header files and static libraries which is
needed for developing the GTK+ applications on top of the DirectFB
library.
Package: libgtk2.0-@SONAME@-dbg
Section: libdevel
Priority: extra
Architecture: any
Depends: libgtk2.0-@SONAME@ (= ${Source-Version})
Depends: libgtk2.0-@SONAME@ (= ${binary:Version})
Conflicts: libgtk2.0-dbg
Replaces: libgtk2.0-dbg
Description: The GTK+ libraries and debugging symbols
@ -107,7 +151,7 @@ Package: gtk2.0-examples
Section: x11
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, libgtk2.0-@SONAME@ (= ${binary:Version})
Replaces: libgtk1.3-dev
Description: Examples files for the GTK+ 2.0
The GTK+ is a multi-platform toolkit for creating graphical user
@ -122,7 +166,7 @@ Package: gtk2-engines-pixbuf
Section: graphics
Priority: optional
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, libgtk2.0-@SONAME@ (= ${binary:Version})
Suggests: gtk-engines-pixmap
Conflicts: gtk2.0-engines-pixbuf
Replaces: gtk2.0-engines-pixbuf

19
debian/libgtk2.0-0.postinst vendored Normal file
View File

@ -0,0 +1,19 @@
#! /bin/sh
set -e
if [ -d /usr/share/doc/libgtk2.0-0 -a ! -L /usr/share/doc/libgtk2.0-0 ]; then
if rmdir /usr/share/doc/libgtk2.0-0; then
ln -sf libgtk2.0-common /usr/share/doc/libgtk2.0-0
else
echo "Warning: could not remove /usr/share/doc/libgtk2.0-0."
fi
fi
case "$1" in
configure)
/usr/lib/libgtk2.0-0/update-gtk-immodules
/usr/lib/libgtk2.0-0/update-gdkpixbuf-loaders
;;
esac
#DEBHELPER#

10
debian/libgtk2.0-0.postrm vendored Normal file
View File

@ -0,0 +1,10 @@
#! /bin/sh
set -e
case "$1" in
purge)
rm -rf /etc/gtk-2.0
;;
esac
#DEBHELPER#

View File

@ -1,7 +1,4 @@
usr/bin/gtk-query-immodules-2.0
usr/share/man/man1/gtk-query-immodules-2.0.1*
usr/bin/gdk-pixbuf-query-loaders
usr/share/man/man1/gdk-pixbuf-query-loaders.1*
etc/gtk-2.0/*
usr/bin/gtk-update-icon-cache
usr/share/man/man1/gtk-update-icon-cache.1*

8
debian/libgtk2.0-common.preinst vendored Normal file
View File

@ -0,0 +1,8 @@
#! /bin/sh
set -e
if [ -L /usr/share/doc/libgtk2.0-common ]; then
rm -f /usr/share/doc/libgtk2.0-common
fi
#DEBHELPER#

File diff suppressed because it is too large Load Diff

54472
debian/patches/004_reautoconf.patch vendored Normal file

File diff suppressed because it is too large Load Diff

137
debian/rules vendored
View File

@ -7,6 +7,7 @@ include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
BUILD_DIR=$(SOURCE_DIR)/$(TAR_DIR)
BUILD_SHARED_DIR=$(SOURCE_DIR)/$(TAR_DIR)-shared
BUILD_STATIC_DIR=$(SOURCE_DIR)/$(TAR_DIR)-static
BUILD_DFB_DIR=$(SOURCE_DIR)/$(TAR_DIR)-dfb
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@ -41,6 +42,7 @@ atkver=1.0
pangover=1.0
shver=2.8.0
libpath=$(CURDIR)/$(BUILD_SHARED_DIR)/gdk-pixbuf/.libs:$(CURDIR)/$(BUILD_SHARED_DIR)/gdk/.libs:$(CURDIR)/$(BUILD_SHARED_DIR)/gtk/.libs
libpath_dfb=$(CURDIR)/$(BUILD_DFB_DIR)/gdk-pixbuf/.libs:$(CURDIR)/$(BUILD_DFB_DIR)/gdk/.libs:$(CURDIR)/$(BUILD_DFB_DIR)/gtk/.libs
debian/control:
@ -118,7 +120,36 @@ $(STAMP_DIR)/configure-static-stamp:
touch $@
configure: configure-static configure-shared
configure-dfb: extract $(STAMP_DIR)/configure-dfb-stamp
$(STAMP_DIR)/configure-dfb-stamp:
dh_testdir
cp -ar $(BUILD_DIR) $(BUILD_DFB_DIR)
# Add here commands to configure the package.
cd $(BUILD_DFB_DIR) && \
./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc \
--with-html-dir=\$${prefix}/share/doc/libgtk$(apiver)-doc \
--with-xinput=no \
--enable-shared \
--disable-static \
--with-gdktarget=directfb \
--enable-explicit-deps=yes
cd $(BUILD_DFB_DIR) && \
sed < libtool > libtool-2 \
-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/' && \
mv libtool-2 libtool
touch $@
configure: configure-static configure-shared configure-dfb
build-shared: debian/control configure-shared $(STAMP_DIR)/build-shared-stamp
$(STAMP_DIR)/build-shared-stamp:
@ -144,7 +175,19 @@ $(STAMP_DIR)/build-static-stamp:
touch $@
build: build-static build-shared
build-dfb: debian/control configure-dfb $(STAMP_DIR)/build-dfb-stamp
$(STAMP_DIR)/build-dfb-stamp:
dh_testdir
-rm -f $(STAMP_DIR)/install-test-stamp
# Add here commands to compile the package.
$(MAKE) -C $(BUILD_DFB_DIR) \
LD_LIBRARY_PATH=$(libpath_dfb):$(LD_LIBRARY_PATH)
touch $@
build: build-static build-shared build-dfb
clean:: debian/control
dh_testdir
@ -154,6 +197,7 @@ clean:: debian/control
$(MAKE) -f debian/sys-build.mk source.clean
-rm -rf $(BUILD_SHARED_DIR)
-rm -rf $(BUILD_STATIC_DIR)
-rm -rf $(BUILD_DFB_DIR)
-rm -rf $(STAMP_DIR)
dh_clean
@ -179,12 +223,38 @@ install-static: build-static install-test
RUN_QUERY_IMMODULES_TEST=false \
RUN_QUERY_LOADER_TEST=false
install: install-static install-shared
install-dfb: build-shared install-test
# Add here commands to install the package into debian/tmp
$(MAKE) -C $(BUILD_DFB_DIR) install \
DESTDIR=$(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)$(suffix)
find $(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)$(suffix) -name \*.la -exec rm -f \{\} \;
find $(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)$(suffix) -name libpixbufloader\* \! -name \*png\* -exec rm -f \{\} \;
mkdir -p debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/etc/gtk-2.0
$(BUILD_SHARED_DIR)/gdk-pixbuf/gdk-pixbuf-query-loaders \
$(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)$(suffix)/usr/lib/gtk-2.0/*/loaders/*.so | \
sed s,$(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)$(suffix),, > debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/etc/gtk-2.0/gdk-pixbuf.loaders
install: install-static install-shared install-dfb
# generating debian files from .in
for f in `find debian/ -name "[^c]*.in"`; do \
sed -e "s/@VERSION@/${version}/g" -e "s/@MODVER@/${modver}/g" -e "s/@APIVER@/${apiver}/g" $$f > `echo $$f | sed -e "s/\.in//"`; \
done
# start with the udeb
mkdir -p debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/usr/lib/gtk-2.0
cp debian/libgtk+$(apiver)-directfb$(soname)$(suffix)/usr/lib/*.so.? \
debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/usr/lib/
# We don't need the rpath in the udeb
chrpath -d debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/usr/lib/*.so.?
cp -r debian/libgtk+$(apiver)-directfb$(soname)$(suffix)/usr/lib/gtk-2.0/[0-9]* \
debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/usr/lib/gtk-2.0/
rm -rf debian/libgtk+$(apiver)-directfb$(soname)$(suffix)-udeb/usr/lib/gtk-2.0/*/{engines,immodules}
# remove files that are already here in the other build
cd debian/libgtk$(apiver)-$(soname)$(suffix) && \
find -L -type f -exec \
rm -f ../libgtk+$(apiver)-directfb$(soname)$(suffix)/\{\} \;
# for -doc
cp -a $(BUILD_SHARED_DIR)/docs/faq/html debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-faq
cp -a $(CURDIR)/debian/gtk-faq.devhelp debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-faq/
@ -195,12 +265,6 @@ install: install-static install-shared
cp -ar $(BUILD_SHARED_DIR)/docs/tutorial/images debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-tutorial/
cp $(BUILD_SHARED_DIR)/docs/*.txt debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc
# debian files
install -m 755 $(CURDIR)/debian/update-gtk-immodules \
$(CURDIR)/debian/libgtk$(apiver)-bin/usr/sbin/
install -m 755 $(CURDIR)/debian/update-gdkpixbuf-loaders \
$(CURDIR)/debian/libgtk$(apiver)-bin/usr/sbin/
# don't need executable attribute
for f in `find $(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)/usr/share/themes -type f`; do \
chmod a-x $$f; \
@ -210,6 +274,27 @@ install: install-static install-shared
rm -rf debian/libgtk$(apiver)-$(soname)$(suffix)/usr/share/gtk-doc
dh_movefiles --sourcedir=debian/libgtk$(apiver)-$(soname)$(suffix)
# scripts and support binaries
for file in `ls debian/libgtk$(apiver)-$(soname)$(suffix)/usr/bin`; do \
ln -sf ../lib/libgtk$(apiver)-$(soname)/$$file \
debian/libgtk$(apiver)-bin/usr/bin/$$file ; \
done
mv debian/libgtk$(apiver)-$(soname)$(suffix)/usr/bin \
debian/libgtk$(apiver)-$(soname)$(suffix)/usr/lib/libgtk$(apiver)-$(soname)
for file in update-gtk-immodules update-gdkpixbuf-loaders; do \
install -m 755 $(CURDIR)/debian/$$file \
$(CURDIR)/debian/libgtk$(apiver)-$(soname)/usr/lib/libgtk$(apiver)-$(soname) ; \
ln -sf ../lib/libgtk$(apiver)-$(soname)/$$file \
debian/libgtk$(apiver)-bin/usr/sbin/$$file ; \
done
mkdir -p debian/libgtk+$(apiver)-directfb-dev/usr/lib
mv debian/libgtk+$(apiver)-directfb$(soname)$(suffix)/usr/lib/{pkgconfig,*.so} \
debian/libgtk+$(apiver)-directfb-dev/usr/lib/
mv debian/libgtk+$(apiver)-directfb$(soname)$(suffix)/usr/include \
debian/libgtk+$(apiver)-directfb-dev/usr/
-find $(CURDIR)/debian/ -type d -empty | xargs rmdir -p > /dev/null 2>&1
# don't delete /etc/gtk-2.0
@ -222,7 +307,7 @@ binary-indep: build install
dh_installdocs -i
rm -rf $(CURDIR)/debian/libgtk$(apiver)-common/usr/share/doc/libgtk$(apiver)-common
rm -rf $(CURDIR)/debian/libgtk$(apiver)-bin/usr/share/doc/libgtk$(apiver)-bin
dh_link -plibgtk$(apiver)-doc \
usr/share/doc/libglib$(glibver)-doc/glib \
@ -236,9 +321,9 @@ binary-indep: build install
dh_link -plibgtk$(apiver)-doc \
usr/share/doc/libpango$(pangover)-doc/pango \
usr/share/doc/libgtk$(apiver)-doc/pango
dh_link -plibgtk$(apiver)-common \
dh_link -plibgtk$(apiver)-bin \
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
usr/share/doc/libgtk$(apiver)-common
usr/share/doc/libgtk$(apiver)-bin
# create symlinks in /usr/share/gtk-doc/html
for i in gdk gdk-pixbuf gtk gtk-faq gtk-tutorial; do \
@ -248,6 +333,7 @@ binary-indep: build install
done
dh_installexamples -i
dh_installman -i
dh_installinfo -i
dh_installchangelogs -i $(BUILD_DIR)/ChangeLog
dh_compress -i
@ -265,19 +351,27 @@ binary-arch: build install
# dh_installdebconf
dh_installdocs -a
rm -rf $(CURDIR)/debian/libgtk$(apiver)-$(soname)/usr/share/doc/libgtk$(apiver)-$(soname)
rm -rf $(CURDIR)/debian/libgtk$(apiver)-$(soname)-dbg/usr/share/doc/libgtk$(apiver)-$(soname)-dbg
rm -rf $(CURDIR)/debian/libgtk$(apiver)-dev/usr/share/doc/libgtk$(apiver)-dev
rm -rf $(CURDIR)/debian/libgtk$(apiver)-bin/usr/share/doc/libgtk$(apiver)-bin
rm -rf $(CURDIR)/debian/libgtk+$(apiver)-directfb$(soname)/usr/share/doc/libgtk+$(apiver)-directfb$(soname)
rm -rf $(CURDIR)/debian/libgtk+$(apiver)-directfb-dev/usr/share/doc/libgtk+$(apiver)-directfb-dev
dh_link -plibgtk$(apiver)-$(soname) \
usr/share/doc/libgtk$(apiver)-common \
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix)
dh_link -plibgtk$(apiver)-$(soname)-dbg \
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
usr/share/doc/libgtk$(apiver)-$(soname)-dbg
dh_link -plibgtk$(apiver)-dev \
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
usr/share/doc/libgtk$(apiver)-dev
dh_link -plibgtk$(apiver)-bin \
dh_link -plibgtk+$(apiver)-directfb$(soname) \
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
usr/share/doc/libgtk$(apiver)-bin
usr/share/doc/libgtk+$(apiver)-directfb$(soname)
dh_link -plibgtk+$(apiver)-directfb-dev \
usr/share/doc/libgtk+$(apiver)-directfb$(soname)$(suffix) \
usr/share/doc/libgtk+$(apiver)-directfb-dev
dh_installexamples -a
@ -286,17 +380,18 @@ binary-arch: build install
dh_installman -a
dh_installinfo -a
dh_installchangelogs -a $(BUILD_DIR)/ChangeLog
dh_strip -a --dbg-package=libgtk$(apiver)-$(soname)
dh_strip -a --dbg-package=libgtk$(apiver)-$(soname)-dbg
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a -Nlibgtk$(apiver)-$(soname)-dbg
dh_makeshlibs -n -X usr/lib/gtk-$(apiver) -plibgtk$(apiver)-$(soname)$(suffix) -V "libgtk${apiver}-${soname}${suffix} (>= ${shver})"
dh_makeshlibs -X usr/lib/gtk-$(apiver) -plibgtk$(apiver)-$(soname)$(suffix) -V "libgtk${apiver}-${soname}${suffix} (>= ${shver})" --add-udeb=libgtk+$(apiver)-directfb$(soname)-udeb
dh_makeshlibs -X usr/lib/gtk-$(apiver) -plibgtk+$(apiver)-directfb$(soname)$(suffix) -V "libgtk+${apiver}-directfb${soname}${suffix} (>= ${shver})" --add-udeb=libgtk+$(apiver)-directfb$(soname)-udeb
dh_installdeb -a
dh_shlibdeps -l$(libpath) -a
cat debian/*/DEBIAN/shlibs > debian/shlibs.local
cat debian/*/DEBIAN/shlibs | awk '{ print $$1,$$2 }' > debian/shlibs.local
dh_shlibdeps -a
rm -f debian/shlibs.local
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build build-shared build-static clean binary-indep binary-arch binary install install-shared install-static configure configure-shared configure-static debian/control
.PHONY: build build-shared build-static build-dfb clean binary-indep binary-arch binary install install-shared install-static install-dfb configure configure-shared configure-static configure-dfb debian/control

View File

@ -22,7 +22,7 @@ if ! test -d /usr/lib/gtk-$apiver/$VERSION/loaders; then
fi
echo -n "Updating the gdk-pixbuf loaders list for GTK+-$VERSION..."
/usr/bin/gdk-pixbuf-query-loaders > $TMPFILE
/usr/lib/libgtk2.0-0/gdk-pixbuf-query-loaders > $TMPFILE
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
echo "the gdk-pixbuf loaders was not found."
else

View File

@ -22,7 +22,7 @@ if ! test -d /usr/lib/gtk-$apiver/$VERSION/loaders; then
fi
echo -n "Updating the gdk-pixbuf loaders list for GTK+-$VERSION..."
/usr/bin/gdk-pixbuf-query-loaders > $TMPFILE
/usr/lib/libgtk2.0-0/gdk-pixbuf-query-loaders > $TMPFILE
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
echo "the gdk-pixbuf loaders was not found."
else

View File

@ -19,7 +19,7 @@ if ! test -d /usr/lib/gtk-$apiver/$VERSION/immodules; then
fi
echo -n "Updating the IM modules list for GTK+-$VERSION..."
/usr/bin/gtk-query-immodules-$apiver `find /usr/lib/gtk-$apiver/2.4.0/immodules -name '*.so'` > $TMPFILE
/usr/lib/libgtk2.0-0/gtk-query-immodules-$apiver `find /usr/lib/gtk-$apiver/2.4.0/immodules -name '*.so'` > $TMPFILE
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
echo "the GTK+ IM modules was not found."
else

View File

@ -19,7 +19,7 @@ if ! test -d /usr/lib/gtk-$apiver/$VERSION/immodules; then
fi
echo -n "Updating the IM modules list for GTK+-$VERSION..."
/usr/bin/gtk-query-immodules-$apiver `find /usr/lib/gtk-$apiver/2.4.0/immodules -name '*.so'` > $TMPFILE
/usr/lib/libgtk2.0-0/gtk-query-immodules-$apiver `find /usr/lib/gtk-$apiver/2.4.0/immodules -name '*.so'` > $TMPFILE
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
echo "the GTK+ IM modules was not found."
else