NetBSD source update | 1 May 03:04 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/doc/CHANGES-2011
P pkgsrc/doc/TODO
P pkgsrc/filesystems/fs-utils/Makefile
P pkgsrc/filesystems/fs-utils/distinfo
U pkgsrc/filesystems/fs-utils/patches/patch-aa
U pkgsrc/filesystems/fs-utils/patches/patch-ab
P pkgsrc/lang/smalltalk/Makefile
P pkgsrc/lang/smalltalk/PLIST
U pkgsrc/lang/smalltalk/distinfo
cvs update: pkgsrc/lang/smalltalk/patches/patch-aa is no longer in the repository
cvs update: pkgsrc/lang/smalltalk/patches/patch-ac is no longer in the repository
P pkgsrc/lang/smalltalk/patches/patch-ae
cvs update: pkgsrc/lang/smalltalk/patches/patch-af is no longer in the repository
U pkgsrc/lang/smalltalk/patches/patch-ah
U pkgsrc/licenses/tarsnap-license
P pkgsrc/mail/akonadi/Makefile
P pkgsrc/math/mathomatic/Makefile
P pkgsrc/math/mathomatic/PLIST
U pkgsrc/math/mathomatic/distinfo
cvs update: pkgsrc/math/mathomatic/patches/patch-aa is no longer in the repository
P pkgsrc/mk/pkginstall/bsd.pkginstall.mk
P pkgsrc/net/mikutter/Makefile
P pkgsrc/net/mikutter/PLIST
U pkgsrc/net/mikutter/distinfo
P pkgsrc/net/scamper/Makefile
(Continue reading)

Takahiro Kambe | 1 May 16:36 2011
Picon

Note for mysql55-server

Hi,

Here is two problem with mysql55-server pacakge.  I write them here
simply for memo.  I don't think it is pkgsrc specific problems.

1. server failed to start. 

log message contains:

	COLLATION 'latin1_swedish_ci' is not valid for CHARACTER SET 'utf8'

I don't know where came from 'latin1_swedish_ci'.

workaround:
	Add "--collation-server=utf8_general_ci" to mysql_install_db's
	parameter and mysqld_flags in /etc/rc.conf.

--- /usr/pkg/share/examples/rc.d/mysqld	2011-04-27 16:42:29.000000000 +0900
+++ /etc/rc.d/mysqld	2011-04-29 18:31:28.000000000 +0900
 <at>  <at>  -51,7 +51,8  <at>  <at> 
 		echo "Skipping database initialization."
 	else
 		echo "Initializing MySQL database system tables."
-		${initdb} --force --user=${mysqld_user} \
+		${initdb} --user=mysql --collation-server=utf8_general_ci \
+			  --force --user=${mysqld_user} \
 			  --datadir=${mysqld_datadir} || return 1
 		if [ -d ${mysqld_datadir} ]; then
 			/usr/sbin/chown -R ${mysqld_user}:${mysqld_group} \

(Continue reading)

Takahiro Kambe | 1 May 16:57 2011
Picon

Re: Note for mysql55-server

One correction.

In message <20110501.233636.680961628036329555.taca <at> back-street.net>
	on Sun, 01 May 2011 23:36:36 +0900 (JST),
	Takahiro Kambe <taca <at> back-street.net> wrote:
> workaround:
> 	Add "--collation-server=utf8_general_ci" to mysql_install_db's
> 	parameter and mysqld_flags in /etc/rc.conf.

--- /usr/pkg/share/examples/rc.d/mysqld	2011-04-27 16:42:29.000000000 +0900
+++ /etc/rc.d/mysqld	2011-04-29 18:31:28.000000000 +0900
 <at>  <at>  -51,7 +51,8  <at>  <at> 
 		echo "Skipping database initialization."
 	else
 		echo "Initializing MySQL database system tables."
-		${initdb} --force --user=${mysqld_user} \
+		${initdb} --collation-server=utf8_general_ci \
+			  --force --user=${mysqld_user} \
 			  --datadir=${mysqld_datadir} || return 1
 		if [ -d ${mysqld_datadir} ]; then
 			/usr/sbin/chown -R ${mysqld_user}:${mysqld_group} \

--

-- 
Takahiro Kambe <taca <at> back-street.net>

Sylvain Mora | 1 May 21:02 2011

Re: pkgsrc support to PackageKit


Le 29 avr. 2011 à 10:14, Thomas Klausner a écrit :
> I think if it will really speed you up, then writing it in Python
> should be fine. After all, the main target of the project is the
> packagekit support.
> Thomas

I will write the backend and the API in Python. 
And If I have time and motivation, I will re-write all of it in C.

Since nobody has an opinion about pkgin, I will use it fully in the API.

I will start after my exams, so middle of May.

NetBSD source update | 2 May 03:10 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/devel/libgphoto2/Makefile
P pkgsrc/devel/xulrunner/mozilla-common.mk
P pkgsrc/doc/CHANGES-2011
P pkgsrc/doc/TODO
P pkgsrc/emulators/hercules/Makefile
P pkgsrc/emulators/hercules/PLIST
U pkgsrc/emulators/hercules/distinfo
U pkgsrc/emulators/hercules/patches/patch-Makefile.in
cvs update: pkgsrc/emulators/hercules/patches/patch-aa is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ab is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ac is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ad is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ae is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-af is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ag is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ah is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-aj is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ak is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-al is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-am is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-an is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ao is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ap is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-aq is no longer in the repository
cvs update: pkgsrc/emulators/hercules/patches/patch-ar is no longer in the repository
(Continue reading)

OBATA Akio | 2 May 04:27 2011
Picon

Re: Note for mysql55-server

On Sun, 01 May 2011 23:36:36 +0900, Takahiro Kambe <taca <at> back-street.net> wrote:

