--- sagasu-2.0.10.orig/debian/copyright +++ sagasu-2.0.10/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Daniel Gubser on +Fri, 7 May 2004 06:45:49 +0200. + +It was downloaded from http://www3.sympatico.ca/sarrazip/dev/ + +Upstream Author: Pierre Sarrazin (sarrazip at sarrazip dot com) + +Copyright: 2002, 2003 Pierre Sarrazin + +This software is distributed under the GNU GPL license, you can find +a copy of it in your Debian system under /usr/share/common-licenses/ --- sagasu-2.0.10.orig/debian/control +++ sagasu-2.0.10/debian/control @@ -0,0 +1,18 @@ +Source: sagasu +Section: utils +Priority: optional +Maintainer: Daniel Gubser +Build-Depends: debhelper (>= 4), libgnomeui-dev (>= 2.0.0) +Standards-Version: 3.8.4 + +Package: sagasu +Architecture: any +Depends: ${shlibs:Depends} +Description: GNOME tool to find strings in a set of files + The user specifies the search directory and the set of files + to be searched. Double-clicking on a search result launches a + user command that can for example load the file in an editor + at the appropriate line. The search can optionally ignore + CVS directories. + . + http://sarrazip.com/dev/sagasu.html --- sagasu-2.0.10.orig/debian/watch +++ sagasu-2.0.10/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://perso.b2b2c.ca/sarrazip/dev/sagasu.html sagasu-(.*)\.tar\.gz debian uupdate --- sagasu-2.0.10.orig/debian/rules +++ sagasu-2.0.10/debian/rules @@ -0,0 +1,106 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +# 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) + +export DESTDIR=`pwd`/debian/sagasu + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/sagasu.sgml > sagasu.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/sagasu. + $(MAKE) install DESTDIR=$(DESTDIR) +# install -m 744 src/sagasu ${DESTDIR}/usr/bin/ +# install -m 644 src/sagasu.desktop ${DESTDIR}/usr/share/applications/ +# install -m 644 + + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- sagasu-2.0.10.orig/debian/changelog +++ sagasu-2.0.10/debian/changelog @@ -0,0 +1,39 @@ +sagasu (2.0.10-1) unstable; urgency=low + + * New upstream release (Closes: 586535) + * changed watch file (Closes: 529136) + + -- Daniel Gubser Mon, 28 Jun 2010 11:25:24 +0200 + +sagasu (2.0.8-3) unstable; urgency=low + + * added missing #includes (Closes: #455374) + * corrected link in debian/watch file (Closes: #450116) + + -- Daniel Gubser Thu, 6 Mar 2008 21:49:56 +0100 + +sagasu (2.0.8-2) unstable; urgency=low + + * changed src/util.cpp for new GCC 4.3 (Closes: #417679) + + -- Daniel Gubser Fri, 1 Jun 2007 17:17:58 +0200 + +sagasu (2.0.8-1) unstable; urgency=low + + * New upstream release (Closes: #336000) + * compiles now with GNOME 2.12 (Closes: #327319) + + -- Daniel Gubser Sun, 19 Feb 2006 03:09:19 +0100 + +sagasu (2.0.7-1) unstable; urgency=low + + * New upstream release + + -- Daniel Gubser Tue, 27 Sep 2005 04:23:57 +0200 + +sagasu (2.0.5-1) unstable; urgency=low + + * Initial Release. (Closes: #217017) + + -- Daniel Gubser Fri, 7 May 2004 06:45:49 +0200 + --- sagasu-2.0.10.orig/debian/docs +++ sagasu-2.0.10/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +THANKS --- sagasu-2.0.10.orig/debian/menu +++ sagasu-2.0.10/debian/menu @@ -0,0 +1,2 @@ +?package(sagasu):needs="X11" section="Applications/Text" \ + title="sagasu" command="/usr/bin/sagasu" --- sagasu-2.0.10.orig/debian/dirs +++ sagasu-2.0.10/debian/dirs @@ -0,0 +1,8 @@ +usr/bin +usr/share/applications +usr/share/pixmaps +usr/share/sagasu +usr/share/sounds/sagasu +usr/share/locale/{fr,ja,ru,sr}/LC_MESSAGES +usr/share/gnome/help +usr/share/man/man1 --- sagasu-2.0.10.orig/src/util.cpp +++ sagasu-2.0.10/src/util.cpp @@ -33,6 +33,8 @@ #include #include +#include + using namespace std; --- sagasu-2.0.10.orig/src/main.cpp +++ sagasu-2.0.10/src/main.cpp @@ -81,7 +81,7 @@ GNOME_PARAM_POPT_TABLE, options, GNOME_PARAM_APP_DATADIR, DATADIR, NULL); - gnome_window_icon_set_default_from_file(GNOMEICONDIR "/" PACKAGE ".png"); + gtk_window_set_default_icon_from_file(GNOMEICONDIR "/" PACKAGE ".png", NULL); // Argument parsing: