debian/0000755000000000000000000000000012132652616007172 5ustar debian/qpxtool.menu0000644000000000000000000000030111772177167011574 0ustar ?package(qpxtool):needs="X11" section="Applications/System/Hardware"\ title="QPxTool" description="CD/DVD quality checker"\ command="/usr/bin/qpxtool" icon="/usr/share/pixmaps/qpxtool.xpm" debian/pxfw.install0000644000000000000000000000003411772177167011557 0ustar usr/sbin usr/share/man/man8 debian/qpxtool.lintian-overrides0000644000000000000000000000004211772177167014270 0ustar qpxtool: spelling-error-in-binary debian/libqpx0.lintian-overrides0000644000000000000000000000004211772177167014141 0ustar libqpx0: spelling-error-in-binary debian/changelog0000644000000000000000000001650111772177205011054 0ustar qpxtool (0.7.1.002-6) unstable; urgency=low * QA upload. * Bumped Standards-Version to 3.9.3 (was 3.9.2). * Bumped debhelper version to 9 (was 7.0.50~); updated debian/compat. * Added file debian/patches/05-add-hardening-flags-in-compiler-options.patch. * Updated debian/rules: added hardening flags in compiler options. * Changed build dependency from libpng12-dev to libpng-dev. Added file debian/patches/04-fix-build-with-libpng15.patch. Added small hack in debian/rules (see LIBPNG_VER variable). Build with libpng version 1.5.10 was tested successfully. (Closes: #662481, #648127) * Used [kfreebsd-any] instead of hardcoded list of kFreeBSD architectures [kfreebsd-i386 kfreebsd-amd64] in build dependency. (Closes: #634714) * File debian/copyright was updated in according to Copyright format 1.0. * Fixed such lintian warnings and notes: - out-of-date-copyright-format-uri - hardening-no-relro and hardening-no-fortify-functions -- Boris Pek Tue, 26 Jun 2012 03:11:10 +0300 qpxtool (0.7.1.002-5) unstable; urgency=low * QA upload. * Bump Standards. * Orphaning this. -- Alessio Treglia Tue, 21 Jun 2011 13:04:12 +0200 qpxtool (0.7.1.002-4) unstable; urgency=low * We need both Breaks and Replaces fields. -- Alessio Treglia Wed, 06 Oct 2010 12:48:26 +0200 qpxtool (0.7.1.002-3) unstable; urgency=low * Link against libcam on kfreebsd to fix FTBFS. * debian/control: - Properly replace Conflicts/Replaces with Breaks fields. - Bump Standards. * Update debian/copyright. -- Alessio Treglia Wed, 06 Oct 2010 09:09:15 +0200 qpxtool (0.7.1.002-2) unstable; urgency=low * Correct little typo in the descriptions, thanks to Davide Prina for reporting this (Closes: #582445). * Change my email address. -- Alessio Treglia Sun, 06 Jun 2010 19:48:46 +0200 qpxtool (0.7.1.002-1) unstable; urgency=low * New maintainer (Closes: #543879). * New upstream release. * Move packaging to collab-maint's git area. * Split libraries: - libqpx0 (shared libs) - libqpx-dev (development files) * debian/control: - Drop libqt3-mt-dev, it's no longer needed. - Build-depend on qmake-qt4. - Bump Standards. - Set DM-Upload-Allowed to yes. - Build-depend on libqt4-dev. - Build-depend on libpng12-dev. - Set Conflicts/Replaces proper fields. * Switch to 3.0 (quilt) format. * Switch to debhelper 7. * Drop dpatch support: - Drop 02-typos.dpatch patch, no longer needed. - Drop 03-0.6.1.1.dpatch, no longer needed. - Drop 04-libata.dpatch patch, no longer needed. - 01-qtdir.dpatch -> 01-makefile.patch: + Drop QTDIR which seems to be not respected. + Set QMAKE4 properly. + Add DEP-3 compliant tags. * debian/patches/02-desktop_file.patch: - Fix desktop file as per spec. * debian/{libqpx0,qpxtool}.lintian-overrides: - "MultiMediaMasters & Machinary" is a manufacturer's name and not a spelling error. * debian/rules: - Cleanup. - Fix clean rule by passing the QMAKE4 envar. * Add watch file. -- Alessio Treglia Mon, 26 Apr 2010 09:36:21 +0200 qpxtool (0.6.1-5) unstable; urgency=low * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 10:17:45 +0200 qpxtool (0.6.1-4) unstable; urgency=medium * Adding patch from Mirko Parthey to make qpxtool work with libata (Closes: #463886). * Rediffing 0.6.1.1.dpatch. * Completing clean target in rules, thanks to Barry deFreese (Closes: #442718). * Reordering rules file. * Using lintian debhelper to install lintian overrides. * Rewriting copyright file in machine-interpretable format. * Adding suggests to pxfw in qpxtool. * Adding vcs fields to control file. * Upgrading package to standards 3.8.0. * Upgrading package to debhelper 7. * Removing watch file. * Reverting Makefile.qmake to upstream. -- Daniel Baumann Wed, 02 Jul 2008 12:42:00 +0200 qpxtool (0.6.1-3) unstable; urgency=low * Bumped to new policy. * Using new homepage field in control. * Don't hide make errors in clean target of rules. * Added manpage for deadreader and pioquiet. -- Daniel Baumann Thu, 27 Dec 2007 14:13:00 +0100 qpxtool (0.6.1-2) unstable; urgency=low * Applied patch from upstream to fix FTBFS with linux 2.6.23, thanks to Thomas Maguin . -- Daniel Baumann Tue, 23 Oct 2007 14:47:00 +0200 qpxtool (0.6.1-1) unstable; urgency=low * New upstream release: - Including pxfw. * Updated 02-typos.dpatch. -- Daniel Baumann Sun, 02 Sep 2007 17:50:00 +0200 qpxtool (0.6.0.9-5) unstable; urgency=low * Extendet 04-patch.dpatch to also cover install, not just build. All build system caused breakages are now fixed (Closes: #413211). -- Daniel Baumann Thu, 08 Mar 2007 14:40:00 +0100 qpxtool (0.6.0.9-4) unstable; urgency=low * Reordered dpatches, thanks Eduard for taking care about it before. * Added patch to disable another ldconfig call. * Added lintian overrides. -- Daniel Baumann Thu, 08 Mar 2007 13:06:00 +0100 qpxtool (0.6.0.9-3) unstable; urgency=low * 02-libflags.dpatch, 03-typos.dpatch: dpatch'ified upstream relevant changes from 0.6.0.9-2.1 * 04-CWDA.dpatch: fixes typo in ./build, causing failure in a build environment with invalid $HOME (closes: #413211) -- Eduard Bloch Tue, 06 Mar 2007 18:30:31 +0100 qpxtool (0.6.0.9-2.1) unstable; urgency=low * NMU, blessed by maintainer * Added missing -fPIC flags on libraries, work around hidden build failures on amd64 * setting provisional SONAMEs on the supplementary libraries * debian/rules: explicit removal of final build files * qpxtool/qcheck/test_threads.cpp: minor typo fix -- Eduard Bloch Tue, 06 Mar 2007 17:03:01 +0100 qpxtool (0.6.0.9-2) unstable; urgency=low * Replaced 01-libdeps.dpatch with a patch from upstream. -- Daniel Baumann Sun, 04 Mar 2007 17:42:00 +0100 qpxtool (0.6.0.9-1) unstable; urgency=low * New upstream release. * Removed 01-kfreebsd.dpatch, went upstream. -- Daniel Baumann Sat, 03 Mar 2007 10:49:00 +0100 qpxtool (0.5.4-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Tue, 01 Aug 2006 13:13:00 +0200 qpxtool (0.5.3-3) unstable; urgency=low * Making sure, the patch gets really applied in the right order this time (Closes: #376196). -- Daniel Baumann Sat, 08 Jul 2006 13:26:00 +0200 qpxtool (0.5.3-2) unstable; urgency=low * New email address. * Added patch to fix FTBFS on kFreeBSD (Closes: #376196). -- Daniel Baumann Fri, 07 Jul 2006 08:33:00 +0200 qpxtool (0.5.3-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Mon, 26 Jun 2006 14:03:00 +0200 qpxtool (0.5.0-1) unstable; urgency=low * Initial release (Closes: #357847). * Added manpage. -- Daniel Baumann Tue, 21 Mar 2006 11:01:00 +0100 debian/qpxtool.docs0000644000000000000000000000001411772177167011561 0ustar README TODO debian/rules0000755000000000000000000000156711772177167010277 0ustar #!/usr/bin/make -f DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) export QPXTRANSPORT_EXTRA_LIBS="-lcam" endif Q_CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) Q_CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(Q_CPPFLAGS) Q_CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(Q_CPPFLAGS) Q_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed export Q_CPPFLAGS Q_CFLAGS Q_CXXFLAGS Q_LDFLAGS export LIBPNG_VER="png$(shell dpkg -l | grep libpng | sed -e 's:^.* libpng\([0-9]*\).*$:\1:' | uniq)" %: dh $@ override_dh_auto_clean: [ ! -f Makefile ] || $(MAKE) QMAKE4=qmake-qt4 clean override_dh_auto_install: dh_auto_install install -D -m 0644 debian/pixmap/qpxtool.xpm debian/qpxtool/usr/share/pixmaps/qpxtool.xpm # Uncompress manpages (they are not max compressed) gunzip debian/tmp/usr/share/man/man*/*.gz debian/qpxtool.install0000644000000000000000000000012411772177167012301 0ustar usr/bin usr/lib/qpxtool usr/share/applications usr/share/pixmaps usr/share/man/man1 debian/gbp.conf0000644000000000000000000000005711772177167010627 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/watch0000644000000000000000000000013511772177167010236 0ustar version=3 opts=uversionmangle=s/_([\d]+)/.$1/ \ http://sf.net/qpxtool/qpxtool-(.*)\.tar\.bz2 debian/libqpx-dev.install0000644000000000000000000000003111772177167012643 0ustar usr/include usr/lib/*.so debian/compat0000644000000000000000000000000211772177167010404 0ustar 9 debian/pixmap/0000755000000000000000000000000011772177167010504 5ustar debian/pixmap/qpxtool.xpm0000644000000000000000000002340711772177167012746 0ustar /* XPM */ static char * qpxtool_xpm[] = { "32 32 485 2", " c None", ". c #634F3E", "+ c #664F39", "@ c #66503C", "# c #65513E", "$ c #604B38", "% c #56402D", "& c #483625", "* c #453A32", "= c #363535", "- c #141110", "; c #49321D", "> c #886647", ", c #C1AB97", "' c #DDCFC2", ") c #E9DCD0", "! c #EFE3D8", "~ c #EFE2D7", "{ c #E5D8CC", "] c #D4C8BB", "^ c #B49C86", "/ c #664A30", "( c #191008", "_ c #201F1F", ": c #3E3E3E", "< c #261A11", "[ c #835F3E", "} c #E7D4C3", "| c #FBF8F4", "1 c #FEFDFB", "2 c #FFFEFD", "3 c #FFFEFC", "4 c #FFFDFA", "5 c #FFFBF7", "6 c #FFFCF8", "7 c #FFFEFA", "8 c #FEFCF9", "9 c #FAF4ED", "0 c #D7BCA3", "a c #513C2A", "b c #100B06", "c c #232323", "d c #3E2918", "e c #B09175", "f c #F5EBE1", "g c #FFFAF7", "h c #FFF9F4", "i c #FFF9F5", "j c #FFFAF6", "k c #FFF8F1", "l c #FFF4E7", "m c #FFF6EA", "n c #FFF8EB", "o c #FFFAEE", "p c #FFFDF3", "q c #FFFFF9", "r c #EEDECE", "s c #866A51", "t c #1D130B", "u c #161616", "v c #23170E", "w c #C1A081", "x c #FBE1CE", "y c #FFECDF", "z c #FFF4EC", "A c #FFF5EE", "B c #FFF6EF", "C c #FFF5E9", "D c #FFF0DA", "E c #FFF4DF", "F c #FFF6E3", "G c #FFFAE7", "H c #FFFEEB", "I c #FFFFF2", "J c #FFFFFC", "K c #F3EADF", "L c #94785D", "M c #110C07", "N c #141414", "O c #1D1815", "P c #AA835F", "Q c #FDD9BE", "R c #FFCBAA", "S c #FFD0B2", "T c #FFE8D7", "U c #FFF1E6", "V c #FFF2E8", "W c #FFF4E9", "X c #FFF6EC", "Y c #FFF2E1", "Z c #FFEED1", "` c #FFF4D8", " . c #FFF8DD", ".. c #FFFDE3", "+. c #FFFFED", "@. c #FFFFF8", "#. c #FFFEF9", "$. c #FFFCF2", "%. c #F9EDD8", "&. c #715339", "*. c #050303", "=. c #1C1B1A", "-. c #573C23", ";. c #F3CAA8", ">. c #FFBE94", ",. c #FFC095", "'. c #FFC59B", "). c #FFD2AD", "!. c #FFE8D4", "~. c #FFF1E3", "{. c #FFF3E5", "]. c #FFF5E8", "^. c #FFF2DB", "/. c #FFF0CB", "(. c #FFF8D4", "_. c #FFFCDA", ":. c #FFFFE8", "<. c #FFFFF6", "[. c #FFFDF8", "}. c #FFFAEB", "|. c #FFF7DD", "1. c #FFF7D9", "2. c #E2C8A4", "3. c #2A190C", "4. c #060606", "5. c #251C15", "6. c #AC8867", "7. c #FDBB8D", "8. c #FFB380", "9. c #FFBA88", "0. c #FFC08F", "a. c #FFC898", "b. c #FFD7AF", "c. c #FFEDD9", "d. c #FFF4E4", "e. c #FFF7E7", "f. c #FFF5D9", "g. c #FFF6CA", "h. c #FFFDD5", "i. c #FFFFE1", "j. c #FFFFF4", "k. c #FFFDF6", "l. c #FFFAE8", "m. c #FFF5D7", "n. c #FFF1C7", "o. c #FFECB8", "p. c #F9E8B7", "q. c #836345", "r. c #080504", "s. c #412E1B", "t. c #DCAA7D", "u. c #FFA86C", "v. c #FFAF72", "w. c #FFB57B", "x. c #FFBD84", "y. c #FFC78E", "z. c #FFCF98", "A. c #FFE0B4", "B. c #FFF3DE", "C. c #FFF1D9", "D. c #FFECC2", "E. c #FFF1B9", "F. c #FFFAD7", "G. c #FFFEF3", "H. c #FFFDF4", "I. c #FFF8E2", "J. c #FFF3D0", "K. c #FFEDBA", "L. c #FFE8A8", "M. c #FFE497", "N. c #FFE18C", "O. c #BFA073", "P. c #1E1207", "Q. c #4D4C4A", "R. c #6A4E34", "S. c #F6AB6F", "T. c #FFA15C", "U. c #FFAB68", "V. c #FFB471", "W. c #FFBD7C", "X. c #FFC988", "Y. c #FFD394", "Z. c #FFDC9D", "`. c #FFDEA4", " + c #FFE5B8", ".+ c #FEEDB8", "++ c #FEEEBC", "@+ c #FFE9C6", "#+ c #FFEFD8", "$+ c #FFF6DC", "%+ c #FFF0C5", "&+ c #FFE9AF", "*+ c #FFE397", "=+ c #FFDE82", "-+ c #FFD96E", ";+ c #FFD355", ">+ c #E0BA6B", ",+ c #46311E", "'+ c #353535", ")+ c #2B2724", "!+ c #815D3A", "~+ c #FE9D50", "{+ c #FF9946", "]+ c #FFAA5F", "^+ c #FFB66C", "/+ c #FFC078", "(+ c #FFCD86", "_+ c #FFD994", ":+ c #FFDB92", "<+ c #FFDB8B", "[+ c #EEDEA3", "}+ c #C0B18E", "|+ c #CBBEA5", "1+ c #F8E6C7", "2+ c #FFDCA9", "3+ c #FFE9B6", "4+ c #FFE8A7", "5+ c #FFE08D", "6+ c #FFD972", "7+ c #FFD359", "8+ c #FFCB3E", "9+ c #FFC21D", "0+ c #F1BE4A", "a+ c #5E452B", "b+ c #181717", "c+ c #15110D", "d+ c #88623D", "e+ c #FFA14F", "f+ c #FF9A3F", "g+ c #FFAA54", "h+ c #FFB966", "i+ c #FFC676", "j+ c #FFD587", "k+ c #FFE297", "l+ c #FFDB87", "m+ c #FFE997", "n+ c #CBBE91", "o+ c #D2CBC3", "p+ c #DFD6CD", "q+ c #DDCAA2", "r+ c #FFD78F", "s+ c #FFD989", "t+ c #FFDD80", "u+ c #FFD563", "v+ c #FFCC43", "w+ c #FFC323", "x+ c #FFBD0B", "y+ c #FFBB04", "z+ c #F5BE3A", "A+ c #694C2F", "B+ c #0A0807", "C+ c #0B0703", "D+ c #876139", "E+ c #FFAB5A", "F+ c #FFA951", "G+ c #FFB861", "H+ c #FFC46F", "I+ c #FFD27E", "J+ c #FFE190", "K+ c #FFF1A1", "L+ c #FFE793", "M+ c #FFE6A6", "N+ c #DBCFB5", "O+ c #E2D7CC", "P+ c #E8D8C3", "Q+ c #E9CB8B", "R+ c #FFCB6C", "S+ c #FFD065", "T+ c #FFD154", "U+ c #FFC835", "V+ c #FFC015", "W+ c #FFBB02", "X+ c #FFBA00", "Y+ c #FFBB03", "Z+ c #F4BC3A", "`+ c #66492B", " @ c #0F0C09", ".@ c #7A5632", "+@ c #FCB365", "@@ c #FFB760", "#@ c #FFC671", "$@ c #FFD27F", "%@ c #FFE08E", "&@ c #FFF0A0", "*@ c #FFFBB5", "=@ c #FFF6C4", "-@ c #FFDDAD", ";@ c #FCE2BD", ">@ c #E8D6B5", ",@ c #F2D8AC", "'@ c #FFC453", ")@ c #FFCF50", "!@ c #FFC018", "~@ c #FFBB06", "{@ c #ECB641", "]@ c #583C22", "^@ c #100F0F", "/@ c #1A1919", "(@ c #5D4023", "_@ c #F0B66C", ":@ c #FFC570", "<@ c #FFD380", "[@ c #FFE08F", "}@ c #FFEF9E", "|@ c #FFFBB3", "1@ c #FFFFD2", "2@ c #FFFEF0", "3@ c #FFEDCF", "4@ c #FFD99D", "5@ c #FFDAA0", "6@ c #FFD9A0", "7@ c #FFD790", "8@ c #FFD261", "9@ c #FFC934", "0@ c #FFBB05", "a@ c #FFBB08", "b@ c #D7A447", "c@ c #3A2513", "d@ c #292929", "e@ c #434343", "f@ c #2A1808", "g@ c #C9995C", "h@ c #FFD684", "i@ c #FFE493", "j@ c #FFF2A1", "k@ c #FFFCB5", "l@ c #FFFFD8", "m@ c #FFFEF1", "n@ c #FFF8E5", "o@ c #FFF0C6", "p@ c #FFE9AC", "q@ c #FFEBBC", "r@ c #FFEEC4", "s@ c #FFEFC1", "t@ c #FFE8AB", "u@ c #FFC936", "v@ c #FFBA01", "w@ c #FEBF1C", "x@ c #AD7C41", "y@ c #120801", "z@ c #4D4D4D", "A@ c #515151", "B@ c #070300", "C@ c #8D6032", "D@ c #FADB8E", "E@ c #FFF4A4", "F@ c #FFFFD4", "G@ c #FFF8E6", "H@ c #FFF0C7", "I@ c #FFE292", "J@ c #FFEBB4", "K@ c #FFE9AD", "L@ c #FFDE85", "M@ c #F5BA40", "N@ c #643E1D", "O@ c #020000", "P@ c #2D1807", "Q@ c #E4B46C", "R@ c #FFFAB9", "S@ c #FFFFD7", "T@ c #FFFFF0", "U@ c #FFF0C8", "V@ c #FFE8A9", "W@ c #FFE089", "X@ c #FFDA77", "Y@ c #FFE8AA", "Z@ c #FFEBB5", "`@ c #FFE6A4", " # c #FFE5A4", ".# c #FFDB7A", "+# c #FFC11A", "@# c #FFC121", "## c #C78A3D", "$# c #140902", "%# c #1C1C1C", "&# c #343434", "*# c #010100", "=# c #623D18", "-# c #F2CB92", ";# c #FFF9E9", "># c #FFEFC4", ",# c #FFE8A6", "'# c #FFDF87", ")# c #FFD667", "!# c #FFD258", "~# c #FFE49B", "{# c #FFE5A3", "]# c #FFDB7C", "^# c #FFC017", "/# c #FEBD19", "(# c #E09F3D", "_# c #3E240C", ":# c #040404", "<# c #111111", "[# c #0C0602", "}# c #835628", "|# c #EDC088", "1# c #FFE9B9", "2# c #FFD668", "3# c #FFCE48", "4# c #FFE18F", "5# c #FFE7A8", "6# c #FED068", "7# c #DC9A37", "8# c #603B16", "9# c #070401", "0# c #101010", "a# c #2A2A2A", "b# c #030303", "c# c #130A02", "d# c #663F17", "e# c #DEA257", "f# c #FFD77F", "g# c #FFD86B", "h# c #FFCF49", "i# c #FFC629", "j# c #FFC526", "k# c #FFDF89", "l# c #FFE5A1", "m# c #FFD387", "n# c #C58943", "o# c #4A2B0F", "p# c #0B0601", "q# c #000000", "r# c #171717", "s# c #050200", "t# c #291606", "u# c #9F6525", "v# c #E2A345", "w# c #F6BB3D", "x# c #FDBC1A", "y# c #FFC122", "z# c #FFDD87", "A# c #FFE39F", "B# c #FEE09A", "C# c #FCDA92", "D# c #F4C77A", "E# c #D99B4F", "F# c #84511C", "G# c #1B0E04", "H# c #030101", "I# c #010101", "J# c #2C2C2C", "K# c #060300", "L# c #341C06", "M# c #794919", "N# c #AE742F", "O# c #C88C3B", "P# c #D09A51", "Q# c #CF9A54", "R# c #C48C4A", "S# c #A87035", "T# c #6D4216", "U# c #030100", "V# c #303030", "W# c #19120C", "X# c #2B1E13", "Y# c #332211", "Z# c #312111", "`# c #281C11", " $ c #18110D", ".$ c #272727", "+$ c #5A5A5A", "@$ c #181818", "#$ c #020202", "$$ c #131313", "%$ c #1D1D1D", "&$ c #3D3D3D", "*$ c #666666", "=$ c #323232", "-$ c #0C0C0C", ";$ c #050505", ">$ c #565656", ",$ c #0D0D0D", "'$ c #080808", ")$ c #2B2B2B", "!$ c #585858", "~$ c #0A0A0A", "{$ c #3F3F3F", "]$ c #808080", "^$ c #3A3A3A", "/$ c #0E0E0E", "($ c #1A1A1A", "_$ c #191919", ":$ c #0B0B0B", " ", " . + @ # $ % & * = ", " - ; > , ' ) ! ~ { ] ^ / ( _ : ", " < [ } | 1 2 3 4 5 6 7 8 9 0 a b c ", " d e f g h h i j k l m n o p q r s t u ", " v w x y z z A B k C D E F G H I J K L M N ", " O P Q R S T U V W X Y Z ` ...+.@.#.$.%.&.*. ", " =.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4. ", " 5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r. ", " s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P. ", " Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+,+'+ ", " )+!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+8+9+0+a+b+ ", " c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+A+B+ ", " C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+Y+Z+`+*. ", " @.@+@@@#@$@%@&@*@=@-@;@>@,@$@'@)@U+!@Y+X+X+~@{@]@^@ ", " /@(@_@:@<@[@}@|@1@2@3@4@5@6@7@8@9@!@0@X+X+X+a@b@c@d@ ", " e@f@g@h@i@j@k@l@m@n@o@p@q@r@s@t@u@v@X+X+X+X+w@x@y@z@ ", " A@B@C@D@E@k@F@2@G@H@4+I@o.s@J@K@L@w+v@X+X+Y+M@N@O@ ", " 4.P@Q@R@S@T@G@U@V@W@X@Y@Z@V@`@ #.#+#X+X+@###$#%# ", " &#*#=#-#;#n@>#,#'#)#!#~#V@`@{#{#M+]#^#/#(#_#:# ", " <#[#}#|#1#,#'#2#3#8+4# #{#{#{#`@5#6#7#8#9#0# ", " a#b#c#d#e#f#g#h#i#j#k# #`@`@,#l#m#n#o#p#q# ", " r#:#s#t#u#v#w#x#y#z#A#B#C#D#E#F#G#H#I# ", " J#0#q#K#L#M#N#O#P#Q#R#S#T#t#U#:#u ", " V#b#q#U#W#X#Y#Z#`# $I#b#.$ ", " +$r#@$#$I#$$%$&$*$ ", " =$-$;$>$ ", " ,$I#q#q#q#q#'$)$,$!$ ", " b#;$b#I#q#b#b#q#q#q##$<#~${$]$ b#b# ", " b#:#u ^$/$c ~$q#q#q#q#q#b#($_$:#b#b# ", " r#&#:$q#q#q#I#:$ ", " "}; debian/control0000644000000000000000000000523511772177167010616 0ustar Source: qpxtool Section: otherosfs Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), libcam-dev [kfreebsd-any], libpng-dev, qt4-qmake, libqt4-dev Standards-Version: 3.9.3 Homepage: http://qpxtool.sourceforge.net/ Vcs-Git: git://git.debian.org/collab-maint/qpxtool.git Vcs-Browser: http://git.debian.org/?p=collab-maint/qpxtool.git Package: qpxtool Architecture: any Depends: ${shlibs:Depends}, libqpx0 (= ${binary:Version}), ${misc:Depends} Suggests: pxfw Description: CD/DVD quality checker QPxTool gives you access to all available Quality Checks (Q-Checks) on written and blank media, that are available for your drive. This will help you to find the right media and the optimized writing speed for your hardware, which will increase the chance for a long data lifetime. . QPxTool depends on the used drive, not all drives are able to read the Q-Checks and not all of them are supported by QPxTool. Currently, most newer drives of LiteOn, NEC, Pioneer and Plextor are supported. Package: pxfw Architecture: any Depends: ${shlibs:Depends}, libqpx0 (= ${binary:Version}), qpxtool, ${misc:Depends} Description: Plextor firmware updater QPxTool gives you access to all available Quality Checks (Q-Checks) on written and blank media, that are available for your drive. This will help you to find the right media and the optimized writing speed for your hardware, which will increase the chance for a long data lifetime. . This package contains pxfw, a firmware flash program for Plextor optical drives. Package: libqpx0 Breaks: qpxtool (<< 0.7.1.002-1) Replaces: qpxtool (<< 0.7.1.002-1) Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: CD/DVD quality checker (shared libraries) QPxTool gives you access to all available Quality Checks (Q-Checks) on written and blank media, that are available for your drive. This will help you to find the right media and the optimized writing speed for your hardware, which will increase the chance for a long data lifetime. . This package contains the shared libraries for QPxTool. Package: libqpx-dev Breaks: qpxtool (<< 0.7.1.002-1) Replaces: qpxtool (<< 0.7.1.002-1) Architecture: any Section: libdevel Depends: libqpx0 (= ${binary:Version}), ${misc:Depends} Description: CD/DVD quality checker (development files) QPxTool gives you access to all available Quality Checks (Q-Checks) on written and blank media, that are available for your drive. This will help you to find the right media and the optimized writing speed for your hardware, which will increase the chance for a long data lifetime. . This package contains the headers and development files. debian/copyright0000644000000000000000000000241011772177167011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: QPxTool Upstream-Contact: Gennady "ShultZ" Kozlov Source: https://sourceforge.net/projects/qpxtool/files/ Files: * Copyright: 2005-2007 Gennady "ShultZ" Kozlov License: GPL-2+ Files: debian/* Copyright: 2010 Alessio Treglia 2006-2008 Daniel Baumann 2012 Nobuhiro Iwamatsu 2012 Boris Pek License: GPL-2+ 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, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libqpx0.install0000644000000000000000000000001711772177167012153 0ustar usr/lib/*.so.* debian/source/0000755000000000000000000000000011772177167010506 5ustar debian/source/format0000644000000000000000000000001411772177167011714 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011772177167010635 5ustar debian/patches/series0000644000000000000000000000022211772177167012046 0ustar 01-makefile.patch 02-desktop_file.patch 03-ftbfs_kfreebsd.patch 04-fix-build-with-libpng15.patch 05-add-hardening-flags-in-compiler-options.patch debian/patches/02-desktop_file.patch0000644000000000000000000000066011772177167014547 0ustar Author: Alessio Treglia Description: Fix desktop file according to Freedesktop.org's spec. --- gui/qpxtool.desktop | 1 - 1 file changed, 1 deletion(-) --- qpxtool.orig/gui/qpxtool.desktop +++ qpxtool/gui/qpxtool.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=QPxTool GenericName=CD/DVD media quality checker GenericName[ru]=Проверка качества носителей CD/DVD debian/patches/04-fix-build-with-libpng15.patch0000644000000000000000000001645611772177167016366 0ustar Description: Fix FTBFS with libpng >= 1.4 Author: Nobuhiro Iwamatsu Bug-Debian: http://bugs.debian.org/662481 http://bugs.debian.org/648127 Last-Update: 2012-06-26 --- a/console/f1tattoo/f1tattoo.cpp +++ b/console/f1tattoo/f1tattoo.cpp @@ -81,6 +81,58 @@ int get_device_info(drive_info* drive) } #ifdef USE_LIBPNG +static int my_png_get_image_width(png_structp png_ptr, png_infop info_ptr) { +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_image_width(png_ptr, info_ptr); +#else + return info_ptr->width; +#endif +} + +static int my_png_get_image_height(png_structp png_ptr, png_infop info_ptr) { +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_image_height(png_ptr, info_ptr); +#else + return info_ptr->height; +#endif +} + +static png_byte my_png_get_color_type(png_structp png_ptr, png_infop info_ptr) +{ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_color_type(png_ptr, info_ptr); +#else + return info_ptr->color_type; +#endif +} + +static png_uint_32 my_png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flags) +{ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE); +#else + return (info_ptr->valid & flags); +#endif +} + +static int my_png_get_bit_depth(png_structp png_ptr, png_infop info_ptr) +{ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_bit_depth(png_ptr, info_ptr); +#else + return info_ptr->bit_depth; +#endif +} + +static int my_png_get_rowbytes(png_structp png_ptr, png_infop info_ptr) +{ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + return png_get_rowbytes(png_ptr, info_ptr); +#else + return info_ptr->rowbytes; +#endif +} + bool tattoo_read_png(unsigned char *buf, uint32_t rows, FILE *fp) { png_byte header[8]; // 8 is the maximum size that can be checked @@ -95,6 +147,10 @@ bool tattoo_read_png(unsigned char *buf, uint32_t row, col; int c; int32_t r,g,b; + int num_palette; +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_colorp palette; +#endif if (fread(header, 1, 8, fp) < 8) { printf("Error reading PNG header\n"); @@ -129,9 +185,11 @@ bool tattoo_read_png(unsigned char *buf, png_read_info(png_ptr, info_ptr); - printf("Image size: %ld x %ld\n", info_ptr->width, info_ptr->height); + printf("Image size: %ld x %ld\n", + my_png_get_image_width(png_ptr, info_ptr), + my_png_get_image_height(png_ptr, info_ptr)); - if (info_ptr->width != 3744U || info_ptr->height != rows ) { + if (my_png_get_image_width(png_ptr, info_ptr) != 3744U || my_png_get_image_height(png_ptr, info_ptr) != rows ) { printf("Image should be 3744 x %d", rows); return 1; } @@ -140,17 +198,21 @@ bool tattoo_read_png(unsigned char *buf, // height = info_ptr->height; // bit_depth = info_ptr->bit_depth; +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 number_of_passes = png_set_interlace_handling(png_ptr); +#else + number_of_passes = png_set_interlace_handling(png_ptr); +#endif png_read_update_info(png_ptr, info_ptr); - printf("Color type: [%d] ", info_ptr->color_type); - switch (info_ptr->color_type) { + printf("Color type: [%d] ", my_png_get_color_type(png_ptr, info_ptr)); + switch (my_png_get_color_type(png_ptr, info_ptr)) { case PNG_COLOR_TYPE_GRAY: printf("PNG_COLOR_TYPE_GRAY\n"); break; case PNG_COLOR_TYPE_PALETTE: printf("PNG_COLOR_TYPE_PALETTE\n"); - if (!(info_ptr->valid & PNG_INFO_PLTE)) { + if (!(my_png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE))) { printf("PNG color type is indexed, but no palette found!"); goto err_read_png; } @@ -168,49 +230,64 @@ bool tattoo_read_png(unsigned char *buf, printf("unlnown PNG color type!\n"); goto err_read_png; } - printf("Bit depth : %d\n", info_ptr->bit_depth); - if (info_ptr->bit_depth != 8) { + printf("Bit depth : %d\n", my_png_get_bit_depth(png_ptr, info_ptr)); + if (my_png_get_bit_depth(png_ptr, info_ptr) != 8) { printf("Unsupported bit depth!\n"); goto err_read_png; } - if (info_ptr->valid & PNG_INFO_PLTE) { - printf("Palette : %d colors\n", info_ptr->num_palette); + +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); +#else + num_palette = info_ptr->num_palette; +#endif + if (my_png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) { + printf("Palette : %d colors\n", num_palette); } else { printf("Palette : NO\n"); } - printf("ROW bytes : %ld\n", info_ptr->rowbytes); + printf("ROW bytes : %ld\n", my_png_get_rowbytes(png_ptr, info_ptr)); raw_row_pointer = buf; - png_row_pointer = (png_byte*) malloc(info_ptr->rowbytes); + png_row_pointer = (png_byte*) malloc(my_png_get_rowbytes(png_ptr, info_ptr)); for (row=0; rowwidth < 3744U) + if (my_png_get_image_width(png_ptr, info_ptr) < 3744U) memset(raw_row_pointer, 0, 3744); - switch (info_ptr->color_type) { + switch (my_png_get_color_type(png_ptr, info_ptr)) { case PNG_COLOR_TYPE_GRAY: - for (col=0; colwidth; col++) { + for (col=0; colwidth; col++) { + for (col=0; col= 4 + r = palette[c].red; + g = palette[c].green; + b = palette[c].blue; +#else r = info_ptr->palette[c].red; g = info_ptr->palette[c].green; b = info_ptr->palette[c].blue; +#endif c = (r*11 + g*16 + b*5) / 32; raw_row_pointer[col] = c ^ 0xFF; } +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_set_PLTE(png_ptr, info_ptr, palette, num_palette); +#endif break; case PNG_COLOR_TYPE_RGB: - for (col=0; colwidth; col++) { + for (col=0; col< my_png_get_image_width(png_ptr, info_ptr); col++) { r = png_row_pointer[col*3]; g = png_row_pointer[col*3+1]; b = png_row_pointer[col*3+2]; @@ -219,7 +296,7 @@ bool tattoo_read_png(unsigned char *buf, } break; case PNG_COLOR_TYPE_RGB_ALPHA: - for (col=0; colwidth; col++) { + for (col=0; colwidth; col++) { + for (col=0; col --- lib/qpxtransport/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- qpxtool.orig/lib/qpxtransport/Makefile +++ qpxtool/lib/qpxtransport/Makefile @@ -19,6 +19,6 @@ VER_MAJOR = 0 VER_MINOR = 7 VER_MICRO = 0 -LDLIBS += $(LIBS_HW) $(LIBS_THREAD) $(LIBS_INET) +LDLIBS += $(LIBS_HW) $(LIBS_THREAD) $(LIBS_INET) $(QPXTRANSPORT_EXTRA_LIBS) include ../Makefile.lib debian/patches/05-add-hardening-flags-in-compiler-options.patch0000644000000000000000000000073411772177167021570 0ustar Description: Add hardening flags in compiler options Author: Boris Pek Last-Update: 2012-06-21 --- a/gui/qpxtool.pro +++ b/gui/qpxtool.pro @@ -13,6 +13,11 @@ TARGET = qpxtool DEPENDPATH += . include locale src INCLUDEPATH += . include +QMAKE_CXXFLAGS += $(Q_CXXFLAGS) +QMAKE_CFLAGS_DEBUG += $(Q_CFLAGS) +QMAKE_CFLAGS_RELEASE += $(Q_CFLAGS) +QMAKE_LFLAGS += $(Q_LDFLAGS) + # Input HEADERS += include/about.h \ include/abstractpreview.h \ debian/patches/01-makefile.patch0000644000000000000000000000062711772177167013656 0ustar Author: Alessio Treglia Description: Remove QTDIR which seems to be not respected, set QMAKE4 properly. --- gui/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- qpxtool.orig/gui/Makefile +++ qpxtool/gui/Makefile @@ -1,6 +1,4 @@ -QTDIR=/opt/qt4/lib -QMAKE4= qmake4 -export QTDIR QMAKE4 +QMAKE4= qmake-qt4 all: Makefile.qmake $(MAKE) -f Makefile.qmake