added gtk+2.0
This commit is contained in:
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# A simulation of Subversion default ignores, generated by reposurgeon.
|
||||
*.o
|
||||
*.lo
|
||||
*.la
|
||||
*.al
|
||||
.libs
|
||||
*.so
|
||||
*.so.[0-9]*
|
||||
*.a
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.rej
|
||||
*~
|
||||
.#*
|
||||
.*.swp
|
||||
.DS_store
|
||||
34
debian/README.Debian
vendored
Normal file
34
debian/README.Debian
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
GTK+2.0 for Debian
|
||||
-------------------
|
||||
|
||||
Static libraries issue
|
||||
======================
|
||||
If you wish to link the GTK+ 2.0 libraries statically into your program,
|
||||
please note that you *can not* use the '-static' flag to gcc.
|
||||
Instead, you have to link your program *dynamically* and link *only*
|
||||
the GTK+ 2.0 libraries statically, like this:
|
||||
|
||||
$ gcc -export-dynamic -o foo foo.c \
|
||||
-Wl,-Bstatic `pkg-config --cflags --libs gtk+-2.0` -Wl,-Bdynamic \
|
||||
[other dynamically linked libraries]
|
||||
|
||||
The reason for this is that GTK+ 2.0 uses dlopen(3) in order to load
|
||||
some modules. Undefined symbols in these modules are resolved by the
|
||||
dynamic linker. If the program is linked statically, the linker has
|
||||
no way of finding out which symbols are already present in the program
|
||||
and might causes strange problem so that proper symbols isn't used --
|
||||
Initialize function in statically linked libraries is called, and some
|
||||
global variable is initialized, dynamically loaded modules might also
|
||||
expects those initialized global variable.
|
||||
|
||||
|
||||
Key binding
|
||||
===========
|
||||
gnome-settings-daemon overrides gtk-key-theme-name in your gtkrc. so if you
|
||||
use GNOME 2, it won't work, and it's not a bug.
|
||||
Please use gnome-keybinding-properties instead of gtk-key-theme-name in your
|
||||
gtkrc.
|
||||
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org>, Mon, 03 Mar 2003 00:49:13 +0900
|
||||
|
||||
419
debian/changelog
vendored
Normal file
419
debian/changelog
vendored
Normal file
@ -0,0 +1,419 @@
|
||||
gtk+2.0 (2.2.4-2) UNRELEASED urgency=low
|
||||
|
||||
* debian/control:
|
||||
- added Uploaders to maintain as team.
|
||||
- added gnome-pkg-tools to Build-Depends.
|
||||
* debian/rules:
|
||||
- modified to generate debian/control using gnome-pkg-tools.
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Fri, 31 Oct 2003 21:32:29 +0100
|
||||
|
||||
gtk+2.0 (2.2.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
- implemented the im module that produces C_WITH_CEDILLA rather than
|
||||
C_WITH_ACUTE for dead_acute+c combinations. it will be used as default
|
||||
im module for fr and pt. (closes: Bug#168557)
|
||||
- reworked the handling of XIM's status window. (closes: Bug#203009)
|
||||
* debian/control:
|
||||
- removed libgtk2.0-0png3 which is unnecessary anymore.
|
||||
- added non-versioned Conflicts: libgtk2.0-0png3.
|
||||
- bumped Standards-Version to 3.6.1.0.
|
||||
* debian/patches/: removed the backported patches.
|
||||
- 000_gtk+-2.2.2-docfix-gtk2compliant.patch
|
||||
- 000_gtk+-2.2.2-docfix-gtktreemodel.patch
|
||||
- 000_gtk+-2.2.2-gtkwidget-viewable.patch
|
||||
- 000_gtk+-2.2.2-imxim-reconnect.patch
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Mon, 8 Sep 2003 03:42:18 +0900
|
||||
|
||||
gtk+2.0 (2.2.2-3) unstable; urgency=low
|
||||
|
||||
* debian/patches/:
|
||||
- 000_gtk+-2.2.2-docfix-gtk2compliant.patch: applied a backported patch
|
||||
from CVS to fix the old documentation. (closes: Bug#146723)
|
||||
- 000_gtk+-2.2.2-docfix-gtktreemodel.patch: applied a backported patch
|
||||
from CVS to fix the sample code. (closes: Bug#201322)
|
||||
- 000_gtk+-2.2.2-gtkwidget-viewable.patch: applied a backported patch from
|
||||
CVS to fix the garbled pixmaps. (closes: Bug#201808, Bug#202486)
|
||||
- 000_gtk+-2.2.2-imxim-reconnect.patch: applied a backported patch from
|
||||
CVS to fix the segfaults if the XIM server is killed during running gtk2
|
||||
applications.
|
||||
- 001_gtk+-debian-docfix-dtds.patch: applied to use the local DTD.
|
||||
* debian/control:
|
||||
- added Build-Depends-Indep: gtk-doc-tools, docbook-xml to re-generate the
|
||||
fixed documents.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 7 Aug 2003 01:42:46 +0900
|
||||
|
||||
gtk+2.0 (2.2.2-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/:
|
||||
- 001_gtk+-debian-aclocal-pass_all.patch: re-applied a patch to fix FTBFS
|
||||
on arm. (closes: Bug#201443)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 24 Jul 2003 03:14:10 +0900
|
||||
|
||||
gtk+2.0 (2.2.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release. (closes: Bug#200350)
|
||||
- Fixed threadlocks on GtkTreeView. (closes: Bug#192136)
|
||||
- Fixed the crash on moving the cursor when the cursor is invisible.
|
||||
(closes: Bug#187858)
|
||||
- Fixed the compose table for ascending order. (closes: Bug#182073)
|
||||
* debian/control:
|
||||
- fix the FTBFS. Thanks to Daniel Baeyens.
|
||||
- bumped Standards-Version to 3.6.0.
|
||||
* debian/rules:
|
||||
- removed dh_undocumented.
|
||||
- don't claim the newer shlibs.
|
||||
* debian/patches/:
|
||||
- 000_gtk+-2.2.1-gdk_event_copy_for_xinput.patch: removed.
|
||||
- 000_gtk+-2.2.1-gdk_visual_get_best_with_depth.patch: removed.
|
||||
- 000_gtk+-2.2.1-gtk_text_line_previous_could_contain_tag.patch: removed.
|
||||
- 000_gtk+-2.2.1-gtktreeview-scroll.patch: removed.
|
||||
- 000_gtk+-debian-xinerama-pic.patch: updated.
|
||||
- 001_gtk+-debian-aclocal.patch: removed.
|
||||
- 001_gtk+-ximian-gtk2-filesel-navbutton-5.patch: applied a Ximian patch
|
||||
to improve the GtkFileSel UI. Requested from Ross Burton.
|
||||
- 000_gtk+-2.2.2-non-weak-symbols.patch: applied to fix the undefined non
|
||||
weak symbols. (closes: Bug#193774)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 13 Jul 2003 21:26:49 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-6) unstable; urgency=low
|
||||
|
||||
* debian/patches/001_gtk+-debian-aclocal.patch:
|
||||
- damn. forgot to re-run automake and autoconf. fix again.
|
||||
(closes: Bug#190569)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 3 May 2003 16:56:18 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-5) unstable; urgency=low
|
||||
|
||||
* debian/control:
|
||||
- changed a section for libgtk2.0-dbg to libdevel.
|
||||
* debian/patches/000_gtk+-debian-aclocal.patch:
|
||||
- applied to fix Xinerama library linkage broken on arm and m68k.
|
||||
(closes: Bug#190569)
|
||||
Thanks to James Troup and Phil Blundell.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 3 May 2003 01:50:52 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-4) unstable; urgency=low
|
||||
|
||||
* debian/patches/:
|
||||
- 000_gtk+-2.2.1-gtk_text_line_previous_could_contain_tag.patch:
|
||||
applied a backported patch from CVS. (closes: Bug#185066)
|
||||
- 000_gtk+-2.2.1-gtktreeview-scroll.patch:
|
||||
applied a patch from Red Hat to fix infinite expose loops in TreeView.
|
||||
(closes: Bug#187312)
|
||||
* debian/control:
|
||||
- bumped Standards-Version to 3.5.9.
|
||||
- changed a section for libgtk2.0-dev to libdevel.
|
||||
* debian/rules:
|
||||
- fixed the symlinks on /usr/share/gtk-doc/html. (closes: Bug#183377)
|
||||
* debian/compat:
|
||||
- use it instead of DH_COMPAT.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Fri, 4 Apr 2003 01:55:35 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-3) unstable; urgency=low
|
||||
|
||||
* build against the latest xlibs and xlibs-pic. so now correct
|
||||
libXinerama_pic.a is linked and supporting xinarama is re-enabled.
|
||||
(closes: Bug#177318)
|
||||
* debian/control:
|
||||
- depend on xlibs-pic (>= 4.2.1-6)
|
||||
* debian/README.Debian:
|
||||
- improve description of static libraries issue. (closes: Bug#181879)
|
||||
Thanks to Marcelo E. Magallon <mmagallo@debian.org>
|
||||
- mention gtk-key-theme-name and gnome-settings-daemon.
|
||||
* debian/rules:
|
||||
- create the symlinks in /usr/share/gtk-doc
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Mon, 3 Mar 2003 01:35:04 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/:
|
||||
- 000_gtk+-2.2.1-gdk_visual_get_best_with_depth.patch:
|
||||
backport from CVS to fix wrong pointer returned. (closes: Bug#180786)
|
||||
- 000_gtk+-2.2.1-gdk_event_copy_for_xinput.patch:
|
||||
applied to fix a crash when using xinput. (closes: Bug#178908)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Wed, 19 Feb 2003 03:10:55 +0900
|
||||
|
||||
gtk+2.0 (2.2.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/patches/: removed patches. they were fixed in this release.
|
||||
- 000_gtk+-2.2.0-buildfix-modules.patch
|
||||
- 000_gtk+-2.2.0-fix-es.po.patch
|
||||
- 000_gtk+-2.2.0-fnmatch-undef.patch
|
||||
- 002_gtk+-2.2.0-fixtypo-xinput.patch
|
||||
* debian/patches/000_gtk+-debian-xinerama-pic.patch: update.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Fri, 7 Feb 2003 03:37:44 +0900
|
||||
|
||||
gtk+2.0 (2.2.0-3) unstable; urgency=low
|
||||
|
||||
* debian/: clean the unnecessary files up. (closes: Bug#177809)
|
||||
* debian/rules:
|
||||
remove the old debug libraries on install process if exists. (closes:
|
||||
Bug#177376)
|
||||
* debian/patches/:
|
||||
- 002_gtk+-2.2.0-fixtypo-xinput.patch:
|
||||
fix to enable XFree86 xinput extension. (closes: Bug#176104)
|
||||
- 000_gtk+-2.2.0-fix-es.po.patch:
|
||||
applied to fix es.po. (closes: Bug#178870)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Wed, 29 Jan 2003 23:01:43 +0900
|
||||
|
||||
gtk+2.0 (2.2.0-2) unstable; urgency=low
|
||||
|
||||
* debian/control:
|
||||
- add Conflicts libgnomeui-0 (<< 2.0.6-2) to avoid the gtk+ 2.2 breakage.
|
||||
(closes: Bug#175946)
|
||||
- add Conflicts gtk2.0-examples (<< 2.2.0) (closes: Bug#175868)
|
||||
- add dependency of libgtk2.0-common. (closes: Bug#175873)
|
||||
- removed libgtk-common package. it's no longer needed. I hope the loop
|
||||
dependency will be disappeared.
|
||||
- used libpng12-0-dev instead of libpng3-dev for Build-Depends.
|
||||
* debian/patches/001_gtk+-2.2.0-xinerama-pic.patch:
|
||||
disabled Xinerama support until xlibs-pic has libXinerama_pic.a.
|
||||
(closes: Bug#175923)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 11 Jan 2003 05:09:12 +0900
|
||||
|
||||
gtk+2.0 (2.2.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
- upstream bug were closed. so it should be fixed. (closes: Bug#147697)
|
||||
* debian/control:
|
||||
- updated Build-Depends.
|
||||
- bumped Standards-Version to 3.5.8.
|
||||
- fix description-synopsis-ends-with-full-stop stuff.
|
||||
* debian/update-gdkpixbuf-loaders: add brand-new wrapper script.
|
||||
* debian/update-gdkpixbuf-loaders.1: add manpage.
|
||||
* debian/rules:
|
||||
modified to build the static libraries. (closes: Bug#161938)
|
||||
* debian/README.Debian: updated.
|
||||
* debian/patches/:
|
||||
- 000_gtk+-2.0.6-extranotify.patch: removed.
|
||||
- 000_gtk+-2.0.6-scroll_to.patch: removed.
|
||||
- 000_gtk+-2.2.0-fnmatch-undef.patch:
|
||||
applied to fix having main() in the library.
|
||||
- 000_gtk+-2.2.0-buildfix-immodule.patch:
|
||||
applied to build the static libraries.
|
||||
- 000_gtk+-2.2.0-buildfix-modules.patch:
|
||||
applied to fix a typo in configure.in.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Mon, 6 Jan 2003 18:34:31 +0900
|
||||
|
||||
gtk+2.0 (2.0.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/patches/000_gtk+-2.0.8-refcolormap.patch: this release contains it.
|
||||
removed.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 24 Nov 2002 00:08:42 +0900
|
||||
|
||||
gtk+2.0 (2.0.8-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/000_gtk+-2.0.8-refcolormap.patch: applied to fix the crash
|
||||
problem with close. For solve your problem, I recommend you restart all
|
||||
processes related gtk+2.0. (closes: Bug#169005)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Fri, 15 Nov 2002 09:16:40 +0900
|
||||
|
||||
gtk+2.0 (2.0.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/patches/000_gtk+-2.0.7-gifsymbol.patch: it's no longer needed.
|
||||
* debian/rules: fix twice called ldconfig. (closes: Bug#168071)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 10 Nov 2002 16:36:45 +0900
|
||||
|
||||
gtk+2.0 (2.0.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/rules:
|
||||
- support noopt option for DEB_BUILD_OPTIONS.
|
||||
- add symlink for gobject. (closes: Bug#167755)
|
||||
* Hm, closed a bug which is marked as NMU due to mis-upload. (closes:
|
||||
Bug#166442)
|
||||
* debian/patches: these patches are no longer needed, so removed.
|
||||
- 000_gtk+-2.0.6-64bitfix.patch
|
||||
- 000_gtk+-2.0.6-imenvvar.patch
|
||||
- 000_gtk+-2.0.6-keycode.patch
|
||||
- 000_gtk+-2.0.6-usintl.patch
|
||||
* debian/patches/000_gtk+-2.0.7-gifsymbol.patch: applied to fix the
|
||||
undefined symbol issue on libpixbufloader-gif.so.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Wed, 6 Nov 2002 01:42:22 +0900
|
||||
|
||||
gtk+2.0 (2.0.6-4) unstable; urgency=low
|
||||
|
||||
* debian/patches/000_gtk+-2.0.6-64bitfix.patch: applied to fix a segfault on
|
||||
IA64. (closes: Bug#166442)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 27 Oct 2002 03:07:59 +0900
|
||||
|
||||
gtk+2.0 (2.0.6-3) unstable; urgency=low
|
||||
|
||||
* debian/control: moved libgtk2.0-0png3 to the last entry.
|
||||
* debian/rule: fix invalid symlink.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 31 Aug 2002 09:46:36 +0900
|
||||
|
||||
gtk+2.0 (2.0.6-2) unstable; urgency=low
|
||||
|
||||
* debian/control:
|
||||
- bumped Standards-Version and depends debhelper (>> 4).
|
||||
- revert to libgtk2.0-0 and remove Conflicts libgtk2.0-0, then add
|
||||
versioned conflict to work eog2, gnome-panel2, celestia, gimp1.3 and
|
||||
metatheme. (closes: Bug#155689, Bug#155854)
|
||||
- add libgtk2.0-0png3 to Conflicts, Replaces.
|
||||
- add a dummy package for libgtk2.0-0png3.
|
||||
- remove the image libraries dependency. (closes: Bug#158858)
|
||||
- clean up -dev's Depends.
|
||||
- add libglib2.0-doc, libatk1.0-doc and libpango1.0-doc to Suggests.
|
||||
* debian/patches/: from Red Hat.
|
||||
- 000_gtk+-2.0.6-exportsymbols.patch:
|
||||
applied to fix stripping the wrong symbols due to libtool's bug. but
|
||||
it's not affected about the symbols used by ld and ld.so. mainly for nm,
|
||||
gdb and etc.
|
||||
- 000_gtk+-2.0.6-extranotify.patch:
|
||||
applied to fix extra settings notifies on startup that were causing
|
||||
significant performance problems as fonts were reloaded.
|
||||
- 000_gtk+-2.0.6-imenvvar.patch:
|
||||
applied to fix a bug with GTK_IM_MODULE environment variable.
|
||||
- 000_gtk+-2.0.6-keycode.patch: applied to fix a problem with keycodes
|
||||
passed to GtkIMContextXIM.
|
||||
- 000_gtk+-2.0.6-usintl.patch:
|
||||
applied to fix to GtkIMContextSimple compose for us-intl keyboards.
|
||||
should be fixed. (closes: Bug#149515)
|
||||
- 000_gtk+-2.0.6-scroll_to.patch:
|
||||
applied to fix gtk_tree_view_scroll_to_cell.
|
||||
* debian/rules: add symlink to fix the missing symlink for glib, atk and
|
||||
pango. (closes: Bug#158107)
|
||||
* debian/update-gtk-immodules.fr.1: added. Thanks Julien Louis. (closes:
|
||||
Bug#156985)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 31 Aug 2002 05:22:33 +0900
|
||||
|
||||
gtk+2.0 (2.0.6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Build against libpng3 (closes: 147852)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 4 Aug 2002 18:31:53 +0900
|
||||
|
||||
gtk+2.0 (2.0.5-2) unstable; urgency=low
|
||||
|
||||
* debian/rules: add --with-xinput=xfree. (closes: Bug#151668)
|
||||
* debian/control:
|
||||
- add Conflicts: libgdkxft0 to avoid some problem. (closes: Bug#151439).
|
||||
- changed a summary from 'Dummy' to 'Empty'.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 4 Jul 2002 00:18:53 +0900
|
||||
|
||||
gtk+2.0 (2.0.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/control: fix typo (closes: Bug#150147)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Mon, 17 Jun 2002 01:07:20 +0900
|
||||
|
||||
gtk+2.0 (2.0.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
- should be fixed in this release. (closes: Bug#149667)
|
||||
- now it's not linked to the Pango docs (closes: Bug#149143)
|
||||
* debian/libgtk2.0-doc.doc-base.{gdk,gdk-pixbuf,gtk,gtk-faq,gtk-tutorial}:
|
||||
add a new line before Format: (closes: Bug#149548, Bug#150043)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 16 Jun 2002 05:16:29 +0900
|
||||
|
||||
gtk+2.0 (2.0.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/libgtk2.0-doc.doc-base.{gtk-faq,gtk-tutorial}:
|
||||
changed an index file.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 30 May 2002 23:35:52 +0900
|
||||
|
||||
gtk+2.0 (2.0.2-5) unstable; urgency=high
|
||||
|
||||
* debian/control: add libtiff3g-dev, libpng2-dev and libjpeg62-dev to
|
||||
Depends for -dev.
|
||||
* set urgency=high because previous version violated our policy 2.3.4.
|
||||
it should be into woody as far as possible.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 23 May 2002 00:31:52 +0900
|
||||
|
||||
gtk+2.0 (2.0.2-4) unstable; urgency=high
|
||||
|
||||
* debian/patches/000_gtk+2.0-2.0.2-bigendian.patch: applied to fix a problem
|
||||
for big endian machines. (closes: Bug#145285)
|
||||
* set urgency=high because it should be in woody.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Wed, 1 May 2002 02:46:12 +0900
|
||||
|
||||
gtk+2.0 (2.0.2-3) unstable; urgency=low
|
||||
|
||||
* debian/update-gtk-immodules: create /etc/gtk-2.0 directory for workaround,
|
||||
if it's not found. oh, why didn't you have it? (closes: Bug#143508,
|
||||
Bug#144673)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 28 Apr 2002 04:46:30 +0900
|
||||
|
||||
gtk+2.0 (2.0.2-2) unstable; urgency=low
|
||||
|
||||
* debian/libgtk2.0-doc.doc-base.{gtk-faq,gtk-tutorial}:
|
||||
Grr, fix again... (closes: Bug#141069)
|
||||
* debian/scripts/vars.build: fix bashism.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 6 Apr 2002 04:26:14 +0900
|
||||
|
||||
gtk+2.0 (2.0.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
- this release has bug fix only.
|
||||
* debian/control: forgot to update versioned dependency for -dev.
|
||||
* debian/libgtk2.0-doc.doc-base.gtk-faq,
|
||||
debian/libgtk2.0-doc.doc-base.gtk-tutorial:
|
||||
fix wrong index. (closes: Bug#141069)
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Thu, 4 Apr 2002 02:49:49 +0900
|
||||
|
||||
gtk+2.0 (2.0.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* debian/update-gtk-immodules: check the immodules directory.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sun, 31 Mar 2002 00:59:03 +0900
|
||||
|
||||
gtk+2.0 (2.0.0-3) unstable; urgency=low
|
||||
|
||||
* debian/rules: removed regenerate shlibs. all packages no longer needs to
|
||||
depend on -common.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 16 Mar 2002 21:51:08 +0900
|
||||
|
||||
gtk+2.0 (2.0.0-2) unstable; urgency=low
|
||||
|
||||
* debian/control: changed Build-Depends to libpango1.0-dev (>= 1.0.0-3)
|
||||
* debian/{control,rules}: add libgtk-common as dummy package for upgrading.
|
||||
* debian/rules: fix the missing directory.
|
||||
* debian/update-gtk-immodules: fix file attribute for gtk.immodules.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Sat, 16 Mar 2002 04:34:39 +0900
|
||||
|
||||
gtk+2.0 (2.0.0-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- Akira TAGOH <tagoh@debian.org> Wed, 13 Mar 2002 00:07:25 +0900
|
||||
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
4
|
||||
101
debian/control
vendored
Normal file
101
debian/control
vendored
Normal file
@ -0,0 +1,101 @@
|
||||
Source: gtk+2.0
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Akira TAGOH <tagoh@debian.org>
|
||||
Build-Depends: debhelper (>> 4.0.0), gettext, pkg-config, libglib2.0-dev (>= 2.2.0), libpango1.0-dev (>= 1.2.0-3), libatk1.0-dev (>= 1.2.0), xlibs-pic (>= 4.2.1-6), xlibs-dev, libtiff3g-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text
|
||||
Build-Depends-Indep: gtk-doc-tools, docbook-xml
|
||||
Standards-Version: 3.6.1.0
|
||||
|
||||
Package: libgtk2.0-0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
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
|
||||
Replaces: libgtk2.0-0png3
|
||||
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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the shared libraries.
|
||||
|
||||
Package: libgtk2.0-common
|
||||
Section: misc
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: libgtk1.3-common
|
||||
Conflicts: libgtk1.3-common
|
||||
Description: Common files for 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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the common files which the libraries need.
|
||||
|
||||
Package: libgtk2.0-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libgtk2.0-0 (= ${Source-Version}), libglib2.0-dev (>= 2.2.0), libpango1.0-dev (>= 1.2.0-3), libatk1.0-dev (>= 1.2.0), xlibs-dev, pkg-config
|
||||
Suggests: libgtk2.0-doc
|
||||
Replaces: libgtk1.3-dev
|
||||
Conflicts: libgtk1.3-dev
|
||||
Description: Development files for the GTK+ library
|
||||
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.
|
||||
|
||||
Package: libgtk2.0-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libgtk2.0-0 (= ${Source-Version})
|
||||
Description: The GTK+ libraries and debugging symbols
|
||||
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 unstripped shared libraries. it is provided
|
||||
primarily to provide a backtrace with names in a debugger, this makes
|
||||
it somewhat easier to interpret core dumps. The libraries are installed
|
||||
in /usr/lib/debug and can be used by placing that directory in
|
||||
LD_LIBRARY_PATH.
|
||||
Most people will not need this package.
|
||||
|
||||
Package: libgtk2.0-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends: lynx | www-browser
|
||||
Replaces: libgtk1.3-doc
|
||||
Conflicts: libgtk1.3-doc
|
||||
Suggests: libglib2.0-doc, libatk1.0-doc, libpango1.0-doc
|
||||
Description: Documentation for 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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the HTML documentation for the GTK+ library
|
||||
in /usr/share/doc/libgtk2.0-doc/ .
|
||||
|
||||
Package: gtk2.0-examples
|
||||
Section: x11
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: libgtk1.3-dev
|
||||
Description: Examples files for the GTK+ 2.0
|
||||
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 examples files and a demonstration program
|
||||
for the GTK+-2.0.
|
||||
|
||||
102
debian/control.in
vendored
Normal file
102
debian/control.in
vendored
Normal file
@ -0,0 +1,102 @@
|
||||
Source: gtk+2.0
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Akira TAGOH <tagoh@debian.org>
|
||||
Uploaders: @GNOME_TEAM@
|
||||
Build-Depends: debhelper (>> 4.0.0), gettext, pkg-config, libglib2.0-dev (>= 2.2.0), libpango1.0-dev (>= 1.2.0-3), libatk1.0-dev (>= 1.2.0), xlibs-pic (>= 4.2.1-6), xlibs-dev, libtiff3g-dev, libjpeg62-dev, libpng12-dev, docbook-utils, linuxdoc-tools-text, gnome-pkg-tools
|
||||
Build-Depends-Indep: gtk-doc-tools, docbook-xml
|
||||
Standards-Version: 3.6.1.0
|
||||
|
||||
Package: libgtk2.0-@SONAME@
|
||||
Section: libs
|
||||
Architecture: any
|
||||
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
|
||||
Replaces: libgtk2.0-0png3
|
||||
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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the shared libraries.
|
||||
|
||||
Package: libgtk2.0-common
|
||||
Section: misc
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: libgtk1.3-common
|
||||
Conflicts: libgtk1.3-common
|
||||
Description: Common files for 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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the common files which the libraries need.
|
||||
|
||||
Package: libgtk2.0-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libgtk2.0-@SONAME@ (= ${Source-Version}), libglib2.0-dev (>= 2.2.0), libpango1.0-dev (>= 1.2.0-3), libatk1.0-dev (>= 1.2.0), xlibs-dev, pkg-config
|
||||
Suggests: libgtk2.0-doc
|
||||
Replaces: libgtk1.3-dev
|
||||
Conflicts: libgtk1.3-dev
|
||||
Description: Development files for the GTK+ library
|
||||
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.
|
||||
|
||||
Package: libgtk2.0-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libgtk2.0-@SONAME@ (= ${Source-Version})
|
||||
Description: The GTK+ libraries and debugging symbols
|
||||
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 unstripped shared libraries. it is provided
|
||||
primarily to provide a backtrace with names in a debugger, this makes
|
||||
it somewhat easier to interpret core dumps. The libraries are installed
|
||||
in /usr/lib/debug and can be used by placing that directory in
|
||||
LD_LIBRARY_PATH.
|
||||
Most people will not need this package.
|
||||
|
||||
Package: libgtk2.0-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends: lynx | www-browser
|
||||
Replaces: libgtk1.3-doc
|
||||
Conflicts: libgtk1.3-doc
|
||||
Suggests: libglib2.0-doc, libatk1.0-doc, libpango1.0-doc
|
||||
Description: Documentation for 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
|
||||
for projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
.
|
||||
This package contains the HTML documentation for the GTK+ library
|
||||
in /usr/share/doc/libgtk2.0-doc/ .
|
||||
|
||||
Package: gtk2.0-examples
|
||||
Section: x11
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Replaces: libgtk1.3-dev
|
||||
Description: Examples files for the GTK+ 2.0
|
||||
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 examples files and a demonstration program
|
||||
for the GTK+-2.0.
|
||||
|
||||
53
debian/copyright
vendored
Normal file
53
debian/copyright
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
This package was debianized by Akira TAGOH <tagoh@debian.org> on
|
||||
Wed, 13 Mar 2002 00:07:25 +0900.
|
||||
|
||||
It was downloaded from ftp://ftp.gtk.org/ .
|
||||
|
||||
Original Authors
|
||||
----------------
|
||||
Peter Mattis <petm@xcf.berkeley.edu>
|
||||
Spencer Kimball <spencer@xcf.berkeley.edu>
|
||||
Josh MacDonald <jmacd@xcf.berkeley.edu>
|
||||
|
||||
Please do not mail the original authors asking questions about this
|
||||
version of GTK+.
|
||||
|
||||
The GTK+ Team (in alphabetical order)
|
||||
-------------------------------------
|
||||
Shawn T. Amundson <amundson@gtk.org>
|
||||
Jerome Bolliet <bolliet@gtk.org>
|
||||
Damon Chaplin <damon@gtk.org>
|
||||
Tony Gale <gale@gtk.org>
|
||||
Jeff Garzik <jgarzik@gtk.org>
|
||||
Lars Hamann <lars@gtk.org>
|
||||
Raja R Harinath <harinath@gtk.org>
|
||||
Carsten Haitzler <raster@gtk.org>
|
||||
Tim Janik <timj@gtk.org>
|
||||
Stefan Jeske <stefan@gtk.org>
|
||||
Elliot Lee <sopwith@gtk.org>
|
||||
Raph Levien <raph@gtk.org>
|
||||
Ian Main <imain@gtk.org>
|
||||
Federico Mena <quartic@gtk.org>
|
||||
Paolo Molaro <lupus@gtk.org>
|
||||
Jay Painter <jpaint@gtk.org>
|
||||
Manish Singh <manish@gtk.org>
|
||||
Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
Copyright:
|
||||
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 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.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the
|
||||
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA.
|
||||
|
||||
See /usr/share/common-licenses/LGPL-2 on your debian system.
|
||||
|
||||
5
debian/docs.in
vendored
Normal file
5
debian/docs.in
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
build-tree/gtk+-@VERSION@/NEWS
|
||||
build-tree/gtk+-@VERSION@/README
|
||||
build-tree/gtk+-@VERSION@/ChangeLog.pre-1-0
|
||||
build-tree/gtk+-@VERSION@/ChangeLog.pre-1-2
|
||||
build-tree/gtk+-@VERSION@/ChangeLog.pre-2-0
|
||||
2
debian/gtk2.0-examples.dirs
vendored
Normal file
2
debian/gtk2.0-examples.dirs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/bin
|
||||
usr/share
|
||||
1
debian/gtk2.0-examples.examples.in
vendored
Normal file
1
debian/gtk2.0-examples.examples.in
vendored
Normal file
@ -0,0 +1 @@
|
||||
build-tree/gtk+-@VERSION@/examples/*
|
||||
3
debian/gtk2.0-examples.files
vendored
Normal file
3
debian/gtk2.0-examples.files
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
usr/bin/gtk-demo
|
||||
usr/share/*/demo/*
|
||||
|
||||
5
debian/libgtk2.0-common.dirs
vendored
Normal file
5
debian/libgtk2.0-common.dirs
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin
|
||||
usr/sbin
|
||||
usr/share/locale
|
||||
usr/share/themes
|
||||
etc/gtk-2.0
|
||||
5
debian/libgtk2.0-common.files
vendored
Normal file
5
debian/libgtk2.0-common.files
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin/gtk-query-immodules-2.0
|
||||
usr/bin/gdk-pixbuf-query-loaders
|
||||
usr/share/locale/*
|
||||
usr/share/themes/*
|
||||
etc/gtk-2.0/*
|
||||
3
debian/libgtk2.0-common.manpages
vendored
Normal file
3
debian/libgtk2.0-common.manpages
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
debian/update-gtk-immodules.1
|
||||
debian/update-gtk-immodules.fr.1
|
||||
debian/update-gdkpixbuf-loaders.1
|
||||
49
debian/libgtk2.0-common.postinst
vendored
Normal file
49
debian/libgtk2.0-common.postinst
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
#! /bin/sh
|
||||
# postinst script for gtk+
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
#
|
||||
# quoting from the policy:
|
||||
# Any necessary prompting should almost always be confined to the
|
||||
# post-installation script, and should be protected with a conditional
|
||||
# so that unnecessary prompting doesn't happen if a package's
|
||||
# installation fails and the `postinst' is called with `abort-upgrade',
|
||||
# `abort-remove' or `abort-deconfigure'.
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
/usr/sbin/update-gtk-immodules
|
||||
/usr/sbin/update-gdkpixbuf-loaders
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
41
debian/libgtk2.0-common.postrm
vendored
Normal file
41
debian/libgtk2.0-common.postrm
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
#! /bin/sh
|
||||
# postrm script for gtk+
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
rm -rf /etc/gtk-2.0
|
||||
;;
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
1
debian/libgtk2.0-dbg.dirs
vendored
Normal file
1
debian/libgtk2.0-dbg.dirs
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/debug
|
||||
1
debian/libgtk2.0-dbg.files
vendored
Normal file
1
debian/libgtk2.0-dbg.files
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/debug/*
|
||||
5
debian/libgtk2.0-dev.dirs
vendored
Normal file
5
debian/libgtk2.0-dev.dirs
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin
|
||||
usr/include
|
||||
usr/lib
|
||||
usr/lib/pkgconfig
|
||||
usr/share/aclocal
|
||||
8
debian/libgtk2.0-dev.files
vendored
Normal file
8
debian/libgtk2.0-dev.files
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
usr/bin/gdk-pixbuf-csource
|
||||
usr/include/*
|
||||
usr/lib/lib*.{so,la,a}
|
||||
usr/lib/pkgconfig/*.pc
|
||||
usr/lib/*/*/*/*{la,a}
|
||||
usr/lib/*/include/*.h
|
||||
usr/share/aclocal/*
|
||||
usr/share/man/man1/gdk-pixbuf-csource.1*
|
||||
2
debian/libgtk2.0-doc.dirs
vendored
Normal file
2
debian/libgtk2.0-doc.dirs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/share/doc/libgtk2.0-doc
|
||||
usr/share/gtk-doc
|
||||
13
debian/libgtk2.0-doc.doc-base.gdk
vendored
Normal file
13
debian/libgtk2.0-doc.doc-base.gdk
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Document: gdk
|
||||
Title: GDK Reference Manual
|
||||
Author: Damon Chaplin et al.
|
||||
Abstract: The GDK library provides an OS-independant wrapper around the
|
||||
most fundamental graphical user interface functions. This allows
|
||||
GTK+ to be ported to non-X11 systems, as long as GDK is ported first.
|
||||
.
|
||||
This document covers programming in GDK.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libgtk2.0-doc/gdk/index.html
|
||||
Files: /usr/share/doc/libgtk2.0-doc/gdk/*.html
|
||||
12
debian/libgtk2.0-doc.doc-base.gdk-pixbuf
vendored
Normal file
12
debian/libgtk2.0-doc.doc-base.gdk-pixbuf
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
Document: gdk-pixbuf
|
||||
Title: GDK-pixbuf Reference Manual
|
||||
Author: Federico Mena Quintero
|
||||
Abstract: The GDK-pixbuf library is used to manipulate images and
|
||||
other image-like objects, similar to the imlib library. GDK and
|
||||
GTK+ use it for image storage and manipulation. This document
|
||||
covers programming using this library.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libgtk2.0-doc/gdk-pixbuf/index.html
|
||||
Files: /usr/share/doc/libgtk2.0-doc/gdk-pixbuf/*.html
|
||||
11
debian/libgtk2.0-doc.doc-base.gtk
vendored
Normal file
11
debian/libgtk2.0-doc.doc-base.gtk
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
Document: gtk
|
||||
Title: GTK+ Reference Manual
|
||||
Author: Damon Chaplin et al.
|
||||
Abstract: The GTK+ library provides a graphical user interface for
|
||||
C programs, and is used in projects such as GIMP, Gnome, and Mozilla.
|
||||
This document covers programming using the GTK+ library.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libgtk2.0-doc/gtk/index.html
|
||||
Files: /usr/share/doc/libgtk2.0-doc/gtk/*.html
|
||||
12
debian/libgtk2.0-doc.doc-base.gtk-faq
vendored
Normal file
12
debian/libgtk2.0-doc.doc-base.gtk-faq
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
Document: gtk2-faq
|
||||
Title: GTK+2.0 Frequently Asked Questions
|
||||
Author: Tony Gale, Shawn Amundson, and Emmanuel Deloget
|
||||
Abstract: This document is intended to answer questions that are
|
||||
likely to be frequently asked by programmers using the GTK+
|
||||
graphical user interface library, or people who are just looking at
|
||||
using GTK+, Gnome, or GIMP.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libgtk2.0-doc/gtk-faq/book1.html
|
||||
Files: /usr/share/doc/libgtk2.0-doc/gtk-faq/*.html
|
||||
18
debian/libgtk2.0-doc.doc-base.gtk-tutorial
vendored
Normal file
18
debian/libgtk2.0-doc.doc-base.gtk-tutorial
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Document: gtk2-tutorial
|
||||
Title: GTK+2.0 Tutorial
|
||||
Author: Tony Gale and Ian Main
|
||||
Abstract: GTK (GIMP Toolkit) is a library for creating graphical user
|
||||
interfaces. It is licensed using the LGPL license, so you can develop
|
||||
open software, free software, or even commercial non-free software
|
||||
using GTK without having to spend anything for licenses or royalties.
|
||||
.
|
||||
This tutorial is an attempt to document as much as possible of GTK,
|
||||
but it is by no means complete. This tutorial assumes a good
|
||||
understanding of C, and how to create C programs. It would be a great
|
||||
benefit for the reader to have previous X programming experience, but
|
||||
it shouldn't be necessary.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libgtk2.0-doc/gtk-tutorial/book1.html
|
||||
Files: /usr/share/doc/libgtk2.0-doc/gtk-tutorial/*.html
|
||||
1
debian/libgtk2.0-doc.files
vendored
Normal file
1
debian/libgtk2.0-doc.files
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/share/doc/libgtk2.0-doc/*
|
||||
26
debian/patches/000_gtk+-2.0.6-exportsymbols.patch
vendored
Normal file
26
debian/patches/000_gtk+-2.0.6-exportsymbols.patch
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
diff -ruN gtk+-2.0.6.orig/configure gtk+-2.0.6/configure
|
||||
--- gtk+-2.0.6.orig/configure 2002-08-31 03:49:07.000000000 +0900
|
||||
+++ gtk+-2.0.6/configure 2002-08-31 03:52:45.000000000 +0900
|
||||
@@ -7904,7 +7904,8 @@
|
||||
if test "$os_win32" != yes; then
|
||||
# libtool option to control which symbols are exported
|
||||
# right now, symbols starting with _ are not exported
|
||||
- LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
|
||||
+ # Disabled until -export-symbols-regex works (RH patch)
|
||||
+ LIBTOOL_EXPORT_OPTIONS=
|
||||
else
|
||||
# We currently use .def files on Windows (for gdk-pixbuf, gdk and gtk)
|
||||
LIBTOOL_EXPORT_OPTIONS=
|
||||
diff -ruN gtk+-2.0.6.orig/configure.in gtk+-2.0.6/configure.in
|
||||
--- gtk+-2.0.6.orig/configure.in 2002-08-31 03:49:07.000000000 +0900
|
||||
+++ gtk+-2.0.6/configure.in 2002-08-31 03:51:22.000000000 +0900
|
||||
@@ -273,7 +273,8 @@
|
||||
if test "$os_win32" != yes; then
|
||||
# libtool option to control which symbols are exported
|
||||
# right now, symbols starting with _ are not exported
|
||||
- LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
|
||||
+ # Disabled until -export-symbols-regex works (RH patch)
|
||||
+ LIBTOOL_EXPORT_OPTIONS=
|
||||
else
|
||||
# We currently use .def files on Windows (for gdk-pixbuf, gdk and gtk)
|
||||
LIBTOOL_EXPORT_OPTIONS=
|
||||
32
debian/patches/000_gtk+-2.2.0-buildfix-immodule.patch
vendored
Normal file
32
debian/patches/000_gtk+-2.2.0-buildfix-immodule.patch
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
diff -ruN gtk+-2.2.0.orig/modules/input/Makefile.am gtk+-2.2.0/modules/input/Makefile.am
|
||||
--- gtk+-2.2.0.orig/modules/input/Makefile.am 2003-01-06 23:40:37.000000000 +0900
|
||||
+++ gtk+-2.2.0/modules/input/Makefile.am 2003-01-06 23:46:35.000000000 +0900
|
||||
@@ -113,7 +113,11 @@
|
||||
im-viqr.la
|
||||
|
||||
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
||||
- $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules
|
||||
+ @if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
||||
+ $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules ; \
|
||||
+ else \
|
||||
+ touch $@ ; \
|
||||
+ fi
|
||||
|
||||
if CROSS_COMPILING
|
||||
else
|
||||
diff -ruN gtk+-2.2.0.orig/modules/input/Makefile.in gtk+-2.2.0/modules/input/Makefile.in
|
||||
--- gtk+-2.2.0.orig/modules/input/Makefile.in 2003-01-06 23:39:08.000000000 +0900
|
||||
+++ gtk+-2.2.0/modules/input/Makefile.in 2003-01-06 23:46:44.000000000 +0900
|
||||
@@ -815,7 +815,11 @@
|
||||
fi
|
||||
|
||||
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
||||
- $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules
|
||||
+ @if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
||||
+ $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules ; \
|
||||
+ else \
|
||||
+ touch $@ ; \
|
||||
+ fi
|
||||
|
||||
@CROSS_COMPILING_FALSE@all-local: gtk.immodules
|
||||
|
||||
12812
debian/patches/000_gtk+-2.2.4-non-weak-symbols.patch
vendored
Normal file
12812
debian/patches/000_gtk+-2.2.4-non-weak-symbols.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
44
debian/patches/000_gtk+-debian-xinerama-pic.patch
vendored
Normal file
44
debian/patches/000_gtk+-debian-xinerama-pic.patch
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
diff -ruN gtk+-2.2.2.orig/configure gtk+-2.2.2/configure
|
||||
--- gtk+-2.2.2.orig/configure 2003-06-10 05:30:17.000000000 +0900
|
||||
+++ gtk+-2.2.2/configure 2003-07-13 02:01:52.000000000 +0900
|
||||
@@ -26592,13 +26592,13 @@
|
||||
*)
|
||||
# Check for XFree
|
||||
use_xfree_xinerama=yes
|
||||
- echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5
|
||||
-echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6
|
||||
+ echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama_pic" >&5
|
||||
+echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama_pic... $ECHO_C" >&6
|
||||
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lXinerama -lXext $x_libs_for_checks $LIBS"
|
||||
+LIBS="-lXinerama_pic -lXext $x_libs_for_checks $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
@@ -26687,7 +26687,7 @@
|
||||
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
|
||||
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
|
||||
if test $ac_cv_header_X11_extensions_Xinerama_h = yes; then
|
||||
- x_extra_libs="-lXinerama $x_extra_libs"
|
||||
+ x_extra_libs="-lXinerama_pic $x_extra_libs"
|
||||
if test -z "`echo $x_extra_libs $x_libs | grep "\-lXext" 2> /dev/null`"; then
|
||||
x_extra_libs="-lXext $x_extra_libs"
|
||||
fi
|
||||
diff -ruN gtk+-2.2.2.orig/configure.in gtk+-2.2.2/configure.in
|
||||
--- gtk+-2.2.2.orig/configure.in 2003-06-09 13:24:51.000000000 +0900
|
||||
+++ gtk+-2.2.2/configure.in 2003-07-13 01:58:11.000000000 +0900
|
||||
@@ -1119,9 +1119,9 @@
|
||||
*)
|
||||
# Check for XFree
|
||||
use_xfree_xinerama=yes
|
||||
- AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
|
||||
+ AC_CHECK_LIB(Xinerama_pic, XineramaQueryExtension,
|
||||
[AC_CHECK_HEADER(X11/extensions/Xinerama.h,
|
||||
- x_extra_libs="-lXinerama $x_extra_libs"
|
||||
+ x_extra_libs="-lXinerama_pic $x_extra_libs"
|
||||
if test -z "`echo $x_extra_libs $x_libs | grep "\-lXext" 2> /dev/null`"; then
|
||||
x_extra_libs="-lXext $x_extra_libs"
|
||||
fi
|
||||
413
debian/patches/001_gtk+-debian-aclocal-pass_all.patch
vendored
Normal file
413
debian/patches/001_gtk+-debian-aclocal-pass_all.patch
vendored
Normal file
@ -0,0 +1,413 @@
|
||||
diff -ruN gtk+-2.2.4.orig/aclocal.m4 gtk+-2.2.4/aclocal.m4
|
||||
--- gtk+-2.2.4.orig/aclocal.m4 2003-09-05 02:17:07.000000000 +0900
|
||||
+++ gtk+-2.2.4/aclocal.m4 2003-09-08 00:47:50.000000000 +0900
|
||||
@@ -2335,7 +2335,7 @@
|
||||
# This must be Linux ELF.
|
||||
linux*)
|
||||
case $host_cpu in
|
||||
- alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
|
||||
+ alpha* | arm* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
|
||||
lt_cv_deplibs_check_method=pass_all ;;
|
||||
*)
|
||||
# glibc up to 2.1.1 does not perform some relocations on ARM
|
||||
diff -ruN gtk+-2.2.4.orig/configure gtk+-2.2.4/configure
|
||||
--- gtk+-2.2.4.orig/configure 2003-09-08 00:46:04.000000000 +0900
|
||||
+++ gtk+-2.2.4/configure 2003-09-08 00:49:01.000000000 +0900
|
||||
@@ -1145,7 +1145,7 @@
|
||||
else
|
||||
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
||||
fi
|
||||
- cd $ac_popdir
|
||||
+ cd "$ac_popdir"
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1342,7 +1342,7 @@
|
||||
echo "$as_me: caught signal $ac_signal"
|
||||
echo "$as_me: exit $exit_status"
|
||||
} >&5
|
||||
- rm -f core core.* *.core &&
|
||||
+ rm -f core *.core &&
|
||||
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
||||
exit $exit_status
|
||||
' 0
|
||||
@@ -2658,8 +2658,7 @@
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
for ac_declaration in \
|
||||
- ''\
|
||||
- '#include <stdlib.h>' \
|
||||
+ '' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
@@ -2673,8 +2672,8 @@
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
-#include <stdlib.h>
|
||||
$ac_declaration
|
||||
+#include <stdlib.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@@ -3256,7 +3255,7 @@
|
||||
# This must be Linux ELF.
|
||||
linux*)
|
||||
case $host_cpu in
|
||||
- alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
|
||||
+ alpha* | arm* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
|
||||
lt_cv_deplibs_check_method=pass_all ;;
|
||||
*)
|
||||
# glibc up to 2.1.1 does not perform some relocations on ARM
|
||||
@@ -3386,7 +3385,7 @@
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
- echo '#line 3389 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 3388 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -4161,7 +4160,7 @@
|
||||
( exit $ac_status )
|
||||
ac_cv_header_stdc=no
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -4606,8 +4605,7 @@
|
||||
fi
|
||||
fi
|
||||
for ac_declaration in \
|
||||
- ''\
|
||||
- '#include <stdlib.h>' \
|
||||
+ '' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
@@ -4621,8 +4619,8 @@
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
-#include <stdlib.h>
|
||||
$ac_declaration
|
||||
+#include <stdlib.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@@ -5023,7 +5021,7 @@
|
||||
|
||||
|
||||
# Provide some information about the compiler.
|
||||
-echo "$as_me:5026:" \
|
||||
+echo "$as_me:5024:" \
|
||||
"checking for Fortran 77 compiler version" >&5
|
||||
ac_compiler=`set X $ac_compile; echo $2`
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
||||
@@ -6028,11 +6026,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:6031: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:6029: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:6035: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:6033: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -6260,11 +6258,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:6263: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:6261: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:6267: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:6265: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -6327,11 +6325,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:6330: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:6328: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:6334: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:6332: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -7692,7 +7690,7 @@
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
x86_64*|s390x*)
|
||||
- echo '#line 7695 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 7693 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -8388,7 +8386,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 8391 "configure"
|
||||
+#line 8389 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -8486,7 +8484,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 8489 "configure"
|
||||
+#line 8487 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -10618,11 +10616,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:10621: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:10619: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:10625: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:10623: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -10685,11 +10683,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:10688: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:10686: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:10692: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:10690: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -11256,7 +11254,7 @@
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
x86_64*|s390x*)
|
||||
- echo '#line 11259 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 11257 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -11952,7 +11950,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 11955 "configure"
|
||||
+#line 11953 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12050,7 +12048,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 12053 "configure"
|
||||
+#line 12051 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12872,11 +12870,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:12875: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:12873: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:12879: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:12877: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -12939,11 +12937,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:12942: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:12940: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:12946: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:12944: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -14282,7 +14280,7 @@
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
x86_64*|s390x*)
|
||||
- echo '#line 14285 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 14283 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -14928,11 +14926,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:14931: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:14929: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:14935: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:14933: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -15160,11 +15158,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:15163: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:15161: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:15167: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:15165: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings
|
||||
@@ -15227,11 +15225,11 @@
|
||||
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:15230: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:15228: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:15234: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:15232: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -16592,7 +16590,7 @@
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
x86_64*|s390x*)
|
||||
- echo '#line 16595 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 16593 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -17288,7 +17286,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 17291 "configure"
|
||||
+#line 17289 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -17386,7 +17384,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 17389 "configure"
|
||||
+#line 17387 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -20738,10 +20736,10 @@
|
||||
{ echo "$as_me:$LINENO: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
|
||||
echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
LIBS=$gtk_save_LIBS
|
||||
|
||||
@@ -21066,7 +21064,7 @@
|
||||
( exit $ac_status )
|
||||
no_glib=yes
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
@@ -22003,7 +22001,7 @@
|
||||
( exit $ac_status )
|
||||
ac_cv_header_stdc=no
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -22568,7 +22566,7 @@
|
||||
( exit $ac_status )
|
||||
ac_cv_func_mmap_fixed_mapped=no
|
||||
fi
|
||||
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
fi
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
||||
@@ -26696,7 +26694,7 @@
|
||||
use_xfree_xinerama=yes
|
||||
echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama_pic" >&5
|
||||
echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama_pic... $ECHO_C" >&6
|
||||
-if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
|
||||
+if test "${ac_cv_lib_Xinerama_pic_XineramaQueryExtension+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
@@ -26736,19 +26734,19 @@
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
- ac_cv_lib_Xinerama_XineramaQueryExtension=yes
|
||||
+ ac_cv_lib_Xinerama_pic_XineramaQueryExtension=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
-ac_cv_lib_Xinerama_XineramaQueryExtension=no
|
||||
+ac_cv_lib_Xinerama_pic_XineramaQueryExtension=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
-echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
|
||||
-echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6
|
||||
-if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then
|
||||
+echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_pic_XineramaQueryExtension" >&5
|
||||
+echo "${ECHO_T}$ac_cv_lib_Xinerama_pic_XineramaQueryExtension" >&6
|
||||
+if test $ac_cv_lib_Xinerama_pic_XineramaQueryExtension = yes; then
|
||||
echo "$as_me:$LINENO: checking for X11/extensions/Xinerama.h" >&5
|
||||
echo $ECHO_N "checking for X11/extensions/Xinerama.h... $ECHO_C" >&6
|
||||
if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
|
||||
33
debian/patches/001_gtk+-debian-docfix-dtds.patch
vendored
Normal file
33
debian/patches/001_gtk+-debian-docfix-dtds.patch
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
diff -ruN gtk+-2.2.2.orig/docs/reference/gdk/gdk-docs.sgml gtk+-2.2.2/docs/reference/gdk/gdk-docs.sgml
|
||||
--- gtk+-2.2.2.orig/docs/reference/gdk/gdk-docs.sgml 2002-11-22 05:19:00.000000000 +0900
|
||||
+++ gtk+-2.2.2/docs/reference/gdk/gdk-docs.sgml 2003-08-05 02:02:01.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
+ "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY gdk-General SYSTEM "xml/general.xml">
|
||||
<!ENTITY gdk-Bitmaps-and-Pixmaps SYSTEM "xml/pixmaps.xml">
|
||||
<!ENTITY gdk-Images SYSTEM "xml/images.xml">
|
||||
diff -ruN gtk+-2.2.2.orig/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml gtk+-2.2.2/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml
|
||||
--- gtk+-2.2.2.orig/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml 2002-11-22 05:19:00.000000000 +0900
|
||||
+++ gtk+-2.2.2/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml 2003-08-05 02:01:37.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
+ "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY gdk-pixbuf-gdk-pixbuf SYSTEM "xml/gdk-pixbuf.xml">
|
||||
<!ENTITY gdk-pixbuf-refcounting SYSTEM "xml/refcounting.xml">
|
||||
<!ENTITY gdk-pixbuf-file-loading SYSTEM "xml/file-loading.xml">
|
||||
diff -ruN gtk+-2.2.2.orig/docs/reference/gtk/gtk-docs.sgml gtk+-2.2.2/docs/reference/gtk/gtk-docs.sgml
|
||||
--- gtk+-2.2.2.orig/docs/reference/gtk/gtk-docs.sgml 2003-05-06 03:16:06.000000000 +0900
|
||||
+++ gtk+-2.2.2/docs/reference/gtk/gtk-docs.sgml 2003-08-05 02:00:43.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
+ "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" [
|
||||
<!ENTITY GtkAccelLabel SYSTEM "xml/gtkaccellabel.xml">
|
||||
<!ENTITY GtkAdjustment SYSTEM "xml/gtkadjustment.xml">
|
||||
<!ENTITY GtkAlignment SYSTEM "xml/gtkalignment.xml">
|
||||
1218
debian/patches/001_gtk+-ximian-gtk2-filesel-navbutton-5.patch
vendored
Normal file
1218
debian/patches/001_gtk+-ximian-gtk2-filesel-navbutton-5.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
356
debian/rules
vendored
Executable file
356
debian/rules
vendored
Executable file
@ -0,0 +1,356 @@
|
||||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
include debian/scripts/vars
|
||||
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_INDEP_DIR=$(SOURCE_DIR)/$(TAR_DIR)-indep
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# These are used for cross-compiling and for saving the configure script
|
||||
# from having to guess our platform (since we know it already)
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
##
|
||||
version=$(shell dpkg-parsechangelog | grep '^Version: ' | sed -e 's/^Version: //' -e 's/-[A-Za-z0-9\.]*$$//g' -e 's/+[A-Za-z0-9\.]*$$//g')
|
||||
major=$(shell echo ${version} | sed -e 's/\(^[0-9]*\)\.[0-9]*\.[0-9]*$$/\1/')
|
||||
minor=$(shell echo ${version} | sed -e 's/^[0-9]*\.\([0-9]*\)\.[0-9]*$$/\1/')
|
||||
rel=$(shell echo ${version} | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/')
|
||||
shortver=$(major).$(minor)
|
||||
apiver=2.0
|
||||
soname=0
|
||||
suffix=
|
||||
modver=$(major).$(minor).0
|
||||
glibver=2.0
|
||||
atkver=1.0
|
||||
pangover=1.0
|
||||
shver=2.2.1
|
||||
libpath=$(CURDIR)/$(BUILD_SHARED_DIR)/gdk-pixbuf/.libs:$(CURDIR)/$(BUILD_SHARED_DIR)/gdk/.libs:$(CURDIR)/$(BUILD_SHARED_DIR)/gtk/.libs
|
||||
|
||||
|
||||
debian/control:
|
||||
dh_testdir
|
||||
|
||||
sed -e 's/@SONAME@/${soname}${suffix}/g' -e 's/@VERSION@/${version}/g' $@.in > $@
|
||||
|
||||
extract: $(STAMP_DIR)/extract-stamp
|
||||
$(STAMP_DIR)/extract-stamp:
|
||||
dh_testdir
|
||||
|
||||
$(MAKE) -f debian/sys-build.mk source.make
|
||||
|
||||
-test -r /usr/share/misc/config.sub && \
|
||||
cp -f /usr/share/misc/config.sub $(BUILD_DIR)/config.sub
|
||||
-test -r /usr/share/misc/config.guess && \
|
||||
cp -f /usr/share/misc/config.guess $(BUILD_DIR)/config.guess
|
||||
|
||||
-rm -rf $(BUILD_DIR)/docs/faq/html
|
||||
-rm -rf $(BUILD_DIR)/docs/reference/gtk/html
|
||||
-rm -rf $(BUILD_DIR)/docs/tutorial/html
|
||||
|
||||
touch $@
|
||||
|
||||
configure-shared: extract $(STAMP_DIR)/configure-shared-stamp
|
||||
$(STAMP_DIR)/configure-shared-stamp:
|
||||
dh_testdir
|
||||
|
||||
cp -ar $(BUILD_DIR) $(BUILD_SHARED_DIR)
|
||||
|
||||
# Add here commands to configure the package.
|
||||
cd $(BUILD_SHARED_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=yes \
|
||||
--enable-shared \
|
||||
--disable-static
|
||||
|
||||
cd $(BUILD_SHARED_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-static: extract $(STAMP_DIR)/configure-static-stamp
|
||||
$(STAMP_DIR)/configure-static-stamp:
|
||||
dh_testdir
|
||||
|
||||
cp -ar $(BUILD_DIR) $(BUILD_STATIC_DIR)
|
||||
|
||||
# Add here commands to configure the package.
|
||||
cd $(BUILD_STATIC_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-xinput=yes \
|
||||
--disable-modules \
|
||||
--with-included-loaders=yes \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
|
||||
cd $(BUILD_STATIC_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-indep: extract $(STAMP_DIR)/configure-indep-stamp
|
||||
$(STAMP_DIR)/configure-indep-stamp:
|
||||
dh_testdir
|
||||
|
||||
cp -ar $(BUILD_DIR) $(BUILD_INDEP_DIR)
|
||||
|
||||
# Add here commands to configure the package.
|
||||
cd $(BUILD_INDEP_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=yes \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-gtk-doc
|
||||
|
||||
cd $(BUILD_INDEP_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
|
||||
|
||||
build-indep: debian/control configure-indep $(STAMP_DIR)/build-indep-stamp
|
||||
$(STAMP_DIR)/build-indep-stamp:
|
||||
dh_testdir
|
||||
|
||||
-rm -f $(STAMP_DIR)/install-test-stamp
|
||||
|
||||
$(MAKE) -C $(BUILD_INDEP_DIR) \
|
||||
LD_LIBRARY_PATH=$(libpath):$(LD_LIBRARY_PATH)
|
||||
# regenerating html files
|
||||
# -- needs to update due to applying the patches.
|
||||
$(MAKE) -C $(BUILD_INDEP_DIR)/docs/faq html
|
||||
$(MAKE) -C $(BUILD_INDEP_DIR)/docs/reference
|
||||
$(MAKE) -C $(BUILD_INDEP_DIR)/docs/tutorial html
|
||||
|
||||
touch $@
|
||||
|
||||
build-shared: debian/control configure-shared $(STAMP_DIR)/build-shared-stamp
|
||||
$(STAMP_DIR)/build-shared-stamp:
|
||||
dh_testdir
|
||||
|
||||
-rm -f $(STAMP_DIR)/install-test-stamp
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE) -C $(BUILD_SHARED_DIR) \
|
||||
LD_LIBRARY_PATH=$(libpath):$(LD_LIBRARY_PATH)
|
||||
|
||||
touch $@
|
||||
|
||||
build-static: debian/control configure-static $(STAMP_DIR)/build-static-stamp
|
||||
$(STAMP_DIR)/build-static-stamp:
|
||||
dh_testdir
|
||||
|
||||
-rm -f $(STAMP_DIR)/install-test-stamp
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE) -C $(BUILD_STATIC_DIR) \
|
||||
RUN_QUERY_IMMODULES_TEST=false
|
||||
|
||||
touch $@
|
||||
|
||||
build: build-static build-shared
|
||||
|
||||
clean:: debian/control
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
$(MAKE) -f debian/sys-build.mk source.clean
|
||||
-rm -rf $(BUILD_SHARED_DIR)
|
||||
-rm -rf $(BUILD_STATIC_DIR)
|
||||
-rm -rf $(STAMP_DIR)
|
||||
|
||||
dh_clean
|
||||
|
||||
install-test: $(STAMP_DIR)/install-test-stamp
|
||||
$(STAMP_DIR)/install-test-stamp:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
touch $@
|
||||
|
||||
install-shared: build-shared install-test
|
||||
# Add here commands to install the package into debian/tmp
|
||||
$(MAKE) -C $(BUILD_SHARED_DIR) install \
|
||||
DESTDIR=$(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)
|
||||
|
||||
install-static: build-static install-test
|
||||
# Add here commands to install the package into debian/tmp
|
||||
$(MAKE) -C $(BUILD_STATIC_DIR) install \
|
||||
DESTDIR=$(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix) \
|
||||
RUN_QUERY_IMMODULES_TEST=false \
|
||||
RUN_QUERY_LOADER_TEST=false
|
||||
|
||||
install-indep: build-indep install-test
|
||||
$(MAKE) -C $(BUILD_INDEP_DIR)/docs install \
|
||||
DESTDIR=$(CURDIR)/debian/libgtk$(apiver)-doc
|
||||
|
||||
# for -doc
|
||||
cp -a $(BUILD_INDEP_DIR)/docs/faq/html debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-faq/
|
||||
cp -a $(BUILD_INDEP_DIR)/docs/tutorial/html debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-tutorial/
|
||||
cp -ar $(BUILD_INDEP_DIR)/docs/tutorial/images debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc/gtk-tutorial/
|
||||
cp $(BUILD_INDEP_DIR)/docs/*.txt debian/libgtk$(apiver)-doc/usr/share/doc/libgtk$(apiver)-doc
|
||||
|
||||
install: install-static install-shared
|
||||
# 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
|
||||
|
||||
# for -dbg
|
||||
-rm -rf $(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)/usr/lib/debug
|
||||
mkdir -p $(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)/usr/lib/debug
|
||||
for l in `find $(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)/usr/lib -name 'lib*.so*'`; do \
|
||||
cp -vdf $$l \
|
||||
$(CURDIR)/debian/libgtk$(apiver)-$(soname)$(suffix)/usr/lib/debug; \
|
||||
done
|
||||
|
||||
# debian files
|
||||
install -m 755 $(CURDIR)/debian/update-gtk-immodules \
|
||||
$(CURDIR)/debian/libgtk$(apiver)-common/usr/sbin/
|
||||
install -m 755 $(CURDIR)/debian/update-gdkpixbuf-loaders \
|
||||
$(CURDIR)/debian/libgtk$(apiver)-common/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; \
|
||||
done
|
||||
|
||||
# clean the unnecessary files up
|
||||
rm -rf debian/libgtk$(apiver)-$(soname)$(suffix)/usr/share/gtk-doc
|
||||
|
||||
dh_movefiles --sourcedir=debian/libgtk$(apiver)-$(soname)$(suffix)
|
||||
-find $(CURDIR)/debian/ -type d -empty | xargs rmdir -p 2>&1 > /dev/null
|
||||
|
||||
# don't delete /etc/gtk-2.0
|
||||
install -d $(CURDIR)/debian/libgtk$(apiver)-common/etc/gtk-$(apiver)
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build build-indep install-indep
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
|
||||
dh_installdocs -i
|
||||
|
||||
dh_link -plibgtk$(apiver)-doc \
|
||||
usr/share/doc/libglib$(glibver)-doc/glib \
|
||||
usr/share/doc/libgtk$(apiver)-doc/glib
|
||||
dh_link -plibgtk$(apiver)-doc \
|
||||
usr/share/doc/libglib$(glibver)-doc/gobject \
|
||||
usr/share/doc/libgtk$(apiver)-doc/gobject
|
||||
dh_link -plibgtk$(apiver)-doc \
|
||||
usr/share/doc/libatk$(atkver)-doc/atk \
|
||||
usr/share/doc/libgtk$(apiver)-doc/atk
|
||||
dh_link -plibgtk$(apiver)-doc \
|
||||
usr/share/doc/libpango$(pangover)-doc/pango \
|
||||
usr/share/doc/libgtk$(apiver)-doc/pango
|
||||
|
||||
# create symlinks in /usr/share/gtk-doc/html
|
||||
for i in gdk gdk-pixbuf gtk gtk-faq gtk-tutorial; do \
|
||||
dh_link -plibgtk$(apiver)-doc \
|
||||
usr/share/doc/libgtk$(apiver)-doc/$$i \
|
||||
usr/share/gtk-doc/html/$$i; \
|
||||
done
|
||||
|
||||
dh_installexamples -i
|
||||
dh_installinfo -i
|
||||
dh_installchangelogs -i $(BUILD_DIR)/ChangeLog
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
|
||||
# dh_installdebconf
|
||||
dh_installdocs -a
|
||||
|
||||
rm -rf $(CURDIR)/debian/libgtk$(apiver)-dbg/usr/share/doc/libgtk$(apiver)-dbg
|
||||
rm -rf $(CURDIR)/debian/libgtk$(apiver)-dev/usr/share/doc/libgtk$(apiver)-dev
|
||||
rm -rf $(CURDIR)/debian/libgtk$(apiver)-common/usr/share/doc/libgtk$(apiver)-common
|
||||
rm -rf $(CURDIR)/debian/libgtk-common/usr/share/doc/libgtk-common
|
||||
|
||||
dh_link -plibgtk$(apiver)-dbg \
|
||||
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
|
||||
usr/share/doc/libgtk$(apiver)-dbg
|
||||
dh_link -plibgtk$(apiver)-dev \
|
||||
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
|
||||
usr/share/doc/libgtk$(apiver)-dev
|
||||
dh_link -plibgtk$(apiver)-common \
|
||||
usr/share/doc/libgtk$(apiver)-$(soname)$(suffix) \
|
||||
usr/share/doc/libgtk$(apiver)-common
|
||||
dh_link -plibgtk-common \
|
||||
usr/share/doc/libgtk$(apiver)-common \
|
||||
usr/share/doc/libgtk-common
|
||||
|
||||
dh_installexamples -a
|
||||
|
||||
rm $(CURDIR)/debian/gtk$(apiver)-examples/usr/share/doc/gtk$(apiver)-examples/examples/find-examples.sh
|
||||
|
||||
dh_installman -a
|
||||
dh_installinfo -a
|
||||
dh_installchangelogs -a $(BUILD_DIR)/ChangeLog
|
||||
dh_strip -a -Nlibgtk$(apiver)-dbg
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_makeshlibs -a -Nlibgtk$(apiver)-dbg
|
||||
dh_makeshlibs -n -X usr/lib/gtk-$(apiver) -plibgtk$(apiver)-$(soname)$(suffix) -V "libgtk${apiver}-${soname}${suffix} (>= ${shver})"
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -l$(libpath) -a
|
||||
cat debian/*/DEBIAN/shlibs > 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
|
||||
11
debian/scripts/Makefile
vendored
Normal file
11
debian/scripts/Makefile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/make -f
|
||||
all: sh.vars mk.vars
|
||||
|
||||
clean:
|
||||
rm -f sh.vars mk.vars
|
||||
|
||||
mk.vars: vars.build vars
|
||||
$(SHELL) vars.build vars make > $@
|
||||
sh.vars: vars.build vars
|
||||
$(SHELL) vars.build vars shell > $@
|
||||
|
||||
22
debian/scripts/archmap
vendored
Normal file
22
debian/scripts/archmap
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
# i486 i386 i486 i586 pentium pentiumpro
|
||||
if [ $(basename $0) = archmap ];then
|
||||
if [ -z $1 ];then
|
||||
arch=$(dpkg --print-gnu-build-architecture)
|
||||
else
|
||||
arch=$1
|
||||
fi
|
||||
else
|
||||
if [ -z $arch ];then
|
||||
arch=$(dpkg --print-gnu-build-architecture)
|
||||
fi
|
||||
fi
|
||||
set -- $(egrep ".* $arch( .*|$)" debian/scripts/archmap)
|
||||
if [ -z $2 ];then
|
||||
arch=$arch
|
||||
else
|
||||
arch=$2
|
||||
fi
|
||||
if [ $(basename $0) = archmap ];then
|
||||
echo $arch
|
||||
fi
|
||||
56
debian/scripts/getglibcversion
vendored
Normal file
56
debian/scripts/getglibcversion
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
#!/bin/sh
|
||||
# GNU C library version detection shell script.
|
||||
# Copyright 1999 Branden Robinson.
|
||||
# Licensed under the GNU General Public License, version 2. See the file
|
||||
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
|
||||
|
||||
# This script probably makes about a billion too many assumptions, but it's
|
||||
# better than hardcoding the glibc version on a per-architecture basis.
|
||||
|
||||
set -e
|
||||
|
||||
usage () {
|
||||
echo "Usage: getglibcversion [option]"
|
||||
echo " Where [option] may be one of:"
|
||||
echo " --major return major version only"
|
||||
echo " --minor return minor version only"
|
||||
echo " --point return ittybitty version only"
|
||||
echo "With no option, returns major.minor.ittybitty .";
|
||||
}
|
||||
|
||||
case $# in
|
||||
0) ;;
|
||||
1) case $1 in
|
||||
--help) usage
|
||||
exit 0 ;;
|
||||
--major) RETURN=1 ;;
|
||||
--minor) RETURN=2 ;;
|
||||
--point) RETURN=3 ;;
|
||||
*) exec 1>&2
|
||||
usage
|
||||
exit 1 ;;
|
||||
esac ;;
|
||||
*) exec 1>&2
|
||||
usage
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
LIBCLIST=$(cd /lib && ls libc-*.so)
|
||||
|
||||
case $(echo $LIBCLIST | wc -l | awk '{print $1}') in
|
||||
0) echo "No GNU C library found! Aborting." >&2
|
||||
exit 1 ;;
|
||||
1) ;;
|
||||
*) echo "Multiple versions of GNU C library found! Aborting." >&2
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
LIBCVERSION=$(echo $LIBCLIST | sed 's/libc-//;s/\.so//')
|
||||
|
||||
if [ -z $RETURN ]; then
|
||||
echo $LIBCVERSION
|
||||
else
|
||||
echo $LIBCVERSION | cut -d. -f$RETURN
|
||||
fi
|
||||
|
||||
exit 0
|
||||
198
debian/scripts/lib
vendored
Normal file
198
debian/scripts/lib
vendored
Normal file
@ -0,0 +1,198 @@
|
||||
#!/bin/sh
|
||||
if [ $(basename $0) = lib ];then
|
||||
make -C debian/scripts sh.vars
|
||||
. debian/scripts/sh.vars
|
||||
fi
|
||||
fetchmsg() {
|
||||
local msg
|
||||
msg=$1;shift
|
||||
eval echo $(sed -ne "s/^$(BASENAME):$msg://p" debian/scripts/messages)
|
||||
}
|
||||
START() {
|
||||
echo -n "$(fetchmsg START "$@") "
|
||||
}
|
||||
OK() {
|
||||
fetchmsg OK "$@"
|
||||
}
|
||||
FAILED() {
|
||||
fetchmsg FAILED "$@"
|
||||
}
|
||||
ALREADY_DONE() {
|
||||
fetchmsg ALREADY_DONE "$@"
|
||||
}
|
||||
|
||||
BASENAME() {
|
||||
local base
|
||||
if [ "$cmd" ];then
|
||||
base=$cmd
|
||||
else
|
||||
base=${0##*/}
|
||||
fi
|
||||
if [ x$base = x ];then
|
||||
echo "Danger, Will Robinson, Danger!" 1>&2
|
||||
echo "Bash is very confused." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
if [ x$base = xlib ];then
|
||||
echo "You can't call this directly." 1>&2
|
||||
echo "This is a library that should be sourced." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
echo $base
|
||||
}
|
||||
file2cat() {
|
||||
$(decompress_prog $1) $1
|
||||
}
|
||||
debug() {
|
||||
echo "$@"
|
||||
eval "$@"
|
||||
}
|
||||
decompress_prog() {
|
||||
local which
|
||||
which="cat"
|
||||
[ $1 != ${1%.tgz} -o $1 != ${1%.gz} -o $1 != ${1%.Z} ] && which="gunzip -c"
|
||||
[ $1 != ${1%.bz2} ] && which="bunzip2 -c"
|
||||
[ $1 != ${1%.bz} ] && which="bunzip -c"
|
||||
echo $which
|
||||
}
|
||||
compress_ext() {
|
||||
local which
|
||||
which=""
|
||||
[ $1 != ${1%.gz} ] && which=gz
|
||||
[ $1 != ${1%.Z} ] && which=Z
|
||||
[ $1 != ${1%.bz2} ] && which=bz2
|
||||
[ $1 != ${1%.bz} ] && which=bz
|
||||
echo $which
|
||||
}
|
||||
filetype_detect() {
|
||||
local which f
|
||||
which=""
|
||||
f=$(echo "$1" | sed 's|:::.*||')
|
||||
[ $f != ${f%.jar} ] && which=jarfile
|
||||
[ $f != ${f%.zip} ] && which=zipfile
|
||||
[ $f != ${f%.tgz} ] && which=tarball
|
||||
[ $f != ${f%.tar.$(compress_ext $f)} ] && which=tarball
|
||||
[ $f != ${f%.tar} ] && which=tarball
|
||||
[ $f != ${f%.diff.$(compress_ext $f)} -o $1 != ${1%.patch.$(compress_ext $1)} ] && which=patch
|
||||
[ $f != ${f%.diff} -o $1 != ${1%.patch} ] && which=patch
|
||||
[ $f != ${f%.dsc} ] && which=dsc
|
||||
echo $which
|
||||
}
|
||||
extract_tar() {
|
||||
local which file dir curd
|
||||
dir="$1"
|
||||
shift
|
||||
curd=$(pwd)
|
||||
while [ $# -gt 0 ];do
|
||||
file="$1"
|
||||
[ "$file" = "${1#/}" ] && file="$curd/$file"
|
||||
case "$(filetype_detect $file)" in
|
||||
"jarfile") (cd $dir;fastjar -xf $file);;
|
||||
"zipfile") (cd $dir;miniunzip -x $file);;
|
||||
"tarball") $(decompress_prog $file) $file | (cd $dir;tar xv);;
|
||||
*) echo "unsupported tarball";;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
do.patching() {
|
||||
filetmpl=\$d/\$f
|
||||
reversesort=""
|
||||
reversepatch=""
|
||||
|
||||
case "$cmd" in
|
||||
source.patch)
|
||||
mkdir -p $SOURCE_DIR/$TAR_DIR
|
||||
patch_dirs="$SRC_PATCH_DIR $SRC_ADD_PATCH_DIR"
|
||||
stampfiletmpl=\$STAMP_DIR/\$d/\$f
|
||||
logtmpl=\$STAMP_DIR/log/\$d/\$f
|
||||
dirprep="\$STAMP_DIR/log/\$d \$STAMP_DIR/\$d"
|
||||
patchapplydirtmpl=\$SOURCE_DIR/\$TAR_DIR
|
||||
;;
|
||||
patch.apply)
|
||||
mkdir -p $SOURCE_DIR/$TAR_DIR $STAMP_DIR/patches
|
||||
patch_dirs="$PATCH_DIR $ADD_PATCH_DIR"
|
||||
stampfiletmpl=\$STAMP_DIR/patches/\$f
|
||||
logtmpl=\$STAMP_DIR/log/\$d/\$f
|
||||
dirprep=\$STAMP_DIR/log/\$d
|
||||
patchapplydirtmpl=\$SOURCE_DIR/\$TAR_DIR
|
||||
;;
|
||||
fix.source.patch)
|
||||
if [ "$DBS_UNIFIED" -o ! -e debian/fixpatch ];then
|
||||
exit
|
||||
fi
|
||||
mkdir -p $STAMP_DIR/fixpatch
|
||||
patch_dirs=debian/fixpatch
|
||||
stampfiletmpl="$STAMP_DIR/fixpatch/\$(basename \$f)"
|
||||
logtmpl=\$STAMP_DIR/log/fixpatch/\$f
|
||||
dirprep=\$STAMP_DIR/log/fixpatch
|
||||
patchapplydirtmpl=upstream
|
||||
;;
|
||||
unfix.source.patch)
|
||||
if [ "$DBS_UNIFIED" -o ! -e debian/fixpatch ];then
|
||||
exit
|
||||
fi
|
||||
mkdir -p $STAMP_DIR/fixpatch
|
||||
patch_dirs=debian/fixpatch
|
||||
stampfiletmpl="$STAMP_DIR/fixpatch/\$(basename \$f)"
|
||||
logtmpl=\$STAMP_DIR/log/fixpatch/\$f
|
||||
dirprep=\$STAMP_DIR/log/fixpatch
|
||||
patchapplydirtmpl=upstream
|
||||
reversesort=-r
|
||||
reversepatch=-R
|
||||
;;
|
||||
esac
|
||||
for d in $patch_dirs;do
|
||||
if [ ! -d $d ];then
|
||||
continue
|
||||
fi
|
||||
eval mkdir -p $dirprep
|
||||
for f in `(cd $d;find -type f ! -name 'chk-*' 2>/dev/null )|sort $reversesort`;do
|
||||
eval stampfile=$stampfiletmpl
|
||||
eval log=$logtmpl
|
||||
eval file=$filetmpl
|
||||
eval patchapplydir=$patchapplydirtmpl
|
||||
if [ ! -e $stampfile ];then
|
||||
START $file
|
||||
if file2cat $file | (cd $patchapplydir;patch -p1 $reversepatch) > $log;then
|
||||
OK $file
|
||||
touch $stampfile
|
||||
else
|
||||
FAILED $file
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
ALREADY_DONE $file
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
}
|
||||
#
|
||||
# External api functions.
|
||||
#
|
||||
|
||||
source.clean() {
|
||||
if [ "$DBS_UNIFIED" ];then
|
||||
exit
|
||||
fi
|
||||
rm -rf $SOURCE_DIR $STAMP_DIR/upstream $STAMP_DIR/patches
|
||||
rm -f $STAMP_DIR/{source.{clean,build,make}}
|
||||
return
|
||||
if [ x$SOURCE_DIR = x ];then
|
||||
files=`find -type f -maxdepth 1 -mindepth 1`
|
||||
dirs=`find -type d -maxdepth 1 -mindepth 1 ! -name 'debian' ! -name 'upstream'`
|
||||
echo files=\"$files\"
|
||||
echo dirs=\"$dirs\"
|
||||
fi
|
||||
|
||||
}
|
||||
source.patch() { cmd=source.patch; do.patching; }
|
||||
fix.source.patch() { cmd=fix.source.patch; do.patching; }
|
||||
unfix.source.patch() { cmd=unfix.source.patch; do.patching; }
|
||||
patch.apply() { cmd=patch.apply; do.patching; }
|
||||
|
||||
if [ $(basename $0) = lib ];then
|
||||
$1
|
||||
fi
|
||||
29
debian/scripts/messages
vendored
Normal file
29
debian/scripts/messages
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
fix.source.patch:START:"Fixing upstream patch $1"
|
||||
fix.source.patch:OK:"successful."
|
||||
fix.source.patch:FAILED:"failed!"
|
||||
fix.source.patch:ALREADY_DONE:"upstream patch fixup $1 already applied!"
|
||||
|
||||
unfix.source.patch:START:"Unfixing upstream patch $1
|
||||
unfix.source.patch:OK:"successful."
|
||||
unfix.source.patch:FAILED:"failed!
|
||||
unfix.source.patch:ALREADY_DONE:"upstream patch fixup $1 already reversed!"
|
||||
|
||||
patch.unapply:START:"Reversing patch $1"
|
||||
patch.unapply:OK:"successful."
|
||||
patch.unapply:FAILED:"failed!"
|
||||
patch.unapply:ALREADY_DONE:"Patch $1 not applied!"
|
||||
|
||||
patch.apply:START:"Applying patch $1"
|
||||
patch.apply:OK:"successful."
|
||||
patch.apply:FAILED:"failed!"
|
||||
patch.apply:ALREADY_DONE:"Patch $1 already applied!"
|
||||
|
||||
source.patch:START:"Applying upstream patch $1"
|
||||
source.patch:OK:"successful."
|
||||
source.patch:FAILED:"failed!"
|
||||
source.patch:ALREADY_DONE:"upstream patch $1 already applied!"
|
||||
|
||||
source.unpack:START:"Extracting upstream tarball $1"
|
||||
source.unpack:OK:"successful."
|
||||
source.unpack:FAILED:"failed!"
|
||||
source.unpack:ALREADY_DONE:"upstream tarball $1 already extracted!"
|
||||
32
debian/scripts/source.unpack
vendored
Normal file
32
debian/scripts/source.unpack
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
make -C debian/scripts sh.vars
|
||||
. debian/scripts/sh.vars
|
||||
. debian/scripts/lib
|
||||
|
||||
mkdir -p $STAMP_DIR/upstream/tarballs/ $SOURCE_DIR
|
||||
if [ ! -z "$SRC_TAR_DIR" -a -d "$SRC_TAR_DIR" ];then
|
||||
files=$(find $SRC_TAR_DIR -type f|sort)
|
||||
else
|
||||
VER=$(dpkg-parsechangelog 2>&1|egrep ^Version|cut -d " " -f 2|cut -d "-" -f 1)
|
||||
SRC=$(dpkg-parsechangelog 2>&1|egrep ^Source|cut -d " " -f 2-)
|
||||
files=../${SRC}_${VER}.orig.tar.gz
|
||||
fi
|
||||
for f in $files;do
|
||||
stampfile=$STAMP_DIR/upstream/tarballs/`basename $f`
|
||||
if [ ! -e $stampfile ];then
|
||||
START $f
|
||||
if extract_tar ${SOURCE_DIR:-.} $f > $stampfile.log;then
|
||||
if [ x$SOURCE_DIR = x ];then
|
||||
mkdir -p $STAMP_DIR/upstream/files/tarballs
|
||||
cp $stampfile.log $STAMP_DIR/upstream/files/tarballs/`basename $f`.list
|
||||
fi
|
||||
OK $f
|
||||
touch $stampfile
|
||||
else
|
||||
FAILED $f
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
ALREADY_DONE $f
|
||||
fi
|
||||
done
|
||||
31
debian/scripts/vars
vendored
Normal file
31
debian/scripts/vars
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
# This file is NOT a shell script.
|
||||
#
|
||||
# This file gets included by both debian/rules (make) AND the scripts in
|
||||
# debian/scripts (bash)
|
||||
#
|
||||
|
||||
# Where to cd to to unpack all the tarballs.
|
||||
SOURCE_DIR=build-tree
|
||||
# For a single pkg, this is the directory that is embedded in the tarball.
|
||||
# For multiple pkgs, this is null.
|
||||
TAR_DIR=gtk+-2.2.4
|
||||
# Where to place all the stamp files. This directory can be removed, and
|
||||
# all the targets will then be rerun.
|
||||
STAMP_DIR=debian/stampdir
|
||||
# When sys-build.mk is used to build the source, this is the target(s) to
|
||||
# run.
|
||||
BUILD_TARGET=
|
||||
# When cleaning the source, during diff generation, if this is set, this
|
||||
# target will be called in debian/rules. This allows for pkgs that have
|
||||
# complicated cleaning rules.
|
||||
CLEAN_TARGET_EXTERNAL=
|
||||
# Whether to die if the source cleaning fails.
|
||||
CLEAN_IGNORE=yes
|
||||
# The clean target to run. Defaults to clean.
|
||||
CLEAN_TARGET=distclean
|
||||
# Files to exclude from the diff.
|
||||
DIFF_EXCLUDE="Makefile.in configure"
|
||||
# Where the patches are located(duh!).
|
||||
PATCH_DIR=debian/patches
|
||||
SRC_PATCH_DIR=upstream/patches
|
||||
SRC_TAR_DIR=upstream/tarballs
|
||||
17
debian/scripts/vars.build
vendored
Normal file
17
debian/scripts/vars.build
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
sed_cmd=''
|
||||
cat $1 | while read REPLY; do
|
||||
case "$REPLY" in
|
||||
\#*|"") continue;;
|
||||
*)
|
||||
var=$(echo $REPLY|sed 's/\([^=]*\)=.*/\1/')
|
||||
eval $REPLY
|
||||
if [ $2 = "make" ]; then
|
||||
eval echo "$var=\$$var"
|
||||
else
|
||||
eval echo "$var=\\\"\$$var\\\""
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
1
debian/sources
vendored
Normal file
1
debian/sources
vendored
Normal file
@ -0,0 +1 @@
|
||||
upstream tar ../gtk+-2.2.4.tar.gz
|
||||
167
debian/sys-build.mk
vendored
Normal file
167
debian/sys-build.mk
vendored
Normal file
@ -0,0 +1,167 @@
|
||||
#!/usr/bin/make -f
|
||||
# Separate tarball/patch build system by Adam Heath <doogie@debian.org>
|
||||
|
||||
# The magic targets that you need to concern yourself with are:
|
||||
#
|
||||
# source.build: Unpacks upstream tarballs, optionally applies patches
|
||||
# to fix the upstream patches, then applies upstream
|
||||
# patches.
|
||||
# source.make: Applies debian patches.
|
||||
# source.clean: Cleans the build directory, then unfixes the upstream
|
||||
# patches.
|
||||
# source.compile: Will compile the source for you. Please check
|
||||
# debian/scripts/vars.
|
||||
# source.cmd: When calling this target, if you define a variable
|
||||
# SOURCE_CMD, it will run that command in the build
|
||||
# tree.
|
||||
# make-diff: Generates debian.diff in the current directory which
|
||||
# contains all edits that are currently in the build
|
||||
# tree.
|
||||
#
|
||||
# Nothing in this file should require any editting. Please look at
|
||||
# debian/scripts/vars for things to change for the local environment.
|
||||
#
|
||||
# debian/rules target command
|
||||
# ----------------------------------------------------------------
|
||||
# clean: $(MAKE) -f debian/sys-build.mk source.clean
|
||||
# build: $(MAKE) -f debian/sys-build.mk source.compile
|
||||
# for simple systems.
|
||||
# build: $(MAKE) -f debian/sys-build.mk source.make
|
||||
# and, in the rules file, you can
|
||||
# build the targets you want.
|
||||
SHELL=/bin/bash
|
||||
ifndef NOISY
|
||||
.SILENT:
|
||||
endif
|
||||
|
||||
include debian/scripts/vars
|
||||
# remove quotes
|
||||
DIFF_EXCLUDE:=$(patsubst %,-x %,$(shell echo $(DIFF_EXCLUDE)))
|
||||
|
||||
ifdef TAR_DIR
|
||||
BUILD_TREE=$(SOURCE_DIR)/$(TAR_DIR)
|
||||
else
|
||||
BUILD_TREE=$(SOURCE_DIR)
|
||||
endif
|
||||
|
||||
SOURCE_CMD=:
|
||||
|
||||
ifdef CLEAN_IGNORE
|
||||
CLEAN_CMD=-
|
||||
CLEAN_SH=
|
||||
else
|
||||
CLEAN_CMD=
|
||||
CLEAN_SH=
|
||||
endif
|
||||
ifndef CLEAN_TARGET
|
||||
CLEAN_TARGET=clean
|
||||
endif
|
||||
|
||||
foo:
|
||||
echo $(DIFF_EXCLUDE)
|
||||
|
||||
make-diff:
|
||||
mv $(BUILD_TREE) bak
|
||||
$(MAKE) -f debian/sys-build.mk source.clean
|
||||
$(MAKE) -f debian/sys-build.mk source.make
|
||||
mv $(BUILD_TREE) $(BUILD_TREE).orig
|
||||
mv bak $(BUILD_TREE)
|
||||
|
||||
ifdef TAR_DIR
|
||||
ifdef CLEAN_TARGET_EXTERNAL
|
||||
$(CLEAN_CMD)$(MAKE) -f debian/rules $(CLEAN_TARGET_EXTERNAL)
|
||||
else
|
||||
$(CLEAN_CMD)$(MAKE) -C $(BUILD_TREE) $(CLEAN_TARGET)
|
||||
endif
|
||||
-(cd $(SOURCE_DIR);diff -ruN $(TAR_DIR).orig $(TAR_DIR) $(DIFF_EXCLUDE)) > debian.diff
|
||||
else
|
||||
ifdef CLEAN_TARGET_EXTERNAL
|
||||
$(CLEAN_CMD)$(MAKE) -f debian/rules $(CLEAN_TARGET_EXTERNAL)
|
||||
else
|
||||
$(CLEAN_CMD)for a in $(BUILD_TREE)/*;do $(MAKE) -C $$a $(CLEAN_TARGET);done
|
||||
endif
|
||||
-(diff -ruN $(BUILD_TREE).orig $(BUILD_TREE) $(DIFF_EXCLUDE)) > debian.diff
|
||||
if [ ! -s debian.diff ];then\
|
||||
rm debian.diff;\
|
||||
fi
|
||||
endif
|
||||
rm -rf $(BUILD_TREE).orig
|
||||
|
||||
patchapply: $(STAMP_DIR)/patchapply
|
||||
$(STAMP_DIR)/patchapply: $(STAMP_DIR)/source.build $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/lib patch.apply
|
||||
touch $@
|
||||
rm -f $(STAMP_DIR)/patchunapply
|
||||
|
||||
patchunapply: $(STAMP_DIR)/patchunapply
|
||||
$(STAMP_DIR)/patchunapply: $(STAMP_DIR)/source.build $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/lib patch.unapply
|
||||
touch $@
|
||||
rm -f $(STAMP_DIR)/patchapply
|
||||
|
||||
.export: SOURCE_TREE
|
||||
|
||||
#
|
||||
# The rules that really do the work all start with $(STAMPDIR)
|
||||
# This little trick allows us to use stamp files to keep us from
|
||||
# having to rerun long targets over and over. It also puts
|
||||
# all stamp files in one place, for easy cleaning.
|
||||
#
|
||||
# If a stampdir rule depends on something else, be sure it is
|
||||
# another stampdir rule. Depending on base rule won't work.
|
||||
#
|
||||
|
||||
source.build: $(STAMP_DIR)/source.build
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.build
|
||||
$(STAMP_DIR)/source.build: $(STAMP_DIR)/source.unpack $(STAMP_DIR)/source.patch $(STAMP_DIR)
|
||||
touch $@
|
||||
|
||||
source.make: $(STAMP_DIR)/source.make
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.make
|
||||
$(STAMP_DIR)/source.make: $(STAMP_DIR)/source.build $(STAMP_DIR)/patchapply $(STAMP_DIR)
|
||||
touch $@
|
||||
|
||||
source.unpack: $(STAMP_DIR)/source.unpack
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.unpack
|
||||
$(STAMP_DIR)/source.unpack: $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/source.unpack
|
||||
touch $@
|
||||
|
||||
source.patch: $(STAMP_DIR)/source.patch
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.patch
|
||||
$(STAMP_DIR)/source.patch: $(STAMP_DIR)/source.unpack $(STAMP_DIR)/fix.source.patch $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/lib source.patch
|
||||
touch $@
|
||||
|
||||
fix.source.patch: $(STAMP_DIR)/fix.source.patch
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/fix.source.patch
|
||||
$(STAMP_DIR)/fix.source.patch: $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/lib fix.source.patch
|
||||
touch $@
|
||||
|
||||
unfix.source.patch: $(STAMP_DIR)/unfix.source.patch
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/unfix.source.patch
|
||||
$(STAMP_DIR)/unfix.source.patch: $(STAMP_DIR)
|
||||
$(SHELL) debian/scripts/lib unfix.source.patch
|
||||
touch $@
|
||||
|
||||
source.compile: $(STAMP_DIR)/source.compile
|
||||
STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.compile
|
||||
$(STAMP_DIR)/source.compile: $(STAMP_DIR)/source.make $(STAMP_DIR)
|
||||
$(MAKE) -C $(BUILD_TREE) $(BUILD_TARGET)
|
||||
touch $@
|
||||
|
||||
source.command:
|
||||
(cd $(BUILD_TREE); $(SOURCE_CMD))
|
||||
|
||||
DIR_TARGETS+=$(STAMP_DIR)
|
||||
$(STAMP_DIR_TARGETS): $(STAMP_DIR)
|
||||
|
||||
$(DIR_TARGETS)/:
|
||||
mkdir -p $@
|
||||
|
||||
source.clean: unfix.source.patch
|
||||
$(SHELL) debian/scripts/lib source.clean
|
||||
rm -f $(STAMP_DIR_TARGETS)
|
||||
rm -rf $(STAMP_DIR)
|
||||
$(MAKE) -C debian/scripts clean
|
||||
31
debian/update-gdkpixbuf-loaders.1
vendored
Normal file
31
debian/update-gdkpixbuf-loaders.1
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH UPDATE-GDKPIXBUF-LOADERS 1 "6 January 2003"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
update-gdkpixbuf-loaders \- Update wrapper script for the Gdkpixbuf loaders list
|
||||
.SH SYNOPSIS
|
||||
.B update-gdkpixbuf-loaders
|
||||
.I package\| version
|
||||
.SH DESCRIPTION
|
||||
\fIupdate-gdkpixbuf-loaders\fP is a wrapper script for updating /etc/gtk-2.0/gdk-pixbuf.loaders using \fIgdk-pixbuf-query-loaders\fP.
|
||||
.br
|
||||
\fIupdate-gdkpixbuf-loaders\fP get a argument and /etc/gtk-2.0/gdk-pixbuf.loaders for that version will be generated by \fIgdk-pixbuf-query-loaders\fP.
|
||||
.SH SEE ALSO
|
||||
.BR gdk-pixbuf-query-loaders (1)
|
||||
.SH AUTHOR
|
||||
This manual page was written by Akira TAGOH <tagoh@debian.org>,
|
||||
for the Debian GNU/Linux system.
|
||||
39
debian/update-gdkpixbuf-loaders.in
vendored
Normal file
39
debian/update-gdkpixbuf-loaders.in
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
TMPFILE=`mktemp /tmp/gtk+-@VERSION@.XXXXXXXXXX`
|
||||
defaultver=@MODVER@
|
||||
|
||||
if [ "x$1" != "x" ]; then
|
||||
VERSION=`echo $1 | sed -e 's/-[A-Za-z0-9\.]*$//' -e 's/+[A-Za-z0-9\.]*$//'`
|
||||
else
|
||||
VERSION=$defaultver
|
||||
fi
|
||||
apiver=2.0
|
||||
shortver=`echo $VERSION | sed -e 's/\.[0-9]*$//'`
|
||||
|
||||
if ! test -d /usr/lib/gtk-$apiver/$VERSION/loaders; then
|
||||
echo "You don't have gdk-pixbuf loaders directory for version $VERSION."
|
||||
echo "Use default version instead."
|
||||
VERSION=$defaultver
|
||||
shortver=`echo $VERSION | sed -e 's/\.[0-9]*$//'`
|
||||
fi
|
||||
|
||||
echo -n "Updating the gdk-pixbuf loaders list for GTK+-$VERSION..."
|
||||
/usr/bin/gdk-pixbuf-query-loaders > $TMPFILE
|
||||
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
|
||||
echo "the gdk-pixbuf loaders was not found."
|
||||
else
|
||||
echo "done."
|
||||
fi
|
||||
if ! test -d /etc/gtk-$apiver; then
|
||||
echo -n "Creating /etc/gtk-$apiver..."
|
||||
mkdir /etc/gtk-$apiver
|
||||
echo "done."
|
||||
fi
|
||||
cp $TMPFILE /etc/gtk-$apiver/gdk-pixbuf.loaders
|
||||
chmod 644 /etc/gtk-$apiver/gdk-pixbuf.loaders
|
||||
|
||||
rm -f $TMPFILE
|
||||
|
||||
31
debian/update-gtk-immodules.1
vendored
Normal file
31
debian/update-gtk-immodules.1
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH UPDATE-GTK-IMMODULES 1 "13 March 2002"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
update-gtk-immodules \- Update wrapper script for the GTK+ IM modules list
|
||||
.SH SYNOPSIS
|
||||
.B update-gtk-immodules
|
||||
.I package\| version
|
||||
.SH DESCRIPTION
|
||||
\fIupdate-gtk-immodules\fP is a wrapper script for updating /etc/gtk-2.0/gtk.immodules using \fIgtk-query-immodules-2.0\fP.
|
||||
.br
|
||||
\fIupdate-gtk-immodules\fP get a argument and /etc/gtk-2.0/gtk.immodules for that version will be generated by \fIgtk-query-immodules-2.0\fP.
|
||||
.SH SEE ALSO
|
||||
.BR gtk-query-immodules-2.0 (1)
|
||||
.SH AUTHOR
|
||||
This manual page was written by Akira TAGOH <tagoh@debian.org>,
|
||||
for the Debian GNU/Linux system.
|
||||
36
debian/update-gtk-immodules.fr.1
vendored
Normal file
36
debian/update-gtk-immodules.fr.1
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH UPDATE-GTK-IMMODULES 1 "13 mars 2002"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NOM
|
||||
update-gtk-immodules \- Script de mise <20> jour de la liste des modules
|
||||
GTK+ IM
|
||||
.SH SYNOPSIS
|
||||
.B update-gtk-immodules
|
||||
.I paquet\| version
|
||||
.SH DESCRIPTION
|
||||
\fIupdate-gtk-immodules\fP est un script d'analyse pour la mise <20> jour de
|
||||
/etc/gtk-2.0/gtk.immodules en utilisant \fIgtk-query-immodules-2.0\fP.
|
||||
.br
|
||||
\fIupdate-gtk-immodules\fP re<72>oit un argument et /etc/gtk-2.0/gtk.immodules sera
|
||||
g<EFBFBD>n<EFBFBD>r<EFBFBD> pour cette version par \fIgtk-query-immodules-2.0\fP.
|
||||
.SH VOIR AUSSI
|
||||
.BR gtk-query-immodules-2.0 (1)
|
||||
.SH AUTEUR
|
||||
Cette page de manuel a <20>t<EFBFBD> <20>crite par Akira TAGOH <tagoh@debian.org>,
|
||||
pour le syst<73>me Debian GNU/Linux.
|
||||
.SH TRADUCTION
|
||||
Julien Louis <leonptitlouis@ifrance.com>
|
||||
37
debian/update-gtk-immodules.in
vendored
Normal file
37
debian/update-gtk-immodules.in
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
TMPFILE=`mktemp /tmp/gtk+-@VERSION@.XXXXXXXXXX`
|
||||
apiver=@APIVER@
|
||||
defaultver=@MODVER@
|
||||
|
||||
if [ "x$1" != "x" ]; then
|
||||
VERSION=`echo $1 | sed -e 's/-[A-Za-z0-9\.]*$//' -e 's/+[A-Za-z0-9\.]*$//'`
|
||||
else
|
||||
VERSION=$defaultver
|
||||
fi
|
||||
|
||||
if ! test -d /usr/lib/gtk-$apiver/$VERSION/immodules; then
|
||||
echo "You don't have immodules directory for version $VERSION."
|
||||
echo "Use default version instead."
|
||||
VERSION=$defaultver
|
||||
fi
|
||||
|
||||
echo -n "Updating the IM modules list for GTK+-$VERSION..."
|
||||
/usr/bin/gtk-query-immodules-$apiver `find /usr/lib/gtk-$apiver/$VERSION/immodules -name '*.so'` > $TMPFILE
|
||||
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
|
||||
echo "the GTK+ IM modules was not found."
|
||||
else
|
||||
echo "done."
|
||||
fi
|
||||
if ! test -d /etc/gtk-$apiver; then
|
||||
echo -n "Creating /etc/gtk-$apiver..."
|
||||
mkdir /etc/gtk-$apiver
|
||||
echo "done."
|
||||
fi
|
||||
cp $TMPFILE /etc/gtk-$apiver/gtk.immodules
|
||||
chmod 644 /etc/gtk-$apiver/gtk.immodules
|
||||
|
||||
rm -f $TMPFILE
|
||||
|
||||
Reference in New Issue
Block a user