summaryrefslogtreecommitdiff
path: root/tgif
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-10-07 12:57:14 +0200
committerJuergen Daubert <jue@jue.li>2009-10-07 12:57:14 +0200
commit20dd424ad94745d7e9bc5ca57b3d8d0f64ac7515 (patch)
treeb67ab1baccedef0a5f4c2b0e6744330bd9972a77 /tgif
parent0858620c9b471ef16d0682a727e548df7dfde518 (diff)
downloadopt-20dd424ad94745d7e9bc5ca57b3d8d0f64ac7515.tar.gz
opt-20dd424ad94745d7e9bc5ca57b3d8d0f64ac7515.tar.xz
tgif: update to 4.2
Diffstat (limited to 'tgif')
-rw-r--r--tgif/.footprint33
-rw-r--r--tgif/.md5sum3
-rw-r--r--tgif/Pkgfile15
-rw-r--r--tgif/tgif-config.patch25
4 files changed, 27 insertions, 49 deletions
diff --git a/tgif/.footprint b/tgif/.footprint
index 8a44e44d0..c0ad30ba8 100644
--- a/tgif/.footprint
+++ b/tgif/.footprint
@@ -3,19 +3,24 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/tgif
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
--r--r--r-- root/root usr/man/man1/tgif.1x.gz
+-rw-r--r-- root/root usr/man/man1/tgif.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/tgif/
--r--r--r-- root/root usr/share/tgif/eq4-2x.sym
--r--r--r-- root/root usr/share/tgif/eq4-epstool.sym
--r--r--r-- root/root usr/share/tgif/eq4-lyx-ps2epsi.sym
--r--r--r-- root/root usr/share/tgif/eq4-ps2epsi.sym
--r--r--r-- root/root usr/share/tgif/eq4.sym
--r--r--r-- root/root usr/share/tgif/eq4xpm.sym
--r--r--r-- root/root usr/share/tgif/keys.obj
--r--r--r-- root/root usr/share/tgif/tangram.sym
--r--r--r-- root/root usr/share/tgif/tgif.Xdefaults
--r--r--r-- root/root usr/share/tgif/tgificon.eps
--r--r--r-- root/root usr/share/tgif/tgificon.obj
--r--r--r-- root/root usr/share/tgif/tgificon.xbm
--r--r--r-- root/root usr/share/tgif/tgificon.xpm
+-rw-r--r-- root/root usr/share/tgif/Copyright
+-rw-r--r-- root/root usr/share/tgif/License
+-rw-r--r-- root/root usr/share/tgif/eq4-2x.sym
+-rw-r--r-- root/root usr/share/tgif/eq4-epstool.sym
+-rw-r--r-- root/root usr/share/tgif/eq4-lyx-ps2epsi.sym
+-rw-r--r-- root/root usr/share/tgif/eq4-ps2epsi.sym
+-rw-r--r-- root/root usr/share/tgif/eq4.sym
+-rw-r--r-- root/root usr/share/tgif/eq4png.sym
+-rw-r--r-- root/root usr/share/tgif/eq4xpm-land.sym
+-rw-r--r-- root/root usr/share/tgif/eq4xpm.sym
+-rw-r--r-- root/root usr/share/tgif/keys.obj
+-rw-r--r-- root/root usr/share/tgif/tangram.sym
+-rw-r--r-- root/root usr/share/tgif/tgif.Xdefaults
+-rw-r--r-- root/root usr/share/tgif/tgif.gif
+-rw-r--r-- root/root usr/share/tgif/tgificon.eps
+-rw-r--r-- root/root usr/share/tgif/tgificon.obj
+-rw-r--r-- root/root usr/share/tgif/tgificon.xbm
+-rw-r--r-- root/root usr/share/tgif/tgificon.xpm
diff --git a/tgif/.md5sum b/tgif/.md5sum
index 7195fbd49..dd49d0d38 100644
--- a/tgif/.md5sum
+++ b/tgif/.md5sum
@@ -1,2 +1 @@
-5c1eba8291385c630b8099fa9b042455 tgif-QPL-4.1.45.tar.gz
-fbdf5e0a5eca260a32625ebf87468bd1 tgif-config.patch
+5c6540d48ae1c6060af4285175e47f76 tgif-QPL-4.2.tar.gz
diff --git a/tgif/Pkgfile b/tgif/Pkgfile
index 3c9a4b5ca..f86c1bd8f 100644
--- a/tgif/Pkgfile
+++ b/tgif/Pkgfile
@@ -1,19 +1,18 @@
# Description: Xlib based interactive 2-D drawing tool
# URL: http://bourbon.usc.edu/tgif
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Depends on: xorg-libxmu
+# Depends on: xorg-libxmu xorg-font-adobe-75dpi xorg-font-adobe-100dp
name=tgif
-version=4.1.45
+version=4.2
release=1
-source=( ftp://bourbon.usc.edu/pub/tgif/tgif-QPL-4.1.45.tar.gz \
- $name-config.patch)
+source=(ftp://bourbon.usc.edu/pub/tgif/tgif-QPL-$version.tar.gz)
build () {
cd $name-QPL-$version
- patch -p1 < $SRC/$name-config.patch
- xmkmf
+ sed -i '/^TGIFDIR/s|=.*$|= /usr/share/tgif|' Makefile.in
+ ./configure --prefix=/usr
make
- make DESTDIR=$PKG install install.man
- rm $PKG/usr/share/tgif/[CL]*
+ make DESTDIR=$PKG install
+ install -D -m 644 tgif.man $PKG/usr/man/man1/tgif.1
}
diff --git a/tgif/tgif-config.patch b/tgif/tgif-config.patch
deleted file mode 100644
index f16913f04..000000000
--- a/tgif/tgif-config.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -Nru tgif-QPL-4.1.45.orig/Tgif.tmpl tgif-QPL-4.1.45/Tgif.tmpl
---- tgif-QPL-4.1.45.orig/Tgif.tmpl 2006-10-25 21:37:30.000000000 +0200
-+++ tgif-QPL-4.1.45/Tgif.tmpl 2006-10-25 21:39:49.000000000 +0200
-@@ -38,9 +38,9 @@
- TGIFDIR = $(LIBDIR)/tgif
- XCOMM CDEBUGFLAGS= -g -Wall
- XCOMM INSTPGMFLAGS= -s
--XCOMM BINDIR = /u/halfmoon/bin
--XCOMM MANPATH = /u/halfmoon/man
--XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif
-+BINDIR = /usr/bin
-+MANPATH = /usr/man
-+TGIFDIR = /usr/share/tgif
- XCOMM MOREDEFINES = -D_HAS_STREAMS_SUPPORT -DENABLE_NLS -D_TGIF_DBG
- LOCALEDIR = /usr/share/locale
- DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-@@ -56,7 +56,7 @@
- -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\
- -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" \@@\
- -DUSE_XT_INITIALIZE
--MOREDEFINES =
-+MOREDEFINES = -DA4PAPER
-
- XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above

Generated by cgit