wok-6.x rev 13955
gtk+3: moved from wok-undigest
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 30 11:48:51 2013 +0000 (2013-01-30) |
parents | c208e44467f1 |
children | 1e559c95d546 |
files | gtk+3-demo/receipt gtk+3-demo/stuff/gtk+3-demo.desktop gtk+3-demo/stuff/gtk-demo.png gtk+3-dev/receipt gtk+3/receipt gtk+3/stuff/settings.ini |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtk+3-demo/receipt Wed Jan 30 11:48:51 2013 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gtk+3-demo" 1.7 +VERSION="3.2.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The GIMP Toolkit example code and demo" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.gtk.org/" 1.12 + 1.13 +DEPENDS="gtk+3" 1.14 +WANTED="gtk+3" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/bin $fs/usr/share/pixmaps 1.20 + cp -a $install/usr/bin/gtk3-demo $fs/usr/bin 1.21 + cp -a $install/usr/share/gtk-3.0 $fs/usr/share 1.22 + install -Dm644 $stuff/gtk-demo.png $fs/usr/share/pixmaps 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gtk+3-demo/stuff/gtk+3-demo.desktop Wed Jan 30 11:48:51 2013 +0000 2.3 @@ -0,0 +1,7 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=GTK+ 3.0 Code demo 2.7 +Name[ru]=Демонстрация GTK+ 3.0 2.8 +Exec=gtk3-demo 2.9 +Icon=gtk-demo 2.10 +Categories=GTK;Development;Documentation;
3.1 Binary file gtk+3-demo/stuff/gtk-demo.png has changed
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/gtk+3-dev/receipt Wed Jan 30 11:48:51 2013 +0000 4.3 @@ -0,0 +1,27 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="gtk+3-dev" 4.7 +VERSION="3.2.3" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="The GIMP Toolkit (development files)" 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +WEB_SITE="http://www.gtk.org/" 4.12 + 4.13 +WANTED="gtk+3" 4.14 +DEPENDS="cairo-dev glib-dev pango-dev atk-dev tiff-dev pkg-config libpng-dev \ 4.15 +jpeg-dev gtk+3 gdk-pixbuf-dev" 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + mkdir -p $fs/usr/lib $fs/usr/share 4.21 + cp -a $install/usr/lib/*.*a $fs/usr/lib 4.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 4.23 + # Copy all libs and remove the shared. 4.24 + cp -a $install/usr/lib/gtk-3.0 $fs/usr/lib 4.25 + rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.so* 4.26 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 4.27 + cp -a $install/usr/include $fs/usr 4.28 + cp -a $install/usr/share/aclocal $fs/usr/share 4.29 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 4.30 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/gtk+3/receipt Wed Jan 30 11:48:51 2013 +0000 5.3 @@ -0,0 +1,54 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="gtk+3" 5.7 +SOURCE="gtk+" 5.8 +VERSION="3.2.3" 5.9 +CATEGORY="x-window" 5.10 +SHORT_DESC="The GIMP Toolkit 3.x" 5.11 +MAINTAINER="pankso@slitaz.org" 5.12 +SUGGESTED="cups" 5.13 +TARBALL="$SOURCE-$VERSION.tar.xz" 5.14 +WEB_SITE="http://www.gtk.org/" 5.15 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL" 5.16 +CONFIG_FILES="/etc/gtk-3.0/settings.ini" 5.17 +CROSS="bug: /bin/bash: no: command not found" 5.18 + 5.19 +DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor \ 5.20 +xorg-libXdamage xorg-libXi xorg-libXinerama xorg-libXrandr" 5.21 +BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \ 5.22 +perl gdk-pixbuf-dev xorg-dev libffi-dev" 5.23 + 5.24 +# Rules to configure and make the package. 5.25 +compile_rules() 5.26 +{ 5.27 + cd $src 5.28 + ./configure \ 5.29 + --prefix=/usr \ 5.30 + --sysconfdir=/etc \ 5.31 + --build=$HOST_SYSTEM --host=$HOST_SYSTEM && 5.32 + make $MAKEFLAGS && 5.33 + make DESTDIR=$DESTDIR install 5.34 +} 5.35 + 5.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.37 +genpkg_rules() 5.38 +{ 5.39 + mkdir -p $fs/usr/lib/gtk-3.0 $fs/usr/share $fs/usr/bin $fs/etc/gtk-3.0 5.40 + 5.41 + # Libs. 5.42 + cp -a $install/usr/lib/*.so* $fs/usr/lib 5.43 + cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-2.0 5.44 + rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la 5.45 + 5.46 + # Themes 5.47 + cp -a $install/usr/share/themes $fs/usr/share 5.48 + cp -a $install/usr/share/glib-2.0 $fs/usr/share 5.49 + 5.50 + # Apps. 5.51 + cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin 5.52 + #cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin 5.53 + 5.54 + # Configuration file 5.55 + cp -a $install/etc $fs 5.56 + cp -f $stuff/settings.ini $fs/etc/gtk-3.0 5.57 +}