--- makexvpics-1.0.1.orig/Makefile +++ makexvpics-1.0.1/Makefile @@ -4,12 +4,12 @@ # these days, but just in case...), uncomment this: #KRDEF=-DKANDR -CFLAGS = -O $(KRDEF) +CFLAGS = -O2 $(KRDEF) # these are where makexvpics and ppmtoxvmini are installed -PREFIX = /usr/local +PREFIX = $(DESTDIR)/usr BINDIR = $(PREFIX)/bin -MANDIR = $(PREFIX)/man/man1 +MANDIR = $(PREFIX)/share/man/man1 # You shouldn't need to modify anything below this line. @@ -22,7 +22,7 @@ install: all install -m 511 -s ppmtoxvmini $(BINDIR) install -m 555 makexvpics.sh $(BINDIR)/makexvpics - install -m 444 makexvpics.1 $(MANDIR) + install -m 444 makexvpics.1 ppmtoxvmini.1 $(MANDIR) clean: $(RM) *.o *~ ppmtoxvmini --- makexvpics-1.0.1.orig/makexvpics.sh +++ makexvpics-1.0.1/makexvpics.sh @@ -13,7 +13,7 @@ # Uncomment this if you have my `pcx2ppm' installed, which copes with # more types of PCX than netpbm's `pcxtoppm' does. -#USE_PCX2PPM=y +[ -x /usr/bin/pcx2ppm ] && USE_PCX2PPM=y # usage: do_xvpic picture_file --- makexvpics-1.0.1.orig/debian/dirs +++ makexvpics-1.0.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- makexvpics-1.0.1.orig/debian/copyright +++ makexvpics-1.0.1/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Chris Lawrence on +Mon, 19 Nov 2001 19:52:46 -0600. + +It was downloaded from +ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/misc/makexvpics-1.0.1.tar.gz + +Upstream Author: Russell Marks + +Copyright: + +Released into the public domain by Russell Marks. --- makexvpics-1.0.1.orig/debian/docs +++ makexvpics-1.0.1/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- makexvpics-1.0.1.orig/debian/control +++ makexvpics-1.0.1/debian/control @@ -0,0 +1,18 @@ +Source: makexvpics +Section: graphics +Priority: optional +Maintainer: Chris Lawrence +Build-Depends: debhelper (>> 4) +Standards-Version: 3.6.2 + +Package: makexvpics +Architecture: any +Depends: ${shlibs:Depends}, libjpeg-progs, netpbm +Suggests: xzgv, zgv +Description: updates .xvpics thumbnails from the command line + This package includes a shell script and a C helper program to update + XV/zgv/xzgv thumbnails from the command line. + . + Note that the thumbnails used by GNOME and KDE are in a different, + incompatible format; you will need to use a tool designed for those + desktops to create thumbnails for Nautilus or Konqueror. --- makexvpics-1.0.1.orig/debian/rules +++ makexvpics-1.0.1/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# 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 + +# This is the debhelper compatability version to use. +export DH_COMPAT=4 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/makexvpics.sgml > makexvpics.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/makexvpics. + $(MAKE) install DESTDIR=$(CURDIR)/debian/makexvpics + + +# 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_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- makexvpics-1.0.1.orig/debian/changelog +++ makexvpics-1.0.1/debian/changelog @@ -0,0 +1,11 @@ +makexvpics (1.0.1-2) unstable; urgency=low + + * /usr/doc transition. (Closes: #359534) + + -- Chris Lawrence Tue, 28 Mar 2006 17:10:42 -0500 + +makexvpics (1.0.1-1) unstable; urgency=low + + * Initial Release. (Closes: #120294) + + -- Chris Lawrence Mon, 19 Nov 2001 19:52:46 -0600 --- makexvpics-1.0.1.orig/ppmtoxvmini.1 +++ makexvpics-1.0.1/ppmtoxvmini.1 @@ -0,0 +1,46 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PPMTOXVMINI 1 "November 19, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ppmtoxvmini - convert a raw PPM file to .xvpics format +.SH SYNOPSIS +.B ppmtoxvmini +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B ppmtoxvmini +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBppmtoxvmini\fP is a program that converts raw PPM files to the +special format used by \fPxv\fP, \fPzgv\fP, and other tools. It +should not be called directly; instead, use the \fPmakexvpics\fP tool +for your own sanity. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-genmap +Generate the correct colormap for the input PPM files to stdout. +.SH SEE ALSO +.BR makexvpics(1) +.SH AUTHOR +This manual page was written by Chris Lawrence , +for the Debian GNU/Linux system (but may be used by others).