From bb37a4ecb6bee92615f1312d9907129490105052 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 18 Mar 2014 03:30:21 +0000 Subject: Tue Mar 18 03:26:07 UTC 2014 --- community/fox-devel/PKGBUILD | 50 +++++++++++++++++++++++++++++++++++ community/fox-devel/fox-devel.install | 17 ++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 community/fox-devel/PKGBUILD create mode 100644 community/fox-devel/fox-devel.install (limited to 'community/fox-devel') diff --git a/community/fox-devel/PKGBUILD b/community/fox-devel/PKGBUILD new file mode 100644 index 000000000..3260e87bf --- /dev/null +++ b/community/fox-devel/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer : speps +# Contributor: Dany Martineau + +pkgname=fox-devel +pkgver=1.7.46 # version 1.7.26 up breaks theme management, maybe restored in 1.7.29 +pkgrel=1 +pkgdesc="Free Objects for X: GUI Toolkit for C++, development version." +arch=('i686' 'x86_64') +url="http://www.fox-toolkit.org/" +license=('LGPL' 'custom') +depends=('glu' 'libsm' 'libtiff' 'libxcursor' 'libxft' 'libxi' 'libxrandr') +makedepends=('mesa') +install="$pkgname.install" +provides=("fox=$pkgver") +source=("${url/www/ftp}pub/fox-$pkgver.tar.gz") +md5sums=('e30f45e4fcdc6f4ed655e41d5c4a4df2') + +build() { + cd fox-$pkgver + ./configure --prefix=/usr \ + --enable-static=no \ + --enable-release \ + --with-xft=yes \ + --with-opengl=yes \ + --with-xim \ + --with-xshm \ + --with-shape \ + --with-xcursor \ + --with-xrender \ + --with-xrandr \ + --with-xfixes \ + --with-xinput + make +} + +package() { + cd fox-$pkgver + make DESTDIR="$pkgdir/" install + + # license + install -Dm644 LICENSE_ADDENDUM "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # rename apps to prevent conflicts with fox + for _f in `find $pkgdir/usr/bin -type f`; do + mv $_f $_f-1.7 + done; + for _f in `find $pkgdir/usr/share/man -type f`; do + mv $_f `dirname $_f`/`basename $_f .1`-1.7.1 + done; +} diff --git a/community/fox-devel/fox-devel.install b/community/fox-devel/fox-devel.install new file mode 100644 index 000000000..f69a50935 --- /dev/null +++ b/community/fox-devel/fox-devel.install @@ -0,0 +1,17 @@ +post_install() { + cat << EOF + +>>> Theme management seems to be broken since version 1.7.25, btw seems quite resolved in 1.7.29 +>>> If you get black background widgets, or an empty themes list, try this steps: +>>> +>>> delete configure file -> rm ~/.config/fox.rc +>>> launch ControlPanel-1.7, you'll notice themes list is empty +>>> hit Close than Save +>>> launch ControlPanel-1.7, themes are back again + +EOF +} + +post_upgrade() { + post_install +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf