--- gtkperf-0.40+ds.orig/debian/gtkperf.desktop +++ gtkperf-0.40+ds/debian/gtkperf.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GtkPerf +Comment=Test GTK+ performance +Exec=gtkperf +Icon=duck +Terminal=false +Type=Application +Categories=System; + --- gtkperf-0.40+ds.orig/debian/compat +++ gtkperf-0.40+ds/debian/compat @@ -0,0 +1 @@ +7 --- gtkperf-0.40+ds.orig/debian/gtkperf.manpages +++ gtkperf-0.40+ds/debian/gtkperf.manpages @@ -0,0 +1 @@ +debian/gtkperf.1 --- gtkperf-0.40+ds.orig/debian/watch +++ gtkperf-0.40+ds/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\+ds$// \ + http://sf.net/gtkperf/gtkperf_(.*)\.tar\.gz --- gtkperf-0.40+ds.orig/debian/copyright +++ gtkperf-0.40+ds/debian/copyright @@ -0,0 +1,35 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420 +Upstream-Name: GtkPerf +Upstream-Maintainer: Kaj Grönholm +Upstream-Source: http://gtkperf.sf.net + +Files: * +Copyright: © 2005-2009 Kaj Grönholm +License: GPL-2+ + +Files: intl/* +Copyright: © 1995-2001 Free Software Foundation, Inc. +License: LGPL-2+ + +Files: intl/{l10nflist.c,plural.c,explodename.c,plural.y,gettextP.h, + finddomain.c,loadinfo.h} +Copyright: © 1995-2001 Free Software Foundation, Inc. +Copyright: © 1995-2000 Ulrich Drepper +License: LGPL-2+ + +Files: debian/* +Copyright: © 2009 Evgeni Golov +License: GPL-2+ + The original tarball contained a debian/ directory which was removed. + You can use + make -f debian/rules get-orig-source + to create a new clean tarball from upstream's one. + +License: GPL-2+ + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + +License: LGPL-2+ + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL'. --- gtkperf-0.40+ds.orig/debian/rules +++ gtkperf-0.40+ds/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f + +LDFLAGS+=-Wl,-z,defs -Wl,--as-needed +VERSION=0.40 + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build --before dh_auto_configure + # update config.{sub,guess} to fix FTBFS on avr32 (#538302) + cp /usr/share/misc/config.sub . + cp /usr/share/misc/config.guess . + dh build --before build + # CFLAGS get reset during configure, pass them to make again + $(MAKE) CFLAGS="$(CFLAGS)" + dh build --after build + touch $@ + +clean: unpatch + dh clean + dh_clean data/Makefile config.guess config.sub + +install: build install-stamp +install-stamp: + dh install + $(RM) -rf $(CURDIR)/debian/gtkperf/usr/doc + touch install-stamp + +binary-arch: install + dh binary-arch + +binary-indep: install + dh binary-indep + +binary: binary-arch binary-indep + +get-orig-source: + [ -f gtkperf_$(VERSION).tar.gz ] || wget http://qa.debian.org/watch/sf.php/gtkperf/gtkperf_$(VERSION).tar.gz + mkdir -p get-orig-source + cd get-orig-source && tar -zxf ../gtkperf_$(VERSION).tar.gz + rm -rf get-orig-source/gtkperf/debian + cd get-orig-source && tar -czf ../../gtkperf_$(VERSION)+ds.orig.tar.gz gtkperf/ + rm -rf gtkperf_$(VERSION).tar.gz get-orig-source --- gtkperf-0.40+ds.orig/debian/menu +++ gtkperf-0.40+ds/debian/menu @@ -0,0 +1,2 @@ +?package(gtkperf):needs="X11" section="Applications/System/Monitoring"\ + title="gtkperf" command="/usr/bin/gtkperf" --- gtkperf-0.40+ds.orig/debian/gtkperf.1 +++ gtkperf-0.40+ds/debian/gtkperf.1 @@ -0,0 +1,25 @@ +.TH GTKPERF "1" "January 2009" "gtkperf 0.40" "GtkPerf" +.SH NAME +gtkperf \- GTK+ performance benchmark +.SH SYNOPSIS +.B gtkperf \fR[\fB\-h\fR|\fB\-a\fR|\fB\-c \fICOUNT\fR] +.SH DESCRIPTION +GtkPerf is an application designed to test GTK+ performance. +.br +The point is to create common testing platform to run predefined +GTK+ widgets (opening comboboxes, toggling buttons, scrolling text) +and this way define the speed of device/platform. +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-a\fR, \fB\-\-automatic\fR +start the testing automatically and exit when ready +.TP +\fB\-c\fR, \fB\-\-count\fR=\fICOUNT\fR +used testing count (default 100) +.SH AUTHORS +GtkPerf is written by Kaj Grönholm and is licensed under GPL-2+. +.br +This manpage is written by Evgeni Golov and is licensed under GPL-2+. --- gtkperf-0.40+ds.orig/debian/docs +++ gtkperf-0.40+ds/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +TODO.tasks --- gtkperf-0.40+ds.orig/debian/README.source +++ gtkperf-0.40+ds/debian/README.source @@ -0,0 +1,12 @@ +Upstream ships a debian/ directory in his tarball. +As this is bad, I repack the tarball without it. +If you need to do so by yourself, you can use the "get-orig-source" +target of debian/rules. That will download the tarball from upstream, +unpack it, remove the debian directory and repack it, adding a "+ds" +to the version. + +This package uses quilt for patch handling. Please read the +/usr/share/doc/quilt/README.source file from the quilt package for further +information. + + -- Evgeni Golov Mon, 05 Oct 2009 19:42:50 +0200 --- gtkperf-0.40+ds.orig/debian/control +++ gtkperf-0.40+ds/debian/control @@ -0,0 +1,16 @@ +Source: gtkperf +Section: utils +Priority: optional +Maintainer: Evgeni Golov +Build-Depends: debhelper (>= 7), autotools-dev, libatk1.0-dev, libpango1.0-dev, libgtk2.0-dev, quilt +Standards-Version: 3.8.3 +Homepage: http://gtkperf.sourceforge.net/ + +Package: gtkperf +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GTK+ performance benchmark + GtkPerf is an application designed to test GTK+ performance. + The point is to create common testing platform to run predefined + GTK+ widgets (opening comboboxes, toggling buttons, scrolling text) + and this way define the speed of device/platform. --- gtkperf-0.40+ds.orig/debian/changelog +++ gtkperf-0.40+ds/debian/changelog @@ -0,0 +1,18 @@ +gtkperf (0.40+ds-2) unstable; urgency=low + + * debian/control: + + Update my email address. + + Standards-Version: 3.8.3. + * debian/rules: + + Update config.{sub,guess} to fix FTBFS on avr32. (Closes: #538302) + * debian/README.source: + + Add pointer on quilt documentation. + + -- Evgeni Golov Mon, 05 Oct 2009 19:42:50 +0200 + +gtkperf (0.40+ds-1) unstable; urgency=low + + * Initial release (Closes: #501415) + * Repackaged tarball to get rid of upstream's debian directory. + + -- Evgeni Golov Sat, 03 Jan 2009 05:22:09 +0100 --- gtkperf-0.40+ds.orig/debian/gtkperf.install +++ gtkperf-0.40+ds/debian/gtkperf.install @@ -0,0 +1 @@ +debian/gtkperf.desktop usr/share/applications --- gtkperf-0.40+ds.orig/debian/patches/01-include_stdlib.patch +++ gtkperf-0.40+ds/debian/patches/01-include_stdlib.patch @@ -0,0 +1,21 @@ +From: Evgeni Golov +Date: 2009-01-03 04:58:39 +0100 +Subject: Include stdlib.h +License: GPL-2+ + +Include stdlib.h to prevent the following warning during the build +main.c:81: warning: incompatible implicit declaration of built-in function ‘exit’ +main.c:110: warning: incompatible implicit declaration of built-in function ‘exit’ + +Index: gtkperf-0.40+ds/src/main.c +=================================================================== +--- gtkperf-0.40+ds.orig/src/main.c 2009-01-03 04:58:39.000000000 +0100 ++++ gtkperf-0.40+ds/src/main.c 2009-01-03 04:58:55.000000000 +0100 +@@ -11,6 +11,7 @@ + #endif + + #include ++#include + + #include "interface.h" + #include "support.h" --- gtkperf-0.40+ds.orig/debian/patches/series +++ gtkperf-0.40+ds/debian/patches/series @@ -0,0 +1 @@ +01-include_stdlib.patch