--- cdcat-1.2.orig/debian/copyright +++ cdcat-1.2/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Eduard Bloch on +Fri, 5 Mar 2004 15:31:31 +0100. + +It was downloaded from http://cdcat.sourceforge.net/ + +Upstream Authors: Peter Deak , Christoph Thielecke , Piotr "|TEcHNO|" Lewandowski + +Copyright: + + 2003-2006 Peter Deak + 2003,2010-2011 Christoph Thielecke + 2004 Piotr "|TEcHNO|" Lewandowski + +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. + +On Debian systems, see "/usr/share/common-licenses/GPL" for details. + --- cdcat-1.2.orig/debian/cdcat.desktop +++ cdcat-1.2/debian/cdcat.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=CdCat +Exec=cdcat +Icon=cdcat +Categories=Qt;KDE;Utility;X-KDE-Utilities-File;System;Archiving; +StartupNotify=false +NoDisplay=false +Terminal=false +Comment=Disk and data archive management tool +Comment[de]=Verwaltung für Datendisks und Archive --- cdcat-1.2.orig/debian/control +++ cdcat-1.2/debian/control @@ -0,0 +1,15 @@ +Source: cdcat +Section: x11 +Priority: optional +Maintainer: Eduard Bloch +Build-Depends: debhelper (>= 7), qt4-qmake, libqt4-dev, libpcre3-dev, libexpat1-dev, dpatch, zlib1g-dev +Standards-Version: 3.9.1 + +Package: cdcat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: media catalog program + CDCat is a graphical, multiplatform media catalog program which scans the + directories/drives you specify and makes a list of the filesystem + contents (including the tags of MP3 files) and stores the result in a + gzipped XML file. --- cdcat-1.2.orig/debian/rules +++ cdcat-1.2/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# 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/dpatch/dpatch.make + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP=strip +else + STRIP=true +endif + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + cd src && qmake-qt4 cdcat.pro + perl -pe s/usr.local/usr/g -i src/Makefile + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp patch-stamp + dh_testdir + cd src && $(MAKE) $(MAKEFLAGS) && lrelease-qt4 cdcat.pro + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp src/cdcat + + # Add here commands to clean up after the build process. + -test -f src/Makefile || make debian/rules configure + -cd src && $(MAKE) clean && rm Makefile + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + # Add here commands to install the package into debian/cdcat. + cd src && $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp STRIP=$(STRIP) + +# 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_install + dh_installchangelogs ChangeLog + cp debian/cdcat.desktop debian/cdcat/usr/share/applications + cp cdcat.png debian/cdcat/usr/share/icons + dh_installdocs + dh_installman debian/cdcat.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installmenu + -dh_icons + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- cdcat-1.2.orig/debian/cdcat.docs +++ cdcat-1.2/debian/cdcat.docs @@ -0,0 +1,7 @@ +README +README_IMPORT +README_IMPORT.DE +README_IMPORT.HU +TODO +Authors +TRANSLATORS_README --- cdcat-1.2.orig/debian/changelog +++ cdcat-1.2/debian/changelog @@ -0,0 +1,91 @@ +cdcat (1.2-1) unstable; urgency=low + + * New upstream release (closes: #604505) + * added cdcat.desktop (closes: #496097) + + -- Eduard Bloch Wed, 23 Mar 2011 08:38:48 +0100 + +cdcat (1.01b+1.1beta4-1) experimental; urgency=low + + * New upstream beta release + + using qt4 (closes: #604505) + * using new style menu entry location (closes: #496097) + * disabling strip call with nostrip in DEB_BUILD_OPTIONS (closes: #436617) + + -- Eduard Bloch Thu, 10 Feb 2011 21:10:51 +0100 + +cdcat (1.01b-2) unstable; urgency=low + + * mp3tag_string_termination.dpatch by arno: + String termination correction (closes: #358929) + * explicitely use qmake-qt3 (potential FTBFS), also updated Standards-Version + + -- Eduard Bloch Thu, 12 Jul 2007 22:35:44 +0200 + +cdcat (1.01b-1) unstable; urgency=low + + * New upstream release + + adopted the hidden-files-display patch + * g++-4.1_fix.dpatch for incorrect constructor prototype (closes: #356234) + + -- Eduard Bloch Sat, 11 Mar 2006 00:33:32 +0100 + +cdcat (1.0-3) unstable; urgency=low + + * CXX 4.0 transition + + -- Eduard Bloch Mon, 15 Aug 2005 09:46:01 +0200 + +cdcat (1.0-2) unstable; urgency=low + + * dpatched the filesystem scanning function to "see" hidden and system + files (was easier than I expected, closes: #315286) + + -- Eduard Bloch Sat, 2 Jul 2005 13:38:14 +0200 + +cdcat (1.0-1) unstable; urgency=low + + * New upstream release + + includes almost identical french translation (closes: #316410) + + no more crashing on WHALE.AVI (closes: #269754) + + -- Eduard Bloch Sat, 2 Jul 2005 13:15:15 +0200 + +cdcat (0.99-1) unstable; urgency=low + + * New upstream release + + -- Eduard Bloch Thu, 2 Dec 2004 21:05:41 +0100 + +cdcat (0.98-1) unstable; urgency=medium + + * New upstream release + + -- Eduard Bloch Wed, 22 Sep 2004 10:19:15 +0200 + +cdcat (0.97+0.98pre3-1) unstable; urgency=low + + * New upstream pre-release + + -- Eduard Bloch Mon, 20 Sep 2004 17:03:23 +0200 + +cdcat (0.97-1) unstable; urgency=low + + * New upstream release + * using libqt3-mt now + + -- Eduard Bloch Thu, 20 May 2004 14:24:28 +0200 + +cdcat (0.96-2) unstable; urgency=low + + * Completed build dependencies + + -- Eduard Bloch Fri, 5 Mar 2004 16:45:04 +0100 + +cdcat (0.96-1) unstable; urgency=low + + * Initial Release (closes: #219139) + * Included manpage from Jorge Bernal + + -- Eduard Bloch Fri, 5 Mar 2004 15:31:31 +0100 + --- cdcat-1.2.orig/debian/dirs +++ cdcat-1.2/debian/dirs @@ -0,0 +1,5 @@ +usr/bin +usr/share/cdcat/translations +usr/share/doc/cdcat +usr/share/applications +usr/share/icons --- cdcat-1.2.orig/debian/cdcat.install +++ cdcat-1.2/debian/cdcat.install @@ -0,0 +1,3 @@ +usr/bin +debian/cdcat.xpm usr/share/cdcat +src/lang/*.qm usr/share/cdcat/translations --- cdcat-1.2.orig/debian/compat +++ cdcat-1.2/debian/compat @@ -0,0 +1 @@ +7 --- cdcat-1.2.orig/debian/menu +++ cdcat-1.2/debian/menu @@ -0,0 +1,3 @@ +?package(cdcat):needs="x11" section="Applications/File Management" \ + title="CdCat" command="/usr/bin/cdcat" hints="Media,manage,CD,DVD,BD" \ + longtitle="Media catalog program" icon="/usr/share/cdcat/cdcat.xpm" --- cdcat-1.2.orig/debian/cdcat.xpm +++ cdcat-1.2/debian/cdcat.xpm @@ -0,0 +1,196 @@ +/* XPM */ +static char *cdcat[] = { +/* columns rows colors chars-per-pixel */ +"16 15 175 2", +" c #75302F", +". c #8F3A3B", +"X c #9A3837", +"o c #A43D3D", +"O c #F32D2F", +"+ c #E03E3E", +"@ c #FA3535", +"# c #F83738", +"$ c #FC3738", +"% c #F13A3A", +"& c #FE3D3E", +"* c #B24949", +"= c #BF4948", +"- c #B56767", +"; c #CC4040", +": c #D44F4F", +"> c #FE4545", +", c #FD4647", +"< c #FE4747", +"1 c #FD4748", +"2 c #F74A4A", +"3 c #F84848", +"4 c #FC4949", +"5 c #FD4A4B", +"6 c #FE4A4A", +"7 c #FE4A4B", +"8 c #FE4B4B", +"9 c #FE4D4C", +"0 c #FE5352", +"q c #FE5353", +"w c #FB5756", +"e c #FE5757", +"r c #FE5857", +"t c #FE5959", +"y c #FE5A59", +"u c #FE5C5C", +"i c #FE5C5D", +"p c #DA5463", +"a c #DB5F62", +"s c #DE6062", +"d c #FE6161", +"f c #FE6363", +"g c #FE6565", +"h c #FE6665", +"j c #FE6969", +"k c #FE6A6A", +"l c #FA6C6B", +"z c #FE6D6D", +"x c #FE7171", +"c c #FE7373", +"v c #FE7374", +"b c #FE7475", +"n c #FE7777", +"m c #FE7979", +"M c #FE7B7C", +"N c #FE7E7E", +"B c #E67886", +"V c #E47C8D", +"C c #C28B9F", +"Z c #F78282", +"A c #FE8181", +"S c #FE8383", +"D c #FE8484", +"F c #FE8586", +"G c #FE8988", +"H c #FE8A89", +"J c #FE8F8F", +"K c #FE9292", +"L c #FE9393", +"P c #FD9595", +"I c #FE9A9A", +"U c #FE9B9B", +"Y c #FE9C9C", +"T c #DD90A4", +"R c #DBA2A7", +"E c #FEA1A1", +"W c #FEA2A3", +"Q c #FEA3A4", +"! c #FEA4A5", +"~ c #FEA7A7", +"^ c #FEA8A9", +"/ c #FEABAB", +"( c #FEACAB", +") c #FEADAE", +"_ c #FEAFAE", +"` c #EAAAB5", +"' c #EDB0B2", +"] c #FBB0B1", +"[ c #FEB3B3", +"{ c #FEB4B4", +"} c #FEB7B7", +"| c #FEB7B8", +" . c #FEB9B9", +".. c #FEBABA", +"X. c #FEBDBF", +"o. c #B2AACB", +"O. c #ABB7D9", +"+. c #B6BEE1", +"@. c #A6B9F3", +"#. c #A8BCF4", +"$. c #CFB8D6", +"%. c #BCC2DB", +"&. c #ADC1F7", +"*. c #B4C3F3", +"=. c #B2C3F5", +"-. c #B5C6F5", +";. c #B5C6F6", +":. c #BECDF7", +">. c #B7CBFB", +",. c #BACAFA", +"<. c #DACBDE", +"1. c #ECCACA", +"2. c #F0C0C2", +"3. c #FEC4C4", +"4. c #FEC6C6", +"5. c #FEC7C7", +"6. c #F1CDCD", +"7. c #F3CECE", +"8. c #FEC8C9", +"9. c #FEC9CA", +"0. c #FECFCF", +"q. c #EDCFD2", +"w. c #F6D2D2", +"e. c #FED2D0", +"r. c #FED2D2", +"t. c #FED3D3", +"y. c #FEDBDB", +"u. c #FEDDDE", +"i. c #C1CBEA", +"p. c #C7D1EE", +"a. c #CBD3EC", +"s. c #D0D6EE", +"d. c #D6D6EC", +"f. c #DCDEEE", +"g. c #CCD6F5", +"h. c #C3D2F8", +"j. c #CAD6F8", +"k. c #CED9F9", +"l. c #CCD8FD", +"z. c #D2DDF9", +"x. c #D8E0F7", +"c. c #DCE1F4", +"v. c #D1E4FF", +"b. c #D2E6FF", +"n. c #D9E2F9", +"m. c #DAE5FB", +"M. c #DEE6FD", +"N. c #FEE0E0", +"B. c #FEE2E2", +"V. c #F3E6E9", +"C. c #FEEDED", +"Z. c #E2E9FB", +"A. c #E3EAFC", +"S. c #E9EEFF", +"D. c #EEF2FD", +"F. c #EFF2FD", +"G. c #EFF3FD", +"H. c #ECF4FF", +"J. c #F1F4FC", +"K. c #F3F5FC", +"L. c #F3F5FD", +"P. c #F3F5FE", +"I. c #F4F7FD", +"U. c #F8F8FB", +"Y. c #FBFBFD", +"T. c #F8F9FE", +"R. c #FBFBFE", +"E. c #FBFDFF", +"W. c #FCFCFF", +"Q. c #FDFDFF", +"!. c #FDFEFF", +"~. c #FEFEFF", +"^. c #FFFEFF", +"/. c #FFFFFF", +"(. c None", +/* pixels */ +"(.(.(.(.(.(.(.(.q.V.N.e.' s (.(.", +"(.(.7.7.w.1.R 2.C.B.0.X.[ P a (.", +"(.] ~ / ..5.t.u.y.t.4.} / Y l (.", +"Z N G Y ) ..4.8.4.4...) I x 8 > ", +"w b F L E ( [ } } } Q H j 8 @ > ", +"1 k b F K Y E ~ I J m f e 8 @ > ", +"O u g x M A F S ` *.p.a.T > > = ", +"+ 8 u g z x n r H.F.j.W.Y.<.p (.", +"- % 0 t f g r d.!.!.A.Y.E.,.o.(.", +"(.; > 9 0 r t v.n.I.F.c.z.#.@.(.", +"(.(.= 2 > 1 8 v.-.k.l.V +.h.&.(.", +"(.(.(.* 3 & # $.=.-.M.i.f.A.h.O.", +"(.(.(.(.o : # 8 ,.m.!.P.F.!.I.%.", +"(.(.(.(.(.(.X # B K.!.Y.z.W.U.(.", +"(.(.(.(.(.(.(. . C S.P.g.s.(.(." +}; --- cdcat-1.2.orig/debian/cdcat.1 +++ cdcat-1.2/debian/cdcat.1 @@ -0,0 +1,19 @@ +.TH cdcat 1 +.SH NAME +cdcat \- media catalog program +.SH SYNOPSIS +.B cdcat +.SH "DESCRIPTION" +This manual page documents briefly the +.BR cdcat , +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B cdcat +is a graphical, multiplatform media catalog program which scans the +directories/media you specify and makes a list of the filesystem (including +the tags of MP3s) and stores the result in a gzipped XML file. +.SH AUTHOR +This manual page was written by Jorge Bernal , +for the Debian GNU/Linux system (but may be used by others). --- cdcat-1.2.orig/debian/patches/mp3tag_string_termination.dpatch +++ cdcat-1.2/debian/patches/mp3tag_string_termination.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## g++-4.1_fix.dpatch by arno +## + +@DPATCH@ +diff -urN cdcat-1.01b/src/mp3tag.cpp cdcat-1.01b~/src/mp3tag.cpp +--- cdcat-1.01b/src/mp3tag.cpp 2005-08-22 19:03:00.000000000 +0200 ++++ cdcat-1.01b~/src/mp3tag.cpp 2006-08-13 15:59:20.000000000 +0200 +@@ -219,7 +219,7 @@ + unsigned int pos=0; + unsigned int framelen; + char id[5]; +- id[5] ='\0'; ++ id[4] ='\0'; + + fseek(mp3,0,SEEK_END); + flen = ftell(mp3); --- cdcat-1.2.orig/debian/patches/qdir_hidden_scan.dpatch +++ cdcat-1.2/debian/patches/qdir_hidden_scan.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## cvs_fixes.dpatch by Eduard Bloch +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: CVS updates or rollbacks to fix current bugs. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urd cdcat-1.0/src/dbase.cpp cdcat-1.0.obsolete.0.183555545824678/src/dbase.cpp +--- cdcat-1.0/src/dbase.cpp 2005-05-14 21:30:30.000000000 +0200 ++++ cdcat-1.0.obsolete.0.183555545824678/src/dbase.cpp 2005-07-02 14:09:28.000000000 +0200 +@@ -650,7 +650,7 @@ + i = 1 + (QMessageBox::warning(NULL,tr("Error"),errormsg,tr("Ignore directory"),tr("Cancel scanning"))); + return i; + } +- dirlist = dir->entryInfoList(); ++ dirlist = dir->entryInfoList("*", QDir::All|QDir::Hidden|QDir::System); + QFileInfoListIterator it(*dirlist); + QFileInfo *fileInfo; + --- cdcat-1.2.orig/debian/patches/00list +++ cdcat-1.2/debian/patches/00list @@ -0,0 +1,3 @@ +#qdir_hidden_scan +#mp3tag_string_termination +#g++-4.1_fix --- cdcat-1.2.orig/debian/patches/g++-4.1_fix.dpatch +++ cdcat-1.2/debian/patches/g++-4.1_fix.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## g++-4.1_fix.dpatch by Eduard Bloch +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cdcat-1.01b~/src/import.h cdcat-1.01b/src/import.h +--- cdcat-1.01b~/src/import.h 2005-08-22 19:03:00.000000000 +0200 ++++ cdcat-1.01b/src/import.h 2006-03-11 00:23:23.000000000 +0100 +@@ -66,7 +66,7 @@ + + class importGtktalogCsv: public QObject { + Q_OBJECT public: +- importGtktalogCsv::importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle ); ++ importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle ); + ~importGtktalogCsv(); + + /*