wok rev 25754

xfce4-panel: modified CFLAGS
author Hans-G?nter Theisgen
date Sun Sep 01 10:54:21 2024 +0100 (2 months ago)
parents 9ac755e5e67b
children 659456031ace
files xfce4-panel-lang/receipt xfce4-panel/description.txt xfce4-panel/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-panel-lang/receipt	Sun Sep 01 10:54:21 2024 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt."
     1.5 +
     1.6 +PACKAGE="xfce4-panel-lang"
     1.7 +VERSION="4.12.0"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Xfce Panel - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://docs.xfce.org/xfce/xfce4-panel/start"
    1.13 +
    1.14 +WANTED="xfce4-panel"
    1.15 +
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	cook_copy_folders	locale
    1.19 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfce4-panel/description.txt	Sun Sep 01 10:54:21 2024 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +The Xfce Panel is part of the Xfce Desktop Environment
     2.5 +and features application launchers, panel menus,
     2.6 +a workspace switcher and more.
     2.7 +Many aspects of the panel can be configured through the GUI,
     2.8 +but also by GTK+ style properties and hidden Xfconf settings.
     3.1 --- a/xfce4-panel/receipt	Sun Sep 01 10:41:21 2024 +0100
     3.2 +++ b/xfce4-panel/receipt	Sun Sep 01 10:54:21 2024 +0100
     3.3 @@ -3,58 +3,56 @@
     3.4  PACKAGE="xfce4-panel"
     3.5  VERSION="4.12.0"
     3.6  CATEGORY="x-window"
     3.7 -SHORT_DESC="Xfce Panel"
     3.8 +SHORT_DESC="Xfce Panel."
     3.9  MAINTAINER="erjo@slitaz.org"
    3.10  LICENSE="GPL2"
    3.11 +WEB_SITE="https://docs.xfce.org/xfce/xfce4-panel/start"
    3.12 +
    3.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 -WEB_SITE="https://www.xfce.org/"
    3.15  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.16  
    3.17 -DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
    3.18 -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
    3.19 - xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
    3.20 - libxml2-dev xcb-util-dev"
    3.21 +SUGGESTED="xfce4-panel-lang"
    3.22 +DEPENDS="dbus-glib garcon libexo libwnck libxfce4ui libxfce4util util-linux-uuid"
    3.23 +BUILD_DEPENDS="cairo-dev dbus-glib-dev garcon-dev intltool libexo-dev
    3.24 +	libwnck-dev libxfce4ui-dev libxfce4util-dev libxml2-dev
    3.25 +	util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-libXext-dev
    3.26 +	xorg-xextproto"
    3.27  
    3.28  # What is the latest version available today?
    3.29  current_version()
    3.30  {
    3.31 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    3.32 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    3.33 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    3.34 +	wget -O - $WEB_SITE 2>/dev/null |
    3.35 +	sed '/released/!d;s| released.*||;s|.*panel ||'
    3.36  }
    3.37  
    3.38  # Rules to configure and make the package.
    3.39  compile_rules()
    3.40  {
    3.41 +	export	CFLAGS="$CFLAGS -I/usr/include/dbus-1.0"
    3.42  
    3.43 -	cd $src
    3.44 -	./configure --prefix=/usr \
    3.45 -	--sysconfdir=/etc \
    3.46 -	--disable-debug \
    3.47 -	--mandir=/usr/share/man $CONFIGURE_ARGS && \
    3.48 -	make && make install
    3.49 +	./configure			\
    3.50 +		--prefix=/usr		\
    3.51 +		--sysconfdir=/etc	\
    3.52 +		--disable-debug		\
    3.53 +		$CONFIGURE_ARGS &&
    3.54 +	make &&
    3.55 +	make install
    3.56  }
    3.57  
    3.58  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.59  genpkg_rules()
    3.60  {
    3.61 -	mkdir -p $fs/usr \
    3.62 -		$fs/usr/share/locale \
    3.63 -		$fs/usr/share/xfce4 \
    3.64 -		$fs/usr/lib/xfce4/panel/plugins 
    3.65 -	
    3.66 -	cp -a $install/etc $fs	
    3.67 -	cp -a $install/usr/bin $fs/usr
    3.68 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.69 -	cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
    3.70 -	cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
    3.71 -	cp -a $install/usr/lib/xfce4/panel/wrapper-1.0 $fs/usr/lib/xfce4/panel
    3.72 -	cp -a $install/usr/share/applications $fs/usr/share
    3.73 -	cp -a $install/usr/share/icons $fs/usr/share
    3.74 -	cp -a $install/usr/share/xfce4 $fs/usr/share
    3.75 -	
    3.76 -	# Strip evrythings
    3.77 +	mkdir -p		$fs/usr/share/xfce4/panel/plugins
    3.78 +
    3.79 +	cook_copy_folders	bin
    3.80 +	cook_copy_folders	etc
    3.81 +	cook_copy_folders	icons
    3.82 +	cook_copy_files		migrate
    3.83 +	cook_copy_files		wrapper-1.0
    3.84 +	cook_copy_files		*.so*
    3.85 +	cp -a	$install/usr/share/xfce4/panel/plugins/*.desktop	\
    3.86 +		$fs/usr/share/xfce4/panel/plugins/
    3.87 +
    3.88 +	# Strip everything
    3.89  	find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
    3.90 -
    3.91  }
    3.92 -