wok annotate xfce4-session/receipt @ rev 25798
updated xfce4-settings-dev (4.12.0 -> 4.12.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 17:32:01 2024 +0100 (3 weeks ago) |
parents | 291cceed840e |
children |
rev | line source |
---|---|
erjo@2073 | 1 # SliTaz package receipt. |
erjo@2073 | 2 |
erjo@2073 | 3 PACKAGE="xfce4-session" |
erkan@22419 | 4 VERSION="4.12.0" |
erjo@2073 | 5 CATEGORY="x-window" |
Hans-G?nter@25798 | 6 SHORT_DESC="Xfce session manager." |
erjo@2073 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
Hans-G?nter@25798 | 9 WEB_SITE="https://docs.xfce.org/xfce/xfce4-session/start" |
Hans-G?nter@25714 | 10 |
erjo@2073 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24972 | 12 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@14835 | 13 |
Hans-G?nter@25714 | 14 SUGGESTED="perl-xml-parser xfce-session-lang" |
Hans-G?nter@25714 | 15 DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xorg-iceauth" |
Hans-G?nter@25714 | 16 BUILD_DEPENDS="dbus-dev dbus-glib-dev intltool libglade-dev libwnck-dev |
Hans-G?nter@25714 | 17 libxfce4ui-dev libxfce4util-dev pkg-config util-linux-uuid-dev |
Hans-G?nter@25714 | 18 xcb-util-dev xfconf-dev xorg-iceauth" |
erjo@2073 | 19 |
pascal@24415 | 20 # What is the latest version available today? |
pascal@24415 | 21 current_version() |
pascal@24415 | 22 { |
Hans-G?nter@25798 | 23 wget -O - $WEB_SITE 2>/dev/null | |
Hans-G?nter@25798 | 24 sed '/released/!d;s| released.*||;s|.*session ||' |
pascal@24415 | 25 } |
pascal@24415 | 26 |
erjo@2073 | 27 # Rules to configure and make the package. |
erjo@2073 | 28 compile_rules() |
erjo@2073 | 29 { |
Hans-G?nter@25714 | 30 # 4.12.0 --enable-panel-plugin removed as unrecognised |
Hans-G?nter@25714 | 31 # 4.12.0 --disable-gnome removed as unrecognised |
Hans-G?nter@25714 | 32 ./configure \ |
Hans-G?nter@25714 | 33 --prefix=/usr \ |
Hans-G?nter@25714 | 34 --mandir=/usr/share/man \ |
Hans-G?nter@25714 | 35 --sysconfdir=/etc \ |
Hans-G?nter@25714 | 36 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@25714 | 37 --disable-debug \ |
Hans-G?nter@25798 | 38 --enable-nls \ |
Hans-G?nter@25714 | 39 $CONFIGURE_ARGS && |
pascal@14836 | 40 make && |
Hans-G?nter@25798 | 41 make install |
erjo@2073 | 42 } |
erjo@2073 | 43 |
erjo@2073 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2073 | 45 genpkg_rules() |
erjo@2073 | 46 { |
Hans-G?nter@25714 | 47 cook_copy_folders bin |
Hans-G?nter@25714 | 48 cook_copy_folders etc |
Hans-G?nter@25714 | 49 cook_copy_files *.so* |
Hans-G?nter@25714 | 50 cp -a $install/usr/lib/xfce4 $fs/usr/lib |
Hans-G?nter@25798 | 51 rm -rf $fs/usr/lib/xfce4/session/splash-engines/*.la |
Hans-G?nter@25714 | 52 cook_copy_folders icons |
Hans-G?nter@25714 | 53 cook_copy_folders themes |
Hans-G?nter@25714 | 54 cook_copy_folders xsessions |
Hans-G?nter@25714 | 55 |
Hans-G?nter@25798 | 56 # xfce4-session-logout workaround |
Hans-G?nter@25716 | 57 mkdir $fs/sbin |
Hans-G?nter@25714 | 58 cp stuff/shutdown $fs/sbin |
erjo@4130 | 59 |
erjo@4130 | 60 # strip all files |
erjo@8023 | 61 #strip -s $fs/usr/lib/$PACKAGE/xf* |
Hans-G?nter@25714 | 62 |
erjo@4130 | 63 # remove autostartfile |
Hans-G?nter@25714 | 64 rm -f $fs/etc/xdg/autostart/* |
erjo@8023 | 65 |
erjo@2073 | 66 # Remove SVG icons |
Hans-G?nter@25714 | 67 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2073 | 68 } |