summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xorg-font-utils
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/xorg-font-utils
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/xorg-font-utils')
-rw-r--r--abs/core-testing/xorg-font-utils/PKGBUILD54
-rw-r--r--abs/core-testing/xorg-font-utils/ttmkfdir.patch86
-rw-r--r--abs/core-testing/xorg-font-utils/ttmkfdir_gcc43.patch8
-rw-r--r--abs/core-testing/xorg-font-utils/xorg-font-utils.install8
4 files changed, 0 insertions, 156 deletions
diff --git a/abs/core-testing/xorg-font-utils/PKGBUILD b/abs/core-testing/xorg-font-utils/PKGBUILD
deleted file mode 100644
index a97db44..0000000
--- a/abs/core-testing/xorg-font-utils/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgname=xorg-font-utils
-pkgver=1.0.3
-pkgrel=3
-pkgdesc="X.Org font utilities"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-options=('!libtool')
-depends=('libxfont' 'libfontenc' 'xproto')
-makedepends=('pkgconfig')
-replaces=('font-util')
-provides=('font-util')
-conflicts=('font-util')
-install=xorg-font-utils.install
-source=(${url}/releases/individual/app/bdftopcf-1.0.1.tar.bz2
- ${url}/releases/individual/app/fonttosfnt-1.0.3.tar.bz2
- ${url}/releases/individual/app/mkfontdir-1.0.3.tar.bz2
- ${url}/releases/individual/app/mkfontscale-1.0.3.tar.bz2
- ${url}/releases/individual/font/font-util-1.0.1.tar.bz2
- http://people.redhat.com/yshao/ttmkfdir2.20021109.tar.bz2
- ttmkfdir.patch
- ttmkfdir_gcc43.patch)
-
-build() {
- cd ${startdir}/src
-
- for i in *; do
- if [ -d "${i}" ]; then
- pushd "${i}"
- if [ "${i}" = "ttmkfdir2" ]; then
- patch -Np0 -i ${startdir}/src/ttmkfdir.patch || return 1
- patch -Np1 -i ${startdir}/src/ttmkfdir_gcc43.patch || return 1
- make || return 1
- mkdir -p ${startdir}/pkg/usr/bin
- install -m755 ttmkfdir ${startdir}/pkg/usr/bin/ || return 1
- else
- ./configure --prefix=/usr --with-mapdir=/usr/share/fonts/util
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
- fi
- popd
- fi
- done
-}
-md5sums=('9685fab33d39954ab8a0d22e0969d5a4'
- 'b0ebd86029571239b9d7b0c61191b591'
- '4d0f89a23f77e22f1671a77bf0898955'
- '1d608771aca9695b828cec1e34178fd1'
- 'b81535f78fe05732931f02841e5ca37b'
- '79e0401393c9728865aa73bb2bd68dd4'
- '099278628ad63631e872bc5590bade74'
- '43cd6303d38dbbf36ba91d3a08430bb4')
diff --git a/abs/core-testing/xorg-font-utils/ttmkfdir.patch b/abs/core-testing/xorg-font-utils/ttmkfdir.patch
deleted file mode 100644
index 983c18b..0000000
--- a/abs/core-testing/xorg-font-utils/ttmkfdir.patch
+++ /dev/null
@@ -1,86 +0,0 @@
---- encoding.cpp.orig Tue Mar 12 15:40:09 2002
-+++ encoding.cpp Sun Mar 21 22:33:00 2004
-@@ -2,7 +2,7 @@
- #include <cstdio>
- #include <cstdlib>
- #include <cstring>
--#include "freetype/freetype.h"
-+#include <ft2build.h>
-
- #include "ttmkfdir.h"
- #include "encoding.h"
-
---- encoding.h.orig Tue Mar 12 15:41:27 2002
-+++ encoding.h Sun Mar 21 22:35:15 2004
-@@ -6,7 +6,8 @@
- #include <map>
- #include <string>
-
--#include "freetype/freetype.h"
-+#include <ft2build.h>
-+#include FT_FREETYPE_H
-
- #include "util.h"
-
---- ttf.h.orig Wed Mar 13 19:16:38 2002
-+++ ttf.h Sun Mar 21 22:30:16 2004
-@@ -3,15 +3,18 @@
- #define TTF_H__
-
- #include <string>
--#include "freetype/freetype.h"
--#include "freetype/tttables.h"
--#include "freetype/ftsnames.h"
--#include "freetype/ttnameid.h"
--#include "freetype/fterrors.h"
--#include "freetype/ftmodule.h"
-+#include <ft2build.h>
-+#include FT_FREETYPE_H
-+#include FT_TRUETYPE_TABLES_H
-+#include FT_SFNT_NAMES_H
-+#include FT_TRUETYPE_IDS_H
-+#include FT_ERRORS_H
-+#include FT_MODULE_H
-
- #include "util.h"
- #include "encoding.h"
-+
-+using namespace std;
-
- namespace ttf {
-
---- Makefile.orig Thu Mar 14 14:03:49 2002
-+++ Makefile Sun Jan 22 20:15:17 2006
-@@ -1,10 +1,7 @@
--FREETYPE_BASE=/usr/include/freetype2
--FREETYPE_INCL=-I$(FREETYPE_BASE)/.
--FREETYPE_LIB=/usr/lib/libfreetype.so
--
--DEBUG=-ggdb
--CXX=g++
--CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG)
-+FREETYPE_INCL=`freetype-config --cflags`
-+FREETYPE_LIB=`freetype-config --libs`
-
--LDFLAGS=$(FREETYPE_LIB) $(DEBUG)
-+CXXFLAGS+=$(FREETYPE_INCL)
-+
-+LDFLAGS+=$(FREETYPE_LIB)
-
-@@ -21,3 +18,3 @@
- parser.cpp: encoding.l
-- flex -i -8 -o$@ $<
-+ lex -i -8 -o$@ $<
-
---- ttf.cpp.orig 2002-11-07 06:30:04.000000000 +0100
-+++ ttf.cpp
-@@ -226,7 +226,7 @@ Face::FontFamilyName (void) const
- for (i = 0; i < n; i++) {
- if ((fterror = FT_Get_Sfnt_Name (face, i, &NamePtr)) != FT_Err_Ok) {
- std::cout << "Warning: Can't SFNT name : " << FileName << "(" << fterror << ")" << std::endl;
-- return;
-+ return "unknown";
- };
- platform = NamePtr.platform_id;
- encoding = NamePtr.encoding_id;
-
diff --git a/abs/core-testing/xorg-font-utils/ttmkfdir_gcc43.patch b/abs/core-testing/xorg-font-utils/ttmkfdir_gcc43.patch
deleted file mode 100644
index 5dadb11..0000000
--- a/abs/core-testing/xorg-font-utils/ttmkfdir_gcc43.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- ttmkfdir-3.0.9-orig/directory.cpp 2008-04-20 19:48:00.000000000 -0600
-+++ ttmkfdir-3.0.9/directory.cpp 2008-04-20 19:48:39.000000000 -0600
-@@ -1,4 +1,5 @@
- #include <cctype>
-+#include <cstring>
- #include <dirent.h>
- #include <sys/stat.h>
- #include <unistd.h>
diff --git a/abs/core-testing/xorg-font-utils/xorg-font-utils.install b/abs/core-testing/xorg-font-utils/xorg-font-utils.install
deleted file mode 100644
index a291dc6..0000000
--- a/abs/core-testing/xorg-font-utils/xorg-font-utils.install
+++ /dev/null
@@ -1,8 +0,0 @@
-# arg 1: the new package version
-post_install() {
- ldconfig -r .
-}
-
-op=$1
-shift
-$op $*