diff --git a/graphic/img2pdf/fix_make_static.patch b/graphic/img2pdf/fix_make_static.patch new file mode 100644 index 000000000..6f80c545d --- /dev/null +++ b/graphic/img2pdf/fix_make_static.patch @@ -0,0 +1,38 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../img2pdf/fix_make_static.patch +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./Makefile.orig 2007-03-06 11:32:41.000000000 -0300 ++++ ./Makefile 2007-03-06 11:35:35.000000000 -0300 +@@ -8,12 +8,13 @@ + -L/usr/local/lib -lpanda -lpng -ltiff -ljpeg -lz -lm + + img2pdf-static: img2pdf.o +- $(LD) -o $@ img2pdf.o \ +- /usr/local/lib/libpanda.a \ +- /usr/local/lib/libpng.a \ +- /usr/local/lib/libtiff.a \ +- /usr/local/lib/libjpeg.a \ +- /usr/local/lib/libz.a -lm ++ $(LD) -o $@ img2pdf.o -static \ ++ -lpanda \ ++ -lpng \ ++ -ltiff \ ++ -ljpeg \ ++ -lz -lm -ldb \ ++ -lpthread + + img2pdf.o: img2pdf.c + $(CC) -g -O2 -Wall -I/usr/local/include -c img2pdf.c diff --git a/graphic/img2pdf/img2pdf.cache b/graphic/img2pdf/img2pdf.cache new file mode 100644 index 000000000..d374283dc --- /dev/null +++ b/graphic/img2pdf/img2pdf.cache @@ -0,0 +1,26 @@ + +[TIMESTAMP] 1173192108 Tue Mar 6 11:41:48 2007 +[BUILDTIME] 100 (9) +[SIZE] 2.18 MB, 9 files + +[DEP] 00-dirtree +[DEP] bash +[DEP] bdb +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] libjpeg +[DEP] libpng +[DEP] libtiff +[DEP] make +[DEP] panda +[DEP] patch +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] zlib diff --git a/graphic/img2pdf/img2pdf.conf b/graphic/img2pdf/img2pdf.conf new file mode 100644 index 000000000..b660f4f79 --- /dev/null +++ b/graphic/img2pdf/img2pdf.conf @@ -0,0 +1,17 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../img2pdf/img2pdf.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# 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; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +makeinstopt= + +hook_add postmake 5 'cp -vf img2pdf img2pdf-static $root$bindir/' diff --git a/graphic/img2pdf/img2pdf.desc b/graphic/img2pdf/img2pdf.desc new file mode 100644 index 000000000..650f95a3e --- /dev/null +++ b/graphic/img2pdf/img2pdf.desc @@ -0,0 +1,36 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../img2pdf/img2pdf.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] Converts a list of images to a single, multi-page PDF document + +[T] Img2pdf is a simple commandline utility to convert a list of PNG, TIFF, +[T] or JPEG images to a single PDF document, one image per page. It was +[T] designed specifically to convert scanned pages to PDF format, but it +[T] will accept images of any aspect ratio and scale them to full page size +[T] (which, in general, will not maintain the aspect ratio). The hard work +[T] is performed by the Panda PDF library and its dependencies. + +[U] http://pobox.com/~newt/greg_software.html + +[A] Greg Roelofs +[M] Alejandro Mery + +[C] extra/tool + +[L] GPL +[S] Alpha +[V] 0.5 +[P] X -----5---9 800.000 + +[D] 2181514696 img2pdf-0.5-src.tgz http://pobox.com/~newt/code/