Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
07-10-2012, 01:39 PM (This post was last modified: 07-10-2012 01:41 PM by tavvva.)
Post: #291
RE: PKGBUILD files
(07-09-2012 08:06 PM)snacsnoc Wrote:  you attribute it to snacsnoc, when I am Easton Elliott Wink

Arghhh .... sorry ... Now I finally know your real name :] I'll fix that ...

(07-09-2012 08:06 PM)snacsnoc Wrote:  My /etc/makepkg.conf is already set up for i386-linux-uclibc by default, so it should export the CHOST, CARCH and CFLAGS appropriately.

Unfortunately we discovered, that it's not sufficient in some cases. Each of the configure scripts and Makefile designs might differ and some of them completely ignore the mentioned variables. That's why we explicitly specify these parameters ... exceptions are allowed only when the parameters are unsupported/rejected and there's no easy way how to force the architecture.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2012, 01:42 PM
Post: #292
RE: PKGBUILD files
(07-10-2012 01:39 PM)tavvva Wrote:  Unfortunately we discovered, that it's not sufficient in some cases. Each of the configure scripts and Makefile designs might differ and some of them completely ignore the mentioned variables. That's why we explicitly specify these ...

Yes, I'll be sure to keep that in mind for future packages. I haven't noticed any problems yet, but that doesn't mean problems won't arise Wink
Find all posts by this user
Quote this message in a reply
07-10-2012, 01:48 PM (This post was last modified: 07-10-2012 01:50 PM by tavvva.)
Post: #293
RE: PKGBUILD files
Btw. the builds need to be 100% reproducible .... and you never know what settings might be on a different system Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
07-15-2012, 08:58 AM
Post: #294
RE: PKGBUILD files
I have Fluxbox 1.3.2 working, I've also compiled it's missing dependencies. There is a problem with installing libxft though, it complains that files are in conflict such as:
Code:
libxft: /usr/lib/libXft.so.2: exists in filesystem
I had to use pacman -Sf so I'm unable to reproduce the entire error. Regardless, libxft and other packages are below.

libxft
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: Jan de Groot <jgc@archlinux.org>

pkgname=libxft
pkgver=2.3.1
pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('fontconfig>=2.5.92' 'libxrender')

source=("${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2")

md5sums=('78d64dece560c9e8699199f3faa521c0')


build() {

  cd "${srcdir}/libXft-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static  \
    --host=$CHOST --build=$CHOST

  make
  make DESTDIR="${pkgdir}" install
  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"

}
}
fontconfig 2.5.0 is already in the main repository but I had to build 2.6.0 since libxft required 2.5.92 or higher.
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: Jan de Groot <jgc@archlinux.org>

pkgname=libxft
pkgver=2.3.1
pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('fontconfig>=2.5.92' 'libxrender')

source=("${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2")

md5sums=('78d64dece560c9e8699199f3faa521c0')


build() {

  cd "${srcdir}/libXft-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static  \
    --host=$CHOST --build=$CHOST

  make
  make DESTDIR="${pkgdir}" install
  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"

}
libxinerama
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: Jan de Groot <jgc@archlinux.org>
# Alexander Baldeck <alexander@archlinux.org>

pkgname=libxinerama
pkgver=1.1.2
pkgrel=1
pkgdesc="X11 Xinerama extension library"
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'xineramaproto')

source=("${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2")
md5sums=('cb45d6672c93a608f003b6404f1dd462')


build() {
  cd "${srcdir}/libXinerama-${pkgver}"
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make

  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Fluxbox 1.3.2
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to:  Devin Cofer <ranguvar{AT]archlinux[DOT}us>
# Cainã Costa <sryche@archlinux-br.org>
# Patrick Bartels <p4ddy.b@gmail.com>

pkgname=fluxbox
pkgdesc="Lightweight and flexible window manager"
pkgver=1.3.2
pkgrel=1
license=('MIT')
url="http://www.fluxbox.org/"
depends=('libxft' 'libxpm' 'libxrandr' 'imlib2' 'libxinerama')
source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz \
    fluxbox.desktop)

    
md5sums=('52e76de0ae96d8c5e87374661d0c7112' 'eeae9c88a2526ac0bd8afcd9ce97f9ed')


