[Frugalware-git] frugalware-current: qtparted-0.5.0-i686

2011-05-11 Thread kikadf
Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=059cd4984908d67935774980960d98e3f82d5460

commit 059cd4984908d67935774980960d98e3f82d5460
Author: kikadf kikadf...@gmail.com
Date:   Wed May 11 16:34:09 2011 +0200

qtparted-0.5.0-i686

*Change m8r
*Version bump

diff --git a/source/xapps-extra/qtparted/FrugalBuild 
b/source/xapps-extra/qtparted/FrugalBuild
index d01e9e3..9579a9d 100644
--- a/source/xapps-extra/qtparted/FrugalBuild
+++ b/source/xapps-extra/qtparted/FrugalBuild
@@ -1,32 +1,30 @@
-# Compiling time: 0.49 SBU
-# Maintainer: Janos Kovacs ja...@frugalware.org
+# Compiling time: 0.32 SBU
+# Maintainer: kikadf kikadf...@gmail.com

pkgname=qtparted
-pkgver=0.4.5
-pkgrel=10
+pkgver=0.5.0
+pkgrel=1
pkgdesc=A Partition Magic clone written in C++ using qt toolkit
-license=GPL
-depends=('libxi' 'progsreiserfs' 'expat' 'parted=2.3' 'libstdc++' 'qt' 
'libxmu' 'ntfsprogs' 'jfsutils' 'xfsprogs')
-makedepends=('gtkmm2' 'unsermake')
+depends=('progsreiserfs' 'expat' 'parted=2.3' 'qt4' 'libxmu' 'ntfsprogs' 
'jfsutils' 'xfsprogs')
+rodepends=('gksu-frugalware')
+_F_cmake_in_source_build=1
+_F_desktop_name=QtParted
+_F_desktop_icon=$pkgname.xpm
+_F_desktop_exec=gksu $pkgname
+_F_desktop_categories=System;Filesystem;KDE;Qt;
archs=('i686' 'x86_64')
groups=('xapps-extra')
options=('scriptlet')
_F_sourceforge_ext=.tar.bz2
-Finclude sourceforge
-up2date=lynx -dump http://qtparted.sourceforge.net/download.en.html|grep -m1 
'.tar.bz2'|sed 's/.*-\(.*\).t.*/\1/'
-source=(${source[@]} 
http://ftp.frugalware.org/pub/other/sources/qtparted/qtparted-0.4.5-cvs_003.diff.bz2
 \
-   desktop.patch)
-sha1sums=('01bf8d1c7866544b410e5be14e2cfcaa5c16cd3d' \
-  '4df134390d78e89d8005198c710a8ce525021e8b' \
-  'c3a46dde93109b22af48c7d832a67ca0741e9a8a')
+Finclude sourceforge cmake
+sha1sums=('257fce185e75e2fa525e73698a57bd849a4ffd9e')

build()
{
-   Fpatchall
-   Fconf --enable-labels
-   Fcd
-   Fsed 'ped_free' 'free' src/qp_libparted.cpp
-   /usr/bin/unsermake all || Fdie
-   /usr/bin/unsermake install DESTDIR=$Fdestdir || Fdie
-   Frm /usr/man/man1/man1
+   CMake_build
+   Frm /usr/share/applications/qtparted.desktop
+   Fdesktop2
}
+
+
+# optimization OK
diff --git a/source/xapps-extra/qtparted/desktop.patch 
b/source/xapps-extra/qtparted/desktop.patch
deleted file mode 100644
index 733bc18..000
--- a/source/xapps-extra/qtparted/desktop.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Naurd qtparted-0.4.5.orig/data/Makefile.am 
qtparted-0.4.5/data/Makefile.am
 qtparted-0.4.5.orig/data/Makefile.am   2003-08-27 18:13:24.0 
+0200
-+++ qtparted-0.4.5/data/Makefile.am2005-08-28 10:24:32.0 +0200
-@@ -5,7 +5,7 @@
- splashdir =$(prefix)/share/qtparted/pics
-
- menu_DATA =qtparted.desktop
--menudir =  $(prefix)/share/applnk/System
-+menudir =  $(prefix)/share/applications
-
- script_DATA =  run_qtparted
- scriptdir =$(prefix)/sbin
-diff -Naurd qtparted-0.4.5.orig/data/qtparted.desktop 
qtparted-0.4.5/data/qtparted.desktop
 qtparted-0.4.5.orig/data/qtparted.desktop  2005-07-06 21:34:10.0 
+0200
-+++ qtparted-0.4.5/data/qtparted.desktop   2005-07-23 15:30:30.0 
+0200
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Exec=/usr/sbin/qtparted
-+Exec=gksu /usr/sbin/qtparted
- Name=QTParted
- Icon=qtparted.xpm
- Terminal=false
-@@ -8,5 +8,6 @@
- Comment[it]=Applicazione per il partizionamento di un disco
- Comment[fr]=Application pour partitionner un disque
- Comment[fi]=Kiintolevyn partitiointityökalu
-+Comment[hu]=Lemezparticionáló alkalmazás
- Encoding=UTF-8
- Categories=Application;System;QT;
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git


Re: [Frugalware-git] frugalware-current: qtparted-0.5.0-i686

