[kde-freebsd] New Port for Testing: Amarok2
Kemian Dang
fbsd.kdang at googlemail.com
Tue Sep 16 16:30:45 CEST 2008
Martin Wilke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Sep 16, 2008 at 09:10:20AM -0400, Kris Moore wrote:
>
>> 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?
>>
>>
>
>
> Update is ready to go after the ports freeze,
>
> http://www.freebsd.org/cgi/query-pr.cgi?prp=126905-1-txt&n=/libmtp-update.diff
>
> - - Martin
>
>
Thanks Kris and Martin, I applied the diff and amarok builds.
But there are problems on running it, the main window exits after
showing for no more than 1 second and I get errors from command line
like below.
Any ideas what I should do to fix it?
Thanks,
Kemian
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
artists_temp
amarok: [ERROR!] on insert: "INSERT INTO artists SELECT * FROM
artists_temp WHERE artists_temp.id NOT IN ( -1 );"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
images_temp
amarok: [ERROR!] on insert: "INSERT INTO images SELECT * FROM
images_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
albums_temp
amarok: [ERROR!] on insert: "INSERT INTO albums SELECT * FROM
albums_temp WHERE albums_temp.id NOT IN ( -1 );"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
composers_temp
amarok: [ERROR!] on insert: "INSERT INTO composers SELECT * FROM
composers_temp WHERE composers_temp.id NOT IN ( -1
);"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
genres_temp
amarok: [ERROR!] on insert: "INSERT INTO genres SELECT * FROM
genres_temp WHERE genres_temp.id NOT IN ( -1 );"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
years_temp
amarok: [ERROR!] on insert: "INSERT INTO years SELECT * FROM
years_temp WHERE years_temp.id NOT IN ( -1 );"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
urls_temp
amarok: [ERROR!] on insert: "REPLACE INTO urls SELECT * FROM
urls_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
directories_temp
amarok: [ERROR!] on query: "INSERT INTO directories SELECT *
FROM directories_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
tracks_temp
amarok: [ERROR!] on insert: "REPLACE INTO tracks SELECT * FROM
tracks_temp;"
amarok: END__: void DatabaseUpdater::copyToPermanentTables() - Took
0.02s
amarok: BEGIN: void
DatabaseUpdater::removeTemporaryTables()
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
tracks_temp
amarok: [ERROR!] on query: "DROP TABLE
tracks_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
images_temp
amarok: [ERROR!] on query: "DROP TABLE
images_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
albums_temp
amarok: [ERROR!] on query: "DROP TABLE
albums_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
genres_temp
amarok: [ERROR!] on query: "DROP TABLE
genres_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
years_temp
amarok: [ERROR!] on query: "DROP TABLE
years_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
composers_temp
amarok: [ERROR!] on query: "DROP TABLE
composers_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
artists_temp
amarok: [ERROR!] on query: "DROP TABLE
artists_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table:
urls_temp
amarok: [ERROR!] on query: "DROP TABLE
urls_temp;"
amarok: [ERROR!] sqlite3_compile
error:
amarok: [ERROR!] no such table: directories_temp
amarok: [ERROR!] on query: "DROP TABLE directories_temp"
amarok: END__: void DatabaseUpdater::removeTemporaryTables() - Took 0.0053s
amarok: Sending changed signal
amarok: BEGIN: ScanResultProcessor::~ScanResultProcessor()
amarok: END__: ScanResultProcessor::~ScanResultProcessor() - Took 0.00026s
amarok: END__: virtual void XmlParseJob::run() - Took 0.69s
amarok: [ERROR!] sqlite3_compile error:
amarok: [ERROR!] no such table: tags
amarok: [ERROR!] on query: "SELECT s.deviceid,s.url FROM statistics
AS s LEFT JOIN tags AS t ON s.deviceid = t.deviceid AND s.url = t.url
WHERE t.url IS NULL AND s.deviceid != -2;"
amarok: [MountPointManager] Trying to update 0 statistics rows
amarok: [ERROR!] sqlite3_compile error:
amarok: [ERROR!] no such table: tags_labels
amarok: [ERROR!] on query: "SELECT l.deviceid,l.url FROM tags_labels
AS l LEFT JOIN tags as t ON l.deviceid = t.deviceidAND l.url = t.url
WHERE t.url IS NULL;"
amarok: [MountPointManager] Trying to update 0 tags_labels rows
amarok: END__: virtual void UrlUpdateJob::run() - Took 0.085s
amarok: BEGIN: void ScanManager::slotFinished()
amarok: END__: void ScanManager::slotFinished() - Took 0.00011s
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = <unknown> pid = 16687
sock_file=/home/kemian/.kde4/socket-kemian.inf.ed.ac.uk/kdeinit4__0
>> --
>>
>> Kris Moore
>> PC-BSD Software
>> http://www.pcbsd.com
>> _______________________________________________
>> 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
>>
>>
>
> - --
>
> +-----------------------+-------------------------------+
> | PGP : 0x05682353 | Jabber : miwi(at)BSDCrew.de |
> | ICQ : 169139903 | Mail : miwi(at)FreeBSD.org |
> +-----------------------+-------------------------------+
> | Mess with the Best, Die like the Rest! |
> +-----------------------+-------------------------------+
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (FreeBSD)
>
> iEYEARECAAYFAkjPs5QACgkQFwpycAVoI1NSZwCgoH90N2VKXA89XE6kedLGaGz+
> OgcAn3NM7d8ciDsBawf6LvARSdSWobQd
> =knr2
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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
>
More information about the kde-freebsd
mailing list