wok-next rev 20567

xfe: update receipt; qt5: undo `fix math`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 01:07:35 2018 +0300 (2018-04-11)
parents c3c5f21c5e0c
children 5baa3b6a24e7
files qt5/receipt xfe/receipt
line diff
     1.1 --- a/qt5/receipt	Tue Apr 10 10:30:46 2018 +0200
     1.2 +++ b/qt5/receipt	Wed Apr 11 01:07:35 2018 +0300
     1.3 @@ -45,7 +45,7 @@
     1.4  qt5-doc qt5-dev"
     1.5  
     1.6  compile_rules() {
     1.7 -	fix math
     1.8 +#	fix math
     1.9  	export QT5PREFIX=/usr # or /opt/qt5
    1.10  	if [ "$QT5PREFIX" == '/usr' ]; then
    1.11  		QT5OPTS="\
     2.1 --- a/xfe/receipt	Tue Apr 10 10:30:46 2018 +0200
     2.2 +++ b/xfe/receipt	Wed Apr 11 01:07:35 2018 +0300
     2.3 @@ -3,79 +3,60 @@
     2.4  PACKAGE="xfe"
     2.5  VERSION="1.40"
     2.6  CATEGORY="system-tools"
     2.7 -SHORT_DESC="Xfe File manager and utility using Fox toolkit."
     2.8 +SHORT_DESC="FOX tools for X Window"
     2.9  MAINTAINER="pankso@slitaz.org"
    2.10  LICENSE="GPL2"
    2.11 +WEB_SITE="http://roland65.free.fr/xfe/"
    2.12 +
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 -WEB_SITE="http://roland65.free.fr/xfe/"
    2.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 -TAGS="file-manager"
    2.17  
    2.18 -BUILD_DEPENDS="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake"
    2.19 -GENERIC_MENUS="no"
    2.20 -SPLIT="xfe xfe-extras xfi xfw"
    2.21 +BUILD_DEPENDS_arm="libpng16-dev libjpeg-turbo-dev tiff-dev xorg-libXft-dev \
    2.22 +fox-dev automake"
    2.23 +BUILD_DEPENDS="libpng16-dev libjpeg-turbo-dev tiff-dev xorg-libXft-dev fox-dev \
    2.24 +automake intltool gettext xorg-libXrandr-dev xorg-libXi"
    2.25 +SPLIT="xfe-extra-icons xfe xfi xfw xfp"
    2.26  
    2.27 -# Handle cross compilation.
    2.28 -case "$ARCH" in
    2.29 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
    2.30 -	arm)
    2.31 -		export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
    2.32 -esac
    2.33 -
    2.34 -# Rules to configure and make the package.
    2.35 -compile_rules()
    2.36 -{
    2.37 +compile_rules() {
    2.38 +	case "$ARCH" in
    2.39 +		arm) export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib";;
    2.40 +	esac
    2.41  	# Required by freetype-dev-2.4.11
    2.42  	sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
    2.43 +
    2.44  	./autogen.sh
    2.45 -	./configure $CONFIGURE_ARGS && make && make install
    2.46 +	./configure $CONFIGURE_ARGS &&
    2.47 +	make &&
    2.48 +	make install
    2.49  }
    2.50  
    2.51 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.52 -genpkg_rules()
    2.53 -{
    2.54 +genpkg_rules() {
    2.55 +	COOKOPTS="!pixmaps !menus"
    2.56 +	DEPENDS="fox xorg-libX11 xorg-libXft xorg-libXrandr" # the same depends
    2.57  	case $PACKAGE in
    2.58 -	xfe)
    2.59 -		SUGGESTED="adie calculator shutterbug xfe-extras xfi"
    2.60 -		DEPENDS="libpng16 jpeg tiff xorg-libXft fox"
    2.61 -		mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
    2.62 -		cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    2.63 -		cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
    2.64 -		sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
    2.65 -		# Tango/Gnome icons theme only
    2.66 -		cp -a $install/usr/share/xfe/icons/tango-theme \
    2.67 -			$fs/usr/share/xfe/icons
    2.68 -		cp -a $install/usr/share/xfe/icons/gnome-theme \
    2.69 -			$fs/usr/share/xfe/icons	
    2.70 -		;;
    2.71 -	xfe-extras)
    2.72 -		CAT="system-tools|Xfe File manager tools."
    2.73 -		DEPENDS="xfe"
    2.74 -		GENERIC_MENUS="no"
    2.75 -		mkdir -p $fs/usr/bin \
    2.76 -			$fs/usr/share/applications \
    2.77 -			$fs/usr/share/icons 
    2.78 -
    2.79 -		cp -a $install/usr/bin/xf[i,v,p,w] $fs/usr/bin
    2.80 -		cp -a $install/usr/share/applications/xf[i,v,p,w]* $fs/usr/share/applications
    2.81 -		cp -a $src/xf[i,v,p,w].png $fs/usr/share/icons
    2.82 -		;;
    2.83 -	xfi)
    2.84 -		CAT="x-window|X File Image viewer using the Fox Toolkit."
    2.85 -		LOCALE=""
    2.86 -		DEPENDS="fox"
    2.87 -		mkdir -p $fs/usr/bin
    2.88 -		cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    2.89 -		copy_generic_files
    2.90 -		;;
    2.91 -	xfw)
    2.92 -		CAT="x-window|X File Writer - Text editor using the Fox Toolkit."
    2.93 -		LOCALE=""
    2.94 -		TAGS="text-editor"
    2.95 -		DEPENDS="fox"
    2.96 -		mkdir -p $fs/usr/bin
    2.97 -		cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    2.98 -		copy_generic_files
    2.99 -		;;
   2.100 +		xfe-extra-icons)
   2.101 +			copy kde-theme/ windows-theme/ xfe-theme/
   2.102 +			DEPENDS="xfe"
   2.103 +			CAT="misc|extra icon themes"
   2.104 +			;;
   2.105 +		xfe)
   2.106 +			copy xfe xfe/ xfe.desktop xfe.png @rm
   2.107 +			SUGGESTED="adie calculator shutterbug xfe-extras xfi"
   2.108 +			CAT="system-tools|file manager"
   2.109 +			;;
   2.110 +		xfi)
   2.111 +			copy xfi xfi.desktop xfi.png @rm
   2.112 +			CAT="x-window|image viewer"
   2.113 +			;;
   2.114 +		xfw)
   2.115 +			copy xfw xfw.desktop xfw.png @rm
   2.116 +			CAT="x-window|text editor"
   2.117 +			TAGS="text-editor"
   2.118 +			;;
   2.119 +		xfp)
   2.120 +			copy xfp xfp.desktop xfp.png @rm
   2.121 +			CAT="x-window|package manager"
   2.122 +			;;
   2.123  	esac
   2.124 +	TAGS="file-manager"
   2.125  }