diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-10 23:11:00 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-10 23:11:00 +0200 |
commit | e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4 (patch) | |
tree | 625a03b566fb9bda9f22ecc308df46e31e83529c /extra/gv | |
parent | 0cb606a52b2d6e98cf563e4fe1096bb02f65016f (diff) | |
download | nutyx-extra-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.gz nutyx-extra-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.bz2 nutyx-extra-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.xz nutyx-extra-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.zip |
Ajout de gv#3.6.7-2
Diffstat (limited to 'extra/gv')
-rwxr-xr-x | extra/gv/.footprint | 27 | ||||
-rwxr-xr-x | extra/gv/.md5sum | 4 | ||||
-rwxr-xr-x | extra/gv/Pkgfile | 24 | ||||
-rwxr-xr-x | extra/gv/gv.desktop | 11 | ||||
-rwxr-xr-x | extra/gv/gv.install | 18 | ||||
-rwxr-xr-x | extra/gv/gv.png | bin | 0 -> 483 bytes |
6 files changed, 84 insertions, 0 deletions
diff --git a/extra/gv/.footprint b/extra/gv/.footprint new file mode 100755 index 000000000..219955023 --- /dev/null +++ b/extra/gv/.footprint @@ -0,0 +1,27 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gv +-rwxr-xr-x root/root usr/bin/gv-update-userconfig +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/gv.desktop +drwxr-xr-x root/root usr/share/gv/ +-rw-r--r-- root/root usr/share/gv/GV +-rw-r--r-- root/root usr/share/gv/gv_class.ad +-rw-r--r-- root/root usr/share/gv/gv_copyright.dat +-rw-r--r-- root/root usr/share/gv/gv_spartan.dat +-rw-r--r-- root/root usr/share/gv/gv_system.ad +-rw-r--r-- root/root usr/share/gv/gv_user.ad +-rw-r--r-- root/root usr/share/gv/gv_user_res.dat +-rw-r--r-- root/root usr/share/gv/gv_widgetless.dat +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/gv.png +drwxr-xr-x root/root usr/share/info/ +-rw-r--r-- root/root usr/share/info/gv.info.gz +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/gv-update-userconfig.1.gz +-rw-r--r-- root/root usr/share/man/man1/gv.1.gz diff --git a/extra/gv/.md5sum b/extra/gv/.md5sum new file mode 100755 index 000000000..1f5a00616 --- /dev/null +++ b/extra/gv/.md5sum @@ -0,0 +1,4 @@ +fdad147dd0440446cf9daaffca83343f gv-3.6.7.tar.gz +cf04652952f2d0903bc7578b4826f50c gv.desktop +bfb3301c99f580e34e420d187374e074 gv.install +ab0e3879dbe39e59ad1c923020c28a86 gv.png diff --git a/extra/gv/Pkgfile b/extra/gv/Pkgfile new file mode 100755 index 000000000..7791f4a62 --- /dev/null +++ b/extra/gv/Pkgfile @@ -0,0 +1,24 @@ +# Description: Lecteur de document PostScript et PDF +# URL: http://www.gnu.org/software/gv/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: xaw3d +name=gv +version=3.6.7 +release=2 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ + gv.desktop gv.png gv.install) + +build() { + cd $name-$version + sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in} + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + mkdir -p $PKG/usr/share/applications + install -D -m 644 ../$name.desktop $PKG/usr/share/applications/$name.desktop + mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/ + install -D -m 644 ../$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png + rm $PKG/usr/share/info/dir + gzip $PKG/usr/share/info/* +} diff --git a/extra/gv/gv.desktop b/extra/gv/gv.desktop new file mode 100755 index 000000000..6332ee859 --- /dev/null +++ b/extra/gv/gv.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GV +MimeType=application/pdf;application/postscript;image/x-eps;application/illustrator +GenericName=Postscript Viewer +Exec=gv +Icon=gv +Categories=Application;Graphics;Viewer;Office; +Type=Application +Terminal=false +StartupNotify=true diff --git a/extra/gv/gv.install b/extra/gv/gv.install new file mode 100755 index 000000000..6866b2cee --- /dev/null +++ b/extra/gv/gv.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gv.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/extra/gv/gv.png b/extra/gv/gv.png Binary files differnew file mode 100755 index 000000000..59e832a48 --- /dev/null +++ b/extra/gv/gv.png |