Re: lang/mono is freezing durning build

2009-02-05 Thread Jasper Lievisse Adriaanse
On Thu, Feb 05, 2009 at 08:40:45AM +, Mikolaj Kucharski wrote:
> Hi,
> 
> Each time I'm building mono it's freezing. Can anyone confirm that? I've
> built mono many times in the last two months and each time I'm coming
> back to screen session with build I need to kill it. Starting build
> of mono again will continue and will create the package.
hey!

yes, antoine and i can confirm this on both amd64 and i386.
we're looking in this. but i've only come to experience this more often
in the past week than in the months before that.

cheers,
jasper

> ...
> gmake[6]: Entering directory 
> `/home/users/build/obj/mono-2.0p4/mono-2.0/mcs/class'
> gmake[7]: Entering directory 
> `/home/users/build/obj/mono-2.0p4/mono-2.0/mcs/class/corlib'
> Creating ../../build/deps/net_2_1_bootstrap_corlib.dll.makefrag ...
> gmake[7]: Leaving directory 
> `/home/users/build/obj/mono-2.0p4/mono-2.0/mcs/class/corlib'
> gmake[7]: Entering directory 
> `/home/users/build/obj/mono-2.0p4/mono-2.0/mcs/class/corlib'
> gmake all-local
> gmake[8]: Entering directory 
> `/home/users/build/obj/mono-2.0p4/mono-2.0/mcs/class/corlib'
> MONO_PATH="../../class/lib/net_2_0:$MONO_PATH" 
> /home/users/build/obj/mono-2.0p4/mono-2.0/runtime/mono-wrapper  
> ../../mcs/gmcs.exe /codepage:65001 -nowarn:169,612,618,649 -d:INSIDE_CORLIB 
> -nowarn:414 -optimize -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -debug /noconfig 
> -unsafe -nostdlib -resource:resources/collation.core.bin 
> -resource:resources/collation.tailoring.bin 
> -resource:resources/collation.cjkCHS.bin 
> -resource:resources/collation.cjkCHT.bin 
> -resource:resources/collation.cjkJA.bin 
> -resource:resources/collation.cjkKO.bin 
> -resource:resources/collation.cjkKOlv2.bin -target:library -out:mscorlib.dll  
> @corlib.dll.sources
> 
> 
> 
> # top -nCp 24525 
> load averages:  0.18,  0.14,  0.0908:30:31
> 94 processes:  92 idle, 2 on processor
> CPU0 states: 11.9% user,  0.0% nice,  5.3% system,  1.1% interrupt, 81.7% idle
> CPU1 states: 18.4% user,  0.0% nice,  5.5% system,  0.0% interrupt, 76.1% idle
> Memory: Real: 201M/338M act/tot  Free: 655M  Swap: 0K/2055M used/tot
> 
>   PID USERNAME PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
> 24525 root  140   17M  146M idle semwait   0:18  0.00% 
> /home/users/build/obj/mono-2.0p4/mono-2.0/mono/mini/mono --config 
> /home/users/build/obj/mono-2.0p4/mono-2.0/runtime/etc/mono/config 
> ../../mcs/gmcs.exe /codepage:65001 -nowarn:169,612,618,6
> 
> 
> 
> 
> # sysctl -n kern.version  
>   
>   
> OpenBSD 4.4-current (GENERIC.MP) #38: Fri Jan 16 14:54:04 MST 2009
> t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
> -- 
> best regards
> q#
> 

-- 
"Intelligence should guide our actions, but in harmony with the
  texture of the situation at hand"
-- Francisco Varela



Re: lang/mono is freezing durning build

2009-02-05 Thread Antoine Jacoutot
On Thu, 5 Feb 2009, Mikolaj Kucharski wrote:

> Hi,
> 
> Each time I'm building mono it's freezing. Can anyone confirm that? I've

Yes, we are aware of that.

-- 
Antoine



Re: NEW: perlbal

2009-02-05 Thread Toni Mueller

Hi Simon,

On Sun, 01.02.2009 at 18:08:37 +0100, Simon Bertrang  wrote:
> Attached is an updated version. Specifically i changed:

so much that I have to question my qualification for maintaining the
port.

What do you think?


Kind regards,
--Toni++



[UPDATE] mail/msmtp

2009-02-05 Thread Paul Irofti
Please test. This works for me on i386.


Index: Makefile
===
RCS file: /cvs/ports/mail/msmtp/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile27 Oct 2008 11:34:00 -  1.16
+++ Makefile5 Feb 2009 12:10:28 -
@@ -1,32 +1,31 @@
 # $OpenBSD: Makefile,v 1.16 2008/10/27 11:34:00 pirofti Exp $
 
-COMMENT=   SMTP plugin for MUAs
+COMMENT =  SMTP plugin for MUAs
 
-DISTNAME=  msmtp-1.4.16
-PKGNAME=   ${DISTNAME}p0
-CATEGORIES=mail
+DISTNAME = msmtp-1.4.17
+CATEGORIES =   mail
 
-HOMEPAGE=  http://msmtp.sourceforge.net/
+HOMEPAGE = http://msmtp.sourceforge.net/
 
-MAINTAINER=Paul Irofti 
+MAINTAINER =   Paul Irofti 
 
 # GPLv3
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=   c crypto ssl
-
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=msmtp/}
-EXTRACT_SUFX=  .tar.bz2
-
-LIB_DEPENDS=   idn::devel/libidn
-
-MODULES=   devel/gettext
-
-SEPARATE_BUILD=concurrent
-CONFIGURE_STYLE=   gnu
-CONFIGURE_ARGS=--with-libgsasl=no \
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM =   Yes
+PERMIT_DISTFILES_FTP = Yes
+WANTLIB =  c crypto ssl
+
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=msmtp/}
+EXTRACT_SUFX = .tar.bz2
+
+LIB_DEPENDS =  idn::devel/libidn
+
+MODULES =  devel/gettext
+
+SEPARATE_BUILD =   concurrent
+CONFIGURE_STYLE =  gnu
+CONFIGURE_ARGS =   --with-libgsasl=no \
--with-libidn=yes \
--with-ssl=openssl
 
Index: distinfo
===
RCS file: /cvs/ports/mail/msmtp/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo19 Oct 2008 20:35:01 -  1.13
+++ distinfo5 Feb 2009 12:10:28 -
@@ -1,5 +1,5 @@
-MD5 (msmtp-1.4.16.tar.bz2) = d6MzYB6d4D9pVTlJjmeMwg==
-RMD160 (msmtp-1.4.16.tar.bz2) = EUIEIjXkJFf4JE4C8Hjb1T81CIY=
-SHA1 (msmtp-1.4.16.tar.bz2) = eE7igc7gXkoxJinvqk6okruYpR8=
-SHA256 (msmtp-1.4.16.tar.bz2) = JI+yuB//k2J89RFx3oCspvmsSk+6Z9UztM7Znic6eEo=
-SIZE (msmtp-1.4.16.tar.bz2) = 727517
+MD5 (msmtp-1.4.17.tar.bz2) = sLdPEUSBK2Boj1kMYqDT3Q==
+RMD160 (msmtp-1.4.17.tar.bz2) = dJzyK8vekN0pjwyW7g+eQfk3Z7Y=
+SHA1 (msmtp-1.4.17.tar.bz2) = a3+h2cnu4km1cbP3cg69d5+U9N4=
+SHA256 (msmtp-1.4.17.tar.bz2) = +fJbHzm+la4RtDLjpfIidfqDNsfJyseCDv4boSRrluY=
+SIZE (msmtp-1.4.17.tar.bz2) = 766293



FIX: audio/libmusicbrainz

2009-02-05 Thread David Coppa
Hi,

This patch fixes nasty crash if a musicbrainz query returns null
For example, if musicbrainz.org cannot be resolved:

MusicBrainz: Connecting to http://musicbrainz.org:80
MusicBrainz: GET /ws/1/release/?type=xml&artist=Prince&title=Parade
MusicBrainz: Result: 2 (Could not resolve hostname `musicbrainz.org': 
non-recoverable failure in name resolution)
MusicBrainz: Status: 0
MusicBrainz: Response:


Program received signal SIGABRT, Aborted.
[Switching to process 5046, thread 0x8b79e400]
0x04e82f19 in kill () from /usr/lib/libc.so.50.1
(gdb) bt
#0  0x04e82f19 in kill () from /usr/lib/libc.so.50.1
#1  0x04ecf89f in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2  0x011204bc in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.47.0
#3  0x011204f0 in std::terminate () from /usr/lib/libstdc++.so.47.0
#4  0x01120639 in __cxa_throw () from /usr/lib/libstdc++.so.47.0
#5  0x04bf4b8a in MusicBrainz::WebService::get (this=0x7dea4480, 
enti...@0x8af92650, i...@0x8af92670, inclu...@0x8af925e0, 
filt...@0x8af925d0, versi...@0x8af925b0)
at 
/usr/ports/audio/libmusicbrainz/w-libmusicbrainz-3.0.1/libmusicbrainz-3.0.1/src/webservice.cpp:238
#6  0x04c05543 in MusicBrainz::Query::getFromWebService (this=0x8b7911f0, 
enti...@0x8af92650, i...@0x8af92670, include=0x0, 
filter=0x8b791ba0) at 
/usr/ports/audio/libmusicbrainz/w-libmusicbrainz-3.0.1/libmusicbrainz-3.0.1/src/query.cpp:166
#7  0x04c050d9 in MusicBrainz::Query::getReleases (this=0x8b7911f0, 
filter=0x8b791ba0)
at 
/usr/ports/audio/libmusicbrainz/w-libmusicbrainz-3.0.1/libmusicbrainz-3.0.1/src/query.cpp:143
#8  0x04bf95f6 in mb_query_get_releases (q=0x8b7911f0, flt=0x8b791ba0)
at 
/usr/ports/audio/libmusicbrainz/w-libmusicbrainz-3.0.1/libmusicbrainz-3.0.1/src/mb_c.cpp:289
#9  0x1c02b5a7 in get_cover_art_url (artist=0x85647620 "Prince", 
title=0x88652e80 "Kiss", album=0x85647580 "Parade")

Taken from upstream SVN... Please, commit.

TIA,
David


Index: Makefile
===
RCS file: /cvs/openbsd/ports/audio/libmusicbrainz/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile25 Mar 2008 09:19:23 -  1.1.1.1
+++ Makefile5 Feb 2009 11:48:03 -
@@ -3,6 +3,8 @@
 COMMENT=   library for audio metadata lookup
 
 DISTNAME=  libmusicbrainz-3.0.1
+PKGNAME=   ${DISTNAME}p0
+
 SHARED_LIBS=   musicbrainz30.0 # .6.1
 CATEGORIES=audio
 
Index: patches/patch-src_mb_c_cpp
===
RCS file: patches/patch-src_mb_c_cpp
diff -N patches/patch-src_mb_c_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_mb_c_cpp  5 Feb 2009 11:48:03 -
@@ -0,0 +1,163 @@
+$OpenBSD$
+--- src/mb_c.cpp.orig  Thu Feb  5 13:17:20 2009
 src/mb_c.cpp   Thu Feb  5 13:17:54 2009
+@@ -214,28 +214,48 @@ MbArtist
+ mb_query_get_artist_by_id(MbQuery q, const char *id, MbArtistIncludes inc)
+ {
+   Query *query = (Query *)q;
+-  return (MbArtist)query->getArtistById(id, (ArtistIncludes *)inc);
++  try {
++  return (MbArtist)query->getArtistById(id, (ArtistIncludes 
*)inc);
++  }
++  catch (...) {
++  return NULL;
++  }
+ }
+ 
+ MbRelease
+ mb_query_get_release_by_id(MbQuery q, const char *id, MbReleaseIncludes inc)
+ {
+   Query *query = (Query *)q;
+-  return (MbRelease)query->getReleaseById(id, (ReleaseIncludes *)inc);
++  try {
++  return (MbRelease)query->getReleaseById(id, (ReleaseIncludes 
*)inc);
++  }
++  catch (...) {
++  return NULL;
++  }
+ }
+ 
+ MbTrack
+ mb_query_get_track_by_id(MbQuery q, const char *id, MbTrackIncludes inc)
+ {
+   Query *query = (Query *)q;
+-  return (MbTrack)query->getTrackById(id, (TrackIncludes *)inc);
++  try {
++  return (MbTrack)query->getTrackById(id, (TrackIncludes *)inc);
++  }
++  catch (...) {
++  return NULL;
++  }
+ }
+ 
+ MbUser
+ mb_query_get_user_by_name(MbQuery q, const char *name)
+ {
+   Query *query = (Query *)q;
+-  return (MbUser)query->getUserByName(name);
++  try {
++  return (MbUser)query->getUserByName(name);
++  }
++  catch (...) {
++  return NULL;
++  }
+ }
+ 
+ void
+@@ -247,55 +267,95 @@ mb_result_list_free(MbResultList list)
+ int
+ mb_result_list_get_size(MbResultList list)
+ {
+-return ((ResultList *)list)->size();
++  try {
++  return ((ResultList *)list)->size();
++  }
++  catch (...) {
++  return 0;
++  }
+ }
+ 
+ int
+ mb_result_list_get_score(MbResultList list, int index)
+ {
+-return (*((ResultList *)list))[index]->getScore();
++  try {
++  return (*((ResultList *)list))[index]->getScore();
++  }
++  catch (...) {
++  return 0;
++  }
+ }
+ 
+ MbArtist
+ mb_result_list_get_artist(MbResultList list, in

Re: dovecot managesieve support

2009-02-05 Thread Michael Lechtermann
Hi,

> I could take a look at possibly including this in some form after my
> 1.1.11 update goes in.

Updated it to 1.1.11:
http://openbsd.lechtermann.net/pub/ports/port-dovecot-managesieve.tgz

Works fine on sparc64.


Michael



Re: UPDATE: duplicity and py-boto

2009-02-05 Thread Bruno Bigras
Jim Razmus a écrit :
> Emailed maintainer but haven't heard back yet.  Trying to get this in
> for 4.6.
> 

Sorry for the delay, I'm going to test today or tomorrow.

Also, note that 0.5.08 was released 3 days ago.
http://duplicity.nongnu.org/


Bruno



can not build dovecot with an altered --sysconfdir configure parameter

2009-02-05 Thread LÉVAI Dániel
Hi!

Why can't I specify --sysconfdir=/etc/dovecot in dovecot's Makefile with 
the CONFIGURE_ARGS+= parameter?
The build appends another --sysconfdir parameter to ./configure, which 
has a /etc value, and the latter gets recognized.

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



md5?

2009-02-05 Thread Marc Balmer

shouldn't we abandon md5 in favor of e.g. sha256?



Re: md5?

2009-02-05 Thread Brad
On Thursday 05 February 2009 17:18:43 Marc Balmer wrote:
> shouldn't we abandon md5 in favor of e.g. sha256?

SHA256 has been the default for 2 years now.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



out for adoption: devel/cvs2svn

2009-02-05 Thread Stuart Henderson
I ported this to get some information from a CVS repo into something
Trac could use, then forgot about it for ages and wasn't really
interested enough to dig into the two regression test failures.
Would anyone like to pick it up?

$ pkg_info cvs2svn
Information for inst:cvs2svn-2.2.0

Comment:
migrate repositories from CVS to Subversion/GIT

Description:
cvs2svn is a tool to migrate as much information as possible from
an existing CVS repository on a local filesystem to a new Subversion
or GIT repository.

It is able to infer information about changesets by looking at
which files were committed together and attempts to reconstruct as
much of your CVS repository's history as possible.

Intermediate data is stored to on-disk databases so that cvs2svn
can convert very large CVS repositories using a reasonable amount
of RAM. Conversions are organized as multiple passes and can be
restarted at an arbitrary pass in the case of problems.

Maintainer: The OpenBSD ports mailing-list 

WWW: http://cvs2svn.tigris.org/



cvs2svn.tgz
Description: application/tar-gz


[PATCH] x11/gtk2-clearlooks-engine: sub-package for themes

2009-02-05 Thread Stefan Sperling
Hi,

it's currently not possible to use the extra themes (gtkrc files)
provided in gtk2-clearlooks-engine with GNOME, because
gtk2-clearlooks-engine conflicts with gtk-engines2, a dependency
of GNOME. You cannot install both, and gtk-engines2 only provides
the default gtkrc file for Clearlooks.

The patch below splits the extra gtkrc files out into a separate
-themes subpackage that has no overlapping files with gtk-engines2.

With only this subpackage installed, extra Clearlooks themes are also
available in GNOME (go to Preferences -> Appearance -> Theme,
pick Clearlooks, click on Customize, and in the Controls tab
you can pick the different styles).

What do you think?

Thanks,
Stefan


Index: Makefile
===
RCS file: /cvs/ports/x11/gtk2-clearlooks-engine/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile15 Sep 2007 20:04:20 -  1.13
+++ Makefile6 Feb 2009 01:06:54 -
@@ -1,10 +1,12 @@
 # $OpenBSD: Makefile,v 1.13 2007/09/15 20:04:20 merdely Exp $
 
-COMMENT=   GTK+ 2.x engine based on Bluecurve
+COMMENT-main=  GTK+ 2.x engine based on Bluecurve
+COMMENT-themes=Themes for the Clearlooks GTK+ engine 
 
 VERSION=   0.6.2
 DISTNAME=  clearlooks-${VERSION}
-PKGNAME=   gtk2-clearlooks-engine-${VERSION}p6
+PKGNAME-main=  gtk2-clearlooks-engine-${VERSION}p7
+PKGNAME-themes=gtk2-clearlooks-themes-${VERSION}
 CATEGORIES=x11
 
 HOMEPAGE=  http://clearlooks.sourceforge.net/
@@ -20,13 +22,14 @@ PERMIT_DISTFILES_FTP=   Yes
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clearlooks/}
 EXTRACT_SUFX=  .tar.bz2
 
