[arch-commits] Commit in (5 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Mar 17 10:09:45 UTC 2014
Date: Monday, March 17, 2014 @ 11:09:45
Author: spupykin
Revision: 107427
moved to community as gogglesmm dep
Added:
fox-devel/
fox-devel/repos/
fox-devel/trunk/
fox-devel/trunk/PKGBUILD
fox-devel/trunk/fox-devel.install
-------------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
fox-devel.install | 17 +++++++++++++++++
2 files changed, 67 insertions(+)
Added: fox-devel/trunk/PKGBUILD
===================================================================
--- fox-devel/trunk/PKGBUILD (rev 0)
+++ fox-devel/trunk/PKGBUILD 2014-03-17 10:09:45 UTC (rev 107427)
@@ -0,0 +1,50 @@
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+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;
+}
Added: fox-devel/trunk/fox-devel.install
===================================================================
--- fox-devel/trunk/fox-devel.install (rev 0)
+++ fox-devel/trunk/fox-devel.install 2014-03-17 10:09:45 UTC (rev 107427)
@@ -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
More information about the arch-commits
mailing list