[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5dd2835eddf0b6eb9e53aaa9b4feeab4e18d9051)

Treeve Jelbert scm at mail.sourcemage.org
Sat Mar 10 12:38:54 EST 2007


GIT changes to master grimoire by Treeve Jelbert <treeve at scarlet.be>:

 x11-toolkits/qt4/CONFIGURE |    3 ++-
 x11-toolkits/qt4/DETAILS   |    1 +
 x11-toolkits/qt4/HISTORY   |    6 ++++++
 x11-toolkits/qt4/PRE_BUILD |    5 +++++
 4 files changed, 14 insertions(+), 1 deletion(-)

New commits:
commit 08627651e16aea26eb34df4723334cbad3e571cf
Author: Treeve Jelbert <treeve at scarlet.be>
Commit: Treeve Jelbert <treeve at scarlet.be>

    qt4 - reduce space requirements

diff --git a/x11-toolkits/qt4/CONFIGURE b/x11-toolkits/qt4/CONFIGURE
index abfd680..979e985 100755
--- a/x11-toolkits/qt4/CONFIGURE
+++ b/x11-toolkits/qt4/CONFIGURE
@@ -1,6 +1,7 @@
+config_query         QT_DOC     'install doc, demo and examples(very big)?' n &&
 config_query_option  QT_DEBUG   'Compile with debugging symbols?'       n  \
                                 '-debug'                                   \
-                                '-release'                                 &&
+                                ''                                         &&
 
 config_query_option  QT_NIS     'Enable Network Information Services?'  y  \
                                 '-nis'                                     \
diff --git a/x11-toolkits/qt4/DETAILS b/x11-toolkits/qt4/DETAILS
index 10af8de..2865579 100755
--- a/x11-toolkits/qt4/DETAILS
+++ b/x11-toolkits/qt4/DETAILS
@@ -8,6 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/qt-x11
    SOURCE_URL[2]=ftp://ftp.planetmirror.com.au/pub/trolltech/qt/source/$SOURCE
         WEB_SITE=http://www.trolltech.com/qt/x11.html
          ENTERED=20020410
+  STAGED_INSTALL=off
       LICENSE[0]=GPL
             DOCS="FAQ README README-QT.TXT"
         KEYWORDS="qt x11 libs"
diff --git a/x11-toolkits/qt4/HISTORY b/x11-toolkits/qt4/HISTORY
index 6c10246..e5f7230 100644
--- a/x11-toolkits/qt4/HISTORY
+++ b/x11-toolkits/qt4/HISTORY
@@ -1,3 +1,9 @@
+2007-03-10 Treeve Jelbert <treeve at pi.be>
+	* PRE_BUILD, CONFIGURE: optionally suppress the docs, demos and examples
+	  this save enormous amounts of space
+	* DETAILS: STAGED_INSTALL=off 
+	* CONFIGURE: remove explicit '-release'; does not work!
+
 2007-03-10 George Sherwood  <george at beernabeer.com>
 	* DETAILS: Updated to version 4.2.3
 
diff --git a/x11-toolkits/qt4/PRE_BUILD b/x11-toolkits/qt4/PRE_BUILD
index fa8ecbd..ff35dad 100755
--- a/x11-toolkits/qt4/PRE_BUILD
+++ b/x11-toolkits/qt4/PRE_BUILD
@@ -1,5 +1,10 @@
 default_pre_build          &&
 cd $SOURCE_DIRECTORY 	   &&
+# remove big direcotries
+if [ $QT_DOC = n ];then
+rm -r doc demos examples   &&
+sed -i "/+= demos/D;/htmldocs/D" projects.pro
+fi                         &&
 sed -i "s/-lgds/-lfbclient/" config.tests/unix/ibase/ibase.pro \
   src/sql/drivers/drivers.pri  src/plugins/sqldrivers/ibase/ibase.pro
 #patch  -p0 < $SPELL_DIRECTORY/xxx.diff



More information about the SM-Commit mailing list