-WANTLIB=   ICE SM Xext Xrender freetype m X11 fontconfig z png \
+WANTLIB-main=  ICE SM Xext Xrender freetype m X11 fontconfig z png \
atk-1.0 gmodule-2.0 gobject-2.0 glib-2.0 \
pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo glitz
 
-MODULES=   devel/gettext
-LIB_DEPENDS=   
gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
+MODULES-main=  devel/gettext
+LIB_DEPENDS-main=  
gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
 
+MULTI_PACKAGES=-main -themes
 SHARED_ONLY=   Yes
 USE_LIBTOOL=   Yes
 USE_X11=   Yes
Index: pkg/DESCR
===
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- pkg/DESCR   29 Oct 2005 11:26:25 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,3 +0,0 @@
-Clearlooks is a GTK+ 2.x engine written in C that transforms your
-GNOME/XFCE desktop into a modern looking environment. It is fast and
-easy on the eyes.
Index: pkg/DESCR-main
===
RCS file: pkg/DESCR-main
diff -N pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-main  6 Feb 2009 01:06:54 -
@@ -0,0 +1,3 @@
+Clearlooks is a GTK+ 2.x engine written in C that transforms your
+GNOME/XFCE desktop into a modern looking environment. It is fast and
+easy on the eyes.
Index: pkg/DESCR-themes
===
RCS file: pkg/DESCR-themes
diff -N pkg/DESCR-themes
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-themes6 Feb 2009 01:06:54 -
@@ -0,0 +1,3 @@
+Extra themes for the Clearlooks GTK+ 2.x engine.
+This package does not conflict with gtk-engines2, so additional
+Clearlooks themes can be used in GNOME, too.
Index: pkg/PLIST
===
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- pkg/PLIST   7 May 2007 08:45:22 -   1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,56 +0,0 @@
-...@comment $OpenBSD: PLIST,v 1.4 2007/05/07 08:45:22 bernd Exp $
-...@conflict gtk-engines2-*
-...@conflict gnome-themes-*
-lib/gtk-2.0/2.10.0/engines/libclearlooks.a
-lib/gtk-2.0/2.10.0/engines/libclearlooks.la
-lib/gtk-2.0/2.10.0/engines/libclearlooks.so
-share/icons/Clearlooks/
-share/icons/Clearlooks/16x16/
-share/icons/Clearlooks/16x16/gtk/
-share/icons/Clearlooks/16x16/gtk/gtk-apply.png
-share/icons/Clearlooks/16x16/gtk/gtk-cancel.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-back-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-down.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-forward-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-forward-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-up.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-bottom.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-first-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-first-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-last-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-last-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-top.png
-share/icons/Clearlooks/16x16/gtk/gtk-refresh.png
-share/icons/Clearlooks/24x24/
-share/icons/Clearlooks/24x24/gtk/
-share/icons/Clearlooks/24x24/gtk/gtk-apply.png
-sha

