Browse Source

* added img2pdf (0.5) - Converts a list of images to a single, multi-page PDF document

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20252 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
54af4f1fe2
  1. 38
      graphic/img2pdf/fix_make_static.patch
  2. 26
      graphic/img2pdf/img2pdf.cache
  3. 17
      graphic/img2pdf/img2pdf.conf
  4. 36
      graphic/img2pdf/img2pdf.desc

38
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

26
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

17
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/'

36
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 <newt@pobox.com>
[M] Alejandro Mery <amery@opensde.org>
[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/
Loading…
Cancel
Save