--- cd-circleprint-0.7.0.orig/Makefile +++ cd-circleprint-0.7.0/Makefile @@ -1,6 +1,6 @@ # Edit the DIRs for your needs and run make -INSTALL_DIR = /usr/local +INSTALL_DIR = $(DESTDIR)/usr INSTALL = /usr/bin/install @@ -10,14 +10,14 @@ $(INSTALL) -d $(INSTALL_DIR)/bin/ cp perl/cd-label.pl $(INSTALL_DIR)/bin/cd-circleprint chmod 755 $(INSTALL_DIR)/bin/cd-circleprint - $(INSTALL) -d /usr/share/cd-circleprint/ - cp graphics/debian_logo.eps /usr/share/cd-circleprint/debian_logo.eps - $(INSTALL) -d $(INSTALL_DIR)/man/man1/ - pod2man --section=1 $(INSTALL_DIR)/bin/cd-circleprint > $(INSTALL_DIR)/man/man1/cd-circleprint.1 + $(INSTALL) -d $(DESTDIR)/usr/share/cd-circleprint/ + cp graphics/debian_logo.eps $(DESTDIR)/usr/share/cd-circleprint/debian_logo.eps + $(INSTALL) -d $(INSTALL_DIR)/share/man/man1/ + pod2man --section=1 $(INSTALL_DIR)/bin/cd-circleprint > $(INSTALL_DIR)/share/man/man1/cd-circleprint.1 uninstall: rm -f $(INSTALL_DIR)/bin/cd-circleprint - rm -f $(INSTALL_DIR)/man/man1/cd-circleprint.1.gz - rm -f /usr/share/cd-circleprint/*.eps + rm -f $(INSTALL_DIR)/share/man/man1/cd-circleprint.1 + rm -f $(DESTDIR)/usr/share/cd-circleprint/*.eps clean: uninstall --- cd-circleprint-0.7.0.orig/debian/cd-circleprint.menu +++ cd-circleprint-0.7.0/debian/cd-circleprint.menu @@ -0,0 +1,2 @@ +?package(cd-circleprint):needs="X11" section="Applications/Text" \ + title="Cd-circleprint" command="/usr/bin/cd-circleprint" --- cd-circleprint-0.7.0.orig/debian/changelog +++ cd-circleprint-0.7.0/debian/changelog @@ -0,0 +1,235 @@ +cd-circleprint (0.7.0-5.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Tue, 05 Jan 2021 12:36:24 +0100 + +cd-circleprint (0.7.0-5) unstable; urgency=medium + + * Update standards version to 4.0.0 (no changes required). + * Updated to debhelper compatibility level 9 + * Fixed man page spelling error + + -- Colin Tuckley Mon, 24 Jul 2017 20:49:39 +0100 + +cd-circleprint (0.7.0-4) unstable; urgency=low + + * Update standards version to 3.9.4 (no changes required). + * Add missing build targets (build-arch, build-indep) to debian/rules + * Add debian/watch (thanks to bartm@debian.org) + + -- Colin Tuckley Wed, 08 May 2013 21:38:44 +0100 + +cd-circleprint (0.7.0-3) unstable; urgency=low + + * Remove suggest for ghostscript due to security concerns + (closes: #584042). + * Update standards version to 3.8.4 (no changes required). + * Fix misc formatting and spelling problems in man page. + + -- Colin Tuckley Tue, 01 Jun 2010 16:53:04 +0100 + +cd-circleprint (0.7.0-2) unstable; urgency=low + + * Update standards version to 3.8.0 (no changes required). + * Fix suggests for ghostscript (was gs) + * Fix error when font .afm files are missing + + -- Colin Tuckley Mon, 16 Feb 2009 21:19:00 +0000 + +cd-circleprint (0.7.0-1) unstable; urgency=low + + * New upstream release. + * Updated maintainer address. + * Update standards version to 3.7.3 (no changes required). + * Added Homepage field to debian/control. + + -- Colin Tuckley Mon, 24 Dec 2007 19:30:25 +0000 + +cd-circleprint (0.6.0-1) unstable; urgency=low + + * New upstream version + * Updated to debhelper compatibility level 5 + * update copyright notices. it's 2007 + + -- Colin Tuckley Fri, 27 Jul 2007 15:59:42 +0100 + +cd-circleprint (0.5.1-2) unstable; urgency=low + + * updated to Standards-Version 3.7.2 (No changes required) + * Fix bug in Font selection dialogue (closes: #415824) + + -- Colin Tuckley Thu, 22 Mar 2007 11:04:15 +0000 + +cd-circleprint (0.5.1-1) unstable; urgency=low + + * New upstream version + * minor description fixes + * fix dates in old changelog entries + * debian/rules: don't remove debian/cd-circleprint + * update copyright notices. it's 2006 + * Updated FSF address in README + * Makefile changes to the install path for Debianisation + + -- Colin Tuckley Mon, 6 Mar 2006 14:54:50 +0000 + +cd-circleprint (0.5.0-1) unstable; urgency=low + + * New upstream version + * Added support for the debian menu system + * debian/rules: give a DESTDIR on make clean + * Updated to debhelper compatibility level 4 + * Update standards version to 3.6.2 (no changes required) + + -- Colin Tuckley Thu, 7 Jul 2005 21:12:01 +0100 + +cd-circleprint (0.4.3-1) unstable; urgency=low + + * New Maintainer (and contact info) (closes: #244200) + + -- Colin Tuckley Sun, 20 Feb 2005 13:47:56 +0000 + +cd-circleprint (0.4-2) unstable; urgency=low + + * Switch from debmake to debhelper and do some cleanup. + * Added missing colon after "Labeltext" (Bug #233782). + * Changed to Architecture: all. + + -- Santiago Vila Fri, 7 Jan 2005 16:57:56 +0100 + +cd-circleprint (0.4-1.2) unstable; urgency=low + + * Uploading with maintainer set to QA group + * debian/copyright: mention location of GPL + + -- Andrew Pollock Sat, 8 May 2004 23:40:10 +1000 + +cd-circleprint (0.4-1.1) unstable; urgency=low + + * NMU. + * Add Build-Depends on debmake. Closes: #188901. + + -- Daniel Schepler Mon, 28 Jul 2003 21:30:44 -0700 + +cd-circleprint (0.4-1) unstable; urgency=low + + * Handles other graphic-files than eps with convert + + -- Matthias Kabel Sun, 6 Apr 2003 21:01:56 +0200 + +cd-circleprint (0.3.9-1) unstable; urgency=low + + * storing the last path to the graphic files + + -- Matthias Kabel Wed, 2 Apr 2003 22:12:35 +0200 + +cd-circleprint (0.3.8-1) unstable; urgency=low + + * closes: Bug#158197 + * scans for a showpage in a graphic file and deletes the line + + -- Matthias Kabel Sun, 22 Sep 2002 20:00:54 +0200 + + +cd-circleprint (0.3.7-1) unstable; urgency=low + + * Additional entry-fields for moving the labels on the page + * Small changes in the man page + + closes: Bug#119063, Bug#127982, Bug#130202 + + -- Matthias Kabel Sun, 21 Jan 2002 20:15:34 +0200 + +cd-circleprint (0.3.6-5) unstable; urgency=low + + * Fixed a bug in printing textfields, thanks to Peter Fales + closes: Bug#130618 + + -- Matthias Kabel Tue, 29 Jan 2002 20:43:05 +0100 + +cd-circleprint (0.3.6-4) unstable; urgency=low + + * Fixed a bug in printing textfields, thanks to Peter Fales + closes: Bug#130618 + + -- Matthias Kabel Mon, 21 Jan 2002 22:50:45 +0100 + +cd-circleprint (0.3.6-3) unstable; urgency=low + + * Fixed a bug storing options + closes: Bug#130202 + + -- Matthias Kabel Mon, 21 Jan 2002 22:50:45 +0100 + +cd-circleprint (0.3.6-2) unstable; urgency=low + + * Added some warning messages + * Better printing of the textfields + + -- Matthias Kabel Wed, 9 Jan 2002 22:40:38 +0100 + +cd-circleprint (0.3.6-1) unstable; urgency=low + + * more options are saved in the configuration file + * changed the selection of the background graphics + + -- Matthias Kabel Mon, 7 Jan 2002 22:44:21 +0100 + +cd-circleprint (0.3.5-3) unstable; urgency=low + + * more options are saved in the configuration file + * more shortcuts + + -- Matthias Kabel Mon, 7 Jan 2002 22:44:21 +0100 + +cd-circleprint (0.3.5-2) unstable; urgency=low + + * more options are saved in the configuration file + * two more shortcuts + + -- Matthias Kabel Sun, 6 Jan 2002 20:46:37 +0100 + +cd-circleprint (0.3.5-1) unstable; urgency=low + + * Moved the script from /usr/X11R6/bin to /usr/bin + * You can terminate the program with C-q + * more options are saved in the configurtaion file + * Fixed a bug in reading the configuration files + closes: Bug#127982 + + -- Matthias Kabel Sun, 6 Jan 2002 14:22:32 +0100 + +cd-circleprint (0.3.4-3) unstable; urgency=low + + * Fixed spelling errors in description + closes: Bug#124484 + + -- Matthias Kabel Fri, 28 Dec 2001 20:19:44 +0100 + +cd-circleprint (0.3.4-2) unstable; urgency=low + + * Fixed a bug reading the configuration files + + -- Matthias Kabel Wed, 17 Nov 2001 20:09:16 +0100 + +cd-circleprint (0.3.4-1) unstable; urgency=low + + * Fixed a bug with the page-deformation + + closes: Bug#119063 + + -- Matthias Kabel Wed, 14 Nov 2001 21:39:03 +0100 + +cd-circleprint (0.3.3-1) unstable; urgency=low + + * New version: Additional textfield + + closes: Bug#105178 + -- Matthias Kabel Sun, 15 Jul 2001 14:07:13 +0100 + +cd-circleprint (0.3.2-1) unstable; urgency=low + + * New version: The diameters of the circles are now variable. + + -- Matthias Kabel Sun, 6 May 2001 22:04:09 +0100 --- cd-circleprint-0.7.0.orig/debian/compat +++ cd-circleprint-0.7.0/debian/compat @@ -0,0 +1 @@ +9 --- cd-circleprint-0.7.0.orig/debian/control +++ cd-circleprint-0.7.0/debian/control @@ -0,0 +1,23 @@ +Source: cd-circleprint +Section: text +Priority: optional +Maintainer: Colin Tuckley +Build-Depends: debhelper (>= 9) +Homepage: http://sourceforge.net/projects/cd-circle-print/ +Standards-Version: 4.0.0 + +Package: cd-circleprint +Architecture: all +Depends: ${misc:Depends}, perl, perl-tk +Suggests: imagemagick, gv +Description: prints round cd-labels + cd-circleprint is a program to create round cd-labels written in perl, + using perl-tk to produce a graphical frontend. The + labels have four lines of nice curved text and an additional four + fields with normal text. Each field has selectable text-size, font and + colour. The background colour is also selectable. The label may also have + a background image. + You can squeeze the whole page if your printer doesn't generate correct + circles and you can move the two labels on the sheet to accommodate + different types of label sheets. + The output is postscript to make it as portable as possible. --- cd-circleprint-0.7.0.orig/debian/copyright +++ cd-circleprint-0.7.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Colin Tuckley on +Fri, 27 Jul 2007 15:59:42 +0100 + +Upstream-Name: cd-circle-print +Upstream-Contact: Colin Tuckley +Source: http://sourceforge.net/projects/cd-circle-print/ + +Files: * +Copyright: Copyright (C) 2004-2007 Colin Tuckley + Copyright (C) 2000-2002 Matthias Kabel +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + --- cd-circleprint-0.7.0.orig/debian/rules +++ cd-circleprint-0.7.0/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + touch build + +clean: + dh_testdir + rm -f build + [ ! -f Makefile ] || $(MAKE) clean DESTDIR=`pwd`/debian/cd-circleprint + rm -f `find . -name "*~"` + rm -rf debian/files* core debian/substvars + dh_clean + +binary-indep: checkroot build + dh_testdir + rm -rf debian/cd-circleprint + install -d debian/cd-circleprint + $(MAKE) install DESTDIR=`pwd`/debian/cd-circleprint + dh_installdocs + dh_installchangelogs CHANGELOG + dh_installmenu + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: checkroot build + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + +.PHONY: binary binary-arch binary-indep clean checkroot --- cd-circleprint-0.7.0.orig/debian/source/format +++ cd-circleprint-0.7.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- cd-circleprint-0.7.0.orig/debian/watch +++ cd-circleprint-0.7.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\+dfsg\d*$//,uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ +http://qa.debian.org/watch/sf.php/cd-circle-print/cd-circleprint(?:[_\-])(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|jar) --- cd-circleprint-0.7.0.orig/perl/cd-label.pl +++ cd-circleprint-0.7.0/perl/cd-label.pl @@ -132,17 +132,20 @@ ($ffa, $ffb, $ffc) = split /-/, $strg; $ffa =~ s/pfb/afm/; my $fontfn = $fontpath . "/" . $ffa; - open (FONTA, "<$fontfn") || - die "Can't Open font afm file: $!"; - $strg = ; - while (defined($strg)) { - chomp $strg; - ($ffb, $ffd) = split / /, $strg, 2; - last if ($ffb =~ /^FontName/); + my $flag = 0; + unless (open (FONTA, "<$fontfn")) + {print "Sorry, there is no corresponding afm file\n"; $flag = 1;} + if ($flag == 0) { $strg = ; + while (defined($strg)) { + chomp $strg; + ($ffb, $ffd) = split / /, $strg, 2; + last if ($ffb =~ /^FontName/); + $strg = ; + } + close (FONTA); + $fonthash{$ffd} = $ffc; } - close (FONTA); - $fonthash{$ffd} = $ffc; $strg = ; } close (FONTD); @@ -2262,6 +2265,8 @@ =item B [option[=value..]] FILE +=back + =head1 DESCRIPTION cd-circleprint prints two round labels for CDs. It uses up to four lines of text for each @@ -2276,8 +2281,6 @@ or colour effects you can save a label and modify it in any graphic program which can read PostScript. -=back - =head1 OPTIONS =over @@ -2292,7 +2295,9 @@ =item B<--version> -Print version number and exit sucessfully. +Print version number and exit successfully. + +=back =head1 LAYOUT @@ -2330,6 +2335,8 @@ Font attributes and colours can be changed interactively using a dialog available from the menu. +=over + =item B Control-l: write the label to /tmp @@ -2373,7 +2380,7 @@ =item I -Launch the predefined preview appplication to preview the labels. +Launch the predefined preview application to preview the labels. =item I @@ -2471,6 +2478,10 @@ Display program version, description and copyright information. +=back + +=back + =head1 CONFIGURATION You can save your configuration in a file in your $HOME or ask your sysadmin to create a global configuration-file.