Re: [PATCH] x11/gtk2-clearlooks-engine: sub-package for themes

2009-02-05 Thread Stefan Sperling
On Fri, Feb 06, 2009 at 01:19:12AM +, Stefan Sperling wrote:
> Hi,
> 
> it's currently not possible to use the extra themes (gtkrc files)
> provided in gtk2-clearlooks-engine with GNOME, because
> gtk2-clearlooks-engine conflicts with gtk-engines2, a dependency
> of GNOME. You cannot install both, and gtk-engines2 only provides
> the default gtkrc file for Clearlooks.
> 
> The patch below splits the extra gtkrc files out into a separate
> -themes subpackage that has no overlapping files with gtk-engines2.
> 
> With only this subpackage installed, extra Clearlooks themes are also
> available in GNOME (go to Preferences -> Appearance -> Theme,
> pick Clearlooks, click on Customize, and in the Controls tab
> you can pick the different styles).
> 
> What do you think?

Oh, and while here, fix WANTLIB. New diff below.

Stefan


Index: Makefile
===
RCS file: /cvs/ports/x11/gtk2-clearlooks-engine/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile15 Sep 2007 20:04:20 -  1.13
+++ Makefile6 Feb 2009 01:23:24 -
@@ -1,10 +1,12 @@
 # $OpenBSD: Makefile,v 1.13 2007/09/15 20:04:20 merdely Exp $
 
