wok-current rev 12467

Up: openbox (3.5.0) Incon in menu and a bunch of changes
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 22 19:49:37 2012 +0200 (2012-04-22)
parents 7fed8c0a235d
children 864b7dc83218
files openbox-dev/receipt openbox-python/receipt openbox-themes/receipt openbox/receipt openbox/stuff/openbox-autostart.patch openbox/stuff/xsessions/openbox.desktop
line diff
     1.1 --- a/openbox-dev/receipt	Sun Apr 22 19:04:04 2012 +0200
     1.2 +++ b/openbox-dev/receipt	Sun Apr 22 19:49:37 2012 +0200
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openbox-dev"
     1.7 -VERSION="3.4.11.1"
     1.8 +VERSION="3.5.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Ob devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  WANTED="openbox"
    1.13 -WEB_SITE="http://icculus.org/openbox/"
    1.14 +WEB_SITE="http://openbox.org/"
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/openbox-python/receipt	Sun Apr 22 19:49:37 2012 +0200
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="openbox-python"
     2.7 +VERSION="3.5.0"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Openbox Python script (XDG auto start standard support)."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WANTED="openbox"
    2.12 +WEB_SITE="http://openbox.org/"
    2.13 +
    2.14 +DEPENDS="openbox python python-xdg"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	mkdir -p $fs/usr/lib/openbox
    2.20 +	cp -a $install/usr/lib/openbox/*-xdg-* $fs/usr/lib/openbox
    2.21 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/openbox-themes/receipt	Sun Apr 22 19:49:37 2012 +0200
     3.3 @@ -0,0 +1,19 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="openbox-themes"
     3.7 +VERSION="3.5.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Openbox official themes set."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +WANTED="openbox"
    3.12 +WEB_SITE="http://openbox.org/"
    3.13 +
    3.14 +DEPENDS="openbox"
    3.15 +
    3.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +	mkdir -p $fs/usr/share
    3.20 +	cp -a $install/usr/share/themes $fs/usr/share
    3.21 +	rm -rf $fs/usr/share/themes/Onyx*
    3.22 +}
     4.1 --- a/openbox/receipt	Sun Apr 22 19:04:04 2012 +0200
     4.2 +++ b/openbox/receipt	Sun Apr 22 19:49:37 2012 +0200
     4.3 @@ -1,21 +1,20 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="openbox"
     4.7 -VERSION="3.4.11.1"
     4.8 +VERSION="3.5.0"
     4.9  CATEGORY="x-window"
    4.10  SHORT_DESC="Small-footprint and standard compliant Window Manager."
    4.11  SUGGESTED="obconf pcmanfm hsetroot slitaz-configs"
    4.12  MAINTAINER="pankso@slitaz.org"
    4.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.14 -WEB_SITE="http://icculus.org/openbox/"
    4.15 -WGET_URL="http://offload2.icculus.org:9090/openbox/releases/$TARBALL"
    4.16 +WEB_SITE="http://openbox.org/"
    4.17 +WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
    4.18  TAGS="window-manager wm"
    4.19  
    4.20  DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
    4.21 -xorg-libXrandr xorg-libXft"
    4.22 +xorg-libXrandr xorg-libXft libxml2 imlib2 slitaz-configs"
    4.23  BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
    4.24 -xorg-libXft-dev util-linux-ng-uuid-dev"
    4.25 -
    4.26 +xorg-libXft-dev util-linux-ng-uuid-dev libxml2-dev imlib2-dev"
    4.27  
    4.28  # Rules to configure and make the package.
    4.29  compile_rules()
    4.30 @@ -25,42 +24,42 @@
    4.31  	./configure \
    4.32  		--prefix=/usr \
    4.33  		--sysconfdir=/etc \
    4.34 -		--infodir=/usr/share/info \
    4.35 -		--mandir=/usr/share/man \
    4.36 +		--libexecdir=/usr/lib/openbox \
    4.37  		$CONFIGURE_ARGS &&
    4.38  	sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
    4.39  	make &&
    4.40 -	make -j1 DESTDIR=$PWD/_pkg install
    4.41 +	make -j1 DESTDIR=$DESTDIR install &&
    4.42 +	rm -rf $install/usr/share/applications
    4.43  }
    4.44  
    4.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.46  genpkg_rules()
    4.47  {
    4.48 -	mkdir -p $fs/usr/lib/openbox $fs/usr/share
    4.49 -	cp -a $_pkg/usr/bin $fs/usr
    4.50 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.51 -	cp -a $_pkg/usr/share/themes $fs/usr/share
    4.52 +	mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
    4.53 +	cp -a $install/usr/bin $fs/usr
    4.54 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.55 +	cp -a $install/usr/lib/openbox $fs/usr/lib
    4.56  	
    4.57  	# We dont have GNOME or KDE
    4.58  	rm $fs/usr/bin/openbox-gnome-session
    4.59  	rm $fs/usr/bin/openbox-kde-session
    4.60  	rm $fs/usr/bin/gnome-panel-control
    4.61 +	rm $fs/usr/bin/gdm-control
    4.62  	chmod 0755 $fs/usr/bin/openbox-session
    4.63  	
    4.64 +	# Python XDG script --> openbox-python
    4.65 +	rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
    4.66 +	patch -p1 $fs/usr/lib/openbox/openbox-autostart \
    4.67 +		-i $stuff/openbox-autostart.patch || exit 1
    4.68 +	
    4.69 +	# Just Onyx Themes --> openbox-themes
    4.70 +	cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
    4.71 +	
    4.72 +	# Xsessions
    4.73 +	cp -a $stuff/xsessions $fs/usr/share
    4.74 +	
    4.75  	# Pipe menu.
    4.76 -	cp stuff/open-folder-menu.sh $fs/usr/lib/openbox
    4.77 -	
    4.78 -	# Fix an error in openbox-session (version 3.4.11.1)
    4.79 -	sed 's#exec /usr/bin/openbox "$@"#exec /usr/bin/openbox#' \
    4.80 -		-i $fs/usr/bin/openbox-session
    4.81 -
    4.82 -	# Locale
    4.83 -	for i in $LOCALE
    4.84 -	do
    4.85 -		mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
    4.86 -		cp $src/po/$i.gmo \
    4.87 -			$fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
    4.88 -	done
    4.89 +	cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
    4.90  
    4.91  	# Set perms.
    4.92  	chown -R root.root $fs
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/openbox/stuff/openbox-autostart.patch	Sun Apr 22 19:49:37 2012 +0200
     5.3 @@ -0,0 +1,8 @@
     5.4 +--- openbox-autostart.org
     5.5 ++++ openbox-autostart
     5.6 +@@ -31,4 +31,4 @@
     5.7 + # Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
     5.8 + # in $HOME/.config/autostart.  This requires PyXDG to be installed.
     5.9 + # See openbox-xdg-autostart --help for more details.
    5.10 +-/usr/lib/openbox/openbox-xdg-autostart "$@"
    5.11 ++/usr/lib/openbox/openbox-xdg-autostart "$@" || continue
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/openbox/stuff/xsessions/openbox.desktop	Sun Apr 22 19:49:37 2012 +0200
     6.3 @@ -0,0 +1,6 @@
     6.4 +[Desktop Entry]
     6.5 +Encoding=UTF-8
     6.6 +Type=XSession
     6.7 +Name=OpenBox Session
     6.8 +Icon=openbox
     6.9 +Exec=openbox-session