wok-next view tightvnc/receipt @ rev 19778
glib: no more libgio package:
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.
Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.
Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 16 14:56:07 2017 +0300 (2017-06-16) |
parents | 2b0a8ad0b650 |
children | 219ee9373b80 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tightvnc"
4 VERSION="1.3.10"
5 CATEGORY="x-window"
6 SHORT_DESC="VNC server (graphical remote control)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2"
10 WEB_SITE="http://www.tightvnc.com/"
11 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL"
12 DEPENDS="xorg-base-fonts jpeg zlib"
13 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \
14 xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \
15 xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \
16 xorg-scrnsaverproto xorg-xauth jpeg-dev zlib-dev xorg-libXrandr-dev"
17 TAGS="remote-desktop vnc"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
23 cd $src
24 sed -i -e "s| FONTDIR =.*$| FONTDIR = /usr/share/fonts/X11|" \
25 -e 's|\(define DefaultRGBDatabase\) .*|\1 /usr/share/X11/rgb|' \
26 Xvnc/config/cf/X11.tmpl
27 xmkmf &&
28 make -j1 World &&
29 cd Xvnc &&
30 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
31 sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
32 -i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
33 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
34 make -j1 &&
35 make -j1 DESTDIR=$DESTDIR install
36 cd .. &&
37 make -j1 DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin
44 cp -a $install/usr/bin/Xvnc $fs/usr/bin
45 cp $src/vncpasswd/vncpasswd $fs/usr/bin
46 cat > $fs/usr/bin/startvnc <<EOM
47 #!/bin/sh
49 case "\$1" in
50 ''|:*) ;;
51 *) cat <<EOT
52 Usage: \$0 [display] [geometry] [depth]
53 Default: \$0 :1 1920x1024 24
54 EOT
55 exit 1
56 esac
58 . \$HOME/.config/slitaz/applications.conf
59 Xvnc -ac -geometry \${2:-1920x1024} -depth \${3:-24} :\${1:-1} &
60 export DISPLAY=:\${1:-1}
61 exec \$WINDOW_MANAGER
62 EOM
63 chmod +x $fs/usr/bin/startvnc
64 }