[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/gpg4win/scripts/debian-xcompile
From:       Marc Mutz <mutz () kde ! org>
Date:       2010-04-26 13:37:47
Message-ID: 20100426133747.A6CF1AC8A4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1119059 by mutz:

build kdebase/runtime (for kdebugdialog)

 M  +29 -0     02-update-kde-svn.sh  
 M  +16 -0     12-build-kdelibs.sh  
 M  +8 -1      config  


--- branches/work/gpg4win/scripts/debian-xcompile/02-update-kde-svn.sh \
#1119058:1119059 @@ -129,6 +129,35 @@
 [ -d kdepimlibs ] || die "Cannot find directory kdepimlibs after unpacking"
 
 #
+# kdebase-runtime
+#
+
+if $KDEBASE_RUNTIME_CROSSCOMPILE ; then
+    if $KDEBASE_RUNTIME_USE_SVN ; then
+        if [ -z $KDEBASE_RUNTIME_REVISION ] ; then
+            run "Checking out kdebase-runtime" svn co "$KDEBASE_RUNTIME_SVN_URL" \
kdebase-runtime +        else
+            run "Checking out kdebase-runtime" svn co "$KDEBASE_RUNTIME_SVN_URL" \
-r$KDEBASE_RUNTIME_REVISION kdebase-runtime +        fi
+    else
+        run "Downloading kdebase-runtime source" wget -N "$KDEBASE_RUNTIME_SRC_URL"
+        rm -rf kdebase-runtime >/dev/null 2>&1
+        run "Extracing" extract kdebase-runtime*
+        for i in $(ls -d1 kdebase-runtime*|tac) ; do
+            if [ -d "$i" ] ; then
+                mv "$i" kdebase-runtime
+                break;
+            fi
+        done
+        rm -rf kdebase-runtime?* >/dev/null 2>&1
+    fi
+else
+    die "Sorry, binary kdebase-runtime package download is not yet implemented"
+fi
+
+[ -d kdebase-runtime ] || die "Cannot find directory kdebase-runtime after \
unpacking" +
+#
 # kdepim
 #
 
--- branches/work/gpg4win/scripts/debian-xcompile/12-build-kdelibs.sh \
#1119058:1119059 @@ -124,6 +124,22 @@
     run "Installing kdepimlibs (win32)" make install
 ) || exit 1
 
+# build kdebase-runtime (cross)
+(
+    cd_mk_or_die kdebase-runtime
+
+    export PATH="$TOOLSDIR/bin:$PATH"
+
+    run "Configuring kdebase-runtime (win32)" xcmake \
-DCMAKE_BUILD_TYPE=$KDE_BUILD_TYPE \ +        -DCMAKE_INSTALL_PREFIX="$INST" -C \
"$TOOLSDIR/mingw32-kdelibs.cmake" \ +        -DONLY_KLEO=ON \
-DKDEWIN_DIR="$STAGE1_BUILD/src/playground/install" \ +        \
-DBoost_INCLUDE_DIR="$STAGE1_BUILD/src/playground/install/include/boost-1_34" \ +     \
-DKDE4_ENABLE_HTMLHANDBOOK=ON "$SRCDIR/kdebase-runtime" +
+    run "Building kdebase-runtime (win32)" make
+    run "Installing kdebase-runtime (win32)" make install
+) || exit 1
+
 # build l10n-kde4
 #
 # (needs to be cross-compiled even though it just needs gettext, since
--- branches/work/gpg4win/scripts/debian-xcompile/config #1119058:1119059
@@ -141,6 +141,13 @@
 readonly KDEPIMLIBS_SRC_URL=ftp://ftp.kdab.net/pub/gpg4win/kdepimlibs-20080828-src.zip
  readonly KDEPIMLIBS_BIN_URL=ftp://ftp.kdab.net/pub/gpg4win/kdepimlibs-20080828-src.zip
  
+readonly KDEBASE_RUNTIME_CROSSCOMPILE=true
+readonly KDEBASE_RUNTIME_USE_SVN=true
+readonly KDEBASE_RUNTIME_REVISION=
+readonly KDEBASE_RUNTIME_SVN_URL=$KDESVN/branches/kdepim/enterprise4/kdebase-4.1-branch/runtime
 +readonly KDEBASE_RUNTIME_SRC_URL=ftp://ftp.kdab.net/pub/gpg4win/kdebase-runtime-20080828-src.zip
 +readonly KDEBASE_RUNTIME_BIN_URL=ftp://ftp.kdab.net/pub/gpg4win/kdebase-runtime-20080828-src.zip
 +
 readonly KDEPIM_CROSSCOMPILE=true
 readonly KDEPIM_USE_SVN=true
 readonly KDEPIM_REVISION=
@@ -154,7 +161,7 @@
 readonly L10N_KDE4_SVN_URL=$KDESVN/branches/kdepim/enterprise4/l10n-kde4
 L10N_KDE4_SVN_URL_SUB_N=( de{,/messages,/docs} templates{,/messages} )
 readonly L10N_KDE4_SVN_URL_SUB_N
-L10N_KDE4_SVN_URL_SUB=( scripts {de,templates}/messages/{kde{pim{,libs},libs},qt} \
de/docs/kde{pim{,libs},libs} ) +L10N_KDE4_SVN_URL_SUB=( scripts \
{de,templates}/messages/{kde{pim{,libs},libs,base},qt} \
de/docs/kde{pim{,libs},libs,base} )  readonly L10N_KDE4_SVN_URL_SUB
 readonly L10N_KDE4_SRC_URL=ftp://ftp.kdab.net/pub/gpg4win/l10n-kde4-20080828-src.zip
 readonly L10N_KDE4_BIN_URL=ftp://ftp.kdab.net/pub/gpg4win/l10n-kde4-20080828-src.zip


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic