SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-session"

# SliTaz package receipt.

PACKAGE="xfce4-session"
VERSION="4.8.1"
CATEGORY="x-window"
SHORT_DESC="Xfce session manager"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libxfce4util libxfce4ui libwnck dbus-glib libglade xorg-iceauth"
SUGGESTED="perl-xml-parser"
BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev  \
dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-ng-uuid-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xfce.org/"
WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --enable-panel-plugin \
        --disable-gnome \
        --disable-debug \
        --libexecdir=/usr/lib/$PACKAGE \
        --mandir=/usr/share/man $CONFIGURE_ARGS && \
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib \
        $fs/usr/share/locale \
        $fs/sbin
            
    cp -a $_pkg/etc $fs/    
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    cp -a $_pkg/usr/share/applications $fs/usr/share
    cp -a $_pkg/usr/share/icons $fs/usr/share
    cp -a $_pkg/usr/share/themes $fs/usr/share
    #cp -a $_pkg/usr/share/xfce4 $fs/usr/share
    
    # xfce4-session-logout workarround
    cp stuff/shutdown $fs/sbin

    # strip all files
    #strip -s $fs/usr/lib/$PACKAGE/xf*
    
    # remove autostartfile
    rm -f $fs/etc/xdg/autostart/*
    
    # Remove unecessary files
    find $fs/ -name "*.*a" -exec rm -f {} \;

    # Remove SVG icons
    rm -rf $fs/usr/share/icons/hicolor/scalable
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)