[kde-freebsd] New Port for Testing: Amarok2

Kris Moore kris at pcbsd.com
Tue Sep 16 15:10:20 CEST 2008


Kemian Dang wrote:
> Dorian Büttner wrote:
>> Kris Moore schrieb:
>>> Matt wrote:
>>>  
>>>> On Thu, Aug 14, 2008 at 3:20 PM, Kris Moore <kris at pcbsd.com> wrote:
>>>>   
>>>>> Hey all!
>>>>>
>>>>> Great working getting 4.1 into ports! I've been wanting to add 
>>>>> Amarok2 to
>>>>> PC-BSD 7 here for a while now, and I just finally sat down and made 
>>>>> a port
>>>>> of it.
>>>>>       
>>>> This port compiles and runs well for me.  One question - for the
>>>> post-configure-reinplace changes to the link.txt files...does every
>>>> single link.txt files in the source tree need to get updated?  Or are
>>>> there certain ones that don't need the change?  if they all need the
>>>> change, would something like this:
>>>>
>>>> post-configure:
>>>>         ${FIND} ${WRKSRC} -type f -name link.txt | ${XARGS}
>>>> ${REINPLACE_CMD} -e 's|-ldl||g'
>>>>
>>>> be acceptable?  Or is this not a proper way of doing this?
>>>>
>>>> Thanks for the effort - the new Amarok looks pretty good!
>>>> Matt
>>>>     
>>>
>>>
>>> You're right, we could clean that up to fix all link.txt files in 
>>> that one line, I just never sat down and did it :)
>>>
>>> Right now Dorian Buettner is working on a new cut of the amarok2 
>>> port, with the latest beta they've released. Dorian, would you like 
>>> to send over to the list what you have at this point, and maybe we 
>>> can all take a look at it and help you fix up any remaining issues.
>>>
>>>
>>>   
>> ok back online - attached is what we have so far, I did my best to 
>> create a meaningful pkg-plist.
>> It compiles and installs fine but I believe it should somewhat be 
>> pointed out that this one is a more or less complete overhaul and not 
>> intended to work on kde-3.x.
>> Propably a conflict marker and a note in UPDATING, when done?
>>
>> Thanks,
>> Dorian
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> kde-freebsd mailing list
>> kde-freebsd at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-freebsd
>> See also http://freebsd.kde.org/ for latest information
> Hi Dorian,
> 
> I have encountered a problem a here, below is the error log of make.
> I have FB7-stable i386, and KDE4.1.1.
> 
> Thanks,
> Kemian
> 
> [ 94%] Building CXX object 
> src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o                                                                                                          
> 
> In file included from 
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/moc_MtpHandler.cpp:10,          
> 
>                 from 
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:2: 
> 
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:66: 
> error: 'LIBMTP_raw_device_t'has not been declared
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:156: 
> error: 'LIBMTP_raw_device_t' has not been declared
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:167: 
> error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no type
> /usr/ports/audio/amarok2/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:167: 
> error: expected ';' before '*' token
> *** Error code 1
> 


Thats because this version of Amarok needs an updated libmtp. Dorian, 
can you attach the updated libmtp port as well?


-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com


More information about the kde-freebsd mailing list