debian/0000755000000000000000000000000012151771606007174 5ustar debian/compat0000644000000000000000000000000212151661252010365 0ustar 9 debian/changelog0000644000000000000000000000644712151661252011054 0ustar jp2a (1.0.6-4) unstable; urgency=low * Acknowledge NMU. Thanks to Matthias Klose and Julien Cristau. (Closes: #618208, #642983) * Migrations: - debian format from 1.0 to 3.0. (Closes: #664410) - debian/copyright to new format (1.0). - debian/rules: to new (reduced) format. - debhelper version from 7 to 9. - patch system from dpatch to quilt. * debian/control: - Added dpkg-dev in Build-Depends field. - Added ${misc:Depends} in Depends field. - Improved long description. - Removed screenshot reference from long description. - Updated Standards-Version from 3.8.3 to 3.9.4. - Updated VCS from svn to git. * debian/copyright: updated years from Debian packaging. * debian/README.source: removed because it is useless now. * debian/rules: added "LDFLAGS += -Wl,--as-needed" to avoid messages from dpkg-shlibdeps about ununsed linked libraries. -- Joao Eriberto Mota Filho Thu, 02 May 2013 11:07:33 -0300 jp2a (1.0.6-3.2) unstable; urgency=low * Non-maintainer upload. * Build-Depend on libjpeg-dev, not libjpeg62-dev (closes: #642983) -- Julien Cristau Sun, 29 Jan 2012 18:14:41 +0100 jp2a (1.0.6-3.1) unstable; urgency=low * Non maintainer upload. * Build-depend on libcurl4-gnutls-dev. Closes: #618208. LP: #836803. -- Matthias Klose Mon, 29 Aug 2011 17:56:28 +0200 jp2a (1.0.6-3) unstable; urgency=low * Added patch directory and patch 01 to fix man page. * Updated debhelper version from 5 to 7. * Used dpatch to manage patches. * debian/control: - Added libncurses5-dev to Build-Depends field to avoid a warning from configure script. - Updated Standards-Version from 3.7.2 to 3.8.3. - Updated Vcs-Svn and Vcs-Browser from debian-br-team/unstable/jp2a to debian-br-team/packages/jp2a. * debian/copyright: - Changed, in packaging copyright information, from the expression "(C)" to word "Copyright". - Updated path of the local GPL text. - Updated packaging copyright from 2007 to 2007-2009. * debian/docs: - Removed. The README file tells about program compilation. The man/jp2a.html file has the same content of the man page. * debian/rules: - Added /debian/README.source reference to dh_installdocs. - Changed from "dh_clean -k" to "dh_prep" in install target. - Removed comments about binary-indep and binary-arch. - Removed build redundancy from binary-arch target. - Removed binary-indep from binary target. - Removed unused dh_installman from binary-arch target. - Removed some whitespaces at end of lines. -- Joao Eriberto Mota Filho Tue, 25 Aug 2009 13:07:46 -0300 jp2a (1.0.6-2) unstable; urgency=low * Fixed debian/rules to don't ignore make clean errors. * Changed XS-X-Vcs-Svn to Vcs-Svn in debian/control. * Added Homepage and Vcs-Browser fields in debian/control. * Added Screenshot in long description. * Removed NEWS from debian/docs. -- Joao Eriberto Mota Filho Sun, 09 Sep 2007 12:09:26 -0300 jp2a (1.0.6-1) unstable; urgency=low * Initial release (Closes: #409639) -- Joao Eriberto Mota Filho Fri, 16 Mar 2007 11:40:04 -0300 debian/copyright0000644000000000000000000000211212151661252011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jp2a Source: http://jp2a.sf.net Files: * Copyright: 2006 Christian Stigen Larsen License: GPL-2.0+ Files: debian/* Copyright: 2007-2013 Joao Eriberto Mota Filho License: GPL-2.0+ License: GPL-2.0+ 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/control0000644000000000000000000000140112151771500010564 0ustar Source: jp2a Section: graphics Priority: optional Maintainer: Joao Eriberto Mota Filho Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), autotools-dev, libjpeg-dev, libcurl4-gnutls-dev, libncurses5-dev Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/git/collab-maint/jp2a.git Vcs-Git: git://anonscm.debian.org/collab-maint/jp2a.git Homepage: http://csl.sublevel3.org/jp2a Package: jp2a Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: converts jpg images to ascii Small utility that converts JPG images to ASCII using libjpeg. jp2a is very flexible. It can use ANSI colors and html in output. . jp2a can also download and convert images from the Internet via command line. debian/rules0000755000000000000000000000044612151771500010251 0ustar #!/usr/bin/make -f # export DH_VERBOSE=1 # HARDENING in GCC (needed to use LDFLAGS below) export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # Removing useless package dependencies LDFLAGS += -Wl,--as-needed %: dh $@ --parallel debian/source/0000755000000000000000000000000012151661252010467 5ustar debian/source/format0000644000000000000000000000001412151661252011675 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000006012151661252010214 0ustar version=3 http://sf.net/jp2a/jp2a-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012151661252010616 5ustar debian/patches/series0000644000000000000000000000001612151661252012030 0ustar manpage.patch debian/patches/manpage.patch0000644000000000000000000000476112151661252013257 0ustar Description: fix mistakes in upstream manpage. Author: Joao Eriberto Mota Filho Last-Update: 2013-05-02 diff -urNad jp2a-1.0.6~/man/jp2a.1 jp2a-1.0.6/man/jp2a.1 --- jp2a-1.0.6~/man/jp2a.1 2006-09-04 08:49:46.000000000 -0300 +++ jp2a-1.0.6/man/jp2a.1 2009-08-25 21:00:55.000000000 -0300 @@ -19,7 +19,7 @@ .TP .B \-\-background=light \-\-background=dark If you don't want to mess with \-\-invert all the time, just use these instead. -If you are using white characters on a black display, then use --background=dark, +If you are using white characters on a black display, then use \-\-background=dark, and vice versa. .TP .B \-b \-\-border @@ -27,7 +27,7 @@ .TP .BI \-\-chars= ... Use the given characters when producing the output ASCII image. Default is " ...',;:clodxkO0KXNWM". -.Tp +.TP .BI \-\-colors Use ANSI color for text output and CSS color for HTML output. .TP @@ -50,11 +50,11 @@ When used with \-\-html and \-\-color, then color each output character's background color. For instance, if you want to use fill-output on a light background, do -jp2a --color --html --html-fill --background=light somefile.jpg --output=dark.html +jp2a \-\-color \-\-html \-\-html-fill \-\-background=light somefile.jpg \-\-output=dark.html To do the same on a light background: -jp2a --color --html --html-fill --background=dark somefile.jpg --output=light.html +jp2a \-\-color \-\-html \-\-html-fill \-\-background=dark somefile.jpg \-\-output=light.html The default is to have fill disabled. .TP @@ -65,7 +65,7 @@ Flip output image vertically .TP .BI \-\-height= N -Set output height. If only --height is specified, then output width will +Set output height. If only \-\-height is specified, then output width will be calculated according to the source images aspect ratio. .TP .B \-h \-\-help @@ -142,7 +142,7 @@ Output picture.jpg and picture2.jpg, each 80x25 characters, using the characters " ...ooxx@@" for output: .PP .B jp2a -\-\-size=80x25 --chars=" ...ooxx@@" picture.jpg picture2.jpg +\-\-size=80x25 \-\-chars=" ...ooxx@@" picture.jpg picture2.jpg .PP Output image.jpg using 76 columns, height is automatically calculated from aspect ratio of image.jpg .PP @@ -188,7 +188,7 @@ You can extract the red channel by doing this: .B jp2a -somefile.jpg --red=1.0 --green=0.0 --blue=0.0 +somefile.jpg \-\-red=1.0 \-\-green=0.0 \-\-blue=0.0 This will calculate luminance based on Y = R*1.0 + G*0.0 + B*0.0. The default values is to use Y = R*0.2989 + G*0.5866 + B*0.1145. debian/gbp.conf0000644000000000000000000000006512151661252010607 0ustar [DEFAULT] debian-branch = debian pristine-tar = True