--- g3data-1.5.3.orig/Makefile +++ g3data-1.5.3/Makefile @@ -1,6 +1,7 @@ CC=gcc -CFLAGS=-Wall `pkg-config --cflags gtk+-2.0` -LIBS=`pkg-config --libs gtk+-2.0` +PKG_CONFIG ?= pkg-config +CFLAGS=-Wall `$(PKG_CONFIG) --cflags gtk+-2.0` +LIBS=`$(PKG_CONFIG) --libs gtk+-2.0` -lm bindir ?= /usr/bin mandir ?= /usr/share/man @@ -9,7 +10,7 @@ g3data: main.o sort.o points.o drawing.o g3data.1.gz $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) - strip g3data +# strip g3data main.o: main.c main.h strings.h vardefs.h --- g3data-1.5.3.orig/debian/changelog +++ g3data-1.5.3/debian/changelog @@ -0,0 +1,137 @@ +g3data (1:1.5.3-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: Add build-{arch,indep} (Closes: #999267). + + -- Marcos Talau Wed, 02 Nov 2022 19:47:41 -0300 + +g3data (1:1.5.3-3) unstable; urgency=medium + + * Bug fix FTCBFS, thanks to Helmut Grohne for the + bug report and patch; apologies for letting it sit there for 3 years! + + Let dh_auto_build pass cross compilers to make. + + Use a triplet-prefixed pkg-config. + (Closes: #864553) + + -- Peter S Galbraith Sun, 17 May 2020 13:14:54 -0400 + +g3data (1:1.5.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Makefile: Link with -lm. (Closes: #713719) + + -- Sebastian Ramacher Sun, 28 Jul 2013 22:07:35 +0200 + +g3data (1:1.5.3-2) unstable; urgency=low + + * Bug fix: "please add a desktop file and an icon", thanks to Ilya B + Applied Ubuntu patch (Closes: #530865). + * Moved homepage URL to control header. + * Lintian fixes: + - debhelper was set in rules instead of by compat file. + - "-$(MAKE) clean" was used. + - Standards-Version: 3.8.3 + - Change menu entry to "Applications/Science/Data Analysis" + + -- Peter S Galbraith Mon, 16 Nov 2009 13:17:41 -0500 + +g3data (1:1.5.3-1) unstable; urgency=low + + * New upstream release. "please package new upstream version (1.5.3)", + thanks to Francesco Poli (Closes: #525485). + * Bug fix: "Beeps in an annoying fashion", thanks to Francesco Poli + (Closes: #359343). + + -- Peter S Galbraith Thu, 14 May 2009 22:11:08 -0400 + +g3data (1:1.5.1-1) unstable; urgency=low + + * New upstream release + + -- Peter S Galbraith Mon, 16 Apr 2007 21:55:31 -0400 + +g3data (1:1.5.0-2) unstable; urgency=low + + * Bug fix: "g3data: not present in the X menus ", thanks to Francesco + Potorti` for reporting it. g3data now starts up without error when no + filename is provided as argument, so I implement the menu. + (Closes: #139482). + + -- Peter S Galbraith Wed, 12 Oct 2005 19:51:48 -0400 + +g3data (1:1.5.0-1) unstable; urgency=low + + * New upstream release. Thanks to Mathias Weyland (Closes: #332789). + * Bug fix: "g3data: Weg page has moved", (Closes: #329218). + * Standards-Version: 3.6.2 without changes. + * No longer build-depend on imagemagick because it now ships with PNG + files instead of GIF. + + -- Peter S Galbraith Wed, 12 Oct 2005 18:55:15 -0400 + +g3data (1:1.4.0.1-1) unstable; urgency=low + + * New upstream release (merges-in man page provided uptream, thanks!) + * Removed debian/g3data.sgml since now merged in package upstream. + * Bug fix: "g3data: 404 on http link in the package description", thanks + to Fabrice Lorrain for reporting it and providing the new URL, now + used in the copyright and package description (Closes: #269136). + + -- Peter S Galbraith Tue, 14 Dec 2004 22:12:00 -0500 + +g3data (1:1.4.0-1) unstable; urgency=low + + * New upstream release + * Bug fix: "g3data window too big", thanks to Cristiano De Michele for + reporting. The author removed some options to adhere to the HIG standard + and the window now fits within a 1024x768 screen (Closes: #207299). + * Updated man page for new options. + * Standards-Version: 3.6.1 without changes. + + -- Peter S Galbraith Tue, 14 Oct 2003 20:29:28 -0400 + +g3data (1:1.2.0-1) unstable; urgency=low + + * New upstream release (closes: #177825) + + -- Peter S Galbraith Wed, 29 Jan 2003 22:13:59 -0500 + +g3data (1:1.1.4-1) unstable; urgency=low + + * New upstream release, build-depends on GTK2 + * This new version has a small window height, so should fit in 1024x768 + resolution (closes: #172843) + * Bump Standards-Version to 3.5.8 + * Added docs for new -scroll options to man page. + + -- Peter S Galbraith Mon, 16 Dec 2002 20:31:58 -0500 + +g3data (1.08-1) unstable; urgency=low + + * New upstream release: + This is actually upstream version 1.0.8 (a new numbering scheme). + I'll use the new upstream numbering scheme for the debian package + when 1.2.0 is released. + Fixes memory leak in gdk-pixbuf (closes: #140270). + Enhancement: Adjusted the format for writing out results in case of + very small numbers (%f -> %g). + + -- Peter S Galbraith Thu, 28 Mar 2002 09:38:25 -0500 + +g3data (1.06-2) unstable; urgency=low + + * debian/rules: Add `gdk-pixbuf-config --cflags` to CFLAGS. + gkd-pixbuf-dev has changed and moved the include files down one + level in /usr/include. Thanks to Anders Lennartsson for + finding this building bug and sending me a fix as well. + + -- Peter S Galbraith Mon, 21 Jan 2002 09:03:20 -0500 + +g3data (1.06-1) unstable; urgency=low + + * Initial Release. + * Close the ITP bug against wnpp (closes: #113471) + * debian/g3data.sgml: Man page created for g3data command. + * convert upstream GIF examples to PNG format. + + -- Peter S Galbraith Tue, 25 Sep 2001 13:19:39 -0400 --- g3data-1.5.3.orig/debian/compat +++ g3data-1.5.3/debian/compat @@ -0,0 +1 @@ +7 --- g3data-1.5.3.orig/debian/control +++ g3data-1.5.3/debian/control @@ -0,0 +1,15 @@ +Source: g3data +Section: science +Priority: optional +Maintainer: Peter S Galbraith +Build-Depends: debhelper (>= 7), libgtk2.0-dev, docbook-to-man, sharutils +Standards-Version: 3.8.3 +Homepage: http://www.frantz.fi/software/g3data.php + +Package: g3data +Architecture: any +Depends: ${shlibs:Depends} +Description: extract data from scanned graphs + g3data is used for extracting data from graphs. For example, graphs + are typically published in scientific journals without tables of the + actual data; g3data makes the process of extracting these data easy. --- g3data-1.5.3.orig/debian/copyright +++ g3data-1.5.3/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Peter S Galbraith on +Tue, 25 Sep 2001 09:04:26 -0400. + +It was downloaded from + http://www.frantz.fi/software/g3data-1.5.3.tar.gz + +The home page is: + http://www.frantz.fi/software/g3data.php + +Upstream Author: Jonas Frantz + +Copyright: + + Copyright (C) 2000 Jonas Frantz + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program 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 General Public License for more details. + + See /usr/share/common-licenses/GPL-2 --- g3data-1.5.3.orig/debian/g3data.desktop +++ g3data-1.5.3/debian/g3data.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=G3Data Graph Analyzer +Name[en_GB]=g3data Graph Analyser +GenericName=Graph Analyzer +GenericName[en_GB]=Graph Analyser +Comment=Retrieve data from scanned images of graphs +Type=Application +Exec=g3data +Icon=g3data +Categories=Science;Education;Graphics; --- g3data-1.5.3.orig/debian/g3data.png.uue +++ g3data-1.5.3/debian/g3data.png.uue @@ -0,0 +1,35 @@ +begin 644 g3data.png +MB5!.1PT*&@H````-24A$4@```#`````P"`0```#]"S$,`````7-21T(`KLX< +MZ0````)B2T=$`/^'C\R_````"7!(67,```L3```+$P$`FIP8````!W1)344' +MUPD/#``;%>/$F```!15)1$%46,/MV,UO5.<5!O#?O3/C;QML_($)8(+KXAAH +M6M-&%(&BT%91B-1*J=IN$K7IHEUVV6VD_@_M*FH5M5VT2M12%D5%0HKC-'P$ +M@RAQ%3L$#!A,QF`\'G_-Q^TBE_&U8T=@JZI4938SNIKW?L#S)EQPV[22>ON\ZJAI9_W)VW(;S6"'E^WQ9S/N +M6D3>H`9/Z[-=EWI_,Y?X=\IKC[=]RB$_T:?7EV2-*Z-DT=?TJ-&FVA5W-Y)! +MVE:M-FGRA-NNR((I-RVJ4N>K^EQ.G/MCZR`R9Q&!>FTR\=.2O!)"=39+;41H +M!<.&S%@P85B^PI50@))94TJ/7G6THM$F_5QQ5]"]O.6%B[0PR#OJQ +M0RXZ;EBDVS->];?W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,3 @@ +?package(g3data):needs="X11" \ + section="Applications/Science/Data Analysis"\ + title="g3data" command="/usr/bin/g3data" --- g3data-1.5.3.orig/debian/rules +++ g3data-1.5.3/debian/rules @@ -0,0 +1,86 @@ +#!/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 + +include /usr/share/dpkg/architecture.mk +export PKG_CONFIG = $(DEB_HOST_GNU_TYPE)-pkg-config + +CFLAGS=-Wall `$(PKG_CONFIG) --cflags gtk+-2.0` +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS += -g +endif +# `nostrip' handled by dh_strip... + +build: build-stamp +build-stamp: + dh_testdir + docbook-to-man g3data.sgml > g3data.1 + gzip --best g3data.1 + dh_auto_build -- CFLAGS="$(CFLAGS)" + touch build-stamp + +clean: + dh_testdir + rm -f build-stamp + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + rm -f g3data.1* + rm -f debian/g3data.png + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs usr/bin + # Add here commands to install the package into debian/g3data. + install -m 755 g3data debian/g3data/usr/bin + mkdir -p debian/g3data/usr/share/pixmaps/ + uudecode -o debian/g3data.png debian/g3data.png.uue + +# 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 test* + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman g3data.1.gz + dh_install debian/g3data.desktop usr/share/applications + dh_install debian/g3data.png usr/share/pixmaps +# 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 + +build-arch: build +build-indep: build + +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure