[Lunar-commits] <moonbase> qscintilla2: add building the Python bindings.

Florin Braescu florin at lunar-linux.org
Sun Sep 14 22:10:33 CEST 2008


commit 5a7a5d068d79fb2ea90a860b46119ece4e15d624
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Sep 14 23:10:33 2008 +0300

    qscintilla2: add building the Python bindings.
---
 qt-apps/qscintilla2/BUILD    |   16 ----------------
 qt-apps/qscintilla2/DEPENDS  |    2 --
 qt-apps/qscintilla2/DETAILS  |   17 -----------------
 qt4-apps/qscintilla2/BUILD   |   24 ++++++++++++++++++++++++
 qt4-apps/qscintilla2/DEPENDS |    2 ++
 qt4-apps/qscintilla2/DETAILS |   17 +++++++++++++++++
 6 files changed, 43 insertions(+), 35 deletions(-)

diff --git a/qt-apps/qscintilla2/BUILD b/qt-apps/qscintilla2/BUILD
deleted file mode 100644
index 5b00b9e..0000000
--- a/qt-apps/qscintilla2/BUILD
+++ /dev/null
@@ -1,16 +0,0 @@
-(
-
-  export PATH=$QTDIR/bin:$PATH
-  if module_installed qt4; then
-    source /etc/profile.d/qt4.rc
-    cd Qt4
-  else
-    if module_installed qt3; then
-      source /etc/profile.d/qt3.rc
-      cd ../Qt3
-    fi
-  fi
-  qmake -o Makefile qscintilla.pro
-  default_make
-
-) > $C_FIFO 2>&1
diff --git a/qt-apps/qscintilla2/DEPENDS b/qt-apps/qscintilla2/DEPENDS
deleted file mode 100644
index 3157cda..0000000
--- a/qt-apps/qscintilla2/DEPENDS
+++ /dev/null
@@ -1,2 +0,0 @@
-optional_depends  qt3 ""  ""  "for qt3 version of QScintilla"
-optional_depends  qt4 ""  ""  "for qt4 version of QScintilla"
diff --git a/qt-apps/qscintilla2/DETAILS b/qt-apps/qscintilla2/DETAILS
deleted file mode 100644
index 769f6ee..0000000
--- a/qt-apps/qscintilla2/DETAILS
+++ /dev/null
@@ -1,17 +0,0 @@
-          MODULE=qscintilla2
-         VERSION=gpl-2.2
-          SOURCE=QScintilla-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/QScintilla-$VERSION
-      SOURCE_URL=http://www.riverbankcomputing.com/static/Downloads/QScintilla2
-      SOURCE_VFY=sha1:f570df8e7bcfc1281a477a21a12036023de6535a
-   MODULE_PREFIX=${QTDIR:-/opt/lunar/qt/4}
-        WEB_SITE=http://www.riverbankcomputing.co.uk/qscintilla
-         ENTERED=20070528
-         UPDATED=20080229
-           SHORT="Port to Qt of Scintilla C++ editor class"
-
-cat << EOF
-QScintilla includes features especially useful when editing and 
-debugging source code. These include support for syntax styling, 
-error indicators, code completion and call tips.
-EOF
diff --git a/qt4-apps/qscintilla2/BUILD b/qt4-apps/qscintilla2/BUILD
new file mode 100644
index 0000000..c619803
--- /dev/null
+++ b/qt4-apps/qscintilla2/BUILD
@@ -0,0 +1,24 @@
+(
+
+# install the editor class
+
+  export PATH=$QTDIR/bin:$PATH
+  if module_installed qt4; then
+    source /etc/profile.d/qt4.rc
+    cd Qt4
+  else
+    if module_installed qt3; then
+      source /etc/profile.d/qt3.rc
+      cd ../Qt3
+    fi
+  fi
+  qmake -o Makefile qscintilla.pro
+  default_make
+
+# install the Pythom bindings
+
+  cd ../Python           &&
+  python ./configure.py  &&
+  default_make
+
+) > $C_FIFO 2>&1
diff --git a/qt4-apps/qscintilla2/DEPENDS b/qt4-apps/qscintilla2/DEPENDS
new file mode 100644
index 0000000..3157cda
--- /dev/null
+++ b/qt4-apps/qscintilla2/DEPENDS
@@ -0,0 +1,2 @@
+optional_depends  qt3 ""  ""  "for qt3 version of QScintilla"
+optional_depends  qt4 ""  ""  "for qt4 version of QScintilla"
diff --git a/qt4-apps/qscintilla2/DETAILS b/qt4-apps/qscintilla2/DETAILS
new file mode 100644
index 0000000..769f6ee
--- /dev/null
+++ b/qt4-apps/qscintilla2/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=qscintilla2
+         VERSION=gpl-2.2
+          SOURCE=QScintilla-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/QScintilla-$VERSION
+      SOURCE_URL=http://www.riverbankcomputing.com/static/Downloads/QScintilla2
+      SOURCE_VFY=sha1:f570df8e7bcfc1281a477a21a12036023de6535a
+   MODULE_PREFIX=${QTDIR:-/opt/lunar/qt/4}
+        WEB_SITE=http://www.riverbankcomputing.co.uk/qscintilla
+         ENTERED=20070528
+         UPDATED=20080229
+           SHORT="Port to Qt of Scintilla C++ editor class"
+
+cat << EOF
+QScintilla includes features especially useful when editing and 
+debugging source code. These include support for syntax styling, 
+error indicators, code completion and call tips.
+EOF


More information about the Lunar-commits mailing list