# HG changeset patch # User Hans-G?nter Theisgen # Date 1725184461 -3600 # Node ID 9c5a110c8dc8474d27a56d38151e6d84122bf709 # Parent 9ac755e5e67bfc7784bd6ad8736bbb55af372f7f xfce4-panel: modified CFLAGS diff -r 9ac755e5e67b -r 9c5a110c8dc8 xfce4-panel-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfce4-panel-lang/receipt Sun Sep 01 10:54:21 2024 +0100 @@ -0,0 +1,16 @@ +# SliTaz package receipt." + +PACKAGE="xfce4-panel-lang" +VERSION="4.12.0" +CATEGORY="localization" +SHORT_DESC="Xfce Panel - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://docs.xfce.org/xfce/xfce4-panel/start" + +WANTED="xfce4-panel" + +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 9ac755e5e67b -r 9c5a110c8dc8 xfce4-panel/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfce4-panel/description.txt Sun Sep 01 10:54:21 2024 +0100 @@ -0,0 +1,5 @@ +The Xfce Panel is part of the Xfce Desktop Environment +and features application launchers, panel menus, +a workspace switcher and more. +Many aspects of the panel can be configured through the GUI, +but also by GTK+ style properties and hidden Xfconf settings. diff -r 9ac755e5e67b -r 9c5a110c8dc8 xfce4-panel/receipt --- a/xfce4-panel/receipt Sun Sep 01 10:41:21 2024 +0100 +++ b/xfce4-panel/receipt Sun Sep 01 10:54:21 2024 +0100 @@ -3,58 +3,56 @@ PACKAGE="xfce4-panel" VERSION="4.12.0" CATEGORY="x-window" -SHORT_DESC="Xfce Panel" +SHORT_DESC="Xfce Panel." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://docs.xfce.org/xfce/xfce4-panel/start" + 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 libwnck garcon util-linux-uuid dbus-glib" -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev - xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev - libxml2-dev xcb-util-dev" +SUGGESTED="xfce4-panel-lang" +DEPENDS="dbus-glib garcon libexo libwnck libxfce4ui libxfce4util util-linux-uuid" +BUILD_DEPENDS="cairo-dev dbus-glib-dev garcon-dev intltool libexo-dev + libwnck-dev libxfce4ui-dev libxfce4util-dev libxml2-dev + util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-libXext-dev + xorg-xextproto" # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ - sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | + sed '/released/!d;s| released.*||;s|.*panel ||' } # Rules to configure and make the package. compile_rules() { + export CFLAGS="$CFLAGS -I/usr/include/dbus-1.0" - cd $src - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-debug \ - --mandir=/usr/share/man $CONFIGURE_ARGS && \ - make && make install + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-debug \ + $CONFIGURE_ARGS && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr \ - $fs/usr/share/locale \ - $fs/usr/share/xfce4 \ - $fs/usr/lib/xfce4/panel/plugins - - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins - cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel - cp -a $install/usr/lib/xfce4/panel/wrapper-1.0 $fs/usr/lib/xfce4/panel - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/icons $fs/usr/share - cp -a $install/usr/share/xfce4 $fs/usr/share - - # Strip evrythings + mkdir -p $fs/usr/share/xfce4/panel/plugins + + cook_copy_folders bin + cook_copy_folders etc + cook_copy_folders icons + cook_copy_files migrate + cook_copy_files wrapper-1.0 + cook_copy_files *.so* + cp -a $install/usr/share/xfce4/panel/plugins/*.desktop \ + $fs/usr/share/xfce4/panel/plugins/ + + # Strip everything find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \; - } -