diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
commit | 9526ee659401dee7160f35cb62ded2779bcbbc99 (patch) | |
tree | 812ad73bde9c84dcc02a3acbc5db576369ca314a /main/xfce4-session | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/xfce4-session')
-rw-r--r-- | main/xfce4-session/APKBUILD | 45 | ||||
-rw-r--r-- | main/xfce4-session/busybox-shutdown.patch | 13 | ||||
l--------- | main/xfce4-session/xfce4-session.post-deinstall | 1 | ||||
-rw-r--r-- | main/xfce4-session/xfce4-session.post-install | 4 |
4 files changed, 63 insertions, 0 deletions
diff --git a/main/xfce4-session/APKBUILD b/main/xfce4-session/APKBUILD new file mode 100644 index 0000000000..a7c42b9b1d --- /dev/null +++ b/main/xfce4-session/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xfce4-session +pkgver=4.6.1 +pkgrel=1 +pkgdesc="A session manager for Xfce" +url="http://www.xfce.org/" +license="GPL2" +subpackages="$pkgname-dev $pkgname-doc" +makedepends="pkgconfig libxfcegui4-dev libwnck-dev libglade-dev intltool + gettext-dev libiconv-dev iceauth libice-dev libsm-dev expat-dev + e2fsprogs-dev zlib-dev" +depends="hicolor-icon-theme" +install= +source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2 + busybox-shutdown.patch" + +depends_dev="libxfcegui4-dev xfconf-dev" + +build() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i ../busybox-shutdown.patch || return 1 + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/xfce4 \ + --localstatedir=/var \ + --disable-static \ + --enable-legacy-sm \ + --disable-gnome \ + --enable-session-screenshots \ + || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + # tips doesnt work and i dont like them. + # just remove to save space + rm -f "$pkgdir"/etc/xdg/autostart/xfce4-tips-autostart.desktop \ + "$pkgdir"/usr/bin/xfce4-tips +} + +md5sums="7628be41ed3511a20cff5673d9d39858 xfce4-session-4.6.1.tar.bz2 +bfd9132f08f4a92efbe982fb911c511c busybox-shutdown.patch" diff --git a/main/xfce4-session/busybox-shutdown.patch b/main/xfce4-session/busybox-shutdown.patch new file mode 100644 index 0000000000..37423618f0 --- /dev/null +++ b/main/xfce4-session/busybox-shutdown.patch @@ -0,0 +1,13 @@ +--- a/xfsm-shutdown-helper/main.c Thu Nov 5 17:34:17 2009 ++++ b/xfsm-shutdown-helper/main.c Thu Nov 5 17:36:56 2009 +@@ -64,8 +64,8 @@ + #define POWEROFF_CMD "/usr/sbin/shutdown -i 5 -g 0 -y" + #define REBOOT_CMD "/usr/sbin/shutdown -i 6 -g 0 -y" + #else +-#define POWEROFF_CMD "/sbin/shutdown -h now" +-#define REBOOT_CMD "/sbin/shutdown -r now" ++#define POWEROFF_CMD "/sbin/poweroff" ++#define REBOOT_CMD "/sbin/reboot" + #endif + + diff --git a/main/xfce4-session/xfce4-session.post-deinstall b/main/xfce4-session/xfce4-session.post-deinstall new file mode 120000 index 0000000000..7242718fcb --- /dev/null +++ b/main/xfce4-session/xfce4-session.post-deinstall @@ -0,0 +1 @@ +xfce4-session.post-install
\ No newline at end of file diff --git a/main/xfce4-session/xfce4-session.post-install b/main/xfce4-session/xfce4-session.post-install new file mode 100644 index 0000000000..c523d78da0 --- /dev/null +++ b/main/xfce4-session/xfce4-session.post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + |