SOURCES: VirtualBox-configure.patch, VirtualBox-qt-paths.patch - u...

maciek2w maciek2w at pld-linux.org
Fri Aug 24 23:33:23 CEST 2007


Author: maciek2w                     Date: Fri Aug 24 21:33:23 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 1.4.0
- needs to check if builds on x8664

---- Files affected:
SOURCES:
   VirtualBox-configure.patch (1.2 -> 1.3) , VirtualBox-qt-paths.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/VirtualBox-configure.patch
diff -u SOURCES/VirtualBox-configure.patch:1.2 SOURCES/VirtualBox-configure.patch:1.3
--- SOURCES/VirtualBox-configure.patch:1.2	Tue Feb 27 01:14:00 2007
+++ SOURCES/VirtualBox-configure.patch	Fri Aug 24 23:33:18 2007
@@ -1,14 +1,14 @@
---- configure.orig	2007-01-16 11:39:32.000000000 +0100
-+++ configure	2007-01-18 11:20:42.000000000 +0100
-@@ -51,7 +51,6 @@
- LIBZ="-lz"
- INCPNG=""
- LIBPNG="-lpng"
--QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/share/qt3"
+--- configure.orig	2007-08-23 21:34:25.000000000 +0200
++++ configure	2007-08-23 21:39:54.000000000 +0200
+@@ -57,7 +57,6 @@
+ CFLAGSHAL="-I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"
+ LIBPATHHAL=""
+ LIBHAL="-lhal -ldbus-1"
+-QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3"
  KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
  DEVDIR="`cd $(dirname $0); pwd`/tools"
  if [ -d /lib/modules/`uname -r`/build ]; then
-@@ -148,8 +147,8 @@
+@@ -167,8 +166,8 @@
    echo "compiling the following source file:" >> $LOG
    cat .tmp_src.cc >> $LOG
    echo "using the following command line:" >> $LOG
@@ -19,26 +19,34 @@
    if (($?!=0)); then
      if [ -z "$4" ]; then
        echo -e "\n  $2 not found at $1 or $3 headers not found"
-@@ -873,29 +873,25 @@
+@@ -873,37 +872,26 @@
  }
  ' > .tmp_src.cc
    found_qt=0
+-  libs="lib"
+-  [ "$LIB" = "lib64" ] && libs="$libs lib64"
 -  for q in $QTDIR; do
--    echo "compiling the following source file:" >> $LOG
--    cat .tmp_src.cc >> $LOG
--    echo "using the following command line:" >> $LOG
--    echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt" >> $LOG
--    $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt >> $LOG 2>&1
--    if (($?==0)); then
--      if test_execute; then
--        cnf_append "QTDIR" `cd $q ; pwd`
--        found_qt=1
--        break
--      fi
+-    for l in $libs; do
+-      echo "compiling the following source file:" >> $LOG
+-      cat .tmp_src.cc >> $LOG
+-      echo "using the following command line:" >> $LOG
+-      echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt" >> $LOG
 +  echo "compiling the following source file:" >> $LOG
 +  cat .tmp_src.cc >> $LOG
 +  echo "using the following command line:" >> $LOG
 +  echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt" >> $LOG
+     
+-      $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt >> $LOG 2>&1
+-      if (($?==0)); then
+-        if test_execute; then
+-          cnf_append "QTDIR" "`cd $q ; pwd`"
+-          found_qt=1
+-          break
+-        fi
+-      fi
+-    done
+-    if (($found_qt==1)); then
+-      break
 +  $CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt >> $LOG 2>&1
 +  if (($?==0)); then
 +    if test_execute; then
@@ -61,21 +69,21 @@
      if (($?!=0)); then
        log_failure "not found"
        fail
-@@ -937,7 +932,6 @@
-   --with-iasl=PATH        the position of the iasl compiler [$IASL]
+@@ -1081,7 +1069,6 @@
+   --with-hal=LIB          location of the libhal libraries [$LIBHAL]
    --with-linux=DIR        Linux kernel source directory [$LINUX]
-   --with-mkisofs=PATH     position of mkisofs [$MKISOFS]
+   --with-mkisofs=PATH     location of mkisofs [$MKISOFS]
 -  --with-qt-dir=DIR       directory for QT headers/libraries [$QTDIR]
-   --with-xalan=LIB        position of the xalan library [$LIBXALAN]
-   --with-xerces=LIB       position of the xerces library [$LIBXERCES]
+   --with-xalan=LIB        location of the xalan library [$LIBXALAN]
+   --with-xerces=LIB       location of the xerces library [$LIBXERCES]
  
-@@ -970,9 +964,6 @@
-     --with-kbuild=*)
-       KBUILDDIR=`echo $option | cut -d'=' -f2`
+@@ -1118,9 +1105,6 @@
+         exit 1
+       fi
        ;;
 -    --with-qt-dir=*)
 -      QTDIR=`echo $option | cut -d'=' -f2`
 -      ;;
-     --with-iasl=*)
-       IASL=`echo $option | cut -d'=' -f2`
+     --with-hal-dir=*)
+       INCHAL=`echo $option | cut -d'=' -f2`
        ;;

================================================================
Index: SOURCES/VirtualBox-qt-paths.patch
diff -u SOURCES/VirtualBox-qt-paths.patch:1.2 SOURCES/VirtualBox-qt-paths.patch:1.3
--- SOURCES/VirtualBox-qt-paths.patch:1.2	Tue Feb 27 01:14:00 2007
+++ SOURCES/VirtualBox-qt-paths.patch	Fri Aug 24 23:33:18 2007
@@ -18,18 +18,23 @@
 @@ -1441,7 +1441,7 @@
  TEMPLATE_VBOXQTGUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT $(ARCH_BITS_DEFS)
  TEMPLATE_VBOXQTGUIEXE_INCS = \
- 	$(PATH_BIN)/sdk/include \
+ 	$(VBOX_PATH_SDK)/include \
 -	$(VBOX_PATH_QT)/include
 +	/usr/include/qt
  
  ifeq ($(BUILD_TARGET),win)
   TEMPLATE_VBOXQTGUIEXE_TOOL = $(VBOX_VCC_TOOL)
-@@ -1616,7 +1616,7 @@
-  	$(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB)
++++ Config.kmk	2007-08-23 21:58:52.000000000 +0200
+@@ -1843,10 +1843,10 @@
  
-  TEMPLATE_VBOXQTGUIEXE_LIBPATH = \
-- 	$(VBOX_PATH_QT)/lib \
-+ 	/usr/lib \
- 	$(VBOX_LIBPATH_X11)
+  ifeq ($(BUILD_TARGET_ARCH),amd64)
+   TEMPLATE_VBOXQTGUIEXE_LIBPATH = \
+- 	$(VBOX_PATH_QT)/lib64 $(VBOX_PATH_QT)/lib
++ 	/usr/lib64 /usr/lib
+  else
+   TEMPLATE_VBOXQTGUIEXE_LIBPATH = \
+- 	$(VBOX_PATH_QT)/lib
++ 	/usr/lib
+  endif
  
- endif
+  ifeq ($(BUILD_TARGET),darwin)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/VirtualBox-configure.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/VirtualBox-qt-paths.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list