--- geg-1.0.2.orig/Makefile.in +++ geg-1.0.2/Makefile.in @@ -76,17 +76,11 @@ DIST_SUBDIRS = src -man_MANS = geg.1 - EXTRA_DIST = geg.spec geg.1 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = stamp.h -man1dir = $(mandir)/man1 -MANS = $(man_MANS) - -NROFF = nroff DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \ configure configure.in install-sh missing mkinstalldirs stamp.h.in @@ -94,14 +88,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -143,45 +137,6 @@ stamp.h: $(top_builddir)/config.status stamp.h.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status -install-man1: - $(mkinstalldirs) $(DESTDIR)$(man1dir) - @list='$(man1_MANS)'; \ - l2='$(man_MANS)'; for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ - else file=$$i; fi; \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ - $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ - done - -uninstall-man1: - @list='$(man1_MANS)'; \ - l2='$(man_MANS)'; for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ - rm -f $(DESTDIR)$(man1dir)/$$inst; \ - done -install-man: $(MANS) - @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-man1 -uninstall-man: - @$(NORMAL_UNINSTALL) - $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 - # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, @@ -309,10 +264,15 @@ -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -343,21 +303,20 @@ install-exec-am: install-exec: install-exec-recursive -install-data-am: install-man +install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive -uninstall-am: uninstall-man +uninstall-am: uninstall: uninstall-recursive -all-am: Makefile $(MANS) config.h +all-am: Makefile config.h all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 mostlyclean-generic: @@ -391,7 +350,6 @@ -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ -install-man1 uninstall-man1 install-man uninstall-man \ install-data-recursive uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ --- geg-1.0.2.orig/Makefile.am +++ geg-1.0.2/Makefile.am @@ -4,6 +4,4 @@ DIST_SUBDIRS = \ src -man_MANS=geg.1 - EXTRA_DIST = geg.spec geg.1 --- geg-1.0.2.orig/src/Makefile.in +++ geg-1.0.2/src/Makefile.in @@ -105,8 +105,12 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/about.P .deps/app.P .deps/colors.P .deps/colorsel.P \ +.deps/formulas.P .deps/help.P .deps/localfunctions.P .deps/log.P \ +.deps/main.P .deps/misc.P .deps/parser.P .deps/prefs.P \ +.deps/tokeniser.P SOURCES = $(geg_SOURCES) OBJECTS = $(geg_OBJECTS) @@ -114,9 +118,9 @@ .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -146,9 +150,6 @@ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done -.c.o: - $(COMPILE) -c $< - .s.o: $(COMPILE) -c $< @@ -263,10 +264,15 @@ subdir = src distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -283,26 +289,38 @@ || exit 1; \ fi; \ done -about.o: about.c ../config.h about.h -app.o: app.c ../config.h pixmaps/new.xpm pixmaps/erase.xpm \ - pixmaps/reset.xpm pixmaps/in.xpm pixmaps/prefs.xpm \ - pixmaps/line.xpm pixmaps/sine.xpm pixmaps/exit.xpm \ - pixmaps/out.xpm pixmaps/zoom.xbm pixmaps/zoom_m.xbm \ - pixmaps/aint.xbm pixmaps/aint_m.xbm pixmaps/fint.xbm \ - pixmaps/fint_m.xbm app.h about.h help.h prefs.h formulas.h \ - log.h misc.h colors.h tokeniser.h parser.h -colorsel.o: colorsel.c ../config.h colorsel.h -colors.o: colors.c ../config.h colors.h -formulas.o: formulas.c ../config.h formulas.h log.h prefs.h colors.h -help.o: help.c ../config.h help.h -localfunctions.o: localfunctions.c ../config.h localfunctions.h -log.o: log.c ../config.h log.h -main.o: main.c ../config.h app.h -misc.o: misc.c ../config.h misc.h -parser.o: parser.c ../config.h parser.h tokeniser.h log.h -prefs.o: prefs.c ../config.h prefs.h colorsel.h misc.h -tokeniser.o: tokeniser.c ../config.h tokeniser.h localfunctions.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-recursive dvi-am: @@ -341,23 +359,24 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ - mostlyclean-am +clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ + clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-generic clean-am + distclean-depend distclean-generic clean-am distclean: distclean-recursive maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am + maintainer-clean-depend maintainer-clean-generic \ + distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -372,12 +391,14 @@ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +distclean-tags clean-tags maintainer-clean-tags distdir \ +mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- geg-1.0.2.orig/src/pixmaps/Makefile.in +++ geg-1.0.2/src/pixmaps/Makefile.in @@ -80,14 +80,14 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/pixmaps/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/pixmaps/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -100,10 +100,15 @@ subdir = src/pixmaps distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/pixmaps/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ --- geg-1.0.2.orig/debian/control +++ geg-1.0.2/debian/control @@ -0,0 +1,15 @@ +Source: geg +Section: math +Priority: optional +Maintainer: Frederic Peters +Standards-Version: 3.6.2.1 +Build-Depends: libgtk1.2-dev, debhelper (>= 3.0) + +Package: geg +Architecture: any +Depends: ${shlibs:Depends} +Description: a GTK+ Equation Grapher + geg is a very simple utility for parsing and plotting 2D-functions, eg + f(x) = 3 + sin(x), and much more complicated functions of course. + It is written with GTK+ and provides a neat, configurable user interface. + --- geg-1.0.2.orig/debian/changelog +++ geg-1.0.2/debian/changelog @@ -0,0 +1,103 @@ +geg (1.0.2-5.1ubuntu1) dapper; urgency=low + + * Added .desktop file courtesy of Thierry Moisan (closes: Malone #5399) + + -- Jordan Mantha Fri, 17 Feb 2006 10:11:48 -0800 + +geg (1.0.2-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Update build-deps for xlibs-dev removal; closes: #346694. + * Credit and Big Thanks to Justin Pryzby + for the patch and testing. + + -- Amaya Rodrigo Sastre Thu, 19 Jan 2006 12:23:31 +0100 + +geg (1.0.2-5) unstable; urgency=low + + * debian/control: updated to current policy + * means no more /usr/doc/ symlink, removed automatically by the grace + of a new debhelper (closes: #322831) + * debian/menu: quote strings (fixes lintian warnings) + * debian/rules: debhelper compatibility: 3 (and updated build-depends + accordingly) + * debian/rules: use dh_installman, no more dh_installmanpages + + -- Frederic Peters Sat, 13 Aug 2005 17:43:35 +0200 + +geg (1.0.2-4) unstable; urgency=low + + * debian/control: Updated Build-Dependencies (xlib6g-dev -> xlibs-dev) + (closes: #170171) + * debian/changelog: removed emacs modelines + + -- Frederic Peters Fri, 22 Nov 2002 09:05:21 +0100 + +geg (1.0.2-3) unstable; urgency=low + + * Rebuilt against XFree86 4.0 libs + + -- Frederic Peters Fri, 10 Nov 2000 18:48:56 +0100 + +geg (1.0.2-2) unstable; urgency=low + + * Source only upload so it will be built with X 3.3.6 (closes: #74991) + + -- Frederic Peters Sun, 29 Oct 2000 23:49:47 +0100 + +geg (1.0.2-1) unstable; urgency=low + + * New upstream release. (closes: #74364) + * debian/control: Added debhelper to Build-Depends line + + -- Frederic Peters Mon, 16 Oct 2000 22:28:58 +0200 + +geg (1.0.1-0.1) unstable; urgency=low + + * Debian QA upload as requested by Frederic on debian-devel. + * New upstream release (closes: #50799). + * src/parser.c (term): Handle precedences correctly. All other functions + updated accordingly. (closes: #50625). + * debian/copyright: Updated location of GPL license + * debian/copyright: Updated download location + * debian/control: Changed standards-version to 3.1.0, added Build-Depends. + * Removed debian/README.debian because the content no longer applies. + * debian/geg.1: Wrote basic manpage. + * debian/rules: Adjusted installation accordingly. + * src/help.c: Changed help string to reflect change in equation parser. + + -- Torsten Landschoff Tue, 23 Nov 1999 16:25:46 +0100 + +geg (0.99.0-3) unstable; urgency=low + + * Compiled against libgtk1.0 since the 'Drawing Area' widget no longer works + like before (since ????). (Fixes#46099) + + -- Frederic Peters Mon, 8 Mar 1999 22:27:49 +0100 + +geg (0.99.0-2) unstable; urgency=low + + * Compiled against libgtk1.2 + + -- Frederic Peters Mon, 8 Mar 1999 22:27:49 +0100 + +geg (0.99.0-1) unstable; urgency=low + + * New upstream release. + * Now linked against libgtk1.1.15, feel free to send request to go back + to 1.0 :) + + -- Frederic Peters Mon, 15 Feb 1999 19:05:26 +0100 + +geg (0.15.0-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Mon, 5 Oct 1998 21:44:05 +0200 + +geg (0.12-1) unstable; urgency=low + + * Initial Release. + + -- Frederic Peters Sun, 13 Sep 1998 23:05:47 +0200 + --- geg-1.0.2.orig/debian/dirs +++ geg-1.0.2/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications --- geg-1.0.2.orig/debian/rules +++ geg-1.0.2/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# MAde with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DH_COMPAT=3 + + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --prefix=/usr + # Add here commands to compile the package. + make CFLAGS="-O2 -g -Wall" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -Rf src/.deps/ + + dh_clean + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build +# dh_testversion + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the files into debian/geg + $(MAKE) install prefix=`pwd`/debian/geg/usr + + install debian/geg.desktop $(CURDIR)/debian/geg/usr/share/applications/ + install src/pixmaps/sine.xpm $(CURDIR)/debian/geg/usr/share/pixmaps/ + + dh_installdocs + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_desktop + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- geg-1.0.2.orig/debian/geg.desktop +++ geg-1.0.2/debian/geg.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Geg Equation Grapher +GenericName=Equation Grapher +Comment= a GTK+ Equation Grapher +Icon=sine +Exec=geg +Terminal=false +Categories=Application;Science; --- geg-1.0.2.orig/debian/postinst.debhelper +++ geg-1.0.2/debian/postinst.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_installmenu +if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi +# End automatically added section --- geg-1.0.2.orig/debian/copyright +++ geg-1.0.2/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Frederic Peters on +Sun, 13 Sep 1998 23:05:47 +0200 + +It was downloaded from + + http://www.infolaunch.com/~daveb/ + +Copyright: +GPL, as evidenced by existence of GPL license file "COPYING". +(the GNU GPL may be viewed on Debian systems in /usr/share/common-licenses/GPL) + --- geg-1.0.2.orig/debian/postrm.debhelper +++ geg-1.0.2/debian/postrm.debhelper @@ -0,0 +1,3 @@ +# Automatically added by dh_installmenu +if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi +# End automatically added section --- geg-1.0.2.orig/debian/docs +++ geg-1.0.2/debian/docs @@ -0,0 +1 @@ +NEWS README TODO AUTHORS --- geg-1.0.2.orig/debian/geg.manpages +++ geg-1.0.2/debian/geg.manpages @@ -0,0 +1 @@ +geg.1 --- geg-1.0.2.orig/debian/substvars +++ geg-1.0.2/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.5-1), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0) --- geg-1.0.2.orig/debian/menu +++ geg-1.0.2/debian/menu @@ -0,0 +1 @@ +?package(geg):needs="X11" section="Apps/Math" title="geg" command="/usr/bin/geg"