# HG changeset patch # User Hans-G?nter Theisgen # Date 1723913530 -3600 # Node ID 59ec0d609b58b3c2fd818c123b05018b42852cc7 # Parent b949efa3f8ac0daf007d0b71c8b2813437647bfc added recipe for xfce4-settings-lang diff -r b949efa3f8ac -r 59ec0d609b58 xfce4-settings-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfce4-settings-lang/receipt Sat Aug 17 17:52:10 2024 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="xfce4-settings-lang" +VERSION="4.12.0" +CATEGORY="localization" +SHORT_DESC="Xfce Settings Manager - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.xfce.org/" + +WANTED="xfce4-settings" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r b949efa3f8ac -r 59ec0d609b58 xfce4-settings/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfce4-settings/description.txt Sat Aug 17 17:52:10 2024 +0100 @@ -0,0 +1,2 @@ +The xfce4-settings component provides a daemon, manager, and editor +to centralise the configuration management of the Xfce system. diff -r b949efa3f8ac -r 59ec0d609b58 xfce4-settings/receipt --- a/xfce4-settings/receipt Sat Aug 17 17:30:48 2024 +0100 +++ b/xfce4-settings/receipt Sat Aug 17 17:52:10 2024 +0100 @@ -6,15 +6,18 @@ SHORT_DESC="Xfce Settings Manager" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.xfce.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="https://www.xfce.org/" WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \ -xorg-libXrandr libnotify libwnck" -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev - dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \ -intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev" +SUGGESTED="xfce4-settings-lang" +DEPENDS="dbus-glib libexo libglade libnotify libwnck libxfce4ui libxfce4util + xfconf xorg-libXi xorg-libXrandr" +BUILD_DEPENDS="dbus-glib-dev exo garcon-dev intltool libexo-dev libglade-dev + libnotify-dev libxfce4ui-dev libxfce4util-dev startup-notification-dev + util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-inputproto + xorg-libXi-dev xorg-libXrandr-dev" # What is the latest version available today? current_version() @@ -27,34 +30,32 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --enable-xcursor \ - --enable-libnotify \ - --enable-xrandr \ - --enable-libxklavier \ - --enable-sound-settings \ - --disable-debug \ - --disable-static \ - --mandir=/usr/share/man $CONFIGURE_ARGS && \ - make && make DESTDIR=$DESTDIR install + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-xcursor \ + --enable-libnotify \ + --enable-nls \ + --enable-xrandr \ + --enable-libxklavier \ + --enable-sound-settings \ + --disable-debug \ + --disable-static \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && \ + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr \ - $fs/usr/share/locale - - cp -a $install/etc $fs/ - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/applications $fs/usr/share + cook_copy_folders bin + cook_copy_folders etc - if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then - sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml - sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml + if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ] + then + sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml + sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml fi - } -