[kde-freebsd] Re: Amarok fails to start after package rebuild
On 01/-10/-28163 20:59, Dima Panov wrote: Hello! 19.03.2011, 01:20, "Raphael Kubo da Costa": Bartosz Fabianowski; writes: This is a bug in MySQL. When the embedded MySQL server starts, it fails to read ~/.kde4/share/apps/amarok/my.cnf, therefore does not set a local datadir and tries to create the Amarok database in /var/db/mysql, the built-in default. MySQL 5.5, right? Wasn't this already solved on FreeBSD? fluffy? http://bugs.mysql.com/bug.php?id=59280 But ale@ was declined to apply this patch to mysql55 port when i've poited him to the problem :( Since mysql55 is default for kde and amarok, our default amarok package will be broken as long as Oracle does not make up their minds how to fix the bug. IMHO, we should use a local hack in the meantime. I have written a patch that seems to work... rather hackish since I have never used either qt or mysql, but good enough, I guess. Can the file attached be put into audio/amarok-kde4/files/? Cheers, Jan Henrik --- src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp.orig 2011-01-11 16:58:06.0 +0100 +++ src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp 2011-03-19 14:50:59.0 +0100 @@ -82,7 +82,17 @@ } setenv( "MYSQL_HOME", storagePath.toAscii().data(), 1 ); -if( mysql_server_init( 0 , 0, 0 ) != 0 ) +QString defaultsFileOption = "--defaults-file="; +defaultsFileOption += defaultsFile; +QByteArray defaultsFileOptionAscii = defaultsFileOption.toAscii(); +QString databaseDirOption = "--datadir="; +databaseDirOption += databaseDir; +QByteArray databaseDirOptionAscii = databaseDirOption.toAscii(); +char *mysqlServerArgs[3]; +mysqlServerArgs[0] = "UNUSED"; +mysqlServerArgs[1] = defaultsFileOptionAscii.data(); +mysqlServerArgs[2] = databaseDirOptionAscii.data(); +if( mysql_server_init( 3 , mysqlServerArgs, 0 ) != 0 ) { error() << "MySQL library initialization failed."; reportError( "init" ); ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
[kde-freebsd] Question about konqueror and performance.
How do I modify the build for konqueror so that it runs more efficiently on PowerPC based systems. Also: I am building KDE4 from ports. If there is a subversion repository or cvs of KDE4 ports/builds, please let me know. ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
[kde-freebsd] Re: Question about konqueror and performance.
Super Bisquit writes: > How do I modify the build for konqueror so that it runs more > efficiently on PowerPC based systems. > > Also: I am building KDE4 from ports. Hmm, this is very relative. What kind of specific problem are you experiencing? > If there is a subversion repository or cvs of KDE4 ports/builds, > please let me know. http://freebsd.kde.org/area51.php ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
[kde-freebsd] Re: Amarok fails to start after package rebuild
On 03/19/2011 15:11, Jan Henrik Sylvester wrote: > On 01/-10/-28163 20:59, Dima Panov wrote: >> Hello! >> >> 19.03.2011, 01:20, "Raphael Kubo da Costa": >>> Bartosz Fabianowski; writes: >>> This is a bug in MySQL. When the embedded MySQL server starts, it fails to read ~/.kde4/share/apps/amarok/my.cnf, therefore does not set a local datadir and tries to create the Amarok database in /var/db/mysql, the built-in default. >>> >>> MySQL 5.5, right? Wasn't this already solved on FreeBSD? fluffy? >> >> http://bugs.mysql.com/bug.php?id=59280 >> >> But ale@ was declined to apply this patch to mysql55 port when i've >> poited him to the problem :( > > Since mysql55 is default for kde and amarok, our default amarok package > will be broken as long as Oracle does not make up their minds how to fix > the bug. IMHO, we should use a local hack in the meantime. > > I have written a patch that seems to work... rather hackish since I have > never used either qt or mysql, but good enough, I guess. > > Can the file attached be put into audio/amarok-kde4/files/? After updating mysql55 to 5.5.10 and rebuilding all ports depending on it, I have just checked that 5.5.10 does not fix the bug in mysql and the amarok workaround attached to my last mail still works. Cheers, Jan Henrik ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
[kde-freebsd] Re: Question about konqueror and performance.
I am building on a Quicksilver G4 933MHz and there is a 5 second average lag when loading. I did a search and saw that there is an option for konqueror embedded. PowerPC systems would probably benefit from such. The build can be done on the quicksilver and uploaded as a package. I'm using google code as a makeshift repository. What I can't find at the moment are the exact building instructions. On 3/19/11, Raphael Kubo da Costa wrote: > Super Bisquit writes: > >> How do I modify the build for konqueror so that it runs more >> efficiently on PowerPC based systems. >> >> Also: I am building KDE4 from ports. > > Hmm, this is very relative. What kind of specific problem are you > experiencing? > >> If there is a subversion repository or cvs of KDE4 ports/builds, >> please let me know. > > http://freebsd.kde.org/area51.php > ___ > kde-freebsd mailing list > kde-freebsd@kde.org > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information > ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information