2010/12/4 CSÉCSY László <[email protected]>

> 2010.12.04. 16:55:07-kor Lord Fener írta:
> > Hi,
> > the package qtpfsgui is quiet old, from April 2009 it changed name to
> > luminance (or luminance-hdr) and now the stable version is the 2.0.1-1
> > I tried making a FrugalBuild but I think it's a bit dirty, so please have
> a
> > look:
> If it has changed name, pls remove qtpfsgui from -current in your patch,
> and
> add a replaces=('qtpfsgui') for luminance's FB. Thanks.
>

Here you are,


Melko
From ba1890b77957d5a0750013f0b31a8d87f39dbb72 Mon Sep 17 00:00:00 2001
From: Melko <[email protected]>
Date: Sun, 5 Dec 2010 12:58:45 +0100
Subject: [PATCH] luminance-2.0.1_1-1-i686

* New package
* Replace qtpfsgui
---
 source/xapps-extra/luminance/FrugalBuild |   30 ++++++++++++++++++++++++++++++
 source/xapps-extra/qtpfsgui/FrugalBuild  |   25 -------------------------
 source/xapps-extra/qtpfsgui/fix_it.patch |   22 ----------------------
 3 files changed, 30 insertions(+), 47 deletions(-)
 create mode 100644 source/xapps-extra/luminance/FrugalBuild
 delete mode 100644 source/xapps-extra/qtpfsgui/FrugalBuild
 delete mode 100644 source/xapps-extra/qtpfsgui/fix_it.patch

diff --git a/source/xapps-extra/luminance/FrugalBuild b/source/xapps-extra/luminance/FrugalBuild
new file mode 100644
index 0000000..9d4f20e
--- /dev/null
+++ b/source/xapps-extra/luminance/FrugalBuild
@@ -0,0 +1,30 @@
+# Compiling Time: 1.01 SBU
+# Contributor: Melko <[email protected]>
+# Maintainer: none
+
+pkgname=luminance
+pkgver=2.0.1_1
+pkgrel=1
+pkgdesc="an open source graphical user interface application that aims to provide a workflow for HDR imaging"
+archs=('i686' 'x86_64')
+groups=('xapps-extra')
+depends=('exiv2' 'fftw' 'gsl' 'libqtwebkit')
+replaces=('qtpfsgui')
+_F_sourceforge_sep="-v"
+_F_sourceforge_dirname="qtpfsgui"
+_F_gnome_iconcache="y"
+Finclude sourceforge gnome-scriptlet
+up2date="Flasttar http://sourceforge.net/projects/qtpfsgui/files/";
+sha1sums=('3e7565c36e1909fbd036ef7e35fecad5727373d2')
+_F_cd_path=$pkgname-v${pkgver/_/-}
+
+build() {
+  Fcd
+  Fsed '^QMAKE_CXXFLAGS.*' "QMAKE_CXXFLAGS = $CXXFLAGS" project.pro
+  qmake PREFIX=/usr || Fdie
+  Fmake
+  make INSTALL_ROOT=${Fdestdir} install || Fdie
+  Fbuild_gnome_scriptlet
+}
+
+# optimization OK
diff --git a/source/xapps-extra/qtpfsgui/FrugalBuild b/source/xapps-extra/qtpfsgui/FrugalBuild
deleted file mode 100644
index 7da71a3..0000000
--- a/source/xapps-extra/qtpfsgui/FrugalBuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Compiling Time: 0.50 SBU
-# Maintainer: CSÉCSY László <[email protected]>
-
-pkgname=qtpfsgui
-pkgver=1.9.3
-pkgrel=3
-pkgdesc="an open source graphical user interface application that aims to provide a workflow for HDR imaging"
-depends=('libqtgui>=4.6.2-3' 'exiv2>=0.20' 'openexr' 'fftw')
-groups=('xapps-extra')
-archs=('i686' 'x86_64')
-Finclude sourceforge
-source=($source fix_it.patch)
-sha1sums=('adf037c54f55be50d931fa484cca169c01d0384d' \
-          '12962d32a70ad9b3cfb00b37302cd0eef097aa22')
-
-build(){
-	Fcd
-	Fpatchall
-	/usr/bin/qmake -o Makefile project.pro || Fdie
-	make || Fdie
-	make INSTALL_ROOT=$Fdestdir install || Fdie
-}
-
-# optimization OK
-
diff --git a/source/xapps-extra/qtpfsgui/fix_it.patch b/source/xapps-extra/qtpfsgui/fix_it.patch
deleted file mode 100644
index 30aa84c..0000000
--- a/source/xapps-extra/qtpfsgui/fix_it.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- project.pro	2009-08-05 20:34:41.000000000 +0200
-+++ project.pro	2009-08-05 20:35:02.000000000 +0200
-@@ -2,10 +2,6 @@
- CONFIG += release qt thread
- DEFINES += QT_NO_DEBUG_OUTPUT
- 
--# Assume openmp-capable g++ (>=4.2)
--QMAKE_CXXFLAGS += -funroll-loops -fstrength-reduce -fschedule-insns2 -felide-constructors -frerun-loop-opt -fexceptions -fno-strict-aliasing -fexpensive-optimizations -ffast-math -pipe -fopenmp -msse2
--QMAKE_LFLAGS += -fopenmp
--
- TARGET = qtpfsgui
- 
- MOC_DIR = generated_moc
-@@ -295,7 +291,7 @@
- 
- ############################## required by "make install" ########################################
- isEmpty(PREFIX) {
--        PREFIX = /usr/local
-+        PREFIX = /usr
- }
- isEmpty(I18NDIR) {
- 	mac {
-- 
1.7.3.2

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to