[Lunar-commits] <moonbase> psutils: switch to texlive

Paul Bredbury brebs at lunar-linux.org
Fri Jan 21 12:04:07 CET 2011


commit fed275f8e262b8c172be862c1ad9bb88582a51ee
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Jan 21 18:04:07 2011 +0700

    psutils: switch to texlive
    
    To avoid the file conflict with the huge texlive module, and bring
    psutils up-to-date.
    
    groff and a2ps both compile.
---
 doc-tools/texlive/BUILD   |    6 +++---
 doc-tools/texlive/DEPENDS |    2 +-
 printer/psutils/BUILD     |    8 ++++----
 printer/psutils/DETAILS   |   22 +++++++++++-----------
 4 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/doc-tools/texlive/BUILD b/doc-tools/texlive/BUILD
index d74de01..80c49dc 100644
--- a/doc-tools/texlive/BUILD
+++ b/doc-tools/texlive/BUILD
@@ -21,7 +21,7 @@
   # presumably should be:
   # xmltools -> ../share/texmf-dist/scripts/context/ruby/xmltools.rb
   # Show them by running:  ls -l /usr/bin | grep stubs
-  
+
   # Prevent the ridiculous behaviour of deleting, then trying to replace, /usr/bin/man
   sedit "s:rm -f man:true:" texk/texlive/linked_scripts/Makefile*  &&
   sedit "s:ln -s /usr/share/texmf/doc/man man:true:" texk/texlive/linked_scripts/Makefile*  &&
@@ -32,8 +32,8 @@
   # Some options are from http://www.gentoo-portage.com/app-text/texlive-core
   # and http://repos.archlinux.org/wsvn/packages/texlive-bin/trunk/
   # xindy should be in its own module, because its compilation needs latex to be *already* installed.
-  # luatex is provided by the luatex module.
-  OPTS+=" --datadir=/usr/share --disable-multiplatform --disable-native-texlive-build --with-system-zlib --with-system-freetype2 --with-system-libpng --with-gs=gs --disable-xindy --enable-etex --disable-luatex --enable-xetex --enable-ipc --enable-shared --enable-static=no"  &&
+  # luatex and psutils are individual modules.
+  OPTS+=" --datadir=/usr/share --disable-multiplatform --disable-native-texlive-build --with-system-zlib --with-system-freetype2 --with-system-libpng --with-gs=gs --disable-xindy --enable-etex --disable-luatex --disable-psutils --enable-xetex --enable-ipc --enable-shared --enable-static=no"  &&
 
   default_build  &&
 
diff --git a/doc-tools/texlive/DEPENDS b/doc-tools/texlive/DEPENDS
index 6ba3a9e..955f505 100644
--- a/doc-tools/texlive/DEPENDS
+++ b/doc-tools/texlive/DEPENDS
@@ -3,7 +3,7 @@ depends  w3c-libwww
 depends  texlive-texmf
 depends  gd
 depends  fontconfig
-depends  ghostscript
+depends  psutils
 
 # Needed to run fmtutil-sys in POST_INSTALL
 depends  luatex
diff --git a/printer/psutils/BUILD b/printer/psutils/BUILD
index 3a7a9c7..ae8b10c 100644
--- a/printer/psutils/BUILD
+++ b/printer/psutils/BUILD
@@ -1,8 +1,8 @@
 (
 
-  sedit  "s/\/local//"  Makefile.unix  &&
-  make  -f  Makefile.unix              &&
-  prepare_install                      &&
-  make  -f  Makefile.unix  install
+  # Only build psutils
+  OPTS+=" --disable-all-pkgs --enable-psutils --enable-ipc --enable-shared --enable-static=no --disable-multiplatform --disable-native-texlive-build --with-gs=gs"  &&
+
+  default_build
 
 ) > $C_FIFO 2>&1
diff --git a/printer/psutils/DETAILS b/printer/psutils/DETAILS
index f0a7153..453fc09 100644
--- a/printer/psutils/DETAILS
+++ b/printer/psutils/DETAILS
@@ -1,14 +1,14 @@
-           MODULE=psutils
-         VERSION=p17
-          SOURCE=$MODULE-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
-   SOURCE_URL[0]=http://www.ctan.org/tex-archive/support/psutils/
-   SOURCE_URL[1]=http://download.lunar-linux.org/lunar/mirrors/
-      SOURCE_VFY=sha1:6f1ecb5846cffb644826a02bd9153fe5d6387a9b
-        WEB_SITE=http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html
-         ENTERED=20010922
-         UPDATED=20010922
-           SHORT="utilities for manipulating PostScript files."
+          MODULE=psutils
+         VERSION=20100722
+          SOURCE=texlive-$VERSION-source.tar.xz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/texlive-$VERSION-source
+      SOURCE_URL=ftp://tug.org/historic/systems/texlive/${VERSION:0:4}
+      SOURCE_VFY=sha1:c5573c0617f1a44235212277959f48fb76590542
+        WEB_SITE=http://www.tug.org/texlive/
+         ENTERED=20110119
+         UPDATED=20110119
+           SHORT="Utilities for manipulating PostScript files"
+
 cat << EOF
 A small set of invaluable utilities for manipulating PostScript files by
 selecting certain pages, re-ordering pages to facilitate printing books,


More information about the Lunar-commits mailing list