]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- updated for 1.5.0
authorpascalek <pascalek@pld-linux.org>
Fri, 21 Sep 2007 21:26:26 +0000 (21:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VirtualBox-configure.patch -> 1.4
    VirtualBox-qt-paths.patch -> 1.4

VirtualBox-configure.patch
VirtualBox-qt-paths.patch

index 94f92efc10cc88b6285d1302a0c5a299b221965e..139c4991471d11326c5bbea943bd9c83046e6519 100644 (file)
@@ -1,13 +1,13 @@
 --- 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"
LIBZ="-lz"
INCPNG=""
+ LIBPNG="-lpng"
+-QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3 /usr/X11R6"
  KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
  DEVDIR="`cd $(dirname $0); pwd`/tools"
- if [ -d /lib/modules/`uname -r`/build ]; then
+ if [ -d "/lib/modules/`uname -r`/build" ]; then
 @@ -167,8 +166,8 @@
    echo "compiling the following source file:" >> $LOG
    cat .tmp_src.cc >> $LOG
 -  $CXX -O -Wall -o .tmp_out .tmp_src.cc $1 >> $LOG 2>&1
 +  echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib \"$1\"" >> $LOG
 +  $CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib $1 >> $LOG 2>&1
-   if (($?!=0)); then
+   if [ $? -ne 0 ]; then
      if [ -z "$4" ]; then
-       echo -e "\n  $2 not found at $1 or $3 headers not found"
-@@ -873,37 +872,26 @@
+       echo
+@@ -873,38 +872,27 @@
  }
- ' > .tmp_src.cc
+ EOF
    found_qt=0
 -  libs="lib"
 -  [ "$LIB" = "lib64" ] && libs="$libs lib64"
@@ -37,7 +37,7 @@
 +  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 [ $? -eq 0 ]; then
 -        if test_execute; then
 -          cnf_append "QTDIR" "`cd $q ; pwd`"
 -          found_qt=1
 -        fi
 -      fi
 -    done
--    if (($found_qt==1)); then
+-    if [ $found_qt -eq 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 [ $? -eq 0 ]; then
 +    if test_execute; then
 +      found_qt=1
      fi
 -  done
 +  fi
-   if (($found_qt!=1)); then
--    echo -e "\n  Qt not found at \"$QTDIR\" or Qt headers not found"
-+    echo -e "\n  Qt not found or Qt headers not found"
-     echo      "  Check the file $LOG for detailed error information."
+   if [ $found_qt -ne 1 ]; then
+     echo
+-    echo "  Qt not found at \"$QTDIR\" or Qt headers not found"
++    echo "  Qt not found or Qt headers not found"
+     echo "  Check the file $LOG for detailed error information."
      fail
      return 1
    fi
@@ -66,7 +67,7 @@
 -    moc_ver=`$q/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
 +  if check_avail "/usr/bin/moc"; then
 +    moc_ver=`/usr/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
-     if (($?!=0)); then
+     if [ $? -ne 0 ]; then
        log_failure "not found"
        fail
 @@ -1081,7 +1069,6 @@
@@ -84,6 +85,6 @@
 -    --with-qt-dir=*)
 -      QTDIR=`echo $option | cut -d'=' -f2`
 -      ;;
-     --with-hal-dir=*)
-       INCHAL=`echo $option | cut -d'=' -f2`
+     --with-iasl=*)
+       IASL=`echo $option | cut -d'=' -f2`
        ;;
index 67cf1e2ad0c740fc5477293ff1e2a629d55f37ff..882cc7e0c659d76182464d721ea601806f3af4ca 100644 (file)
  
  ifeq ($(BUILD_TARGET),win)
   TEMPLATE_VBOXQTGUIEXE_TOOL = $(VBOX_VCC_TOOL)
-+++ Config.kmk 2007-08-23 21:58:52.000000000 +0200
 @@ -1843,10 +1843,10 @@
  
   ifeq ($(BUILD_TARGET_ARCH),amd64)
    TEMPLATE_VBOXQTGUIEXE_LIBPATH = \
--      $(VBOX_PATH_QT)/lib64 $(VBOX_PATH_QT)/lib
-+      /usr/lib64 /usr/lib
+-      $(VBOX_PATH_QT)/lib64 $(VBOX_PATH_QT)/lib
++      /usr/lib64 /usr/lib
   else
    TEMPLATE_VBOXQTGUIEXE_LIBPATH = \
--      $(VBOX_PATH_QT)/lib
-+      /usr/lib
+-      $(VBOX_PATH_QT)/lib
++      /usr/lib
   endif
  
   ifeq ($(BUILD_TARGET),darwin)
This page took 0.037444 seconds and 4 git commands to generate.