wok-next rev 20555

Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 17:43:57 2018 +0300 (2018-04-06)
parents c654f3c3a858
children 058197ccbb38
files celestia/receipt evince/receipt loqui/receipt notification-daemon-gtk2/receipt xfmedia/receipt xfprint/receipt
line diff
     1.1 --- a/celestia/receipt	Fri Apr 06 16:49:09 2018 +0300
     1.2 +++ b/celestia/receipt	Fri Apr 06 17:43:57 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="celestia"
     1.8  VERSION="1.6.1"
     1.9 @@ -6,37 +6,32 @@
    1.10  SHORT_DESC="Real-time 3D Space Simulation"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://www.shatters.net/celestia/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.shatters.net/celestia/"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa glu libjpeg jpeg zlib"
    1.20 -BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev \
    1.21 +BUILD_DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa \
    1.22 +glu libjpeg jpeg zlib gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev \
    1.23  freeglut-dev xorg-libXmu-dev glu mesa-dev libpng16-dev libogg-dev \
    1.24  jpeg-dev glew-dev zlib-dev gettext autoconf"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 +compile_rules() {
    1.30 +	export LDFLAGS="$LDFLAGS -ldl"
    1.31  	sed -i 's|"ray.h"|&\n#include "mathlib.h"|' src/celmath/intersect.h
    1.32  	sed -i 's|NULL|0|' src/celengine/frametree.h
    1.33  	sed -i 's|"png.h"|&\n#include "zlib.h"|' src/celestia/imagecapture.cpp
    1.34  	sed -i 's|<cstdio>|&\n#include <string.h>|' src/celengine/*.cpp
    1.35 +
    1.36  	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--infodir=/usr/share/info \
    1.39 -		--mandir=/usr/share/man \
    1.40  		--with-gtk \
    1.41  		$CONFIGURE_ARGS &&
    1.42 -	make && make DESTDIR=$DESTDIR install
    1.43 +	make &&
    1.44 +	make DESTDIR=$DESTDIR install
    1.45  }
    1.46  
    1.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.48 -genpkg_rules()
    1.49 -{
    1.50 -	mkdir -p $fs/usr/share/applications
    1.51 -	cp -a $install/usr/bin $fs/usr
    1.52 -	cp -a $install/usr/share/celestia $fs/usr/share
    1.53 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56 +	DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa glu \
    1.57 +	libjpeg jpeg zlib"
    1.58  }
    1.59 -
     2.1 --- a/evince/receipt	Fri Apr 06 16:49:09 2018 +0300
     2.2 +++ b/evince/receipt	Fri Apr 06 17:43:57 2018 +0300
     2.3 @@ -17,6 +17,8 @@
     2.4  SPLIT="evince-dev"
     2.5  
     2.6  compile_rules() {
     2.7 +	export LDFLAGS="$LDFLAGS -lICE"
     2.8 +
     2.9  	./configure \
    2.10  		--prefix=/usr \
    2.11  		--libexecdir=/usr/lib/$PACKAGE \
     3.1 --- a/loqui/receipt	Fri Apr 06 16:49:09 2018 +0300
     3.2 +++ b/loqui/receipt	Fri Apr 06 17:43:57 2018 +0300
     3.3 @@ -1,30 +1,27 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="loqui"
     3.8  VERSION="0.5.2"
     3.9  CATEGORY="x-window"
    3.10 -SHORT_DESC="Light IRC Client for Gtk2."
    3.11 +SHORT_DESC="Light IRC Client for GTK2"
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14 +WEB_SITE="https://launchpad.net/loqui"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17  WGET_URL="https://launchpadlibrarian.net/85404437/$TARBALL"
    3.18 -WEB_SITE="https://launchpad.net/loqui"
    3.19  
    3.20 -DEPENDS="gtk+"
    3.21  BUILD_DEPENDS="gtk+-dev"
    3.22  
    3.23 -# Rules to configure and make the package.
    3.24 -compile_rules()
    3.25 -{
    3.26 -	cd $src
    3.27 -	./configure \
    3.28 -		$CONFIGURE_ARGS &&
    3.29 -	make && make install
    3.30 +compile_rules() {
    3.31 +	export LDFLAGS="$LDFLAGS -lgthread-2.0"
    3.32 +
    3.33 +	./configure $CONFIGURE_ARGS &&
    3.34 +	make &&
    3.35 +	make install
    3.36  }
    3.37  
    3.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.39 -genpkg_rules()
    3.40 -{
    3.41 -	mkdir -p $fs/usr/share
    3.42 -	cp -a $install/usr/bin $fs/usr
    3.43 +genpkg_rules() {
    3.44 +	copy @std
    3.45 +	DEPENDS="gtk+"
    3.46  }
     4.1 --- a/notification-daemon-gtk2/receipt	Fri Apr 06 16:49:09 2018 +0300
     4.2 +++ b/notification-daemon-gtk2/receipt	Fri Apr 06 17:43:57 2018 +0300
     4.3 @@ -16,6 +16,8 @@
     4.4  SPLIT="notification-daemon-gtk2-dev"
     4.5  
     4.6  compile_rules() {
     4.7 +	export LDFLAGS="$LDFLAGS -lgmodule-2.0"
     4.8 +
     4.9  	./configure $CONFIGURE_ARGS &&
    4.10  	fix libtool &&
    4.11  	make && make install
     5.1 --- a/xfmedia/receipt	Fri Apr 06 16:49:09 2018 +0300
     5.2 +++ b/xfmedia/receipt	Fri Apr 06 17:43:57 2018 +0300
     5.3 @@ -16,6 +16,7 @@
     5.4  xorg-libX11-dev xorg-libXt-dev xorg-libXtst-dev xorg-xcb-util-dev"
     5.5  
     5.6  compile_rules() {
     5.7 +	export LDFLAGS="$LDFLAGS -lXext -lm -lgmodule-2.0"
     5.8  	sed -i 's/return xine_trick_mode.*/return 0;/' src/xfmedia-xine.c
     5.9  	patch -Np1 -i $stuff/xfmedia-dbus-0.6-support.patch
    5.10  	patch -Np1 -i $stuff/xfmedia-empty-prev-next-fix.patch
     6.1 --- a/xfprint/receipt	Fri Apr 06 16:49:09 2018 +0300
     6.2 +++ b/xfprint/receipt	Fri Apr 06 17:43:57 2018 +0300
     6.3 @@ -17,6 +17,7 @@
     6.4  SPLIT="xfprint-dev"
     6.5  
     6.6  compile_rules() {
     6.7 +	export LDFLAGS="$LDFLAGS -lX11"
     6.8  	patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
     6.9  
    6.10  	./configure \