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

List:       fink-beginners
Subject:    Re: [Fink-beginners] kdebase4-workspace-x11 won't compile
From:       George Karrys <karrysg () cox ! net>
Date:       2010-06-13 6:36:32
Message-ID: C839CA80.19CE%karrysg () cox ! net
[Download RAW message or body]




On 6/11/10 3:35 PM, "David Reiser" <dbreiser@earthlink.net> wrote:



>>> My toolset:
>>> Package manager version: 0.29.11
>>> Distribution version: selfupdate-cvs Sat Jun  5 16:11:24 2010, 10.6, x86_64
>>> Mac OS X version: 10.6.3
>>> Xcode version: 3.2.2
>>> gcc version: 4.2.1 (Apple Inc. build 5659)
>>> make version: 3.81

Have identical toolset


 
>> OK. Here goes..., but it won't do a whole lot of good. The installation fails
>> after solving the gps_query problem -- possibly with Apple's help by having
>> an error in /usr/X11/lib/X11/xdm/xdm-config.
> 
> 
>> 
>> First, you need to understand the explanation in
>> http://finkers.wordpress.com/2009/06/08/local-packages/
>> You're going to copy the kdebase4-workspace.info and kdebase4-workspace.patch
>> files from your fink unstable tree to your local tree, modify both files, and
>> then attempt to build workspace again.
>> 

Got this part except had to modify fink.conf to have local/main last in
Trees:

>> The patch to solve the gps_query problem is available from:
>> http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/generic/dataengines/
>> geolocation/location_gps.cpp?r1=1070489&r2=1070488&pathrev=1070489&view=patch

Copied this text into .patch file (I added text at end of patch file)

---trunk/kdebase-workspace-4.4.1-1/plasma/generic/dataengines/geolocation/lo
cation_gps.cpp    2010/01/05 19:40:06    1070488
+++trunk/kdebase-workspace-4.4.1-1/plasma/generic/dataengines/geolocation/lo
cation_gps.cpp    2010/01/05 19:48:55    1070489
@@ -41,7 +41,11 @@
 
 void Gpsd::run()
 {
+#if GPSD_API_MAJOR_VERSION == 3 && defined( WATCH_ENABLE )
+    gps_stream(m_gpsdata, WATCH_ENABLE, NULL);
+#else
     gps_query(m_gpsdata, "w+x\n");
+#endif
 
     while (!m_abort) {
         Plasma::DataEngine::Data d;

>> 
>> You have to add that patch to the kdebase4-workspace.patch file, recompute
>> the md5sum of the patch, put that new md5sum in the PatchFile-MD5: field of
>> the kdebase4-workspace.info file, and then attempt to recompile
>> kdebase4-workspace-x11.

Did all this.

>> 
>> Compilation succeeds for me, but installation fails as described in my prior
>> message. I think we need the maintainer's help on this one.
Compile fails while patching

can't find file to patch at input line 1590
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| 
|--- 
trunk/KDE/kdebase/workspace/plasma/generic/dataengines/geolocation/location_
gps.cpp    2010/01/05 19:40:06    1070488
|+++ 
trunk/KDE/kdebase/workspace/plasma/generic/dataengines/geolocation/location_
gps.cpp    2010/01/05 19:48:55    1070489
--------------------------
File to patch: 

I tried directing to
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/pl
asma/generic/dataengines/geolocations/location_gps.cpp

And get file not found


Is there something I'm missing.
George

> Fink-beginners mailing list
> Fink-beginners@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.beginners



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners
[prev in list] [next in list] [prev in thread] [next in thread] 

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