# HG changeset patch # User Samuel Trassare # Date 1330040653 28800 # Node ID c4026adee5e9a03d49196b985eb9b4f483f98a71 # Parent 7209b34bbc17b71b8b36bcfe0f0e99069484bbca added ghex (2.24.0) diff -r 7209b34bbc17 -r c4026adee5e9 ghex/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghex/description.txt Thu Feb 23 15:44:13 2012 -0800 @@ -0,0 +1,5 @@ +GHex is a simple binary editor. It lets users view and edit a binary file in +both hex and ascii with a multiple level undo/redo mechanism. Features include +find and replace functions, conversion between binary, octal, decimal and +hexadecimal values, and use of an alternative, user-configurable MDI concept +that lets users edit multiple documents with multiple views of each. diff -r 7209b34bbc17 -r c4026adee5e9 ghex/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghex/receipt Thu Feb 23 15:44:13 2012 -0800 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="ghex" +VERSION="2.24.0" +CATEGORY="x-window" +SHORT_DESC="GHex is a simple binary editor." +MAINTAINER="samuel_trassare@yahoo.com" +WEB_SITE="http://directory.fsf.org/wiki/Ghex" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$TARBALL" + +DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring" +BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \ +libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \ +libgnomeprintui-dev" + +# Rules to configure and make the package. +compile_rules() +{ + # GHex2 cannot display help without Yelp. Removing help references. + patch -Np1 -i $stuff/ghex2-remove-help.patch + + ./configure \ + --disable-schemas-install \ + --disable-scrollkeeper \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin \ + $fs/usr/lib \ + $fs/usr/share + + cp -a $install/usr/bin/* $fs/usr/bin + cp -ar $install/usr/etc $fs/usr + cp -a $install/usr/lib/*so* $fs/usr/lib + cp -ar $install/usr/share/applications $fs/usr/share + cp -ar $install/usr/share/gnome-2.0 $fs/usr/share + cp -ar $install/usr/share/icons $fs/usr/share + cp -ar $install/usr/share/locale $fs/usr/share +} diff -r 7209b34bbc17 -r c4026adee5e9 ghex/stuff/ghex2-remove-help.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghex/stuff/ghex2-remove-help.patch Thu Feb 23 15:44:13 2012 -0800 @@ -0,0 +1,24 @@ +--- a/src/preferences.c ++++ b/src/preferences.c +@@ -74,10 +74,6 @@ + GTK_STOCK_CLOSE, + GTK_RESPONSE_CLOSE); + +- gtk_dialog_add_button (GTK_DIALOG (pui->pbox), +- GTK_STOCK_HELP, +- GTK_RESPONSE_HELP); +- + g_signal_connect(G_OBJECT(pui->pbox), "response", + G_CALLBACK(prefs_response_cb), pui); + +--- a/src/ghex-ui.xml ++++ b/src/ghex-ui.new +@@ -215,7 +215,7 @@ + + + +- ++ + + +