-COMMENT=   GTK+ 2.x engine based on Bluecurve
+COMMENT-main=  GTK+ 2.x engine based on Bluecurve
+COMMENT-themes=Themes for the Clearlooks GTK+ engine 
 
 VERSION=   0.6.2
 DISTNAME=  clearlooks-${VERSION}
-PKGNAME=   gtk2-clearlooks-engine-${VERSION}p6
+PKGNAME-main=  gtk2-clearlooks-engine-${VERSION}p6
+PKGNAME-themes=gtk2-clearlooks-themes-${VERSION}p6
 CATEGORIES=x11
 
 HOMEPAGE=  http://clearlooks.sourceforge.net/
@@ -20,13 +22,16 @@ PERMIT_DISTFILES_FTP=   Yes
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clearlooks/}
 EXTRACT_SUFX=  .tar.bz2
 
-WANTLIB=   ICE SM Xext Xrender freetype m X11 fontconfig z png \
-   atk-1.0 gmodule-2.0 gobject-2.0 glib-2.0 \
-   pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo glitz
+WANTLIB-main=  Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
+   Xi Xinerama Xrandr Xrender expat freetype fontconfig gio-2.0 \
+   iconv intl m X11 z pcre pixman-1 png atk-1.0 gmodule-2.0 \
+   gobject-2.0 glib-2.0  pango-1.0 pangoft2-1.0 pangocairo-1.0 \
+   cairo glitz
 
-MODULES=   devel/gettext
-LIB_DEPENDS=   
gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
+MODULES-main=  devel/gettext
+LIB_DEPENDS-main=  
gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
 
+MULTI_PACKAGES=-main -themes
 SHARED_ONLY=   Yes
 USE_LIBTOOL=   Yes
 USE_X11=   Yes
Index: pkg/DESCR
===
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- pkg/DESCR   29 Oct 2005 11:26:25 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,3 +0,0 @@
-Clearlooks is a GTK+ 2.x engine written in C that transforms your
-GNOME/XFCE desktop into a modern looking environment. It is fast and
-easy on the eyes.
Index: pkg/DESCR-main
===
RCS file: pkg/DESCR-main
diff -N pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-main  6 Feb 2009 01:23:24 -
@@ -0,0 +1,3 @@
+Clearlooks is a GTK+ 2.x engine written in C that transforms your
+GNOME/XFCE desktop into a modern looking environment. It is fast and
+easy on the eyes.
Index: pkg/DESCR-themes
===
RCS file: pkg/DESCR-themes
diff -N pkg/DESCR-themes
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-themes6 Feb 2009 01:23:24 -
@@ -0,0 +1,3 @@
+Extra themes for the Clearlooks GTK+ 2.x engine.
+This package does not conflict with gtk-engines2, so additional
+Clearlooks themes can be used in GNOME, too.
Index: pkg/PLIST
===
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- pkg/PLIST   7 May 2007 08:45:22 -   1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,56 +0,0 @@
-...@comment $OpenBSD: PLIST,v 1.4 2007/05/07 08:45:22 bernd Exp $
-...@conflict gtk-engines2-*
-...@conflict gnome-themes-*
-lib/gtk-2.0/2.10.0/engines/libclearlooks.a
-lib/gtk-2.0/2.10.0/engines/libclearlooks.la
-lib/gtk-2.0/2.10.0/engines/libclearlooks.so
-share/icons/Clearlooks/
-share/icons/Clearlooks/16x16/
-share/icons/Clearlooks/16x16/gtk/
-share/icons/Clearlooks/16x16/gtk/gtk-apply.png
-share/icons/Clearlooks/16x16/gtk/gtk-cancel.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-back-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-down.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-forward-ltr.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-forward-rtl.png
-share/icons/Clearlooks/16x16/gtk/gtk-go-up.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-bottom.png
-share/icons/Clearlooks/16x16/gtk/gtk-goto-fi

