debian/0000755000000000000000000000000012263301513007162 5ustar debian/patches/0000755000000000000000000000000011641130601010606 5ustar debian/patches/margas.diff0000644000000000000000000003705311407414465012737 0ustar Description: Collate existing changes introduced in version 0.9.1-6.3 and earlier. This patch has been created by dpkg-source. Here's the last changelog entry: . cdcover (0.9.1-6.3) unstable; urgency=low . * Non-maintainer upload to fix uninstallable package. * Changed dependency from tetex-* to texlive-latex-base. (Closes: #400597) . The person named in the Author field signed this changelog entry. Author: Margarita Manterola Bug-Debian: http://bugs.debian.org/400597 --- --- cdcover-0.9.1.orig/stringlist.h +++ cdcover-0.9.1/stringlist.h @@ -57,12 +57,12 @@ public: } }; -class MatrixIndexList: public vector { +class MatrixIndexList: public std::vector { }; -class Stringlist : public vector { +class Stringlist : public std::vector { private: Stringlist::iterator getID(Bytevector id); --- cdcover-0.9.1.orig/cccpara2.h +++ cdcover-0.9.1/cccpara2.h @@ -4,11 +4,11 @@ char * cccpara2V[]= { -{"-h"}, -{"--help"}, -{"-i"}, -{"--interactive"}, -{""} +"-h", +"--help", +"-i", +"--interactive", +"" }; int cccpara2C=4; --- cdcover-0.9.1.orig/Makefile +++ cdcover-0.9.1/Makefile @@ -1,6 +1,6 @@ CC=g++ -INSTDIR=/usr/local/bin -CFLAGS=-Wall +INSTDIR=$(DESTDIR)/usr/bin +CFLAGS=-Wall -g -DI_AM_A_SUCKER STRINGLIB=bytevector.o stringlist.o ccc: ccc.o --- cdcover-0.9.1.orig/INSTALL +++ cdcover-0.9.1/INSTALL @@ -1,4 +1,4 @@ -CCC INSTALLATION +CDCOVER INSTALLATION ---------------- GNU\LINUX and UNIX-Systems: --- cdcover-0.9.1.orig/resback.h +++ cdcover-0.9.1/resback.h @@ -4,65 +4,65 @@ char * resbackV[]= { -{"%%%%%%%%"}, -{"% BACK %"}, -{"%%%%%%%%"}, -{""}, -{""}, -{"\\newlength{\\Test%i}"}, -{"\\settowidth{\\Test%i}{{%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}"}, -{"\\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}"}, -{"{"}, -{" \\settowidth{\\Test%i}{\\small {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}"}, -{" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}"}, -{" {"}, -{" \\settowidth{\\Test%i}{\\footnotesize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}"}, -{" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}"}, -{" {"}, -{" \\settowidth{\\Test%i}{\\scriptsize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}"}, -{" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}"}, -{" {"}, -{" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\tiny {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}"}, -{" }"}, -{" {"}, -{" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\scriptsize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}"}, -{" }"}, -{" }"}, -{" {"}, -{" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\footnotesize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}"}, -{" }"}, -{" }"}, -{" {"}, -{" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\small {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}"}, -{" }"}, -{"}"}, -{"{"}, -{" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{{%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}"}, -{"}"}, -{""}, -{"\\noindent"}, -{"\\framebox{\\parbox[c][11.6cm][t]{3mm}"}, -{"{"}, -{" \\rotatebox{90}{\\sidetext%i}"}, -{"}}\\framebox{\\parbox[c][11.6cm][t]{13.6cm}"}, -{"{"}, -{" \\vspace{-0.1cm}"}, -{" \\vspace{-0.2cm}"}, -{" \\vspace{0.5cm}"}, -{" \\color{black}"}, -{""}, -{" {\\footnotesize"}, -{" \\begin{tabular}{l@{\\hspace{1em}}p{5.6cm}l@{}l@{\\hspace{1em}}p{5.6cm}}"}, -{"%BACKCOVERTEXT% "}, -{" \\end{tabular}"}, -{" }"}, -{"}}\\framebox{\\parbox[c][11.6cm][t]{3mm}"}, -{"{"}, -{" \\rotatebox{-90}{\\sidetext%i}"}, -{"}}"}, -{""}, -{"%%%%%%%%"}, -{""} +"%%%%%%%%", +"% BACK %", +"%%%%%%%%", +"", +"", +"\\newlength{\\Test%i}", +"\\settowidth{\\Test%i}{{%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}", +"\\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}", +"{", +" \\settowidth{\\Test%i}{\\small {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}", +" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}", +" {", +" \\settowidth{\\Test%i}{\\footnotesize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}", +" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}", +" {", +" \\settowidth{\\Test%i}{\\scriptsize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}", +" \\ifthenelse{\\lengthtest{\\Test%i > 12.0cm}}", +" {", +" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\tiny {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}", +" }", +" {", +" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\scriptsize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}", +" }", +" }", +" {", +" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\footnotesize {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}", +" }", +" }", +" {", +" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{\\small {%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}", +" }", +"}", +"{", +" \\newcommand{\\sidetext%i}{\\parbox{11.6cm}{{%SIDETEXTLEFT%}\\hfill~{%SIDETEXTRIGHT%}}}", +"}", +"", +"\\noindent", +"\\framebox{\\parbox[c][11.6cm][t]{3mm}", +"{", +" \\rotatebox{90}{\\sidetext%i}", +"}}\\framebox{\\parbox[c][11.6cm][t]{13.6cm}", +"{", +" \\vspace{-0.1cm}", +" \\vspace{-0.2cm}", +" \\vspace{0.5cm}", +" \\color{black}", +"", +" {\\footnotesize", +" \\begin{tabular}{l@{\\hspace{1em}}p{5.6cm}l@{}l@{\\hspace{1em}}p{5.6cm}}", +"%BACKCOVERTEXT% ", +" \\end{tabular}", +" }", +"}}\\framebox{\\parbox[c][11.6cm][t]{3mm}", +"{", +" \\rotatebox{-90}{\\sidetext%i}", +"}}", +"", +"%%%%%%%%", +"" }; int resbackC=58; --- cdcover-0.9.1.orig/stringlist.cc +++ cdcover-0.9.1/stringlist.cc @@ -22,6 +22,8 @@ #include "stringlist.h" +using namespace std; + Stringlist::Stringlist(){ lineSeperator=STRINGLIST_LS; fieldSeperator=STRINGLIST_FS; --- cdcover-0.9.1.orig/README +++ cdcover-0.9.1/README @@ -1,4 +1,4 @@ -CCC - CD COVER CREATOR +CDCOVER - CD COVER CREATOR Creating Data-CD Covers @@ -15,9 +15,9 @@ http://www.liacs.nl/~jvhemert/disc-cover MANUAL -CCC is a little commandline tool which creates +CDCOVER is a little commandline tool which creates user-defined data-cd covers. After installing -the program, open a shell and enter "ccc". The +the program, open a shell and enter "cdcover". The program gives you a overview of the supported parameters. Should be easy to use. --- cdcover-0.9.1.orig/reshead.tex +++ cdcover-0.9.1/reshead.tex @@ -1,5 +1,6 @@ \documentclass[]{article} -\usepackage{ifthen,isolatin1,graphicx,color} +\usepackage{ifthen,graphicx,color} +\usepackage[latin1]{inputenc} \graphicspath{{/tmp/disc-cover-8568/}} \renewcommand{\thepage}{} \setlength{\oddsidemargin}{0pt} --- cdcover-0.9.1.orig/bytevector.h +++ cdcover-0.9.1/bytevector.h @@ -54,7 +54,7 @@ -class VectorIndexList : public vector { +class VectorIndexList : public std::vector { }; --- cdcover-0.9.1.orig/reshead.h +++ cdcover-0.9.1/reshead.h @@ -4,32 +4,32 @@ char * resheadV[]= { -{"\\documentclass[]{article}"}, -{"\\usepackage{ifthen,isolatin1,graphicx,color}"}, -{"\\graphicspath{{/tmp/disc-cover-8568/}}"}, -{"\\renewcommand{\\thepage}{}"}, -{"\\setlength{\\oddsidemargin}{0pt}"}, -{"\\setlength{\\evensidemargin}{0pt}"}, -{"\\setlength{\\voffset}{-100pt}"}, -{"\\setlength{\\footskip}{0pt}"}, -{"\\setlength{\\textheight}{780pt}"}, -{"\\hyphenpenalty=10000"}, -{"\\renewcommand{\\dotfill}{\\leaders\\hbox to 2mm{\\hfil.\\hfil}\\hfill}"}, -{""}, -{"\\newcommand{\\mylabel}{\\color{black}}"}, -{""}, -{""}, -{"\\begin{document}"}, -{""}, -{"\\noindent"}, -{"\\parbox{11cm}"}, -{"{"}, -{"{\\small Printed with \\emph{cd cover creator} (C) (GPL) by Ulli Meybohm, www.meybohm.de"}, -{"The program uses the tex-template from Disc-Cover."}, -{"Disc-Cover is available at \\texttt{http://www.liacs.nl/\\~{}jvhemert/disc-cover}}"}, -{"}"}, -{"\\vspace{0.5cm}"}, -{""} +"\\documentclass[]{article}", +"\\usepackage{ifthen,isolatin1,graphicx,color}", +"\\graphicspath{{/tmp/disc-cover-8568/}}", +"\\renewcommand{\\thepage}{}", +"\\setlength{\\oddsidemargin}{0pt}", +"\\setlength{\\evensidemargin}{0pt}", +"\\setlength{\\voffset}{-100pt}", +"\\setlength{\\footskip}{0pt}", +"\\setlength{\\textheight}{780pt}", +"\\hyphenpenalty=10000", +"\\renewcommand{\\dotfill}{\\leaders\\hbox to 2mm{\\hfil.\\hfil}\\hfill}", +"", +"\\newcommand{\\mylabel}{\\color{black}}", +"", +"", +"\\begin{document}", +"", +"\\noindent", +"\\parbox{11cm}", +"{", +"{\\small Printed with \\emph{cd cover creator} (C) (GPL) by Ulli Meybohm, www.meybohm.de", +"The program uses the tex-template from Disc-Cover.", +"Disc-Cover is available at \\texttt{http://www.liacs.nl/\\~{}jvhemert/disc-cover}}", +"}", +"\\vspace{0.5cm}", +"" }; int resheadC=25; --- cdcover-0.9.1.orig/resfront.h +++ cdcover-0.9.1/resfront.h @@ -4,42 +4,42 @@ char * resfrontV[]= { -{""}, -{"%%%%%%%%%"}, -{"% FRONT %"}, -{"%%%%%%%%%"}, -{""}, -{"\\noindent"}, -{"\\framebox{\\parbox[c][12.0cm][t]{12.0cm}"}, -{"{"}, -{"\\vspace{1cm}"}, -{""}, -{"\\noindent"}, -{"\\begin{center}"}, -{"{"}, -{"\\parbox{10cm}{{\\Large\\color{black}%TITLE%}}"}, -{""}, -{"\\rule{10cm}{1pt}"}, -{"\\vspace{0.1cm}"}, -{""}, -{"\\noindent"}, -{"\\parbox{10cm}{{\\hfill\\large{\\color{black}%SUBTITLE%}}}"}, -{"}"}, -{"\\end{center}"}, -{""}, -{"\\vfill"}, -{"\\begin{center}"}, -{""}, -{"\\parbox{10cm}{{\\footnotesize\\sffamily\\mylabel}}"}, -{"\\end{center}"}, -{""}, -{"}}"}, -{""}, -{"%%%%%%%%%"}, -{""}, -{""}, -{"\\vspace{1cm}"}, -{""} +"", +"%%%%%%%%%", +"% FRONT %", +"%%%%%%%%%", +"", +"\\noindent", +"\\framebox{\\parbox[c][12.0cm][t]{12.0cm}", +"{", +"\\vspace{1cm}", +"", +"\\noindent", +"\\begin{center}", +"{", +"\\parbox{10cm}{{\\Large\\color{black}%TITLE%}}", +"", +"\\rule{10cm}{1pt}", +"\\vspace{0.1cm}", +"", +"\\noindent", +"\\parbox{10cm}{{\\hfill\\large{\\color{black}%SUBTITLE%}}}", +"}", +"\\end{center}", +"", +"\\vfill", +"\\begin{center}", +"", +"\\parbox{10cm}{{\\footnotesize\\sffamily\\mylabel}}", +"\\end{center}", +"", +"}}", +"", +"%%%%%%%%%", +"", +"", +"\\vspace{1cm}", +"" }; int resfrontC=35; --- cdcover-0.9.1.orig/HACKING +++ cdcover-0.9.1/HACKING @@ -2,14 +2,14 @@ HACKING ------- This file is for every hacker who wants to reuse -some code of the ccc-program or who wants to +some code of the cdcover-program or who wants to make improvements or bugfixes. Read this text first. STRINGLIB -The ccc program makes heavy use of the c++-classes +The cdcover program makes heavy use of the c++-classes "Bytevector" and "Stringlist", which are defined in bytevector.cc and stringlist.cc. I don't like the stirng-class of the c++ standard library, so I @@ -18,7 +18,7 @@ You can use these classes as black boxes They are well tested and should work properly. Take a look to the header files "bytevector.h" and "stringlist.h" to get information about available -functions. Only very few functions are needed in ccc. +functions. Only very few functions are needed in cdcover. TEXT2H @@ -28,15 +28,15 @@ into c++ header files with "char* argv[] constants. See text2h.cc for the source code. This tool is used to create the string-ressource files, which are used to include the tex-templates -and the ccc-ressources. +and the cdcover-ressources. -CCC +CDCOVER -The ccc program consists of the following files: +The cdcover program consists of the following files: ccc.cc - main program, parameter, error messages -cccpara.h - ccc parameters -cccpara2.h - ccc parameters WITHOUT value +cccpara.h - cdcover parameters +cccpara2.h - cdcover parameters WITHOUT value These two files are needed by ccc.cc for parameter-parsing @@ -52,5 +52,5 @@ to reuse the cover-generator in other ap If you have special questions or if you have made improvements feel free to contact me: -ccc-author: +cdcover-author: Ulli Meybohm : ulli@meybohm.de --- /dev/null +++ cdcover-0.9.1/cdcover.1 @@ -0,0 +1,38 @@ +.TH CDCOVER 1 +.SH NAME +cdcover \- Creating Data-CD Covers +.SH SYNOPSIS +.B cdcover +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B cdcover +command. +.PP +\fBcdcover\fP is a program that creates Data-CD Covers. +.SH OPTIONS +.B \-t, \-\-title \fI\fP +Set Frontcover Title +.TP +.B \-s, \-\-subtitle \fI<SUBTITLE>\fP +Set Frontcover Subtitle +.TP +.B \-b, \-\-backcovertext \fI<BACKCOVERTEXT>\fP +Set Backcovertext (can be multiline) +.TP +.B \-l, \-\-sidetext-left \fI<LEFTSIDETEXT>\fP +Set left sidetext (default=\fI<TITLE>\fP) +.TP +.B \-r, \-\-sidetext-right \fI<RIGHTSIDETEXT>\fP +Set right sidetext (default=\fI<SUBTITLE>\fP) +.TP +.B \-c, \-\-count \fI<COUNT>\fP +Set Number of CDs (default=1) +.TP +.B \-o, \-\-outputfile \fI<FILENAME>\fP +Set Outputfile (*.tex) (default=stdout) +.SH AUTHOR +\fBcdcover\fP was written by Ulli Meybohm <ulli@meybohm.de>. +.PP +This manual page was written by Adrian Bunk <bunk@fs.tum.de> +for the Debian GNU/Linux system (but may be used by others). --- cdcover-0.9.1.orig/bytevector.cc +++ cdcover-0.9.1/bytevector.cc @@ -22,6 +22,7 @@ #include "bytevector.h" +using namespace std; Bytevector::Bytevector(){ data=NULL; --- cdcover-0.9.1.orig/cccpara.h +++ cdcover-0.9.1/cccpara.h @@ -4,23 +4,23 @@ char * cccparaV[]= { -{"-h"}, -{"--help"}, -{"-t"}, -{"--title"}, -{"-s"}, -{"--subtitle"}, -{"-b"}, -{"--backcovertext"}, -{"-c"}, -{"--count"}, -{"-o"}, -{"--outputfile"}, -{"-l"}, -{"--sidetext-left"}, -{"-r"}, -{"--sidetext-right"}, -{""} +"-h", +"--help", +"-t", +"--title", +"-s", +"--subtitle", +"-b", +"--backcovertext", +"-c", +"--count", +"-o", +"--outputfile", +"-l", +"--sidetext-left", +"-r", +"--sidetext-right", +"" }; int cccparaC=16; --- cdcover-0.9.1.orig/ccchelp.h +++ cdcover-0.9.1/ccchelp.h @@ -4,28 +4,28 @@ char * ccchelpV[]= { -{"CD Cover Creator Version 0.9.1 (stable) "}, -{"Creating LaTeX cd-cover files"}, -{"Copyright (C) 2000, Ulli Meybohm, www.meybohm.de (GNU General Public License)"}, -{""}, -{"Start: cdcover [options]"}, -{""}, -{"Options: "}, -{"-t, --title <TITLE> Set Frontcover Title"}, -{"-s, --subtitle <SUBTITLE> Set Frontcover Subtitle"}, -{"-b, --backcovertext <BACKCOVERTEXT> Set Backcovertext (can be multiline)"}, -{"-l, --sidetext-left <LEFTSIDETEXT> Set left sidetext (default=<TITLE>) "}, -{"-r, --sidetext-right <RIGHTSIDETEXT> Set right \" (default=<SUBTITLE>) "}, -{"-c, --count <COUNT> Set Number of CDs (default=1)"}, -{"-o, --outputfile <FILENAME> Set Outputfile (*.tex) (default=stdout)"}, -{""}, -{"You can use the variables %i and %n in the string-parameters if you make covers"}, -{"for cd-sets with more than one disk. (see example below, 6 CDs) "}, -{""}, -{"Examples:"}, -{"cdcover -t \"SuSE Linux 6.3\" -s \"Disc %i/%n\" -b \"SuSE Linux\" -c 6 -o suse.tex"}, -{"cdcover -t \"Backup\" -s \"Date: 04-2000\" -b \"`ls -1 /backup/*.tgz`\" -o backup.tex"}, -{""} +"CD Cover Creator Version 0.9.1 (stable) ", +"Creating LaTeX cd-cover files", +"Copyright (C) 2000, Ulli Meybohm, www.meybohm.de (GNU General Public License)", +"", +"Start: cdcover [options]", +"", +"Options: ", +"-t, --title <TITLE> Set Frontcover Title", +"-s, --subtitle <SUBTITLE> Set Frontcover Subtitle", +"-b, --backcovertext <BACKCOVERTEXT> Set Backcovertext (can be multiline)", +"-l, --sidetext-left <LEFTSIDETEXT> Set left sidetext (default=<TITLE>) ", +"-r, --sidetext-right <RIGHTSIDETEXT> Set right \" (default=<SUBTITLE>) ", +"-c, --count <COUNT> Set Number of CDs (default=1)", +"-o, --outputfile <FILENAME> Set Outputfile (*.tex) (default=stdout)", +"", +"You can use the variables %i and %n in the string-parameters if you make covers", +"for cd-sets with more than one disk. (see example below, 6 CDs) ", +"", +"Examples:", +"cdcover -t \"Debian GNU/Linux 3.1\" -s \"Disc %i/%n\" -b \"Debian GNU/Linux\" -c 10 -o sarge.tex", +"cdcover -t \"Backup\" -s \"Date: 04-2000\" -b \"`ls -1 /backup/*.tgz`\" -o backup.tex", +"" }; int ccchelpC=21; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000062�11641130601�012021� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������margas.diff allow-make-clean.diff constchars.diff ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/constchars.diff����������������������������������������������������������������������0000644�0000000�0000000�00000010707�11641126755�013633� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Upstream changes introduced in version 0.9.1-9 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . cdcover (0.9.1-9) unstable; urgency=low . * adopted the package. Closes: #508227 * upgraded Standards-Version to 3.9.1 * added the management for const char lists (suppresses C++ warnings). * modified the header of the LaTeX file to avoid using the package isolatin1 in favor of the package inputenc with utf8x option. Closes: #539592 * removed a broken http link from header of the LaTeX file. . The person named in the Author field signed this changelog entry. Author: Georges Khaznadar <georgesk@ofset.org> Bug-Debian: http://bugs.debian.org/508227 Bug-Debian: http://bugs.debian.org/539592 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: <vendor|upstream|other>, <url of original patch> Bug: <url in upstream bugtracker> Bug-Debian: http://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> Last-Update: <YYYY-MM-DD> --- cdcover-0.9.1.orig/reshead.h +++ cdcover-0.9.1/reshead.h @@ -2,10 +2,11 @@ #ifndef reshead_H #define reshead_H -char * resheadV[]= +const char * resheadV[]= { "\\documentclass[]{article}", -"\\usepackage{ifthen,isolatin1,graphicx,color}", +"\\usepackage{ifthen,graphicx,color}", +"\\usepackage[utf8x]{inputenc}", "\\graphicspath{{/tmp/disc-cover-8568/}}", "\\renewcommand{\\thepage}{}", "\\setlength{\\oddsidemargin}{0pt}", @@ -26,7 +27,7 @@ char * resheadV[]= "{", "{\\small Printed with \\emph{cd cover creator} (C) (GPL) by Ulli Meybohm, www.meybohm.de", "The program uses the tex-template from Disc-Cover.", -"Disc-Cover is available at \\texttt{http://www.liacs.nl/\\~{}jvhemert/disc-cover}}", +"Disc-Cover is (C) (GPL) by Jano van Hemert.}", "}", "\\vspace{0.5cm}", "" --- cdcover-0.9.1.orig/resback.h +++ cdcover-0.9.1/resback.h @@ -2,7 +2,7 @@ #ifndef resback_H #define resback_H -char * resbackV[]= +const char * resbackV[]= { "%%%%%%%%", "% BACK %", --- cdcover-0.9.1.orig/ccchelp.h +++ cdcover-0.9.1/ccchelp.h @@ -2,7 +2,7 @@ #ifndef ccchelp_H #define ccchelp_H -char * ccchelpV[]= +const char * ccchelpV[]= { "CD Cover Creator Version 0.9.1 (stable) ", "Creating LaTeX cd-cover files", --- cdcover-0.9.1.orig/resfront.h +++ cdcover-0.9.1/resfront.h @@ -2,7 +2,7 @@ #ifndef resfront_H #define resfront_H -char * resfrontV[]= +const char * resfrontV[]= { "", "%%%%%%%%%", --- cdcover-0.9.1.orig/cccpara2.h +++ cdcover-0.9.1/cccpara2.h @@ -2,7 +2,7 @@ #ifndef cccpara2_H #define cccpara2_H -char * cccpara2V[]= +const char * cccpara2V[]= { "-h", "--help", --- cdcover-0.9.1.orig/cccpara.h +++ cdcover-0.9.1/cccpara.h @@ -2,7 +2,7 @@ #ifndef cccpara_H #define cccpara_H -char * cccparaV[]= +const char * cccparaV[]= { "-h", "--help", --- cdcover-0.9.1.orig/stringlist.cc +++ cdcover-0.9.1/stringlist.cc @@ -41,6 +41,12 @@ Stringlist::Stringlist(int argc,char *ar add(argc,argv); } +Stringlist::Stringlist(int argc,const char *argv[]){ + lineSeperator=STRINGLIST_LS; + fieldSeperator=STRINGLIST_FS; + add(argc,argv); +} + Stringlist::Stringlist(Stringlist &s, VectorIndexList& itemsToCopy){ lineSeperator=STRINGLIST_LS; fieldSeperator=STRINGLIST_FS; @@ -51,6 +57,12 @@ void Stringlist::add(int argc, char *arg for (int i=0; i<argc; i++){ add(argv[i]); } +} + +void Stringlist::add(int argc, const char *argv[]){ + for (int i=0; i<argc; i++){ + add(argv[i]); + } } --- cdcover-0.9.1.orig/stringlist.h +++ cdcover-0.9.1/stringlist.h @@ -75,6 +75,7 @@ public: Stringlist(Stringlist &s); Stringlist(Stringlist &s, VectorIndexList& itemsToCopy); Stringlist(int argc, char *argv[]); + Stringlist(int argc, const char *argv[]); ~Stringlist(); //Destroys Binaries! void copySplit(Bytevector &source, Bytevector lineSeperator); @@ -86,6 +87,7 @@ public: void clear(); void add(int argc,char *argv[]); + void add(int argc,const char *argv[]); void add(char *c); void add(const char *c); //add copy of *b void add(Bytevector *b); //insert *b without making a copy (fast, but little dangerous!) ���������������������������������������������������������debian/patches/allow-make-clean.diff����������������������������������������������������������������0000644�0000000�0000000�00000000560�11407444420�014561� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Allow make clean to operate, even if the source is already clean. Author: Neil Williams <codehelp@debian.org> --- --- cdcover-0.9.1.orig/Makefile +++ cdcover-0.9.1/Makefile @@ -33,7 +33,7 @@ stringlist.o: bytevector.o stringlist.h $(CC) -c stringlist.cc $(CFLAGS) clean: - rm *.o cdcover + $(RM) *.o cdcover install: ccc cp cdcover $(INSTDIR) ������������������������������������������������������������������������������������������������������������������������������������������������debian/control��������������������������������������������������������������������������������������0000644�0000000�0000000�00000000667�12263300635�010602� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Source: cdcover Section: text Priority: optional Maintainer: Georges Khaznadar <georgesk@debian.org> Build-Depends: debhelper (>= 5), hardening-wrapper Standards-Version: 3.9.5 HomePage: https://github.com/karlp/cdcover Package: cdcover Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, texlive-latex-base Description: Creating Data-CD Covers cdcover is a little commandline tool which creates user-defined data-cd covers. �������������������������������������������������������������������������debian/manpages�������������������������������������������������������������������������������������0000644�0000000�0000000�00000000013�11407415651�010702� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cdcover.1 ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/compat���������������������������������������������������������������������������������������0000644�0000000�0000000�00000000002�11407414231�010361� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������5 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/watch����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000046�11407416027�010221� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# no upstream location exists anymore ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/copyright������������������������������������������������������������������������������������0000644�0000000�0000000�00000002503�11407415242�011121� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������This package was debianized by Adrian Bunk <bunk@fs.tum.de> on Tue, 23 May 2000 23:57:46 +0200. It was downloaded from http://www.meybohm.de/os/ccc.html Upstream Author: Ulli Meybohm <ulli@meybohm.de> Copyright 2000, Ulli Meybohm, www.meybohm.de GNU General Public License This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. Copyright notice: The program uses the tex-template of the GPL'd program "disc-cover" (C) Jano van Hemert, which is a great program to create covers for audio-cds. It can be found at http://www.liacs.nl/~jvhemert/disc-cover ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/��������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11407414325�010467� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/format��������������������������������������������������������������������������������0000644�0000000�0000000�00000000014�11431536075�011701� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3.0 (quilt) ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/dirs�����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000010�11407414636�010047� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������usr/bin ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/docs�����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000014�11407414117�010034� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������README TODO ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/changelog������������������������������������������������������������������������������������0000644�0000000�0000000�00000007451�12263301500�011037� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cdcover (0.9.1-11) unstable; urgency=low * updated Homepage in d/control * changed my DEBEMAIL * upgraded Standards-Version to 3.9.5 * added a build-dependency on hardening-wrapper, and modified d/rules accordingly -- Georges Khaznadar <georgesk@debian.org> Wed, 08 Jan 2014 17:45:32 +0100 cdcover (0.9.1-10) unstable; urgency=low * upgraded Standards-Version to 3.9.2 * changed debian/rules to use dh * Checked that the packages is built correctly with pdebuild Closes: #643076 * renamed automatic debian patches in order to evoke approximately their contents -- Georges Khaznadar <georgesk@ofset.org> Thu, 29 Sep 2011 19:57:44 +0200 cdcover (0.9.1-9) unstable; urgency=low * adopted the package. Closes: #508227 * upgraded Standards-Version to 3.9.1 * added the management for const char lists (suppresses C++ warnings). * modified the header of the LaTeX file to avoid using the package isolatin1 in favor of the package inputenc with utf8x option. Closes: #539592 * removed a broken http link from header of the LaTeX file. -- Georges Khaznadar <georgesk@ofset.org> Sat, 14 Aug 2010 18:33:52 +0200 cdcover (0.9.1-8) unstable; urgency=low * QA upload. * Fix make clean target. -- Neil Williams <codehelp@debian.org> Sun, 20 Jun 2010 18:00:20 +0100 cdcover (0.9.1-7) unstable; urgency=low * QA upload. * Migrate to 3.0 (quilt), collating previous NMU's. Thanks to Margarita Manterola <marga@debian.org>, Frank Küster <frank@debian.org> and Andreas Barth <aba@not.so.argh.org>. -- Neil Williams <codehelp@debian.org> Sun, 20 Jun 2010 14:36:15 +0100 cdcover (0.9.1-6.3) unstable; urgency=low * Non-maintainer upload to fix uninstallable package. * Changed dependency from tetex-* to texlive-latex-base. (Closes: #400597) -- Margarita Manterola <marga@debian.org> Thu, 30 Aug 2007 22:41:07 -0300 cdcover (0.9.1-6.2) unstable; urgency=low * NMU to fix RC bug * There was a typo in my patch that lead to the previous NMU, and is now fixed by this upload, s/latin/latin1/ (closes: #401198) -- Frank Küster <frank@debian.org> Thu, 7 Dec 2006 19:03:37 +0100 cdcover (0.9.1-6.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS: replace \usepackage{isolatin1} with inputenc. Closes: #401198 -- Andreas Barth <aba@not.so.argh.org> Tue, 5 Dec 2006 20:48:16 +0000 cdcover (0.9.1-6) unstable; urgency=low * Bumped standards-version to 3.6.2. * Bumped DH_COMPAT to 4, and minor fixed in rules to go along. -- Roberto Suarez Soto <turgon@debian.org> Thu, 22 Dec 2005 15:00:16 +0100 cdcover (0.9.1-5) unstable; urgency=low * Bumped standards-version to 3.6.1. -- Roberto Suarez Soto <turgon@debian.org> Tue, 11 May 2004 11:39:21 +0200 cdcover (0.9.1-4) unstable; urgency=low * Added patch by John Lightsey <john@nixnuts.net>. Thanks, John! (Closes: #194876) * Bumped stardards-version to 3.5.10. -- Roberto Suarez Soto <turgon@debian.org> Thu, 5 Jun 2003 10:37:21 +0200 cdcover (0.9.1-3) unstable; urgency=low * Added "-DI_AM_A_SUCKER" to Makefile (really!). Closes: #91779 -- Roberto Suarez Soto <turgon@debian.org> Sat, 16 Feb 2002 19:48:42 +0100 cdcover (0.9.1-2.1) unstable; urgency=low * NMU * Fix g++ 3.0 errors: diff from patch applied. Closes: #105003 -- LaMont Jones <lamont@debian.org> Mon, 3 Dec 2001 20:26:53 -0700 cdcover (0.9.1-2) unstable; urgency=low * Adopted package from Adrian Bunk * Removed menu entry (closes Bug#84329) * Changed the changelog the right way :-) -- Roberto Suarez Soto <turgon@debian.org> Fri, 16 Feb 2001 12:21:24 +0100 cdcover (0.9.1-1) unstable; urgency=low * Initial Release. * Upload sponsored by Tony Mancill <tmancill@debian.org> -- Adrian Bunk <bunk@fs.tum.de> Tue, 23 May 2000 23:57:46 +0200 Local variables: mode: debian-changelog End: �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/rules����������������������������������������������������������������������������������������0000755�0000000�0000000�00000000773�12263300661�010254� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_HARDENING=1 DESTDIR = $(CURDIR)/debian/cdcover %: dh $@ �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������