You are not logged in.

#1 2004-08-20 15:30:27

Neil-Lin
Member
Registered: 2004-03-13
Posts: 42

[NEW] xttmgr

PKGBUILD:

pkgname=xttmgr
pkgver=0.9.6
pkgrel=2
pkgdesc="a Big5/GB enhanced TrueType Font Manager. support xorg.conf and XF86Config-4"
url="http://firefly.idv.tw"
license="GNU General Public License (GPL)"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://firefly.idv.tw/setfont-xft/fonttools/SRC/$pkgname-$pkgver.tar.gz 
        xttmgr.c.patch)
md5sums=('fd08757ed9644c92539078135357c92b' 'fcbf57bc91a10c02ae769f7a2543d392')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p0 < $startdir/xttmgr.c.patch
  make || return 1
  make install
  mkdir -p $startdir/pkg/usr/sbin
  mv /usr/sbin/xttmgr $startdir/pkg/usr/sbin
}

xttmgr.c.patch:

--- xttmgr.c    2004-07-31 15:11:29.000000000 +0800
+++ xttmgr.c.new    2004-07-31 15:11:41.000000000 +0800
@@ -62,7 +62,7 @@
 /* št²Î¹w³]ªº encoding ªí®æ«ü€ÞÀÉŠìžm */
 static char *encodings_path= "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir";
 /* XFree86 ªº³]©wÀÉ */
-static char *conf3_path    = "/etc/X11/XF86Config";
+static char *conf3_path    = "/etc/X11/xorg.conf";
 static char *conf_path     = "/etc/X11/XF86Config-4";
 /* xfs ªºŠr«¬³]©wÀÉ */ 
 static char *fsconfig      = "/etc/X11/fs/config";

Offline

Board footer

Powered by FluxBB