Re: [PATCH] x11/gtk2-clearlooks-engine: sub-package for themes

2009-02-05 Thread Mikolaj Kucharski
I didn't build that, but I would add pkgpath marker in PLIST-main, for
the previous single-package port version. See below for the line.


On Fri, Feb 06, 2009 at 01:24:15AM +, Stefan Sperling wrote:
> On Fri, Feb 06, 2009 at 01:19:12AM +, Stefan Sperling wrote:
> > Hi,
> > 
> > it's currently not possible to use the extra themes (gtkrc files)
> > provided in gtk2-clearlooks-engine with GNOME, because
> > gtk2-clearlooks-engine conflicts with gtk-engines2, a dependency
> > of GNOME. You cannot install both, and gtk-engines2 only provides
> > the default gtkrc file for Clearlooks.
> > 
> > The patch below splits the extra gtkrc files out into a separate
> > -themes subpackage that has no overlapping files with gtk-engines2.
> > 
> > With only this subpackage installed, extra Clearlooks themes are also
> > available in GNOME (go to Preferences -> Appearance -> Theme,
> > pick Clearlooks, click on Customize, and in the Controls tab
> > you can pick the different styles).
> > 
> > What do you think?
> 
> Oh, and while here, fix WANTLIB. New diff below.
> 
> Stefan
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/gtk2-clearlooks-engine/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  15 Sep 2007 20:04:20 -  1.13
> +++ Makefile  6 Feb 2009 01:23:24 -
> @@ -1,10 +1,12 @@
>  # $OpenBSD: Makefile,v 1.13 2007/09/15 20:04:20 merdely Exp $
>  
> -COMMENT= GTK+ 2.x engine based on Bluecurve
> +COMMENT-main=GTK+ 2.x engine based on Bluecurve
> +COMMENT-themes=  Themes for the Clearlooks GTK+ engine 
>  
>  VERSION= 0.6.2
>  DISTNAME=clearlooks-${VERSION}
> -PKGNAME= gtk2-clearlooks-engine-${VERSION}p6
> +PKGNAME-main=gtk2-clearlooks-engine-${VERSION}p6
> +PKGNAME-themes=  gtk2-clearlooks-themes-${VERSION}p6
>  CATEGORIES=  x11
>  
>  HOMEPAGE=http://clearlooks.sourceforge.net/
> @@ -20,13 +22,16 @@ PERMIT_DISTFILES_FTP= Yes
>  MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=clearlooks/}
>  EXTRACT_SUFX=.tar.bz2
>  
> -WANTLIB= ICE SM Xext Xrender freetype m X11 fontconfig z png \
> - atk-1.0 gmodule-2.0 gobject-2.0 glib-2.0 \
> - pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo glitz
> +WANTLIB-main=Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
> + Xi Xinerama Xrandr Xrender expat freetype fontconfig gio-2.0 \
> + iconv intl m X11 z pcre pixman-1 png atk-1.0 gmodule-2.0 \
> + gobject-2.0 glib-2.0  pango-1.0 pangoft2-1.0 pangocairo-1.0 \
> + cairo glitz
>  
> -MODULES= devel/gettext
> -LIB_DEPENDS= 
> gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
> +MODULES-main=devel/gettext
> +LIB_DEPENDS-main=
> gdk-x11-2.0.>=600.10,gdk_pixbuf-2.0.>=600.10,gtk-x11-2.0.>=600.10::x11/gtk+2
>  
> +MULTI_PACKAGES=  -main -themes
>  SHARED_ONLY= Yes
>  USE_LIBTOOL= Yes
>  USE_X11= Yes
> Index: pkg/DESCR
> ===
> RCS file: pkg/DESCR
> diff -N pkg/DESCR
> --- pkg/DESCR 29 Oct 2005 11:26:25 -  1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,3 +0,0 @@
> -Clearlooks is a GTK+ 2.x engine written in C that transforms your
> -GNOME/XFCE desktop into a modern looking environment. It is fast and
> -easy on the eyes.
> Index: pkg/DESCR-main
> ===
> RCS file: pkg/DESCR-main
> diff -N pkg/DESCR-main
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ pkg/DESCR-main6 Feb 2009 01:23:24 -
> @@ -0,0 +1,3 @@
> +Clearlooks is a GTK+ 2.x engine written in C that transforms your
> +GNOME/XFCE desktop into a modern looking environment. It is fast and
> +easy on the eyes.
> Index: pkg/DESCR-themes
> ===
> RCS file: pkg/DESCR-themes
> diff -N pkg/DESCR-themes
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ pkg/DESCR-themes  6 Feb 2009 01:23:24 -
> @@ -0,0 +1,3 @@
> +Extra themes for the Clearlooks GTK+ 2.x engine.
> +This package does not conflict with gtk-engines2, so additional
> +Clearlooks themes can be used in GNOME, too.
> Index: pkg/PLIST
> ===
> RCS file: pkg/PLIST
> diff -N pkg/PLIST
> --- pkg/PLIST 7 May 2007 08:45:22 -   1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,56 +0,0 @@
> -...@comment $OpenBSD: PLIST,v 1.4 2007/05/07 08:45:22 bernd Exp $
> -...@conflict gtk-engines2-*
> -...@conflict gnome-themes-*
> -lib/gtk-2.0/2.10.0/engines/libclearlooks.a
> -lib/gtk-2.0/2.10.0/engines/libclearlooks.la
> -lib/gtk-2.0/2.10.0/engines/libclearlooks.so
> -share/icons/Clearlooks/
> -share/icons/Clearlooks/16x16/
> -share/icons/Clearlooks/16x16/gtk/
> -share/icons/Clearlooks/16x16/gtk/gtk-apply.png
> -share/icons/Clearlooks/16x16/gtk/gtk-cancel.png
> -share/

