You are not logged in.

#1 2006-08-01 13:20:07

HAL9000
Member
From: PL
Registered: 2005-12-03
Posts: 18

Tix question

Hi I'm trying to build tix because mfile used in avr-gcc requierd this and I've found:
http://aur.archlinux.org/packages/tix/tix/PKGBUILD . I've changed this a little bit

# Contributor: Roland Schaeuble <rschaeuble>
pkgname=tix
pkgver=8.4.0
pkgrel=2
pkgdesc="Tk Interface eXtension"
url="http://tix.sourceforge.net"
license=""
depends=('tcl' 'tk')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=("http://dl.sourceforge.net/sourceforge/tix/$pkgname-$pkgver.tar.gz"
        "http://dl.sourceforge.net/sourceforge/tcl/tcl8.4.12-src.tar.gz"
        "http://dl.sourceforge.net/sourceforge/tcl/tk8.4.12-src.tar.gz" 
    "configure.patch")

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p0 < ../configure.patch || return 1
  ./configure --prefix=/usr --enable-stubs --enable-threads --enable-shared --with-tclconfig=/usr/lib --with-tkconfig=/usr/lib
  make TCL_SRC_DIR=../tcl8.4.12 TK_SRC_DIR=../tk8.4.12 || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

configure.patch

--- configure    2004-12-24 02:55:38.000000000 +0100
+++ configure.bak    2006-08-01 12:54:31.000000000 +0200
@@ -7453,7 +7453,7 @@
         # results, and the version is kept in special file).
 
         if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
-        system=MP-RAS-`awk '{print }' /etc/.relid'`
+        system=MP-RAS-`awk '{print }' /etc/.relid`
         fi
         if test "`uname -s`" = "AIX" ; then
         system=AIX-`uname -v`.`uname -r`

Now I can build it but it creates only somekind of library and there isn't any binary files like tixwish which I actually need. Any idea?
ps. sorry for my english

Offline

#2 2006-08-05 13:10:06

HAL9000
Member
From: PL
Registered: 2005-12-03
Posts: 18

Re: Tix question

"New" version
8.4 seems doesnt include tixwish and 8.1.4 doesnt build with gcc 4 so

# Contributor: Roland Schaeuble <rschaeuble>
pkgname=tix
pkgver=8.1.4
pkgrel=2
pkgdesc="Tk Interface eXtension"
url="http://tix.sourceforge.net"
license=""
depends=('tcl' 'tk')
makedepends=()
conflicts=()
replaces=()
backup=()
install=

build() {
  cd $startdir/src/
  wget ftp://rpmfind.net/linux/SuSE-Linux/i386/9.3/suse/i586/tix-8.1.4-77.i586.rpm
  rpmextract.sh tix-8.1.4-77.i586.rpm
  mv usr ../pkg
  find $startdir/pkg -type d -perm 700 -exec chmod 755 {} ;
}

http://www.sax.de/~joerg/mfile/
MFILE_HOME=/whatever_you_put_mfile_script
export MFILE_HOME
mfile or ./mfile the end. big_smile

Offline

Board footer

Powered by FluxBB