[Frugalware-git] frugalware-current: texlive-20150523-4-x86_64 * added $USE_PTEX , disabled by default

crazy crazy at frugalware.org
Sun Dec 13 14:15:10 CET 2015


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a30533569e54d66ca6e01dd69d0d2c3e07f032a0

commit a30533569e54d66ca6e01dd69d0d2c3e07f032a0
Author: crazy <crazy at frugalware.org>
Date:   Sun Dec 13 14:14:53 2015 +0100

texlive-20150523-4-x86_64
* added $USE_PTEX , disabled by default

diff --git a/source/xapps-extra/texlive/FrugalBuild b/source/xapps-extra/texlive/FrugalBuild
index 4a96db7..b767d38 100644
--- a/source/xapps-extra/texlive/FrugalBuild
+++ b/source/xapps-extra/texlive/FrugalBuild
@@ -11,6 +11,8 @@
## someone may want to split these in more packages ?
## until then .. disabled by default
: ${USE_EFONTS="n"}
+## japanese thingy
+: ${USE_PTEX="n"}

pkgname=texlive
pkgver=20150523
@@ -75,7 +77,7 @@ Fconfopts+=" \
subpkgs=("$pkgname-xindy" "$pkgname-bibtex-extra" "$pkgname-misc" "$pkgname-formats-extra" \
"$pkgname-templates-extra" "$pkgname-pstricks" "$pkgname-sciences" "$pkgname-htmlxml" \
"$pkgname-graphics" "$pkgname-latex-extra" "$pkgname-lang-cyrillic" "$pkgname-lang-extra" \
-	"$pkgname-utils" "$pkgname-extra" "$pkgname-omega" "$pkgname-latex3" "$pkgname-plain" "$pkgname-ptex")
+	"$pkgname-utils" "$pkgname-extra" "$pkgname-omega" "$pkgname-latex3" "$pkgname-plain")
subdescs=('Xindy package for TeX Live' 'Extra Bibtex Styles for TeX Live' 'Miscellaneous packages for TeX Live' \
'Extra Tex formats for Tex Live' 'Extra publications templates for Tex Live' \
'Extra PsTricks packages for TeX Live' 'Extra science packages for TeX Live' \
@@ -83,25 +85,24 @@ subdescs=('Xindy package for TeX Live' 'Extra Bibtex Styles for TeX Live' 'Misce
'Extra Latex packages for TeX Live' 'Cyrillic language support for TeX Live' \
'Extra languages support for TeX Live' 'Utilities for TeX Live' \
'Extra packages (generic, ..) for TeX Live' 'A 16-bit extended TeX' \
-	'LaTeX3 packages for TeX Live' 'Plain Tex packages for TeX Live' \
-	'A TeX system for publishing in Japanese')
-subdepends=('libsigsegv' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '')
+	'LaTeX3 packages for TeX Live' 'Plain Tex packages for TeX Live')
+subdepends=('libsigsegv' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '')
subrodepends=("$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" \
"$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" \
"$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" \
"$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" \
-	"$pkgname=$pkgver" "$pkgname=$pkgver")
+	"$pkgname=$pkgver")
subgroups=('xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' \
'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' \
-	'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra')
+	'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra' 'xapps-extra')
subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' \
'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' \
-	'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
+	'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
subinstall=("$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg.install" \
"$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install" \
"$pkgname-pkg.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg.install" "$pkgname-pkg.install" \
"$pkgname-pkg.install" "$pkgname-pkg.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install" \
-	"$pkgname-pkg.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install" "$pkgname-ptex.install")
+	"$pkgname-pkg.install" "$pkgname-pkg-nomaps.install" "$pkgname-pkg-nomaps.install")

if Fuse $USE_DOCS; then
subpkgs=("${subpkgs[@]}" "$pkgname-docs")
@@ -144,6 +145,17 @@ if Fuse $USE_EFONTS; then
subinstall=("${subinstall[@]}" "$pkgname-pkg.install")
fi

+if Fuse $USE_PTEX; then
+        subpkgs=("${subpkgs[@]}" "$pkgname-ptex")
+        subdescs=("${subdescs[@]}" "A TeX system for publishing in Japanese")
+        subdepends=("${subdepends[@]}" "")
+        subrodepends=("${subrodepends[@]}" "$pkgname=$pkgver")
+        subgroups=("${subgroups[@]}" "xapps-extra")
+        subarchs=("${subarchs[@]}" 'i686 x86_64')
+        subinstall=("${subinstall[@]}" "$pkgname-ptex.install")
+fi
+
+
build() {
if [ "${CARCH}" = "x86_64" ]; then
export CFLAGS="${CFLAGS} -fPIC"
@@ -730,11 +742,21 @@ fi
for i in ptex ptexgeneric uptex uplatex pbibtex ; do
listdir=`find usr/share/texmf-dist/ -name $i -type d `
for j in  $listdir ; do
-			Fsplit $pkgname-ptex $j
+			if Fuse $USE_PTEX; then
+				Fsplit $pkgname-ptex $j
+			else
+				Frm $j
+
+			fi
done
done
-	Fsplit $pkgname-ptex usr/bin/{ptex,eptex,euptex,uptex,uptftopl,uppltotf,updvitype,upbibtex,pbibtex}
-	Fsplit $pkgname-ptex usr/bin/{makejvf,mendex,pdvitype,ppltotf,ptftopl}
+	if Fuse $USE_PTEX; then
+		Fsplit $pkgname-ptex usr/bin/{ptex,eptex,euptex,uptex,uptftopl,uppltotf,updvitype,upbibtex,pbibtex}
+		Fsplit $pkgname-ptex usr/bin/{makejvf,mendex,pdvitype,ppltotf,ptftopl}
+	else
+		Frm usr/bin/{ptex,eptex,euptex,uptex,uptftopl,uppltotf,updvitype,upbibtex,pbibtex}
+		Frm usr/bin/{makejvf,mendex,pdvitype,ppltotf,ptftopl}
+	fi

## Split xindy
Fmv usr/share/texmf-dist/xindy usr/share/


More information about the Frugalware-git mailing list