wok-next diff gparted/receipt @ rev 20011

cairo-dock: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:36:22 2017 +0200 (2017-10-21)
parents f463de72afe3
children d43bf7aae921
line diff
     1.1 --- a/gparted/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/gparted/receipt	Sat Oct 21 18:36:22 2017 +0200
     1.3 @@ -1,33 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gparted"
     1.8 -VERSION="0.27.0"
     1.9 +VERSION="0.28.1"
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="A partition editor to graphically manage disk partitions"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
    1.15 -reiserfsprogs reiser4progs"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://gparted.sourceforge.net/"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  CROSS="error: cannot run test program while cross compiling"
    1.20  
    1.21 -DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \
    1.22 -xorg-libXdamage libgiomm cairomm"
    1.23 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.24 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.25 +
    1.26  BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
    1.27  cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
    1.33 -	# Remove the "-v" option from the swapon/off commands.  This will allow
    1.34 -	# gparted to play nicely with busybox.
    1.35 -	sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc
    1.36 -	sed -i 's/swapon -v/swapon/' src/Win_GParted.cc
    1.37 +	# http://www.linuxfromscratch.org/blfs/view/stable/xsoft/gparted.html
    1.38 +
    1.39 +	# Remove the "-v" option from the swapon/off commands.
    1.40 +	# This will allow gparted to play nicely with busybox.
    1.41 +	sed -i 's/swapoff -v/swapoff/; s/swapon -v/swapon/' src/Win_GParted.cc
    1.42  	# Process test busybox compatible
    1.43  	sed -i 's/ps -e | grep/pgrep/' gparted.in
    1.44 +	# Remove keywords from desktop file and apply SliTaz graphical SU method
    1.45 +	sed -i '/^_Keywords=/d; s|@gksuprog@|tazbox su|' gparted.desktop.in.in
    1.46 +
    1.47  	./configure \
    1.48  		--prefix=/usr \
    1.49  		--disable-scrollkeeper \
    1.50 @@ -35,13 +35,15 @@
    1.51  		--build=$HOST_SYSTEM \
    1.52  		--host=$HOST_SYSTEM &&
    1.53  	make && make install
    1.54 -
    1.55 -	cp -f $stuff/*.desktop $install/usr/share/applications/
    1.56  }
    1.57  
    1.58  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.59  genpkg_rules()
    1.60  {
    1.61  	copy gparted gpartedbin
    1.62 -	cook_copy_icons
    1.63 +	DEPENDS="atk atkmm cairo cairomm fontconfig freetype gdk-pixbuf glib \
    1.64 +	glibmm gtk+ gtkmm libgiomm libsigc++ pango pangomm parted util-linux-uuid"
    1.65 +	SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
    1.66 +	reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs \
    1.67 +	util-linux-mkfs util-linux-misc lvm2 cryptsetup dmsetup nilfs-utils xfsdump"
    1.68  }