--- rep-gtk-0.18.orig/debian/changelog +++ rep-gtk-0.18/debian/changelog @@ -0,0 +1,127 @@ +rep-gtk (0.18-6build2) breezy; urgency=low + + * Rebuild with the new cairo version + + -- Sebastien Bacher Thu, 18 Aug 2005 17:22:46 +0000 + +rep-gtk (0.18-6build1) breezy; urgency=low + + * Rebuild for broken dependencies + + -- Sebastian Dröge Tue, 19 Jul 2005 15:45:41 +0200 + +rep-gtk (0.18-6) unstable; urgency=low + + * New patch (02_gtk-2.4) to fix build against libgtk 2.4 + + -- Christian Marillat Mon, 24 May 2004 00:20:12 +0200 + +rep-gtk (0.18-5) unstable; urgency=low + + * Fix my dpatch hack (Closes: #227930) + + -- Christian Marillat Fri, 16 Jan 2004 14:07:17 +0100 + +rep-gtk (0.18-4) unstable; urgency=low + + * Remove GNOME 1.x function gnome_geometry_string() (Closes: #226533) + + -- Christian Marillat Sun, 11 Jan 2004 19:30:11 +0100 + +rep-gtk (0.18-3) unstable; urgency=low + + * debian/copyright Update upstream location (Closes: #219368) + + -- Christian Marillat Thu, 6 Nov 2003 07:38:06 +0100 + +rep-gtk (0.18-2) unstable; urgency=low + + * Build with --with-gnome (Closes: #212118) + * Move examples files in rep-gtk-gnome, some example need gnome extension + + -- Christian Marillat Mon, 22 Sep 2003 14:23:01 +0200 + +rep-gtk (0.18-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 4 Aug 2003 20:15:47 +0200 + +rep-gtk (0.17-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 10 Nov 2002 11:18:56 +0100 + +rep-gtk (0.16.0-7) unstable; urgency=low + + * Update config.sub and config.guess (Closes: #160095) + + -- Christian Marillat Sun, 8 Sep 2002 15:56:56 +0200 + +rep-gtk (0.16.0-6) unstable; urgency=low + + * Move gnome files in tke rep-gtk-gnome package for all arch. + + -- Christian Marillat Fri, 30 Aug 2002 18:40:41 +0200 + +rep-gtk (0.16.0-5) unstable; urgency=low + + * Move libgtk2.0-dev in build-depends (Closes: #156884) + + -- Christian Marillat Fri, 16 Aug 2002 18:08:24 +0200 + +rep-gtk (0.16.0-4) unstable; urgency=low + + * Build against the latest libgtk2.0 2.0.6 + + -- Christian Marillat Fri, 9 Aug 2002 23:15:12 +0200 + +rep-gtk (0.16.0-3) unstable; urgency=low + + * Fix color selection crash with upstream patche (Closes: #151592, #151976) + + -- Christian Marillat Thu, 11 Jul 2002 22:55:41 +0200 + +rep-gtk (0.16.0-2) unstable; urgency=low + + * Split the package, new rep-gtk-gnome package. + + -- Christian Marillat Tue, 2 Jul 2002 11:41:26 +0200 + +rep-gtk (0.16.0-1) unstable; urgency=low + + * Removed the 2 suffix + * Removed the rep-gtk-gnome package. + + -- Christian Marillat Thu, 27 Jun 2002 15:25:12 +0200 + +rep-gtk2 (0.16.0-1) unstable; urgency=low + + * Not a debian source package. Forgot to rename the original tarball + + -- Christian Marillat Sat, 22 Jun 2002 15:42:24 +0200 + +rep-gtk2 (0.16-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Sat, 22 Jun 2002 14:59:54 +0200 + +rep-gtk2 (0.1cvs20020611-2) unstable; urgency=low + + * Should Build-Depends on libgtk2.0-dev (>= 2.0.5) (Closes: #150508) + + -- Christian Marillat Thu, 20 Jun 2002 04:09:22 +0200 + +rep-gtk2 (0.1cvs20020611-1) unstable; urgency=low + + * New cvs snapshot. + + -- Christian Marillat Wed, 12 Jun 2002 07:13:00 +0200 + +rep-gtk2 (0.1cvs20020524-1) unstable; urgency=low + + * Initial Release. + + -- Christian Marillat Fri, 31 May 2002 15:19:37 +0200 --- rep-gtk-0.18.orig/debian/control +++ rep-gtk-0.18/debian/control @@ -0,0 +1,24 @@ +Source: rep-gtk +Section: interpreters +Priority: optional +Maintainer: Christian Marillat +Standards-Version: 3.6.1 +Build-Depends: debhelper (>= 3.4.4), librep-dev (>= 0.16.1), libxml2-dev, libglade2-dev, libgnomeui-dev (>= 2.2.0), autotools-dev + +Package: rep-gtk +Architecture: any +Depends: ${shlibs:Depends}, librep9 (>= 0.16.1) +Conflicts: rep-gtk2 +Replaces: rep-gtk2 +Description: GTK binding for librep + This package provides an interface to the GTK graphical toolkit for + the librep lisp interpreter. + +Package: rep-gtk-gnome +Architecture: any +Depends: ${shlibs:Depends}, librep9 (>= 0.16.1), rep-gtk (= ${Source-Version}) +Conflicts: rep-gtk-gnome2, rep-gtk (<= 0.16.0-1) +Replaces: rep-gtk-gnome2, rep-gtk (<= 0.16.0-1) +Description: GNOME 2 binding for librep + This package provides an interface to the GNOME 2 graphical toolkit for the + librep lisp interpreter. --- rep-gtk-0.18.orig/debian/copyright +++ rep-gtk-0.18/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Mikolaj J. Habryn on +Thu, 23 Sep 1999 21:44:16 +0800. + +It was downloaded from http://rep-gtk.sf.net + +Upstream Author: John Harper + +Copyright: GPLv2. On Debian GNU/Linux systems, the complete text of +the GNU General Public License can be found in +/usr/share/common-licenses/GPL. --- rep-gtk-0.18.orig/debian/rules +++ rep-gtk-0.18/debian/rules @@ -0,0 +1,139 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -n 1) + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + + cp /usr/share/misc/config.guess /usr/share/misc/config.sub . + + ./configure --prefix=/usr --libexecdir=/usr/lib CFLAGS="$(CFLAGS)" \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --with-gnome + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) -j 4 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) realclean + + rm -rf .libs + + debian/rules unpatch + + dh_clean config.guess config.sub + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=`pwd`/debian/${version} + + touch install-stamp + + dh_movefiles --sourcedir=debian/${version} + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -A README README.gtk-defs README.guile-gtk + dh_installexamples -prep-gtk-gnome examples/* + dh_installchangelogs ChangeLog + rm -rf debian/rep-gtk-gnome2/usr/share/doc + dh_strip + dh_link + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch + +DPATCH_ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH) +PATCHLIST_ALL = $(shell cat debian/patches/00list) +PATCHLIST_ARCH = $(shell cat debian/patches/00list.${DPATCH_ARCH} 2>/dev/null) +PATCHLIST ?= $(sort ${PATCHLIST_ALL} ${PATCHLIST_ARCH}) + +UNPATCHLIST = $(shell echo ${PATCHLIST} | tr ' ' '\n' | tac) + +patch: patch-stamp +patch-stamp: + test -d debian/patched || install -d debian/patched + @echo "Patches applied in the Debian version of ${PACKAGE}:" > $@T + @for patch in ${PATCHLIST}; do \ + stamp=debian/patched/$$patch.dpatch; \ + patch=debian/patches/$$patch.dpatch; \ + author=`sed -n "s,^#* *.*dpatch by *,,p" $$patch`; \ + test -x $$patch || chmod +x $$patch; \ + if test -f $$stamp; then \ + echo "$$patch already applied."; \ + echo -e "\n$$patch ($$author):" >> $@T; \ + sed -n 's/^#* *DP: */ /p' $$patch >> $@T; \ + else \ + echo -n "applying patch $$patch..."; \ + if $$patch -patch >$$stamp.new 2>&1; then \ + mv $$stamp.new $$stamp; \ + touch $$stamp; \ + echo -e "\n$$patch ($$author):" >> $@T; \ + sed -n 's/^#* *DP: */ /p' $$patch >> $@T; \ + echo " ok."; \ + else \ + echo " failed."; \ + exit 1; \ + fi; \ + fi; \ + done + mv -f $@T $@ + +unpatch: + @for patch in ${UNPATCHLIST}; do \ + stamp=debian/patched/$$patch.dpatch; \ + patch=debian/patches/$$patch.dpatch; \ + test -x $$patch || chmod +x $$patch; \ + if test -f $$stamp; then \ + echo -n "reverting patch $$patch..."; \ + if $$patch -unpatch 2>&1 >/dev/null; then \ + rm -f $$stamp; \ + echo " ok."; \ + else \ + echo " failed."; \ + exit 1; \ + fi; \ + fi; \ + done + rm -rf patch-stamp debian/patched --- rep-gtk-0.18.orig/debian/rep-gtk-gnome.files +++ rep-gtk-0.18/debian/rep-gtk-gnome.files @@ -0,0 +1,2 @@ +/usr/lib/rep/*/gui/*/*gnome* +/usr/lib/rep/*/gui/*/libglade.* --- rep-gtk-0.18.orig/debian/compat +++ rep-gtk-0.18/debian/compat @@ -0,0 +1 @@ +3 --- rep-gtk-0.18.orig/debian/patches/00list +++ rep-gtk-0.18/debian/patches/00list @@ -0,0 +1,2 @@ +01_gnomeui_defs +02_gtk-2.4 --- rep-gtk-0.18.orig/debian/patches/01_gnomeui_defs.dpatch +++ rep-gtk-0.18/debian/patches/01_gnomeui_defs.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh -e + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p0 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac +exit 0 + +--- gnomeui.defs.orig 2004-01-11 19:25:30.000000000 +0100 ++++ gnomeui.defs 2004-01-11 19:25:50.000000000 +0100 +@@ -238,10 +238,6 @@ + ((ret int) width) + ((ret int) height))) + +-(define-func gnome_geometry_string +- string +- ((GdkWindow window))) +- + + ;; gtkcauldron + --- rep-gtk-0.18.orig/debian/patches/02_gtk-2.4.dpatch +++ rep-gtk-0.18/debian/patches/02_gtk-2.4.dpatch @@ -0,0 +1,50 @@ +#! /bin/sh -e + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p0 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac +exit 0 + +--- rep-gtk.h.orig 2004-05-24 00:08:33.000000000 +0200 ++++ rep-gtk.h 2004-05-24 00:09:00.000000000 +0200 +@@ -291,10 +291,10 @@ + + GtkWidget* + gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, +- gchar *label); ++ const gchar *label); + GtkWidget* + gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, +- gchar *label); ++ const gchar *label); + GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group); + GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent); + +--- gtk-compat.c.orig 2004-05-24 00:15:55.000000000 +0200 ++++ gtk-compat.c 2004-05-24 00:17:10.000000000 +0200 +@@ -64,7 +64,7 @@ + + GtkWidget* + gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, +- gchar *label) ++ const gchar *label) + { + GSList *g = group? gtk_radio_menu_item_group (group) : NULL; + return gtk_radio_menu_item_new_with_label (g, label); +@@ -72,7 +72,7 @@ + + GtkWidget* + gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, +- gchar *label) ++ const gchar *label) + { + GSList *g = group? gtk_radio_menu_item_group (group) : NULL; + return gtk_radio_menu_item_new_with_mnemonic (g, label);