wok-6.x rev 11781
added ghex (2.24.0)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Feb 23 15:44:13 2012 -0800 (2012-02-23) |
parents | 7209b34bbc17 |
children | 82cc3c06b069 |
files | ghex/description.txt ghex/receipt ghex/stuff/ghex2-remove-help.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ghex/description.txt Thu Feb 23 15:44:13 2012 -0800 1.3 @@ -0,0 +1,5 @@ 1.4 +GHex is a simple binary editor. It lets users view and edit a binary file in 1.5 +both hex and ascii with a multiple level undo/redo mechanism. Features include 1.6 +find and replace functions, conversion between binary, octal, decimal and 1.7 +hexadecimal values, and use of an alternative, user-configurable MDI concept 1.8 +that lets users edit multiple documents with multiple views of each.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ghex/receipt Thu Feb 23 15:44:13 2012 -0800 2.3 @@ -0,0 +1,45 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ghex" 2.7 +VERSION="2.24.0" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="GHex is a simple binary editor." 2.10 +MAINTAINER="samuel_trassare@yahoo.com" 2.11 +WEB_SITE="http://directory.fsf.org/wiki/Ghex" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$TARBALL" 2.14 + 2.15 +DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring" 2.16 +BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \ 2.17 +libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \ 2.18 +libgnomeprintui-dev" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + # GHex2 cannot display help without Yelp. Removing help references. 2.24 + patch -Np1 -i $stuff/ghex2-remove-help.patch 2.25 + 2.26 + ./configure \ 2.27 + --disable-schemas-install \ 2.28 + --disable-scrollkeeper \ 2.29 + $CONFIGURE_ARGS && 2.30 + make && 2.31 + make DESTDIR=$install install 2.32 +} 2.33 + 2.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.35 +genpkg_rules() 2.36 +{ 2.37 + mkdir -p $fs/usr/bin \ 2.38 + $fs/usr/lib \ 2.39 + $fs/usr/share 2.40 + 2.41 + cp -a $install/usr/bin/* $fs/usr/bin 2.42 + cp -ar $install/usr/etc $fs/usr 2.43 + cp -a $install/usr/lib/*so* $fs/usr/lib 2.44 + cp -ar $install/usr/share/applications $fs/usr/share 2.45 + cp -ar $install/usr/share/gnome-2.0 $fs/usr/share 2.46 + cp -ar $install/usr/share/icons $fs/usr/share 2.47 + cp -ar $install/usr/share/locale $fs/usr/share 2.48 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/ghex/stuff/ghex2-remove-help.patch Thu Feb 23 15:44:13 2012 -0800 3.3 @@ -0,0 +1,24 @@ 3.4 +--- a/src/preferences.c 3.5 ++++ b/src/preferences.c 3.6 +@@ -74,10 +74,6 @@ 3.7 + GTK_STOCK_CLOSE, 3.8 + GTK_RESPONSE_CLOSE); 3.9 + 3.10 +- gtk_dialog_add_button (GTK_DIALOG (pui->pbox), 3.11 +- GTK_STOCK_HELP, 3.12 +- GTK_RESPONSE_HELP); 3.13 +- 3.14 + g_signal_connect(G_OBJECT(pui->pbox), "response", 3.15 + G_CALLBACK(prefs_response_cb), pui); 3.16 + 3.17 +--- a/src/ghex-ui.xml 3.18 ++++ b/src/ghex-ui.new 3.19 +@@ -215,7 +215,7 @@ 3.20 + 3.21 + <submenu name="Help" _label="_Help"> 3.22 + 3.23 +- <menuitem name="Help" verb="" _label="_Contents"/> 3.24 ++ 3.25 + 3.26 + <menuitem name="About" verb="" _label="_About"/> 3.27 +