[Lunar-commits] <crater> qt3: move it from kde3/base dir to qt-apps one.

Florin Braescu florin at lunar-linux.org
Sat Jan 2 14:19:24 CET 2010


commit 86ca9d2167c2671417b14f5a39f422013e551de0
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sat Jan 2 15:19:24 2010 +0200

    qt3: move it from kde3/base dir to qt-apps one.
---
 kde3/base/qt3/BUILD        |   59 --------------------------------------------
 kde3/base/qt3/CONFIGURE    |    1 -
 kde3/base/qt3/DEPENDS      |   20 ---------------
 kde3/base/qt3/DETAILS      |   33 ------------------------
 kde3/base/qt3/POST_INSTALL |    4 ---
 kde3/base/qt3/PRE_BUILD    |   19 --------------
 qt-apps/qt3/BUILD          |   59 ++++++++++++++++++++++++++++++++++++++++++++
 qt-apps/qt3/CONFIGURE      |    1 +
 qt-apps/qt3/DEPENDS        |   20 +++++++++++++++
 qt-apps/qt3/DETAILS        |   33 ++++++++++++++++++++++++
 qt-apps/qt3/POST_INSTALL   |    4 +++
 qt-apps/qt3/PRE_BUILD      |   19 ++++++++++++++
 12 files changed, 136 insertions(+), 136 deletions(-)

