wok-undigest rev 1008

Move to wok moserial
author Dominique Corbex <domcox@slitaz.org>
date Mon Apr 22 23:09:22 2013 +0200 (2013-04-22)
parents a1c1ae4b8f56
children 2abff33a9cd4
files moserial/receipt moserial/stuff/glade.patch
line diff
     1.1 --- a/moserial/receipt	Mon Apr 22 18:47:01 2013 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,44 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="moserial"
     1.7 -VERSION="2.32.1"
     1.8 -CATEGORY="utilities"
     1.9 -SHORT_DESC="A gtk-based serial console."
    1.10 -MAINTAINER="domcox@slitaz.org"
    1.11 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 -WEB_SITE="https://live.gnome.org/moserial"
    1.13 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 -LOCALES="da de es fr pt_BR zh_CN"
    1.15 -TAGS="serial console"
    1.16 -
    1.17 -DEPENDS="GConf gnome-doc-utils gtk+"
    1.18 -BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkgconfig vala gtk+-dev"
    1.19 -
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 -	# removing help
    1.26 -	patch -Np3 -i $stuff/glade.patch
    1.27 -	# build
    1.28 -	./configure $CONFIGURE_ARGS \
    1.29 -		--prefix="/usr" &&
    1.30 -	make &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 -}
    1.33 -
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -#
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/share/pixmaps
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 -	cp -a $install/usr/share/moserial $fs/usr/share
    1.41 -	cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
    1.42 -		$fs/usr/share/pixmaps
    1.43 -	for locale in $LOCALES; do
    1.44 -		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.45 -	done
    1.46 -	chown -R root.root $fs
    1.47 -}
     2.1 --- a/moserial/stuff/glade.patch	Mon Apr 22 18:47:01 2013 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,53 +0,0 @@
     2.4 ---- moserial/source/moserial-2.32.1/data/glade/moserial.glade
     2.5 -+++ moserial.new/source/moserial-2.32.1/data/glade/moserial.glade
     2.6 -@@ -204,26 +204,6 @@
     2.7 - 		      <property name="use_stock">True</property>
     2.8 - 		    </widget>
     2.9 - 		  </child>
    2.10 --
    2.11 --		  <child>
    2.12 --		    <widget class="GtkImageMenuItem" id="menubar_contents">
    2.13 --		      <property name="visible">True</property>
    2.14 --		      <property name="label" translatable="yes">_Contents</property>
    2.15 --		      <property name="use_underline">True</property>
    2.16 --		      <accelerator key="F1" modifiers="0" signal="activate"/>
    2.17 --
    2.18 --		      <child internal-child="image">
    2.19 --			<widget class="GtkImage" id="menu-item-image4">
    2.20 --			  <property name="stock">gtk-help</property>
    2.21 --			  <property name="icon_size">4</property>
    2.22 --			  <property name="xalign">0.5</property>
    2.23 --			  <property name="yalign">0.5</property>
    2.24 --			  <property name="xpad">0</property>
    2.25 --			  <property name="ypad">0</property>
    2.26 --			</widget>
    2.27 --		      </child>
    2.28 --		    </widget>
    2.29 --		  </child>
    2.30 - 		</widget>
    2.31 - 	      </child>
    2.32 - 	    </widget>
    2.33 -@@ -388,22 +368,7 @@
    2.34 - 	    </packing>
    2.35 - 	  </child>
    2.36 - 
    2.37 --	  <child>
    2.38 --	    <widget class="GtkToolButton" id="toolbar_help">
    2.39 --	      <property name="visible">True</property>
    2.40 --	      <property name="tooltip" translatable="yes">Help</property>
    2.41 --	      <property name="label" translatable="yes">Help</property>
    2.42 --	      <property name="use_underline">True</property>
    2.43 --	      <property name="stock_id">gtk-help</property>
    2.44 --	      <property name="visible_horizontal">True</property>
    2.45 --	      <property name="visible_vertical">True</property>
    2.46 --	      <property name="is_important">True</property>
    2.47 --	    </widget>
    2.48 --	    <packing>
    2.49 --	      <property name="expand">False</property>
    2.50 --	      <property name="homogeneous">True</property>
    2.51 --	    </packing>
    2.52 --	  </child>
    2.53 -+
    2.54 - 	</widget>
    2.55 - 	<packing>
    2.56 - 	  <property name="padding">0</property>