wok-4.x rev 10788
gtkdialog: remove example and desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 19:42:36 2011 +0200 (2011-06-01) |
parents | 4cb7a59db958 |
children | b9761d32a594 |
files | gtkdialog/receipt gtkdialog/stuff/examples/10.00-vbox_and_hbox gtkdialog/stuff/examples/13.00-chooser gtkdialog/stuff/examples/slitazbox gtkdialog/stuff/gtkdialog.desktop slitaz-tools-boxes/receipt slitaz-tools/receipt |
line diff
1.1 --- a/gtkdialog/receipt Wed Jun 01 18:38:36 2011 +0200 1.2 +++ b/gtkdialog/receipt Wed Jun 01 19:42:36 2011 +0200 1.3 @@ -5,12 +5,13 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="Small utility for fast and easy GUI building using GTK+." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gtk+ libglade xorg-libXdamage" 1.8 -BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/" 1.11 WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL" 1.12 1.13 +DEPENDS="gtk+ libglade xorg-libXdamage" 1.14 +BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev" 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 { 1.19 @@ -19,19 +20,14 @@ 1.20 patch -p 0 < $stuff/glade_support.patch || return 1 1.21 ./configure \ 1.22 --prefix=/usr \ 1.23 - --infodir=/usr/share/info \ 1.24 - --mandir=/usr/share/man \ 1.25 $CONFIGURE_ARGS && 1.26 make && 1.27 - make DESTDIR=$PWD/_pkg install 1.28 + make DESTDIR=$DESTDIR install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 - mkdir -p $fs/usr/share/examples 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - # Fiew examples. 1.37 - cp -a stuff/examples $fs/usr/share/examples/gtkdialog 1.38 + mkdir -p $fs/usr 1.39 + cp -a $install/usr/bin $fs/usr 1.40 } 1.41 -
2.1 --- a/gtkdialog/stuff/examples/10.00-vbox_and_hbox Wed Jun 01 18:38:36 2011 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,22 +0,0 @@ 2.4 -#!/bin/sh 2.5 - 2.6 -export MAIN_DIALOG=' 2.7 - <vbox> 2.8 - <hbox> 2.9 - <text><label>Label1</label></text> 2.10 - <entry></entry> 2.11 - </hbox> 2.12 - <hbox> 2.13 - <text><label>Label2</label></text> 2.14 - <entry></entry> 2.15 - </hbox> 2.16 - <hbox> 2.17 - <button cancel></button> 2.18 - <button help></button> 2.19 - </hbox> 2.20 - </vbox> 2.21 -' 2.22 - 2.23 -gtkdialog --program=MAIN_DIALOG 2.24 - 2.25 -
3.1 --- a/gtkdialog/stuff/examples/13.00-chooser Wed Jun 01 18:38:36 2011 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,16 +0,0 @@ 3.4 -#!/bin/sh 3.5 - 3.6 -export MAIN_DIALOG=' 3.7 -<vbox> 3.8 - <chooser> 3.9 - <height>500</height><width>600</width> 3.10 - <variable>CHOOSER</variable> 3.11 - </chooser> 3.12 - <hbox> 3.13 - <button help></button> 3.14 - <button ok></button> 3.15 - </hbox> 3.16 -</vbox> 3.17 -' 3.18 - 3.19 -gtkdialog --program=MAIN_DIALOG
4.1 --- a/gtkdialog/stuff/examples/slitazbox Wed Jun 01 18:38:36 2011 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,55 +0,0 @@ 4.4 -#!/bin/sh 4.5 -# 4.6 -# SliTaz GTKdialog example (tab used for ident). 4.7 -# 4.8 - 4.9 -export MAIN_DIALOG=' 4.10 -<window title="SliTaz box" icon-name="help"> 4.11 -<vbox> 4.12 - 4.13 - <text use-markup="true"> 4.14 - <label>"<b>SliTaz - Box</b>"</label> 4.15 - </text> 4.16 - <text wrap="true" width-chars="50" use-markup="true"> 4.17 - <label>"Some static text"</label> 4.18 - </text> 4.19 - 4.20 - <frame Frame> 4.21 - <hbox> 4.22 - <text use-markup="true"> 4.23 - <label>"<b>Entry:</b>"</label> 4.24 - </text> 4.25 - <entry> 4.26 - <default>defvalue</default> 4.27 - <variable>NAME</variable> 4.28 - </entry> 4.29 - </hbox> 4.30 - </frame> 4.31 - 4.32 - <tree> 4.33 - <width>320</width><height>80</height> 4.34 - <variable>DIR</variable> 4.35 - <label>Directories</label> 4.36 - <input>ls /</input> 4.37 - <action>pcmanfm /$DIR</action> 4.38 - </tree> 4.39 - 4.40 - <hbox> 4.41 - <button> 4.42 - <label>Button label</label> 4.43 - <input file icon="xterm"></input> 4.44 - <action>xterm &</action> 4.45 - </button> 4.46 - <button> 4.47 - <input file icon="exit"></input> 4.48 - <action type="exit">Exit</action> 4.49 - </button> 4.50 - </hbox> 4.51 - 4.52 -</vbox> 4.53 -</window> 4.54 -' 4.55 - 4.56 -gtkdialog --center --program=MAIN_DIALOG 4.57 - 4.58 -exit 0
5.1 --- a/gtkdialog/stuff/gtkdialog.desktop Wed Jun 01 18:38:36 2011 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,8 +0,0 @@ 5.4 -[Desktop Entry] 5.5 -Encoding=UTF-8 5.6 -Name=Gtkdialog Example 5.7 -Name[pt]=Exemplos do Gtkdialog 5.8 -Exec=/usr/share/examples/gtkdialog/slitazbox 5.9 -Icon=gtk 5.10 -Type=Application 5.11 -Categories=Development;
6.1 --- a/slitaz-tools-boxes/receipt Wed Jun 01 18:38:36 2011 +0200 6.2 +++ b/slitaz-tools-boxes/receipt Wed Jun 01 19:42:36 2011 +0200 6.3 @@ -25,18 +25,7 @@ 6.4 cp -a $src/rootfs/usr/share/applications $fs/usr/share 6.5 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share 6.6 cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools 6.7 - # Gtkdialog boxes. 6.8 - cp -a $src/tinyutils/bootfloppybox $fs/usr/bin 6.9 - cp -a $src/tinyutils/burnbox $fs/usr/bin 6.10 - cp -a $src/tinyutils/mountbox $fs/usr/bin 6.11 - cp -a $src/tinyutils/netbox $fs/usr/bin 6.12 - cp -a $src/tinyutils/serverbox $fs/usr/bin 6.13 - cp -a $src/tinyutils/wifibox $fs/usr/bin 6.14 - cp -a $src/tinyutils/scpbox $fs/usr/bin 6.15 - cp -a $src/tinyutils/subox $fs/usr/bin 6.16 - cp -a $src/tinyutils/desktopbox $fs/usr/bin 6.17 - cp -a $src/tinyutils/sshbox $fs/usr/bin 6.18 - cp -a $src/tazbox/tazbox $fs/usr/bin 6.19 + 6.20 # Libs. 6.21 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz 6.22 # Default English messages (will move to po)
7.1 --- a/slitaz-tools/receipt Wed Jun 01 18:38:36 2011 +0200 7.2 +++ b/slitaz-tools/receipt Wed Jun 01 19:42:36 2011 +0200 7.3 @@ -101,7 +101,4 @@ 7.4 if [ -f $root/usr/bin/mountbox ] && [ ! -d /var/lib/tazpkg/installed/slitaz-tools-boxes ]; then 7.5 tazpkg get-install slitaz-tools-boxes 7.6 fi 7.7 - # Remove old files 7.8 - rm -rf $root/usr/share/slitaz-tools 7.9 - rm -rf $root/usr/share/doc/slitaz-tools 7.10 }