> 1. server failed to start.
>
> log message contains:
>
> 	COLLATION 'latin1_swedish_ci' is not valid for CHARACTER SET 'utf8'
>
> I don't know where came from 'latin1_swedish_ci'.

 From INSTALL-SOURCE file, it came from DEFAULT_COLLATION.
Also from the file, DEFAULT_CHARSET should be latin1.
Do you have MYSQL_CHARSET=utf8 in /etc/mk.conf?
Maybe, mysql55 should have MYSQL_COLLATION build variable.

How about following changes?

  Add following to mysql55-client/Makefile.common
    MYSQL_COLLATION?= latin1_swedish_ci
    CMAKE_ARGS+= -DDEFAULT_COLLATION=${MYSQL_COLLATION}

  then put MYSQL_COLLATION=utf8_general_ci on your /etc/mk.conf.

> 2. mysqld listen only [::1]:3306.
>
> mysqld might believe that IPv4/IPv6 can accept one socket.  I don't
> have right solution.

network_init() in sql/mysqld.cc?

(Continue reading)

Takahiro Kambe | 2 May 05:22 2011
Picon

Re: Note for mysql55-server

In message <op.vut04qc9cmitfu <at> ponkan.lins.jp>
	on Mon, 02 May 2011 11:27:52 +0900,
	"OBATA Akio" <obache <at> netbsd.org> wrote:
>> 1. server failed to start.
>>
>> log message contains:
>>
>> 	COLLATION 'latin1_swedish_ci' is not valid for CHARACTER SET 'utf8'
>>
>> I don't know where came from 'latin1_swedish_ci'.
> 
> From INSTALL-SOURCE file, it came from DEFAULT_COLLATION.
> Also from the file, DEFAULT_CHARSET should be latin1.
> Do you have MYSQL_CHARSET=utf8 in /etc/mk.conf?
Exactly.

> Maybe, mysql55 should have MYSQL_COLLATION build variable.
> 
> How about following changes?
> 
>  Add following to mysql55-client/Makefile.common
>    MYSQL_COLLATION?= latin1_swedish_ci
>    CMAKE_ARGS+= -DDEFAULT_COLLATION=${MYSQL_COLLATION}
> 
>  then put MYSQL_COLLATION=utf8_general_ci on your /etc/mk.conf.
I completly agree.  (MySQL came from Sweeden?)

>> 2. mysqld listen only [::1]:3306.
>>
>> mysqld might believe that IPv4/IPv6 can accept one socket.  I don't
(Continue reading)

Takahiro Kambe | 2 May 05:26 2011
Picon

Re: Note for mysql55-server

In message <op.vut04qc9cmitfu <at> ponkan.lins.jp>
	on Mon, 02 May 2011 11:27:52 +0900,
	"OBATA Akio" <obache <at> netbsd.org> wrote:
>> 2. mysqld listen only [::1]:3306.
>>
>> mysqld might believe that IPv4/IPv6 can accept one socket.  I don't
>> have right solution.
> 
> network_init() in sql/mysqld.cc?
I confirmed that it use getaddrinfo(3) but use first created socket
only *too bad*.

--

-- 
Takahiro Kambe <taca <at> back-street.net>

Adam Ciarciński | 2 May 05:43 2011
Picon

Re: gcc 4.1 c++ build problem kdegames4

> Trying to build kdegames4 4.6.2 but its tripping up on a GCC 4.1 
> issue:
> 
> /local/src/work/pkgsrc/games/kdegames4/work.i386/kdegames-4.6.2/libkdegames/kgamerenderer.h:
> 211: error: expected ',' or '...' before '>' token
> /local/src/work/pkgsrc/games/kdegames4/work.i386/kdegames-4.6.2/libkdegames/kgamerenderer.h:
> 211: error: wrong number of template arguments (1, should be 2)
> /local/src/work/pkgsrc/games/kdegames4/work.i386/.buildlink/qt4/include/QtCore/qdatastream.h
> :66: error: provided for 'template<class Key, class T> class QHash'
> /local/src/work/pkgsrc/games/kdegames4/work.i386/kdegames-4.6.2/libkdegames/kgamerenderer.h:
> 211: error: default argument missing for parameter 5 of 'QPixmap 
> KGameRenderer::spritePixmap
> (const QString&, const QSize&, int, const QHash<QColor, QColor>&, 
> QColor) const'
> 
> 
> the relevant line of kgamerenderer.h reads
> 
>          QPixmap spritePixmap(const QString& key, const QSize& 
> size, int frame = -1, 
> const QHash<QColor, QColor>& customColors = QHash<QColor, 
> QColor>()) const;
> 
> 
> Apparently this builds fine with GCC4.4 but that doesn't help us 
> and there is an open kde bugreport about it (261488) but that has 
> no help.
> 
> Anyone have suggestions on how to work around this and get it to 
> build with 4.1?
(Continue reading)

Mark Davies | 2 May 14:08 2011
Picon
Picon

possible png1.5 issue with qt4-libs

Not sure if this is a subtle png1.5 issue or something else as I have 
limited variants to compare.

Saving a PNG image from KSnapshot or Kolourpaint (kdegraphics4) 
currently gives an image with the colour channels shifted R->G->B and 
red at 255 everywhere.  I think both of these come back to 
QPNGImageWriter::writeImage() from qt4-libs 
src/gui/image/qpnghandler.cpp for the actual writing.

Its working correctly on a NetBSD system with png-1.4.5, 
qt4-libs-4.7.1nb1, and kde-4.5.4 but failing as above on linux and 
NetBSD systems with png-1.5.2, qt4-libs-4.7.2 and kde>=4.5.5

cheers
mark


Gmane