wok-next rev 20133

Up xfce4-settings, xfdesktop
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 31 16:34:48 2017 +0200 (2017-10-31)
parents 856a2d9f3253
children f9e7bb09c96f
files xfce4-settings/receipt xfce4-settings/stuff/xsettings.xml.u xfdesktop-extras/receipt xfdesktop/receipt
line diff
     1.1 --- a/xfce4-settings/receipt	Tue Oct 31 15:24:24 2017 +0200
     1.2 +++ b/xfce4-settings/receipt	Tue Oct 31 16:34:48 2017 +0200
     1.3 @@ -1,52 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xfce4-settings"
     1.8 -VERSION="4.11.2"
     1.9 +VERSION="4.12.0" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xfce Settings Manager"
    1.12 +SHORT_DESC="Xfce settings manager"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.xfce.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.xfce.org/"
    1.19  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
    1.22 -xorg-libXrandr libnotify libwnck2"
    1.23 -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev 
    1.24 - dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
    1.25 -intltool exo startup-notification-dev  util-linux-uuid-dev garcon-dev"
    1.26 +BUILD_DEPENDS="intltool exo-dev garcon-dev xorg-libXi-dev xorg-libXrandr-dev \
    1.27 +upower-dev libnotify-dev xorg-libXcursor-dev xorg-xf86-input-libinput-dev \
    1.28 +libxklavier-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	cd $src
    1.34 -	./configure --prefix=/usr \
    1.35 +compile_rules() {
    1.36 +	./configure \
    1.37  		--sysconfdir=/etc \
    1.38 -		--enable-xcursor \
    1.39 -		--enable-libnotify \
    1.40 -		--enable-xrandr \
    1.41 -		--enable-libxklavier \
    1.42 +		--localstatedir=/var \
    1.43 +		--disable-debug \
    1.44 +		--enable-pluggable-dialogs \
    1.45  		--enable-sound-settings \
    1.46 -		--disable-debug \
    1.47 -		--disable-static \
    1.48 -		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.49 -	make && make DESTDIR=$DESTDIR install
    1.50 +		$CONFIGURE_ARGS &&
    1.51 +	make &&
    1.52 +	make install
    1.53  }
    1.54  
    1.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.56 -genpkg_rules()
    1.57 -{
    1.58 -	mkdir -p $fs/usr \
    1.59 -		$fs/usr/share/locale
    1.60 -
    1.61 -	cp -a $install/etc $fs/	
    1.62 -	cp -a $install/usr/bin $fs/usr
    1.63 -	cp -a $install/usr/share/applications $fs/usr/share
    1.64 -	
    1.65 -	if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
    1.66 -		sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    1.67 -		sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    1.68 -	fi
    1.69 -		
    1.70 +genpkg_rules() {
    1.71 +	copy @std hicolor/ # only 128 icons here
    1.72 +	DEPENDS="cairo dbus dbus-glib exo fontconfig garcon gdk-pixbuf glib gtk+ \
    1.73 +	libnotify libxfce4ui libxfce4util libxklavier pango upower xfconf \
    1.74 +	xorg-libX11 xorg-libXcursor xorg-libXi xorg-libXrandr"
    1.75  }
    1.76 -
     2.1 --- a/xfce4-settings/stuff/xsettings.xml.u	Tue Oct 31 15:24:24 2017 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,14 +0,0 @@
     2.4 -diff -ru xfce4-settings-4.6.1-ori/xfsettingsd/xsettings.xml xfce4-settings-4.6.1/xfsettingsd/xsettings.xml
     2.5 ---- xfce4-settings-4.6.1-ori/xfsettingsd/xsettings.xml	2009-02-20 18:12:35.000000000 +0100
     2.6 -+++ xfce4-settings-4.6.1/xfsettingsd/xsettings.xml	2009-08-02 23:43:12.000000000 +0200
     2.7 -@@ -2,8 +2,8 @@
     2.8 - 
     2.9 - <channel name="xsettings" version="1.0">
    2.10 -   <property name="Net" type="empty">
    2.11 --    <property name="ThemeName" type="string" value="Xfce"/>
    2.12 --    <property name="IconThemeName" type="string" value="Rodent"/>
    2.13 -+    <property name="ThemeName" type="string" value="Clearlooks"/>
    2.14 -+    <property name="IconThemeName" type="string" value="Tango"/>
    2.15 -   </property>
    2.16 -   <property name="Xft" type="empty">
    2.17 -     <property name="DPI" type="int" value="-1"/>
     3.1 --- a/xfdesktop-extras/receipt	Tue Oct 31 15:24:24 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,27 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="xfdesktop-extras"
     3.7 -VERSION="4.10.0"
     3.8 -CATEGORY="x-window"
     3.9 -SHORT_DESC="Xfce Desktop icons and stuff"
    3.10 -MAINTAINER="erjo@slitaz.org"
    3.11 -LICENSE="GPL2"
    3.12 -WEB_SITE="http://www.xfce.org/"
    3.13 -WANTED="xfdesktop"
    3.14 -
    3.15 -DEPENDS="libxfce4util thunar libexo"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr \
    3.21 -		$fs/usr/share/locale \
    3.22 -		$fs/usr/share/xfce4
    3.23 -
    3.24 -	cp -a $install/usr/share/icons $fs/usr/share
    3.25 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    3.26 -	cp -a $install/usr/share/backgrounds $fs/usr/share/
    3.27 -	#~ cp -a $install/usr/share/xfce4/backdrops $fs/usr/share/xfce4
    3.28 -	#~ cp -a $install/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
    3.29 -}
    3.30 -
     4.1 --- a/xfdesktop/receipt	Tue Oct 31 15:24:24 2017 +0200
     4.2 +++ b/xfdesktop/receipt	Tue Oct 31 16:34:48 2017 +0200
     4.3 @@ -1,52 +1,46 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="xfdesktop"
     4.8 -VERSION="4.10.0"
     4.9 +VERSION="4.12.0" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
    4.10  CATEGORY="x-window"
    4.11 -SHORT_DESC="Xfce Desktop"
    4.12 +SHORT_DESC="Xfce desktop"
    4.13  MAINTAINER="erjo@slitaz.org"
    4.14  LICENSE="GPL2"
    4.15 +WEB_SITE="http://www.xfce.org/"
    4.16 +
    4.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.18 -WEB_SITE="http://www.xfce.org/"
    4.19  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.20  
    4.21 -DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
    4.22 -BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libwnck2-dev \
    4.23 -xfconf-dev libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool \
    4.24 -util-linux-uuid-dev dbus-glib libxfce4ui-dev"
    4.25 +BUILD_DEPENDS="intltool xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev \
    4.26 +dbus-glib-dev gtk+-dev libxfce4util-dev libxfce4ui-dev libwnck2-dev exo-dev \
    4.27 +thunar-dev garcon-dev libnotify-dev"
    4.28 +SPLIT="xfdesktop-extras xfdesktop"
    4.29  
    4.30 -# Rules to configure and make the package.
    4.31 -compile_rules()
    4.32 -{
    4.33 -	cd $src
    4.34 -	./configure --prefix=/usr \
    4.35 -	--sysconfdir=/etc \
    4.36 -	--enable-notifications \
    4.37 -	--enable-gio-unix \
    4.38 -	--enable-thunarx \
    4.39 -	--disable-static \
    4.40 -	--libexecdir=/usr/lib/$PACKAGE \
    4.41 -	--mandir=/usr/share/man $CONFIGURE_ARGS && \
    4.42 -	make && make DESTDIR=$DESTDIR install
    4.43 +compile_rules() {
    4.44 +	./configure \
    4.45 +		--sysconfdir=/etc \
    4.46 +		--localstatedir=/var \
    4.47 +		--disable-debug \
    4.48 +		$CONFIGURE_ARGS &&
    4.49 +	make &&
    4.50 +	make install
    4.51  }
    4.52  
    4.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.54 -genpkg_rules()
    4.55 -{
    4.56 -	mkdir -p $fs/usr/lib \
    4.57 -		$fs/usr/share/locale \
    4.58 -		$fs/usr/share/xfce4
    4.59 -
    4.60 -	cp -a $install/usr/bin $fs/usr
    4.61 -	#~ cp -a $install/etc $fs/
    4.62 -	#~ cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    4.63 -	#~ cp -a $install/usr/lib $fs/usr
    4.64 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    4.65 -	cp -a $install/usr/share/applications $fs/usr/share
    4.66 -	#~ cp -a $install/usr/share/desktop-directories $fs/usr/share
    4.67 -	#~ cp -a $install/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
    4.68 -	
    4.69 -	#~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
    4.70 -
    4.71 +genpkg_rules() {
    4.72 +	case $PACKAGE in
    4.73 +		*-extras)
    4.74 +			copy backgrounds/
    4.75 +			CAT="x-window|backgrounds"
    4.76 +			;;
    4.77 +		xfdesktop)
    4.78 +			copy @std @rm
    4.79 +			DEPENDS="atk bzlib cairo dbus dbus-glib exo fontconfig freetype \
    4.80 +			garcon gdk-pixbuf glib gtk+ libffi libharfbuzz liblzma libnotify \
    4.81 +			libpng16 libwnck2 libxfce4ui libxfce4util libxml2 pango pcre \
    4.82 +			startup-notification thunar util-linux-blkid util-linux-mount \
    4.83 +			util-linux-uuid xfconf xorg-libICE xorg-libSM xorg-libX11 \
    4.84 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    4.85 +			xorg-pixman xorg-xcb-util zlib"
    4.86 +			;;
    4.87 +	esac
    4.88  }
    4.89 -