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

commit 3a0d231217bec308a9b09aecabda587dc6587023
Author: crazy <[EMAIL PROTECTED]>
Date:   Wed Nov 7 19:05:39 2007 +0100

monkeystudio-2006.1.5.3-2-i686
* moved to xapps-extra
* fixed qt4 depends
* fixed qt4.3 build

diff --git a/source/kde-extra/monkeystudio/FrugalBuild 
b/source/kde-extra/monkeystudio/FrugalBuild
deleted file mode 100644
index 0a20804..0000000
--- a/source/kde-extra/monkeystudio/FrugalBuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Compiling Time: 0.63 SBU
-# Maintainer: crazy <[EMAIL PROTECTED]>
-
-pkgname=monkeystudio
-pkgver=2006.1.5.3
-pkgrel=1
-pkgdesc="Monkey Studio is a Free crossplatform Qt4 IDE."
-_F_sourceforge_name="monkeystudio-src"
-_F_sourceforge_dirname="$pkgname"
-_F_sourceforge_ext=".zip"
-_F_sourceforge_broken_up2date=1
-Finclude sourceforge
-url="http://monkeystudio.org/";
-depends=('libxi' 'qt4' 'libstdc++' 'libxcb' 'libice' 'libxrender')
-rodepends=('qt4-docs')
-makedepends=('unzip')
-options=('scriptlet')
-source=($source fix.it.patch)
-groups=('kde-extra')
-archs=('i686' 'x86_64')
-sha1sums=('3f179931b14b1fc8126051430fb6d09718c40c81' \
-          'cbe17fec205f8a233f32873b8cbe94dc42f9cb14')
-
-build()
-{
-       ## uhh .. build system = CRAP
-       Fcd $pkgver
-       ## fix broken parts in *pro file
-       Fpatchall
-       ## fix all the broken stuff part 2 :)
-       find . -name ".svn" -print0|xargs -0 rm -rf ||  Fdie
-       source /etc/profile.d/qt4.sh.off
-       qmake || Fdie
-       ## WTF
-       make INSTALL_ROOT=$Fdestdir install || Fdie
-       Fexerel binary/monkey_x11 /usr/bin/monkey_x11
-       Fln /usr/bin/monkey_x11 /usr/bin/$pkgname
-       Fmv /usr/share/monkeystudio/manuals /usr/share/monkeystudio/html
-       Ffilerel src/resources/Icons/logo.png /usr/share/pixmaps/$pkgname.png
-       Fdesktop  "/usr/bin/$pkgname" "/usr/share/pixmaps/$pkgname.png" 
"Qt;KDE;Development;IDE;"
-}
-
-# optimization OK
diff --git a/source/kde-extra/monkeystudio/fix.it.patch 
b/source/kde-extra/monkeystudio/fix.it.patch
deleted file mode 100644
index ff098cf..0000000
--- a/source/kde-extra/monkeystudio/fix.it.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naurp 2006.1.5.3/monkey.pro 2006.1.5.3-fix-it/monkey.pro
---- 2006.1.5.3/monkey.pro      2006-10-24 22:30:45.000000000 +0200
-+++ 2006.1.5.3-fix-it/monkey.pro       2006-12-29 14:05:18.000000000 +0100
-@@ -98,13 +98,13 @@ TRANSLATIONS       = translations/qt4ds_french
-
- !win32 {
-       PROGNAME        = monkeystudio
--      PREFIX  = /usr/local
-+      PREFIX  = /usr
-       INSTALLS        += binary documentation translation
-
-       binary.path     = $$PREFIX/bin
-       binary.files    = $$DESTDIR/$$TARGET
--      documentation.path      = $$PREFIX/$$PROGNAME/manuals
-+      documentation.path      = $$PREFIX/share/$$PROGNAME/manuals
-       documentation.files     = docqt4ds/english/html/*
--      translation.path        = $$PREFIX/$$PROGNAME/translations
-+      translation.path        = $$PREFIX/share/$$PROGNAME/translations
-       translation.files       = translations/*.qm
- }
diff --git a/source/xapps-extra/monkeystudio/FrugalBuild 
b/source/xapps-extra/monkeystudio/FrugalBuild
new file mode 100644
index 0000000..095f752
--- /dev/null
+++ b/source/xapps-extra/monkeystudio/FrugalBuild
@@ -0,0 +1,41 @@
+# Compiling Time: 0.63 SBU
+# Maintainer: crazy <[EMAIL PROTECTED]>
+
+pkgname=monkeystudio
+pkgver=2006.1.5.3
+pkgrel=2
+pkgdesc="Monkey Studio is a Free crossplatform Qt4 IDE."
+_F_sourceforge_name="monkeystudio-src"
+_F_sourceforge_dirname="$pkgname"
+_F_sourceforge_ext=".zip"
+_F_sourceforge_broken_up2date=1
+Finclude sourceforge
+url="http://monkeystudio.org/";
+depends=('qt4-designer')
+makedepends=('unzip')
+options=('scriptlet')
+source=($source fix.it.patch qt4.3-build-fix.patch)
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+sha1sums=('3f179931b14b1fc8126051430fb6d09718c40c81' \
+          'cbe17fec205f8a233f32873b8cbe94dc42f9cb14' \
+          '8eca691f99cb161aad71aa04d4bef5efee38009c')
+
+build()
+{
+
+       Fcd $pkgver
+       ## fix broken parts in *pro file
+       Fpatchall
+       ## fix all the broken stuff part 2 :)
+       find . -name ".svn" -print0|xargs -0 rm -rf ||  Fdie
+       /usr/bin/qmake || Fdie
+       make INSTALL_ROOT=$Fdestdir install || Fdie
+       Fexerel binary/monkey_x11 /usr/bin/monkey_x11
+       Fln /usr/bin/monkey_x11 /usr/bin/$pkgname
+       Fmv /usr/share/monkeystudio/manuals /usr/share/monkeystudio/html
+       Ffilerel src/resources/Icons/logo.png /usr/share/pixmaps/$pkgname.png
+       Fdesktop  "/usr/bin/$pkgname" "/usr/share/pixmaps/$pkgname.png" 
"Qt;KDE;Development;IDE;"
+}
+
+# optimization OK
diff --git a/source/xapps-extra/monkeystudio/fix.it.patch 
b/source/xapps-extra/monkeystudio/fix.it.patch
new file mode 100644
index 0000000..ff098cf
--- /dev/null
+++ b/source/xapps-extra/monkeystudio/fix.it.patch
@@ -0,0 +1,20 @@
+diff -Naurp 2006.1.5.3/monkey.pro 2006.1.5.3-fix-it/monkey.pro
+--- 2006.1.5.3/monkey.pro      2006-10-24 22:30:45.000000000 +0200
++++ 2006.1.5.3-fix-it/monkey.pro       2006-12-29 14:05:18.000000000 +0100
+@@ -98,13 +98,13 @@ TRANSLATIONS       = translations/qt4ds_french
+
+ !win32 {
+       PROGNAME        = monkeystudio
+-      PREFIX  = /usr/local
++      PREFIX  = /usr
+       INSTALLS        += binary documentation translation
+
+       binary.path     = $$PREFIX/bin
+       binary.files    = $$DESTDIR/$$TARGET
+-      documentation.path      = $$PREFIX/$$PROGNAME/manuals
++      documentation.path      = $$PREFIX/share/$$PROGNAME/manuals
+       documentation.files     = docqt4ds/english/html/*
+-      translation.path        = $$PREFIX/$$PROGNAME/translations
++      translation.path        = $$PREFIX/share/$$PROGNAME/translations
+       translation.files       = translations/*.qm
+ }
diff --git a/source/xapps-extra/monkeystudio/qt4.3-build-fix.patch 
b/source/xapps-extra/monkeystudio/qt4.3-build-fix.patch
new file mode 100644
index 0000000..791febe
--- /dev/null
+++ b/source/xapps-extra/monkeystudio/qt4.3-build-fix.patch
@@ -0,0 +1,11 @@
+diff -Naur 2006.1.5.3/src/3rdparty/TextEditor/src/CppSyntaxHighlighter.h 
2006.1.5.3-p/src/3rdparty/TextEditor/src/CppSyntaxHighlighter.h
+--- 2006.1.5.3/src/3rdparty/TextEditor/src/CppSyntaxHighlighter.h      
2006-10-20 23:40:58.000000000 +0200
++++ 2006.1.5.3-p/src/3rdparty/TextEditor/src/CppSyntaxHighlighter.h    
2007-11-07 18:24:43.000000000 +0100
+@@ -39,6 +39,7 @@
+       };
+       static const Keyword keywords[];
+       //
++      Q_OBJECT
+ private:
+       void highlightKeyword( int, const QString& );
+       //
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to