mpd + aucat

2009-02-05 Thread Aaron Stellman
mpd port creates "_mpd" user and example config suggest to use it.
Recent changes to aucat introduce some problems for mpd and possibly for
other audio ports that run as a separate user. mpd process
tries to connect to /tmp/aucat-560/default and fails. 560 being uid for
_mpd.
Ideally, this needs to be documented and fixed.
thanks



Re: [PATCH] x11/gtk2-clearlooks-engine: sub-package for themes

2009-02-05 Thread Antoine Jacoutot
On Fri, 6 Feb 2009, Stefan Sperling wrote:

> On Fri, Feb 06, 2009 at 01:19:12AM +, Stefan Sperling wrote:
> > Hi,
> > 
> > it's currently not possible to use the extra themes (gtkrc files)
> > provided in gtk2-clearlooks-engine with GNOME, because
> > gtk2-clearlooks-engine conflicts with gtk-engines2, a dependency
> > of GNOME. You cannot install both, and gtk-engines2 only provides
> > the default gtkrc file for Clearlooks.
> > 
> > The patch below splits the extra gtkrc files out into a separate
> > -themes subpackage that has no overlapping files with gtk-engines2.
> > 
> > With only this subpackage installed, extra Clearlooks themes are also
> > available in GNOME (go to Preferences -> Appearance -> Theme,
> > pick Clearlooks, click on Customize, and in the Controls tab
> > you can pick the different styles).
> > 
> > What do you think?
> 
> Oh, and while here, fix WANTLIB. New diff below.

There are some missing bits in your diff, such as @pkgpath markers.
Anyway, I'll look into it and wait for maintainer's answer.

-- 
Antoine