Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
11-13-2011, 09:39 AM
Post: #71
RE: PKGBUILD files
I'm stucked with the old toshiba lately, so making PKGBUILDs costs a bit more time (and patience). The PKGBUILD down here is Esetroot (without Eterm), a well-known background/wallpapersetter for Fluxbox.

Code:
# Maintainer: theo - nl2stk
# Thanks to: Patrick Burroughs

pkgname=esetroot
pkgver=20030422
pkgrel=1
pkgdesc="Eterm's root background setter, packaged separately."
license=('custom')
depends=('imlib2')
conflicts=('eterm')
source=(http://www.jnrowe.ukfsn.org/_downloads/Esetroot-$pkgver.tar.bz2)
url="http://www.jnrowe.ukfsn.org/projects/esetroot.html"
md5sums=('8e0fbd27554f22d6a78d4a8f122e0b6e')

build() {
  cd $srcdir/Esetroot-$pkgver
  sed -i "s/CC=gcc/CC=gcc -march=i386/g" makefile
  make || return 1
  install -D -m 755 Esetroot $pkgdir/usr/bin/Esetroot
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
11-14-2011, 02:01 PM
Post: #72
RE: PKGBUILD files
A while ago I found a GIMP PKGBUILD for Deli Linux, and it still works... :]
It uses more memory than MTpaint, so it's not recommended on computers with less memory.

Code:
# Maintainer: unknown
pkgname=gimp
pkgver=2.4.7
pkgrel=1
pkgdesc=“Image manipulation program”
depends=('gtk2' 'glib2')
source=(http://ftp.gwdg.de/pub/misc/grafik/gimp/gimp/v2.4/gimp-2.4.7.tar.bz2)
url=“http://www.gimp.org”

build() {

  cd ${startdir}/src/gimp-2.4.7
  ./configure --prefix=/usr --disable-print --disable-python --without-alsa --host=$CHOST --build=$CHOST
  make
  make DESTDIR=${startdir}/pkg install

}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
11-14-2011, 08:45 PM
Post: #73
RE: PKGBUILD files
(11-14-2011 02:01 PM)nl2stk Wrote:  A while ago I found a GIMP PKGBUILD for Deli Linux, and it still works... :]
It uses more memory than MTpaint, so it's not recommended on computers with less memory.

It isn't the latest one ... but that's maybe ok, since it probably has less dependencies .... haven't checked yet .... anyway .... it seemed to me a bit heavy ... we'll see
Visit this user's website Find all posts by this user
Quote this message in a reply
12-06-2011, 11:15 AM
Post: #74
RE: PKGBUILD files
X northern captain file manager ( a two panel filemanager)

Code:
# Maintainer: theo - nl2stk
# Thanks to: Sergej Pupykin

pkgname=xnc
pkgver=5.0.4
pkgrel=1
pkgdesc="X nortern captain file manager"
url="http://xnc.jinr.ru/"
license=('GPL')
depends=('libpng' 'libtiff' 'libsm' 'libxext' 'libjpeg')
source=(http://xnc.jinr.ru/src-5/xnc-$pkgver.src.tar.gz)
md5sums=('62446cdfdf5730f125fb351a658c0bd3')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man
  sed -i "s/CC=gcc/CC=gcc -march=i386/g" makefile
  make || return 1
  make DESTDIR="$pkgdir" install
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-06-2011, 07:29 PM (This post was last modified: 12-06-2011 07:33 PM by tavvva.)
Post: #75
RE: PKGBUILD files
(12-06-2011 04:22 PM)Compact Wrote:  /lib/modules/24.36.4/build/include/linux/device.h
Is there a solution for this or is zgv impossible on Delicate ?
Do you know that ?

Strange ... it wants the previous kernel source (available in DeLi 0.8 only).

Is it a clean DeLi(cate) install or update from DeLi 0.8 ?

(12-06-2011 04:22 PM)Compact Wrote:  Can you say on forehand wether there is a chance of succeeding
with FBI and/or MPlayer ? Do you have experience with them ?

There's always a chance :] Since DeLi(cate) is targeted to wider range of architectures than DeLi was, we could try these packages at least for the faster machines.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-06-2011, 09:13 PM
Post: #76
RE: PKGBUILD files
(12-06-2011 04:22 PM)Compact Wrote:  Thank you for all your nice builds.
I have less succes but also mucho less experience.
Well I'm not that experienced either, before the end of august I used the terminal mainly for 'sudo apt-get..'.
But I try to make and share some things, and sometimes my mistakes are a great source of what might go wrong. :]

(12-06-2011 04:22 PM)Compact Wrote:  /lib/modules/24.36.4/build/include/linux/device.h
Is there a solution for this or is zgv impossible on Delicate ?
Do you know that ?

I was thinking the same as Tavvva already said, very strange Confused

(12-06-2011 04:22 PM)Compact Wrote:  Can you say on forehand wether there is a chance of succeeding
with FBI and/or MPlayer ? Do you have experience with them ?

Well one of the two missing dependencies for FBI needs 'glibc' so for me it's not that easy to figure that one out.
Mplayer needs a lot of libraries (also glibc) so I can't tell you that either.

NB: Delicate uses uclibc which is a kind of a lighter version of glibc and I don't know if I can expect any problems.
Perhaps Tavvva can answer that question :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-07-2011, 05:20 PM (This post was last modified: 12-07-2011 05:21 PM by nl2stk.)
Post: #77
RE: PKGBUILD files
For those who love the style from the classic super mario series.

Code:
# Maintainer: theo - nl2stk

pkgname=supertux
pkgver=0.1.3
pkgrel=1
pkgdesc="A classic 2d platformgame similar to the original Mariogames"
url="http://supertux.lethargik.org/"
depends=('sdl' 'sdl_image' 'sdl_mixer')
license=('GPL')
source=(http://download.berlios.de/supertux/$pkgname-$pkgver.tar.bz2)
md5sums=('f2fc288459f33d5cd8f645fbca737a63')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make || return 1
  make DESTDIR=${pkgdir} install
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-08-2011, 01:03 PM (This post was last modified: 12-08-2011 01:21 PM by nl2stk.)
Post: #78
RE: PKGBUILD files
One dependency which is needed once in a while

Code:
# Maintainer: theo - nl2stk
# Thanks to: Jason Chu

pkgname=speex
pkgver=1.2rc1
pkgrel=1
pkgdesc="A free codec for free speech"
url="http://www.speex.org/"
license=('BSD')
depends=('libogg')
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')

build() {
  cd $srcdir/speex-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --host=$CHOST --build=$CHOST
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}

The same goes for TCL8.5 (scripting language)

Code:
# Maintainer: theo - nl2stk
# Thanks to: Allan McRae <allan@archlinux.org>

pkgname=tcl
pkgver=8.5.11
pkgrel=1
pkgdesc="The Tcl scripting language"
url="http://tcl.sourceforge.net/"
license=('custom')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
md5sums=('b01a9691c83990b3db0ce62d1012ca67')

build() {
  cd ${srcdir}/tcl${pkgver}/unix
    ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit --host=$CHOST --build=$CHOST
  make || return 1
  make INSTALL_ROOT=${pkgdir} install install-private-headers
  ln -sf tclsh8.5 ${pkgdir}/usr/bin/tclsh
  
  # install license
  install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

  # remove buildroot traces
  sed -i \
    -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
    -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/include'," \
    -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
    -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
    -e "s,^TCL_LIB_FILE='libtcl8.5..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.5\$\{TCL_DBGX\}.so\"," \
    -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/lib'," \
    -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/lib'," \
    ${pkgdir}/usr/lib/tclConfig.sh
}

(12-07-2011 08:33 AM)Compact Wrote:  Perhaps I once will learn how to write a PKGBUILD ?

That would be nice :]
Before Delicate I was not busy with compiling things or creating .deb files.
And if I can do it... I guess everyone can do it :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 12:35 PM
Post: #79
RE: PKGBUILD files
Enigma, a falling block game (a bit like boulderdash) for the CLI with ncurses.

Code:
# Maintainer: theo - nl2stk
# Thanks to: schuay (removed email-adress in case of spam)

pkgname=enigma
pkgver=1.04
pkgrel=1
pkgdesc=" Enigma is a puzzle game involving falling blocks"
url="http://www.chiark.greenend.org.uk/~sgtatham/enigma/"
license=('custom')
depends=('ncurses')
# Added enigma-xterm for a place in the console games in IceWM menu
source=("http://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver.tar.gz" "enigma-xterm")
md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d' 'e4ef76e532560a15188eb585714e7342')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --localstatedir=/var --host=$CHOST --build=$CHOST
  sed -i "s/root\.games/root.root/" Makefile
  make || return 1
  mkdir -p $pkgdir/usr/bin
  make prefix=$pkgdir/usr localstatedir=$pkgdir/var install
  install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/license
  install -m755 ../enigma-xterm $pkgdir/usr/bin/
}

And the enigma-xterm file for the IceWM menu.
Code:
#!/bin/bash
xterm -fg white -bg black -e enigma

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 09:46 PM
Post: #80
RE: PKGBUILD files
Good :] I'll try to find some time tomorrow and do some reviews ...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication