wok rev 764

Up: gtkdialog (0.7.20) - Tazpkgbox need the last functions
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 10 10:58:33 2008 +0200 (2008-05-10)
parents 1fb2fe097c37
children 30c30ae22fb8
files gtkdialog/receipt gtkdialog/stuff/examples/00.00-text gtkdialog/stuff/examples/14.00-menubar gtkdialog/stuff/examples/slitazbox gtkdialog/stuff/gtkdialog.desktop
line diff
     1.1 --- a/gtkdialog/receipt	Fri May 09 18:14:04 2008 +0200
     1.2 +++ b/gtkdialog/receipt	Sat May 10 10:58:33 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtkdialog"
     1.7 -VERSION="0.7.9"
     1.8 +VERSION="0.7.20"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Small utility for fast and easy GUI building using GTK+."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -14,8 +14,11 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.17 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.18 +	./configure \
    1.19 +		--prefix=/usr \
    1.20 +		--infodir=/usr/share/info \
    1.21 +		--mandir=/usr/share/man \
    1.22 +		$CONFIGURE_ARGS
    1.23  	make
    1.24  	make DESTDIR=$PWD/_pkg install
    1.25  }
    1.26 @@ -25,7 +28,6 @@
    1.27  {
    1.28  	mkdir -p $fs/usr/share/examples
    1.29  	cp -a $_pkg/usr/bin $fs/usr
    1.30 -	strip -s $fs/usr/bin/*
    1.31  	# Fiew examples.
    1.32  	cp -a stuff/examples $fs/usr/share/examples/gtkdialog
    1.33  }
     2.1 --- a/gtkdialog/stuff/examples/00.00-text	Fri May 09 18:14:04 2008 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,17 +0,0 @@
     2.4 -#!/bin/sh
     2.5 -
     2.6 -export MAIN_DIALOG='
     2.7 - <vbox>
     2.8 -  <text>
     2.9 -    <label>This is a static text.</label>
    2.10 -  </text>
    2.11 -  <hbox>
    2.12 -   <button ok></button>
    2.13 -   <button cancel></button>
    2.14 -  </hbox>
    2.15 - </vbox>
    2.16 -'
    2.17 -
    2.18 -gtkdialog --program=MAIN_DIALOG
    2.19 -
    2.20 -
     3.1 --- a/gtkdialog/stuff/examples/14.00-menubar	Fri May 09 18:14:04 2008 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,47 +0,0 @@
     3.4 -#!/bin/sh
     3.5 -
     3.6 -export MAIN_DIALOG='
     3.7 -<vbox>
     3.8 -  <menubar>
     3.9 -    <menu>
    3.10 -      <menuitem stock="gtk-open">
    3.11 -	<action>echo You selected the open menu item.</action>
    3.12 -      </menuitem>
    3.13 -      <menuitem stock="gtk-save">
    3.14 -        <action>echo You selected the open menu item.</action>
    3.15 -      </menuitem>
    3.16 -      <separator></separator>
    3.17 -      <menuitem stock="gtk-quit">
    3.18 -	<action>echo You selected the quit menu item</action>
    3.19 -	<action type="exit">exit by menu</action>
    3.20 -      </menuitem>
    3.21 -      <label>File</label>
    3.22 -    </menu>
    3.23 -    <menu>
    3.24 -      <menuitem stock="gtk-copy">
    3.25 -	<action>echo You selected the copy menuitem.</action>
    3.26 -      </menuitem>
    3.27 -      <menuitem stock="gtk-cut">
    3.28 -	<action>echo You selected the cut menuitem.</action>
    3.29 -      </menuitem>
    3.30 -      <menuitem stock="gtk-paste">
    3.31 -	<action>echo You selected the paste menuitem.</action>
    3.32 -      </menuitem>
    3.33 -      <label>Edit</label>
    3.34 -    </menu>
    3.35 -    <menu>
    3.36 -	<menuitem>
    3.37 -	  <label>A menu item</label>
    3.38 -	  <action>echo You selected the custom menu item.</action>
    3.39 -	</menuitem>
    3.40 -	<label>Item</label>
    3.41 -    </menu>
    3.42 -  </menubar>
    3.43 -  <hbox>
    3.44 -    <button cancel></button>
    3.45 -    <button ok></button>
    3.46 -  </hbox>
    3.47 -</vbox>
    3.48 -'
    3.49 -
    3.50 -gtkdialog --program=MAIN_DIALOG
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gtkdialog/stuff/examples/slitazbox	Sat May 10 10:58:33 2008 +0200
     4.3 @@ -0,0 +1,55 @@
     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 statiy 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	Fri May 09 18:14:04 2008 +0200
     5.2 +++ b/gtkdialog/stuff/gtkdialog.desktop	Sat May 10 10:58:33 2008 +0200
     5.3 @@ -1,7 +1,7 @@
     5.4  [Desktop Entry]
     5.5  Encoding=UTF-8
     5.6  Name=Gtkdialog Example
     5.7 -Exec=/usr/share/examples/gtkdialog/00.00-text
     5.8 -Icon=gtk.png
     5.9 +Exec=/usr/share/examples/gtkdialog/slitazbox
    5.10 +Icon=gtk
    5.11  Type=Application
    5.12  Categories=Development;