diff --git a/kde3/base/qt3/BUILD b/kde3/base/qt3/BUILD
deleted file mode 100644
index 271d89f..0000000
--- a/kde3/base/qt3/BUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-(
-  export  QTDIR=$SOURCE_DIRECTORY
-  export  PATH=$QTDIR/bin:$PATH
-  export  LD_LIBRARY_PATH=$QTDIR/lib
-  bad_flags "-z combreloc"
-
-  sedit "s/-O2/$CXXFLAGS/g" mkspecs/linux-g++/qmake.conf  &&
-
-  echo "yes" | ./configure          \
-               -prefix ${MODULE_PREFIX} \
-               -release             \
-               -fast                    \
-               -shared              \
-               -thread              \
-               -qt-gif              \
-               -plugin-imgfmt-png   \
-               -plugin-imgfmt-jpeg  \
-               -plugin-imgfmt-mng   \
-               -system-libpng       \
-               -system-libjpeg      \
-               -system-libmng       \
-               -system-zlib         \
-               -no-exceptions       \
-               -dlopen-opengl       \
-               -xft                    \
-               -xkb                    \
-               -sm                    \
-               -tablet              \
-               $OPTS                &&
-
-  if [ "$SAMPIN" == "y" ] ; then
-    make
-  else
-    make sub-tools
-  fi &&
-
-  rm -f bin/qmake              &&     
-  prepare_install              &&
-
-  cp qmake/qmake bin/qmake     &&
-  make install                 &&
-
-  if [ "$SAMPIN" == "y" ] ; then
-    cp -a examples  ${MODULE_PREFIX}/
-    cp -a tutorial  ${MODULE_PREFIX}/
-  fi &&
-
-  if ! grep -q "${MODULE_PREFIX}/lib" /etc/ld.so.conf; then
-    echo "${MODULE_PREFIX}/lib" >> /etc/ld.so.conf
-  fi &&
-
-  echo "export QTDIR=\"${MODULE_PREFIX}\"" >> $SOURCE_DIRECTORY/qt3.rc    &&
-  echo export PATH=\"'${QTDIR}'/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/qt3.rc &&
-  echo export PKG_CONFIG_PATH=\"'${QTDIR}'/lib/pkgconfig:'${PKG_CONFIG_PATH}'\" \
-        >> $SOURCE_DIRECTORY/qt3.rc &&
-
-  install -m644 $SOURCE_DIRECTORY/qt3.rc /etc/profile.d/
-
-) > $C_FIFO 2>&1
diff --git a/kde3/base/qt3/CONFIGURE b/kde3/base/qt3/CONFIGURE
deleted file mode 100644
index ebcac97..0000000
--- a/kde3/base/qt3/CONFIGURE
+++ /dev/null
@@ -1 +0,0 @@
-mquery SAMPIN "Install QT3 examples and tutorials?" n
diff --git a/kde3/base/qt3/DEPENDS b/kde3/base/qt3/DEPENDS
deleted file mode 100644
index c2b2a90..0000000
--- a/kde3/base/qt3/DEPENDS
+++ /dev/null
@@ -1,20 +0,0 @@
-depends  libungif
-depends  libmng
-depends  libpng
-depends  %X
-
-optional_depends  "mysql"                                                    \
-                  "-plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"  \
-                  "-no-sql-mysql"                                            \
-                  "for mysql database support"                              
-
-optional_depends  "sqlite"                                                   \
-                  "-plugin-sql-sqlite -I/usr/include -L/usr/lib"             \
-                  "-no-sql-sqlite"                                           \
-                  "for sqlite database support"                             
-
-optional_depends  "postgresql"                                               \
-                  "-plugin-sql-psql -I/usr/include/postgresql/server         \
-                  -L/usr/lib/postgresql"                                     \
-                  "-no-sql-psql"                                             \
-                  "for postgresql database support"
diff --git a/kde3/base/qt3/DETAILS b/kde3/base/qt3/DETAILS
deleted file mode 100644
index ab3fab7..0000000
--- a/kde3/base/qt3/DETAILS
+++ /dev/null
@@ -1,33 +0,0 @@
-          MODULE=qt3
-         VERSION=3.3.8
-          SOURCE=qt-x11-free-$VERSION.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/qt-x11-free-$VERSION
-   SOURCE_URL[0]=ftp://ftp.trolltech.com/qt/source/
-   SOURCE_URL[1]=http://gd.tuwien.ac.at/hci/qt/source/
-      SOURCE_VFY=sha1:91b192cb8e80679607d24ae35d6e20ed68d149d7
-   MODULE_PREFIX=${QT_PREFIX:-/opt/lunar/qt/3}
-        WEB_SITE=http://www.trolltech.com/qt
-         ENTERED=20020420
-         UPDATED=20070316
-         GARBAGE=off
-     FTP_PASSIVE=on
-      MAINTAINER=florin at lunar-linux.org
-           SHORT="C++ toolkit for application development."
-
-cat << EOF
-Qt is a C++ toolkit for application development. It lets application
-developers target all major operating systems with a single application
-source code.
-
-Qt provides a platform-independent API to all central platform
-functionality: GUI, database access, networking, file handling, etc. The
-Qt library encapsulates the different APIs of different operating systems,
-providing the application programmer with a single, common API for all
-operating systems. The native C APIs are encapsulated in a set of
-well-designed, fully object-oriented C++ classes.
-
-Certain environment variables must be defined before compiling and using
-applications that depend on qt3.
-QTDIR=/opt/lunar/qt/3
-PATH=/opt/lunar/qt/3/bin:$PATH
-EOF
diff --git a/kde3/base/qt3/POST_INSTALL b/kde3/base/qt3/POST_INSTALL
deleted file mode 100644
index 9e34904..0000000
--- a/kde3/base/qt3/POST_INSTALL
+++ /dev/null
@@ -1,4 +0,0 @@
-if module_installed kdelibs3;     then lin kdelibs3;     fi
-if module_installed kdeartwork3;  then lin kdeartwork3;  fi
-if module_installed sip;          then lin sip;          fi
-if module_installed PyQt;         then lin PyQt;         fi
diff --git a/kde3/base/qt3/PRE_BUILD b/kde3/base/qt3/PRE_BUILD
deleted file mode 100644
index 76e1936..0000000
--- a/kde3/base/qt3/PRE_BUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-cat << EOF
-Certain environment variables must be defined before compiling and using qt3 
-and applications that depend on qt3, QT_PREFIX and/or QTDIR. 
-The default values are:
-   QT_PREFIX="${MODULE_PREFIX}" 
-   QTDIR="${MODULE_PREFIX}"
-You can put the file actual.rc in the /etc/profile.d directory containing the 
-new value of QT_PREFIX, and it's value will be used as the location where the 
-qt3 module to be installed. QTDIR value is used as a default value unless a 
-new value is set for QT_PREFIX. Remember to logout and login again after you
-put/alter the actual.rc file, in order to be processed, and after that to 
-begin the qt3 install process.
-EOF
-
-if module_installed qt3 ; then
-  lrm --upgrade qt3
-fi &&
-
-default_pre_build
diff --git a/qt-apps/qt3/BUILD b/qt-apps/qt3/BUILD
new file mode 100644
index 0000000..271d89f
--- /dev/null
+++ b/qt-apps/qt3/BUILD
@@ -0,0 +1,59 @@
+(
+  export  QTDIR=$SOURCE_DIRECTORY
+  export  PATH=$QTDIR/bin:$PATH
+  export  LD_LIBRARY_PATH=$QTDIR/lib
+  bad_flags "-z combreloc"
+
+  sedit "s/-O2/$CXXFLAGS/g" mkspecs/linux-g++/qmake.conf  &&
+
+  echo "yes" | ./configure          \
+               -prefix ${MODULE_PREFIX} \
+               -release             \
+               -fast                    \
+               -shared              \
+               -thread              \
+               -qt-gif              \
+               -plugin-imgfmt-png   \
+               -plugin-imgfmt-jpeg  \
+               -plugin-imgfmt-mng   \
+               -system-libpng       \
+               -system-libjpeg      \
+               -system-libmng       \
+               -system-zlib         \
+               -no-exceptions       \
+               -dlopen-opengl       \
+               -xft                    \
+               -xkb                    \
+               -sm                    \
+               -tablet              \
+               $OPTS                &&
+
+  if [ "$SAMPIN" == "y" ] ; then
+    make
+  else
+    make sub-tools
+  fi &&
+
+  rm -f bin/qmake              &&     
+  prepare_install              &&
+
+  cp qmake/qmake bin/qmake     &&
+  make install                 &&
+
+  if [ "$SAMPIN" == "y" ] ; then
+    cp -a examples  ${MODULE_PREFIX}/
+    cp -a tutorial  ${MODULE_PREFIX}/
+  fi &&
+
+  if ! grep -q "${MODULE_PREFIX}/lib" /etc/ld.so.conf; then
+    echo "${MODULE_PREFIX}/lib" >> /etc/ld.so.conf
+  fi &&
+
+  echo "export QTDIR=\"${MODULE_PREFIX}\"" >> $SOURCE_DIRECTORY/qt3.rc    &&
+  echo export PATH=\"'${QTDIR}'/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/qt3.rc &&
+  echo export PKG_CONFIG_PATH=\"'${QTDIR}'/lib/pkgconfig:'${PKG_CONFIG_PATH}'\" \
+        >> $SOURCE_DIRECTORY/qt3.rc &&
+
+  install -m644 $SOURCE_DIRECTORY/qt3.rc /etc/profile.d/
+
+) > $C_FIFO 2>&1
diff --git a/qt-apps/qt3/CONFIGURE b/qt-apps/qt3/CONFIGURE
new file mode 100644
index 0000000..ebcac97
--- /dev/null
+++ b/qt-apps/qt3/CONFIGURE
@@ -0,0 +1 @@
+mquery SAMPIN "Install QT3 examples and tutorials?" n
diff --git a/qt-apps/qt3/DEPENDS b/qt-apps/qt3/DEPENDS
new file mode 100644
index 0000000..c2b2a90
--- /dev/null
+++ b/qt-apps/qt3/DEPENDS
@@ -0,0 +1,20 @@
+depends  libungif
+depends  libmng
+depends  libpng
+depends  %X
+
+optional_depends  "mysql"                                                    \
+                  "-plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"  \
+                  "-no-sql-mysql"                                            \
+                  "for mysql database support"                              
+
+optional_depends  "sqlite"                                                   \
+                  "-plugin-sql-sqlite -I/usr/include -L/usr/lib"             \
+                  "-no-sql-sqlite"                                           \
+                  "for sqlite database support"                             
+
+optional_depends  "postgresql"                                               \
+                  "-plugin-sql-psql -I/usr/include/postgresql/server         \
+                  -L/usr/lib/postgresql"                                     \
+                  "-no-sql-psql"                                             \
+                  "for postgresql database support"
diff --git a/qt-apps/qt3/DETAILS b/qt-apps/qt3/DETAILS
new file mode 100644
index 0000000..ab3fab7
--- /dev/null
+++ b/qt-apps/qt3/DETAILS
@@ -0,0 +1,33 @@
+          MODULE=qt3
+         VERSION=3.3.8
+          SOURCE=qt-x11-free-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/qt-x11-free-$VERSION
+   SOURCE_URL[0]=ftp://ftp.trolltech.com/qt/source/
+   SOURCE_URL[1]=http://gd.tuwien.ac.at/hci/qt/source/
+      SOURCE_VFY=sha1:91b192cb8e80679607d24ae35d6e20ed68d149d7
+   MODULE_PREFIX=${QT_PREFIX:-/opt/lunar/qt/3}
+        WEB_SITE=http://www.trolltech.com/qt
+         ENTERED=20020420
+         UPDATED=20070316
+         GARBAGE=off
+     FTP_PASSIVE=on
+      MAINTAINER=florin at lunar-linux.org
+           SHORT="C++ toolkit for application development."
+
+cat << EOF
+Qt is a C++ toolkit for application development. It lets application
+developers target all major operating systems with a single application
+source code.
+
+Qt provides a platform-independent API to all central platform
+functionality: GUI, database access, networking, file handling, etc. The
+Qt library encapsulates the different APIs of different operating systems,
+providing the application programmer with a single, common API for all
+operating systems. The native C APIs are encapsulated in a set of
+well-designed, fully object-oriented C++ classes.
+
+Certain environment variables must be defined before compiling and using
+applications that depend on qt3.
+QTDIR=/opt/lunar/qt/3
+PATH=/opt/lunar/qt/3/bin:$PATH
+EOF
diff --git a/qt-apps/qt3/POST_INSTALL b/qt-apps/qt3/POST_INSTALL
new file mode 100644
index 0000000..9e34904
--- /dev/null
+++ b/qt-apps/qt3/POST_INSTALL
@@ -0,0 +1,4 @@
+if module_installed kdelibs3;     then lin kdelibs3;     fi
+if module_installed kdeartwork3;  then lin kdeartwork3;  fi
+if module_installed sip;          then lin sip;          fi
+if module_installed PyQt;         then lin PyQt;         fi
diff --git a/qt-apps/qt3/PRE_BUILD b/qt-apps/qt3/PRE_BUILD
new file mode 100644
index 0000000..76e1936
--- /dev/null
+++ b/qt-apps/qt3/PRE_BUILD
@@ -0,0 +1,19 @@
+cat << EOF
+Certain environment variables must be defined before compiling and using qt3 
+and applications that depend on qt3, QT_PREFIX and/or QTDIR. 
+The default values are:
+   QT_PREFIX="${MODULE_PREFIX}" 
+   QTDIR="${MODULE_PREFIX}"
+You can put the file actual.rc in the /etc/profile.d directory containing the 
+new value of QT_PREFIX, and it's value will be used as the location where the 
+qt3 module to be installed. QTDIR value is used as a default value unless a 
+new value is set for QT_PREFIX. Remember to logout and login again after you
+put/alter the actual.rc file, in order to be processed, and after that to 
+begin the qt3 install process.
+EOF
+
+if module_installed qt3 ; then
+  lrm --upgrade qt3
+fi &&
+
+default_pre_build


More information about the Lunar-commits mailing list