2011-05-11 Thread gaetan
Le Wed, 11 May 2011 16:34:54 +0200 (CEST),
kikadf kikadf...@gmail.com  a écrit :

 Git-Url: 
 http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=059cd4984908d67935774980960d98e3f82d5460
 
 commit 059cd4984908d67935774980960d98e3f82d5460
 Author: kikadf kikadf...@gmail.com
 Date:   Wed May 11 16:34:09 2011 +0200
 
 qtparted-0.5.0-i686
 
 *Change m8r
 *Version bump
 
 diff --git a/source/xapps-extra/qtparted/FrugalBuild 
 b/source/xapps-extra/qtparted/FrugalBuild
 index d01e9e3..9579a9d 100644
 --- a/source/xapps-extra/qtparted/FrugalBuild
 +++ b/source/xapps-extra/qtparted/FrugalBuild
 @@ -1,32 +1,30 @@
 -# Compiling time: 0.49 SBU
 -# Maintainer: Janos Kovacs ja...@frugalware.org
 +# Compiling time: 0.32 SBU
 +# Maintainer: kikadf kikadf...@gmail.com
 
 pkgname=qtparted
 -pkgver=0.4.5
 -pkgrel=10
 +pkgver=0.5.0
 +pkgrel=1
 pkgdesc=A Partition Magic clone written in C++ using qt toolkit
 -license=GPL
 -depends=('libxi' 'progsreiserfs' 'expat' 'parted=2.3' 'libstdc++' 'qt' 
 'libxmu' 'ntfsprogs' 'jfsutils' 'xfsprogs')
 -makedepends=('gtkmm2' 'unsermake')
 +depends=('progsreiserfs' 'expat' 'parted=2.3' 'qt4' 'libxmu' 'ntfsprogs' 
 'jfsutils' 'xfsprogs')
 +rodepends=('gksu-frugalware')
hi
qt4 is meta package I'm not sure that qtparted use all Qt4
gksu-frugalware is into gnome. I'm not sure to force this package is a good idea
bye

 +_F_cmake_in_source_build=1
 +_F_desktop_name=QtParted
 +_F_desktop_icon=$pkgname.xpm
 +_F_desktop_exec=gksu $pkgname
 +_F_desktop_categories=System;Filesystem;KDE;Qt;
 archs=('i686' 'x86_64')
 groups=('xapps-extra')
 options=('scriptlet')
 _F_sourceforge_ext=.tar.bz2
 -Finclude sourceforge
 -up2date=lynx -dump http://qtparted.sourceforge.net/download.en.html|grep 
 -m1 '.tar.bz2'|sed 's/.*-\(.*\).t.*/\1/'
 -source=(${source[@]} 
 http://ftp.frugalware.org/pub/other/sources/qtparted/qtparted-0.4.5-cvs_003.diff.bz2
  \
 - desktop.patch)
 -sha1sums=('01bf8d1c7866544b410e5be14e2cfcaa5c16cd3d' \
 -  '4df134390d78e89d8005198c710a8ce525021e8b' \
 -  'c3a46dde93109b22af48c7d832a67ca0741e9a8a')
 +Finclude sourceforge cmake
 +sha1sums=('257fce185e75e2fa525e73698a57bd849a4ffd9e')
 
 build()
 {
 - Fpatchall
 - Fconf --enable-labels
 - Fcd
 - Fsed 'ped_free' 'free' src/qp_libparted.cpp
 - /usr/bin/unsermake all || Fdie
 - /usr/bin/unsermake install DESTDIR=$Fdestdir || Fdie
 - Frm /usr/man/man1/man1
 + CMake_build
 + Frm /usr/share/applications/qtparted.desktop
 + Fdesktop2
 }
 +
 +
 +# optimization OK
 diff --git a/source/xapps-extra/qtparted/desktop.patch 
 b/source/xapps-extra/qtparted/desktop.patch
 deleted file mode 100644
 index 733bc18..000
 --- a/source/xapps-extra/qtparted/desktop.patch
 +++ /dev/null
 @@ -1,29 +0,0 @@
 -diff -Naurd qtparted-0.4.5.orig/data/Makefile.am 
 qtparted-0.4.5/data/Makefile.am
  qtparted-0.4.5.orig/data/Makefile.am 2003-08-27 18:13:24.0 
 +0200
 -+++ qtparted-0.4.5/data/Makefile.am  2005-08-28 10:24:32.0 +0200
 -@@ -5,7 +5,7 @@
 - splashdir =$(prefix)/share/qtparted/pics
 -
 - menu_DATA =qtparted.desktop
 --menudir =  $(prefix)/share/applnk/System
 -+menudir =  $(prefix)/share/applications
 -
 - script_DATA =  run_qtparted
 - scriptdir =$(prefix)/sbin
 -diff -Naurd qtparted-0.4.5.orig/data/qtparted.desktop 
 qtparted-0.4.5/data/qtparted.desktop
  qtparted-0.4.5.orig/data/qtparted.desktop2005-07-06 
 21:34:10.0 +0200
 -+++ qtparted-0.4.5/data/qtparted.desktop 2005-07-23 15:30:30.0 
 +0200
 -@@ -1,5 +1,5 @@
 - [Desktop Entry]
 --Exec=/usr/sbin/qtparted
 -+Exec=gksu /usr/sbin/qtparted
 - Name=QTParted
 - Icon=qtparted.xpm
 - Terminal=false
 -@@ -8,5 +8,6 @@
 - Comment[it]=Applicazione per il partizionamento di un disco
 - Comment[fr]=Application pour partitionner un disque
 - Comment[fi]=Kiintolevyn partitiointityökalu
 -+Comment[hu]=Lemezparticionáló alkalmazás
 - Encoding=UTF-8
 - Categories=Application;System;QT;

___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git