SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-session"

# SliTaz package receipt.

PACKAGE="xfce4-session"
VERSION="4.12.0"
CATEGORY="x-window"
SHORT_DESC="Xfce session manager."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/xfce/xfce4-session/start"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

SUGGESTED="perl-xml-parser xfce-session-lang"
DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xorg-iceauth"
BUILD_DEPENDS="dbus-dev dbus-glib-dev intltool libglade-dev libwnck-dev
    libxfce4ui-dev libxfce4util-dev pkg-config util-linux-uuid-dev
    xcb-util-dev xfconf-dev xorg-iceauth"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null |
    sed '/released/!d;s| released.*||;s|.*session ||'
}

# Rules to configure and make the package.
compile_rules()
{
    # 4.12.0    --enable-panel-plugin    removed as unrecognised
    # 4.12.0    --disable-gnome        removed as unrecognised
    ./configure                \
        --prefix=/usr            \
        --mandir=/usr/share/man        \
        --sysconfdir=/etc        \
        --libexecdir=/usr/lib/$PACKAGE    \
        --disable-debug            \
         --enable-nls            \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    etc
    cook_copy_files        *.so*
    cp -a $install/usr/lib/xfce4    $fs/usr/lib
    rm -rf            $fs/usr/lib/xfce4/session/splash-engines/*.la
    cook_copy_folders    icons
    cook_copy_folders    themes
    cook_copy_folders    xsessions

    # xfce4-session-logout workaround
    mkdir            $fs/sbin
    cp stuff/shutdown    $fs/sbin

    # strip all files
    #strip -s $fs/usr/lib/$PACKAGE/xf*

    # remove autostartfile
    rm -f    $fs/etc/xdg/autostart/*

    # Remove SVG icons
    rm -rf    $fs/usr/share/icons/hicolor/scalable
}
6011 packages and 861676 files in cooking database (Sun Jun 8 00:51:35 2025)