Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=edd973137c5d74cef2fc179b2c382d0a823b3c54

commit edd973137c5d74cef2fc179b2c382d0a823b3c54
Author: Miklos Vajna <[email protected]>
Date:   Mon Jun 1 12:33:46 2009 +0200

freenx-client-0.9-1-i686

- new package, replaces knx

diff --git a/source/xapps-extra/freenx-client/FrugalBuild 
b/source/xapps-extra/freenx-client/FrugalBuild
new file mode 100644
index 0000000..33800f1
--- /dev/null
+++ b/source/xapps-extra/freenx-client/FrugalBuild
@@ -0,0 +1,40 @@
+# Compiling Time: 0.16 SBU
+# Maintainer: Miklos Vajna <[email protected]>
+
+pkgname=freenx-client
+pkgver=0.9
+pkgrel=1
+pkgdesc="Contains client libraries and executables for connecting to an NX 
server."
+_F_berlios_dirname="freenx"
+_F_berlios_ext=".tar.bz2"
+Finclude berlios
+depends=('dbus' 'libqtxml' 'libqtgui' 'libice' 'libxrender' 'libxext')
+makedepends=('doxygen')
+replaces=('knx')
+groups=('xapps-extra')
+archs=('i686')
+up2date="Flasttar 
http://developer.berlios.de/project/showfiles.php?group_id=2978";
+source=($source freenx-client-0.9-fixes.patch)
+sha1sums=('cbe7f4d4c83e435d74192a07290a42cd42cb6242' \
+          'd246e3ad35d742f2680a05c4425b15e130bdd2d5')
+
+build()
+{
+       Fpatchall
+       cat >> qtnx/qtnx.pro << EOF
+QMAKE_CXXFLAGS += -I`pwd`/nxcl/lib
+LIBS += -L`pwd`/nxcl/lib -lnxcl
+EOF
+       mv nxcl/README README.nxcl || return 1
+       mv qtnx/README README.qtnx || return 1
+       cd nxcl || return 1
+       Fautoreconf
+       Fmake --disable-static
+       Fmakeinstall
+       cd ../qtnx || return 1
+       qmake || return 1
+       Fmake
+       Fexerel /usr/bin/qtnx
+}
+
+# optimization OK
diff --git a/source/xapps-extra/freenx-client/freenx-client-0.9-fixes.patch 
b/source/xapps-extra/freenx-client/freenx-client-0.9-fixes.patch
new file mode 100644
index 0000000..8b2ebf1
--- /dev/null
+++ b/source/xapps-extra/freenx-client/freenx-client-0.9-fixes.patch
@@ -0,0 +1,40 @@
+--- freenx-client-0.9/nxcl/lib/notQt.cpp~      2008-03-11 00:13:08.000000000 
+0100
++++ freenx-client-0.9/nxcl/lib/notQt.cpp       2008-04-05 20:36:05.000000000 
+0200
+@@ -19,6 +19,7 @@
+
+ #include <iostream>
+ #include <sstream>
++#include <cstdlib>
+ extern "C" {
+ #include <unistd.h>
+ #include <errno.h>
+--- freenx-client-0.9/nxcl/lib/nxclientlib.cpp~        2008-03-11 
00:13:08.000000000 +0100
++++ freenx-client-0.9/nxcl/lib/nxclientlib.cpp 2008-04-05 20:54:18.000000000 
+0200
+@@ -27,6 +27,7 @@
+ #include "../config.h"
+
+ #include <fstream>
++#include <cstdlib>
+
+ extern "C" {
+     #include <errno.h>
+--- freenx-client-0.9/nxcl/lib/nxclientlib.cpp~        2008-04-05 
20:54:18.000000000 +0200
++++ freenx-client-0.9/nxcl/lib/nxclientlib.cpp 2008-04-06 06:37:37.000000000 
+0200
+@@ -28,6 +28,7 @@
+
+ #include <fstream>
+ #include <cstdlib>
++#include <cstring>
+
+ extern "C" {
+     #include <errno.h>
+--- freenx-client-0.9/nxcl/nxcl/nxcl.cpp~      2008-03-11 00:13:08.000000000 
+0100
++++ freenx-client-0.9/nxcl/nxcl/nxcl.cpp       2008-04-06 06:48:34.000000000 
+0200
+@@ -20,6 +20,7 @@
+ #include "nxclientlib_i18n.h"
+ #include "nxclientlib.h"
+ #include <fstream>
++#include <cstdlib>
+
+ #include "nxcl.h"
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to