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

commit af9112a2a8bda7b836c5df50a2c4bad8103b54e6
Author: Miklos Vajna <[email protected]>
Date:   Tue Sep 11 08:37:56 2012 +0200

libfonts-1.1.3-1-x86_64

- new package (will be required by liblayout)

diff --git a/source/devel-extra/libfonts/FrugalBuild 
b/source/devel-extra/libfonts/FrugalBuild
new file mode 100644
index 0000000..896244f
--- /dev/null
+++ b/source/devel-extra/libfonts/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: Miklos Vajna <[email protected]>
+
+pkgname=libfonts
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="TrueType Font Layouting"
+url="http://reporting.pentaho.org/";
+Finclude openjava
+depends=(${depends[@]} 'itext' 'libbase' 'libloader')
+groups=('devel-extra')
+archs=('i686' 'x86_64')
+up2date="$pkgver" # latest version of pentaho libs is 1.2.x, but that doesn't 
contain this one...
+source=(http://downloads.sourceforge.net/jfreereport/libfonts-$pkgver.zip 
libfonts-1.1.2.build.patch)
+sha1sums=('67d961d6d2bc9705813c57452179cecefb77b8ee' \
+          '6aef55d72eae46683a2c8f34bc65488e55ffceb2')
+_F_cd_path="."
+
+build()
+{
+       Fjavacleanup
+       Fpatchall
+       mkdir -p lib
+       ln -s /usr/share/java lib/ant-contrib
+       # port to newer itext
+       Fsed 'lowagie' 'itextpdf' $(grep -Rl lowagie 
source/org/pentaho/reporting/libraries/fonts/itext)
+       Fsed 'com.itextpdf.text.pdf.FontMapper' 'com.itextpdf.awt.FontMapper' 
source/org/pentaho/reporting/libraries/fonts/itext/BaseFontSupport.java
+
+       Fant jar
+
+       mv dist/libfonts{-$pkgver,}.jar
+       Fjar dist/libfonts.jar
+}
diff --git a/source/devel-extra/libfonts/libfonts-1.1.2.build.patch 
b/source/devel-extra/libfonts/libfonts-1.1.2.build.patch
new file mode 100644
index 0000000..6093c20
--- /dev/null
+++ b/source/devel-extra/libfonts/libfonts-1.1.2.build.patch
@@ -0,0 +1,16 @@
+--- libfonts-1.1.3/build.properties    2009-11-17 15:56:39.000000000 +0000
++++ libfonts-1.1.3/build.properties    2009-11-17 15:57:29.000000000 +0000
+@@ -1,8 +1,10 @@
+-project.revision=TRUNK-SNAPSHOT
++project.revision=1.1.3
+ ivy.artifact.group=pentaho-library
+ ivy.artifact.id=libfonts
+ impl.title=LibFonts
+ impl.productID=libfonts
+ src.dir=${basedir}/source
+ dependency.libloader.revision=1.1.3
+-testsrc.dir=${basedir}/test
+\ No newline at end of file
++testsrc.dir=${basedir}/test
++antcontrib.available=true
++build.cache.dir=lib
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to