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

List:       kde-windows
Subject:    Re: emerge kdesdk compile problem
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2008-02-15 7:05:02
Message-ID: 47B5399E.1010200 () freenet ! de
[Download RAW message or body]

Ralf Habacker schrieb:
> Hi,
>
> I just tried to compile kdesdk with emerge and got the following error
>
>    CMake Error: The source directory 
> "C:/daten/kde/emerge-msvc-root/tmp/kdesdk-20080202/work" does not 
> appear to contain CMakeLists.txt.
>
> The problem is that the unpacked source is located
>
>   kdesdk-20080202/work/kdesdk
>
> Any ideas where to fix in kdesdk-20080202.py beside the temporary 
> solution to move the sources on directory level above ?
I need the appended patch to be able to build kdelibs/kdebase/kdesdk

Regards
 Ralf


["emerge-1.patch" (text/plain)]

Index: bin/kde_build.py
===================================================================
--- bin/kde_build.py	(revision 775047)
+++ bin/kde_build.py	(working copy)
@@ -225,6 +225,9 @@
             builddir = "%s-%s" % ( builddir, buildType )
 
         os.chdir( self.workdir )
+        if ( not os.path.exists( builddir) ):
+            os.mkdir( builddir )
+
         if not self.noClean:
             utils.cleanDirectory( builddir )
         os.chdir( builddir )
Index: portage/kde/kdelibs/kdelibs-20080202.py
===================================================================
--- portage/kde/kdelibs/kdelibs-20080202.py	(revision 775047)
+++ portage/kde/kdelibs/kdelibs-20080202.py	(working copy)
@@ -26,6 +27,7 @@
     def __init__(self):
         self.buildType = "Debug"
         base.baseclass.__init__( self, "" )
+        self.instsrcdir = "kdelibs"
         self.subinfo = subinfo()
 
     def unpack( self ):
Index: portage/kde/kdepimlibs/kdepimlibs-20080202.py
===================================================================
--- portage/kde/kdepimlibs/kdepimlibs-20080202.py	(revision 775047)
+++ portage/kde/kdepimlibs/kdepimlibs-20080202.py	(working copy)
@@ -21,6 +21,7 @@
 class subclass(base.baseclass):
     def __init__( self ):
         base.baseclass.__init__( self, "" )
+        self.instsrcdir = "kdepimlibs"
         self.subinfo = subinfo()
 
     def unpack( self ):
Index: portage/kde/kdesdk/kdesdk-20080202.py
===================================================================
--- portage/kde/kdesdk/kdesdk-20080202.py	(revision 775047)
+++ portage/kde/kdesdk/kdesdk-20080202.py	(working copy)
@@ -20,6 +20,7 @@
 class subclass(base.baseclass):
     def __init__(self):
         base.baseclass.__init__( self, "" )
+        self.instsrcdir = "kdesdk"
         self.subinfo = subinfo()
         self.kdeCustomDefines = ""
 #        self.kdeCustomDefines = self.kdeCustomDefines + "-DBUILD_kate=OFF "
Index: portage/kdesupport/soprano/soprano-2.00.0.20080107.py
===================================================================
--- portage/kdesupport/soprano/soprano-2.00.0.20080107.py	(revision 775047)
+++ portage/kdesupport/soprano/soprano-2.00.0.20080107.py	(working copy)
@@ -17,7 +17,7 @@
 class subclass(base.baseclass):
     def __init__(self):
         base.baseclass.__init__( self, "" )
-        self.instsrcdir = "soprano"
+        self.instsrcdir = "2.0.0"
         self.subinfo = subinfo()
 
     def unpack( self ):
Index: portage/kdesupport/strigi/strigi-0.5.7.20071028.py
===================================================================
--- portage/kdesupport/strigi/strigi-0.5.7.20071028.py	(revision 775047)
+++ portage/kdesupport/strigi/strigi-0.5.7.20071028.py	(working copy)
@@ -26,7 +26,7 @@
 class subclass(base.baseclass):
     def __init__(self):
         base.baseclass.__init__( self, "" )
-        self.instsrcdir = "strigi"
+        self.instsrcdir = "0.5.7"
         self.subinfo = subinfo()
 
     def unpack( self ):


_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


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

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