build() {
    cd "$srcdir/${pkgname}-${pkgver}"

    ./configure --prefix=/usr --enable-xft --enable-imlib2 \
                --enable-xinerama --host=$CHOST --build=$CHOST
    make
    make DESTDIR="${pkgdir}" install

    install -D -m644 ../fluxbox.desktop "${pkgdir}/usr/share/xsessions/fluxbox.desktop"
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Tree
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>

pkgname=tree
pkgdesc="Recursive directory listing tool"
pkgver=1.5.1.2
pkgrel=1
license=('GPL')
url="http://mama.indstate.edu/users/ice/tree/"

source=(ftp://mama.indstate.edu/linux/tree/old/${pkgname}-${pkgver}.tgz)
md5sums=('cf57d8b2ba43156faf9d75614a7a95d5')

build(){
    cd "$srcdir/${pkgname}-${pkgver}"
    
    make
    make prefix="${pkgdir}/usr" install
}
Find all posts by this user
Quote this message in a reply
07-16-2012, 08:47 AM (This post was last modified: 07-16-2012 10:41 AM by nl2stk.)
Post: #295
RE: PKGBUILD files
Maybe you could replace libXft with libxfont. Besides the version I guess it's the same package.
Sometimes libxinerama is not needed (it's for using multiple screens at one pc).

But well done, fluxbox is a fine Window Manager...
In the AntiX forum I've seen someone who immitates the Gnome 3 look with it.
B.t.w. Esetroot is in the repository, I guess it's one of the most common wallpapersetter for fluxbox.

EDIT: Just to test it I've build the fluxbox with only the PKGBUILD.
I've added freetype2 in the dependencies and disabled libxinerama and removed it from the dependencies.
LibXft is replaced by libxfont and it works without any problems..

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
07-16-2012, 07:15 PM
Post: #296
RE: PKGBUILD files
(07-16-2012 08:47 AM)nl2stk Wrote:  Maybe you could replace libXft with libxfont. Besides the version I guess it's the same package.
Sometimes libxinerama is not needed (it's for using multiple screens at one pc).

But well done, fluxbox is a fine Window Manager...
In the AntiX forum I've seen someone who immitates the Gnome 3 look with it.
B.t.w. Esetroot is in the repository, I guess it's one of the most common wallpapersetter for fluxbox.

EDIT: Just to test it I've build the fluxbox with only the PKGBUILD.
I've added freetype2 in the dependencies and disabled libxinerama and removed it from the dependencies.
LibXft is replaced by libxfont and it works without any problems..

I was having problems with LibXft anyway. Also, I wasn't able to run the configure script with --enable-nls for Fluxbox. I talked to tavvva in IRC and he acknowledged it's a problem with NLS.

My Delicate Linux repository
Find all posts by this user
Quote this message in a reply
07-16-2012, 07:58 PM (This post was last modified: 07-16-2012 07:59 PM by tavvva.)
Post: #297
RE: PKGBUILD files
Hi guys ...

yup :]
libxft would really conflict with libxfont ... our system currently doesn't support xinerama and I'm unsure if we want to change that. Older computers usually don't have dual displays and currently all packages are built without the xinerama support. The NLS issue is a next blocker I encountered several months ago. I just forgot to put it in the TODO tracker and thus forgot to take care of that.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-16-2012, 09:21 PM
Post: #298
RE: PKGBUILD files
(07-16-2012 07:58 PM)tavvva Wrote:  our system currently doesn't support xinerama and I'm unsure if we want to change that. Older computers usually don't have dual displays....

That's why I disabled it Smile
But it's nice that the latest fluxbox is working. I've tried to update openbox, but without succes... It needed newer files....

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
07-31-2012, 01:33 AM (This post was last modified: 07-31-2012 01:38 AM by cb88.)
Post: #299
RE: PKGBUILD files
I packaged up D+ and fltk 1.3 as they weren't in the repo. FLTK pkgbuild is derived from arch and much simplified. D+ PKGBUILD is derived from dillo-2.2 delicate PKGBULD.

I may have disabled more that needed for FTLK but it works in any case.

I signed up for the forum checked my email and posted this here all with D+. Note that it does crash if you change setting at times.

fltk-1.3 <- really fltk2 probably shoud not be provided no one is using it anymore.

Code:
# Maintainer:

pkgbase=fltk
pkgname=('fltk')
pkgver=1.3.0
pkgrel=1
license=('custom:LGPL')
url="http://www.fltk.org/"
makedepends=( 'libjpeg' 'libpng')
source=(http://ftp.easysw.com/pub/$pkgbase/$pkgver/$pkgbase-$pkgver-source.tar.gz)
md5sums=('44d5d7ba06afdd36ea17da6b4b703ca3')

build() {
  options=('!docs')
  cd "$srcdir/$pkgbase-$pkgver"
  ./configure --prefix=/usr --enable-threads --disable-xft --disable-gl --disable-xinerama \
  --enable-shared --disable-static --disable-localjpeg --disable-localzlib --disable-localpng \
  --disable-largefile

  make
  make DESTDIR="$pkgdir" install
  (cd fluid; make DESTDIR="$pkgdir" install install-linux)
  chmod 644 "$pkgdir"/usr/lib/*.a

}

D+ 0.5
Code:
# Maintainer : Jaromir Capik <tavvva@email.cz>
#
# Thanks to:
# Sergej Pupykin <pupykin.s+arch@gmail.com>
# dorphell <dorphell@archlinux.org>
# Benjamin Johnson <obeythepenguin>
# Chase Rayfield <cb88>

pkgname=dplus
pkgver=0.5
pkgrel=1
pkgdesc="A small, fast graphical web browser built on FLTK"
url="http://www.dplus.org"
license=('GPL')
depends=('fltk' 'libjpeg' 'perl' 'openssl' 'libpng' 'gcc' 'libxcursor' 'libxi')
install=$pkgname.install
source=($pkgname-$pkgver.tar.bz2
        dplus.desktop )

build() {
  cd "$srcdir/$pkgname-$pkgver"


LIBS="-liconv"  ./configure --prefix=/usr --sysconfdir=/etc --enable-cookies --enable-ipv6  \
              --enable-ssl --enable-shared-libcurl --host=$CHOST --build=$CHOST
  make
  make DESTDIR="$pkgdir" install

  install -Dm 644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}

md5sums=('a1913860e6f4aa1c130a7e0d5bde913f' 'd647e91f2477cbb8863af99e0b12150c')

dplus.desktop
Code:
Name=D+
Exec=dplus
Icon=dplus
Categories=Network;

Cheers!
Chase Rayfield
Find all posts by this user
Quote this message in a reply
07-31-2012, 07:11 AM (This post was last modified: 07-31-2012 07:21 AM by cb88.)
Post: #300
RE: PKGBUILD files
Mrxvt is much more effcient than xterm. especially with some of the bells and whistles turned off. Even with a minimal confic it is FAR better than xterm.

Modified from AUR I think I have the files attached if not they are on the AUR.

Code:
#  Contributor: Chase Rayfield
#  Thanks to:
#  tobias <tobias@archlinux.org>
#  twm
#  Max Pray a.k.a. Synthead <synthead@gmail.com>

pkgname=mrxvt
pkgver=0.5.4
pkgrel=5
pkgdesc="A multi-tabbed X terminal emulator based on rxvt code (also known as materm)"
arch=('i686' 'x86_64')
url="http://materm.sourceforge.net"
license=('GPL')
depends=('libpng' 'libjpeg' 'libxpm')
optdepends=('perl: for mrxvtset.pl script')
backup=('etc/mrxvt/mrxvtrc' 'etc/mrxvt/submenus.menu' 'etc/mrxvt/default.menu')
source=("http://downloads.sourceforge.net/materm/$pkgname-$pkgver.tar.gz"
        'mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch'
        'mrxvt.desktop'
        'libpng14.patch')
md5sums=('0232c8868484751dcb931a28f0756f69'
         '2b6ecc9d68185e56a50eca0a2548fa8b'
         '3dcb8e404e6324d7768b43fe6a7986c4'
         '3465d6b86d550e9aa868a918d2e4e3f2')

build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p0 < "$srcdir/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch"
patch -Np1 -i "$srcdir/libpng14.patch"
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
    --enable-smart-resize --disable-ourstrings --enable-linespace       --enable-256colors \
    --enable-backspace-key --with-save-lines=4096  --enable-minimal
make
make DESTDIR="$pkgdir" insall
install -Dm 644 "$srcdir/mrxvt.desktop" "$pkgdir/usr/share/applications/mrxvt.desktop"
}
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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

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