diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 21:01:52 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 21:01:52 +0200 |
commit | 49f0f8a9305b79a05518b1233cf5a3d5c7c94728 (patch) | |
tree | d0dcfe8d385dce888a214cc3727b85e196f92d1d /extra | |
parent | 27b80bafad9013aa528df6eac08662c496bd982b (diff) | |
download | nutyx-pakxe-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.gz nutyx-pakxe-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.bz2 nutyx-pakxe-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.xz nutyx-pakxe-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.zip |
Ajout de xpdf#3.02-1
Diffstat (limited to 'extra')
-rw-r--r-- | extra/xpdf/.footprint | 27 | ||||
-rw-r--r-- | extra/xpdf/.md5sum | 5 | ||||
-rw-r--r-- | extra/xpdf/Pkgfile | 37 | ||||
-rw-r--r-- | extra/xpdf/patch.patch | 21 | ||||
-rw-r--r-- | extra/xpdf/xpdf.desktop | 9 |
5 files changed, 99 insertions, 0 deletions
diff --git a/extra/xpdf/.footprint b/extra/xpdf/.footprint new file mode 100644 index 000000000..cb7505fbf --- /dev/null +++ b/extra/xpdf/.footprint @@ -0,0 +1,27 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/xpdfrc +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pdffonts +-rwxr-xr-x root/root usr/bin/pdfimages +-rwxr-xr-x root/root usr/bin/pdfinfo +-rwxr-xr-x root/root usr/bin/pdftoppm +-rwxr-xr-x root/root usr/bin/pdftops +-rwxr-xr-x root/root usr/bin/pdftotext +-rwxr-xr-x root/root usr/bin/xpdf +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/xpdf.desktop +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/pdffonts.1.gz +-rw-r--r-- root/root usr/share/man/man1/pdfimages.1.gz +-rw-r--r-- root/root usr/share/man/man1/pdfinfo.1.gz +-rw-r--r-- root/root usr/share/man/man1/pdftoppm.1.gz +-rw-r--r-- root/root usr/share/man/man1/pdftops.1.gz +-rw-r--r-- root/root usr/share/man/man1/pdftotext.1.gz +-rw-r--r-- root/root usr/share/man/man1/xpdf.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/xpdfrc.5.gz +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/xpdf.xpm diff --git a/extra/xpdf/.md5sum b/extra/xpdf/.md5sum new file mode 100644 index 000000000..f8b778e68 --- /dev/null +++ b/extra/xpdf/.md5sum @@ -0,0 +1,5 @@ +d5ba78f6aae7a58def6c2b4a73d6c59e patch.patch +599dc4cc65a07ee868cf92a667a913d2 xpdf-3.02.tar.gz +877118786dfe27d1b7aa5a6759cc6e45 xpdf-3.02pl1.patch +3a5cb165ae66781e0b21e6219ae06795 xpdf-3.02pl2.patch +6c606eeca046cc9f32835f98f635c084 xpdf.desktop diff --git a/extra/xpdf/Pkgfile b/extra/xpdf/Pkgfile new file mode 100644 index 000000000..4533c692e --- /dev/null +++ b/extra/xpdf/Pkgfile @@ -0,0 +1,37 @@ +# Description: Permet de visionner des documents PDF +# URL: http://www.foolabs.com/xpdf/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: lesstif + +name=xpdf +version=3.02 +release=1 +source=(http://gd.tuwien.ac.at/publishing/$name/$name-$version.tar.gz\ + ftp://ftp.foolabs.com/pub/$name/$name-${version}pl1.patch \ + ftp://ftp.foolabs.com/pub/$name/$name-${version}pl2.patch \ + patch.patch xpdf.desktop ) + +build() { + cd $name-$version + patch -Np1 -i ../$name-${version}pl1.patch + patch -Np1 -i ../$name-${version}pl2.patch +# patch -Np1 -i ../patch.patch + sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' xpdf/GlobalParams.cc + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --enable-multithreaded --enable-wordlist \ + --with-freetype2-includes=/usr/include/freetype2 \ + --with-t1-library=/usr/lib \ + --with-t1-includes=/usr/include \ + --x-includes=/usr/include \ + --with-Xm-library=/usr/lib \ + --with-Xm-includes=/usr/include + make + make DESTDIR=$PKG install + install -Dm644 ../xpdf.desktop \ + $PKG/usr/share/applications/xpdf.desktop + install -Dm644 xpdf/xpdfIcon.xpm \ + $PKG/usr/share/pixmaps/xpdf.xpm +} diff --git a/extra/xpdf/patch.patch b/extra/xpdf/patch.patch new file mode 100644 index 000000000..19d5bc95c --- /dev/null +++ b/extra/xpdf/patch.patch @@ -0,0 +1,21 @@ +--- VendorP.h~ ++++ VendorP.h +@@ -76,6 +76,8 @@ +XtPointer extension; /* pointer to extension record +*/ +} VendorShellClassPart; + ++struct VendorShellClassRec; ++/* +typedef struct _VendorShellClassRec { +CoreClassPart core_class; +CompositeClassPart composite_class; +@@ -85,7 +87,7 @@ +} VendorShellClassRec; + +externalref VendorShellClassRec vendorShellClassRec; +- ++*/ +/* New fields for the vendor shell widget. */ + +typedef struct { diff --git a/extra/xpdf/xpdf.desktop b/extra/xpdf/xpdf.desktop new file mode 100644 index 000000000..92011c573 --- /dev/null +++ b/extra/xpdf/xpdf.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=xpdf +Comment=Views Adobe PDF (acrobat) files +Exec=xpdf +Terminal=0 +Type=Application +Icon=xpdf +Categories=Application;Office; +MimeType=application/pdf; |