Re: UPDATE: py-couchdb

2010-09-22 Thread Federico G. Schwindt
On Sun, Sep 19, 2010 at 11:09:49AM +0100, Federico G. Schwindt wrote:
> Hi,
> 
>   This update py-couchdb to 0.8.  Switched to MODPY_JSON.
>   I also realised that the port advertises as py-CouchDB so I've changed
> PKGNAME too.  This will require an entry in quirks that I will add when
> this is commited.
>   Comments? OKs?

  Unless there is any objections I will commit this today, along with
the diff below.

  f.-

Index: Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile16 Sep 2010 07:28:28 -  1.22
+++ Makefile22 Sep 2010 07:55:46 -
@@ -5,7 +5,7 @@
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-1.20
+PKGNAME =  quirks-1.21
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.26
diff -u -r1.26 Quirks.pm
--- files/Quirks.pm 16 Sep 2010 07:28:28 -  1.26
+++ files/Quirks.pm 22 Sep 2010 07:55:46 -
@@ -150,6 +150,7 @@
'sybperl' => 'p5-sybperl',
'Audio-MPD' => 'p5-Audio-MPD',
'p5-IDNA-Punycode' => 'p5-Net-IDN-Encode',
+   'py-CouchDB' => 'py-couchdb',
 };
 
 # ->is_base_system($handle, $state):

  



UPDATE: py-urwid

2010-09-22 Thread Federico G. Schwindt

  Update and enable regress. Somewhat tested with pymissile after hacking
the source as i dont have the usb launcher.
  Comments? OKs?

  f.-

Index: Makefile
===
RCS file: /cvs/ports/devel/py-urwid/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile30 Aug 2010 22:24:16 -  1.7
+++ Makefile22 Sep 2010 08:03:48 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.7 2010/08/30 22:24:16 jasper Exp $
 PKG_ARCH=  *
 
+MODPY_EGG_VERSION = 0.9.9.1
 COMMENT=   console user interface library for python
-DISTNAME=  urwid-0.9.7.1
+DISTNAME=  urwid-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME}
-REVISION = 3
 CATEGORIES=devel
 MASTER_SITES=  ${HOMEPAGE}
 
@@ -16,10 +16,14 @@
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 
-NO_REGRESS=Yes
+REGRESS_DEPENDS =  ::devel/py-gobject \
+   ::lang/python/${MODPY_VERSION},-tests
 
 MODULES=   lang/python
 MODPY_SETUPTOOLS=Yes
 MODPY_BADEGGS= urwid
+
+do-regress:
+   @cd ${WRKSRC} && ${MODPY_BIN} ./test_urwid.py
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-urwid/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo5 Apr 2007 15:38:06 -   1.2
+++ distinfo22 Sep 2010 08:03:48 -
@@ -1,5 +1,5 @@
-MD5 (urwid-0.9.7.1.tar.gz) = BI8vS2JHMcrPleAC4Ogtug==
-RMD160 (urwid-0.9.7.1.tar.gz) = uJ4sQjWmPPWql3F/Q8bwyJkTP48=
-SHA1 (urwid-0.9.7.1.tar.gz) = BlgEWGmEvL9iBzRLs3ciYiv1MNo=
-SHA256 (urwid-0.9.7.1.tar.gz) = extdb/AUNzd4TL9A3hJJNHowKPPz5RXltcQrCWOt/Es=
-SIZE (urwid-0.9.7.1.tar.gz) = 153706
+MD5 (urwid-0.9.9.1.tar.gz) = RyLN+Jj3EdyuESGqgJIBUg==
+RMD160 (urwid-0.9.9.1.tar.gz) = MJQ0cfbW7Y7D/3dzlNout0zZTqA=
+SHA1 (urwid-0.9.9.1.tar.gz) = dDDoSkPWA3F5RNTw1EidkMDVnBw=
+SHA256 (urwid-0.9.9.1.tar.gz) = gclUQPhKkIctW9jwG8UHzQ5eHOZ6h4piy0NaZi5D1aU=
+SIZE (urwid-0.9.9.1.tar.gz) = 238005
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-urwid/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST   12 Nov 2006 18:13:32 -  1.1.1.1
+++ pkg/PLIST   22 Sep 2010 08:03:48 -
@@ -1,11 +1,25 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/12 18:13:32 jolan Exp $
 lib/python${MODPY_VERSION}/site-packages/urwid/
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
+lib/python${MODPY_VERSION}/site-packages/urwid-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/urwid/__init__.py
 lib/python${MODPY_VERSION}/site-packages/urwid/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/canvas.py
 lib/python${MODPY_VERSION}/site-packages/urwid/canvas.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/command_map.py
+lib/python${MODPY_VERSION}/site-packages/urwid/command_map.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/container.py
+lib/python${MODPY_VERSION}/site-packages/urwid/container.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/curses_display.py
 lib/python${MODPY_VERSION}/site-packages/urwid/curses_display.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/decoration.py
+lib/python${MODPY_VERSION}/site-packages/urwid/decoration.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/display_common.py
+lib/python${MODPY_VERSION}/site-packages/urwid/display_common.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/escape.py
 lib/python${MODPY_VERSION}/site-packages/urwid/escape.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/font.py
@@ -16,13 +30,26 @@
 lib/python${MODPY_VERSION}/site-packages/urwid/html_fragment.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/listbox.py
 lib/python${MODPY_VERSION}/site-packages/urwid/listbox.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/main_loop.py
+lib/python${MODPY_VERSION}/site-packages/urwid/main_loop.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/monitored_list.py
+lib/python${MODPY_VERSION}/site-packages/urwid/monitored_list.pyc
+lib/python${MODPY_VERSION}/site-packages/urwid/old_str_util.py
+lib/python${MODPY_VERSION}/site-packages/urwid/old_str_util.pyc
 lib/python${MODPY_VERSION}/site-packages/urwid/raw_display.py
 lib/python${MODPY_VERSION}/site-packages/urwid/raw_display.pyc
-lib/python${MODPY_VERSION}/site-packages/urwid/utable.py
-lib/python${MODPY_VERSION}/site-packages/urwid/utable.pyc
+lib/python${MODPY_VERSION}/s

Re: [UPDATE] xchat-2.8.8

2010-09-22 Thread David Coppa
On Mon, Sep 20, 2010 at 11:43 AM, David Coppa  wrote:
> Hi,
>
> This is a diff for xchat-2.8.8.
>
> I don't feel particularly confident about libtool/libintl bits,

It's libiconv here, not libtool.
Sorry for the confusion...

Any news on this?

Ciao,
David
Index: Makefile
===
RCS file: /cvs/ports/net/xchat/Makefile,v
retrieving revision 1.77
diff -u -p -r1.77 Makefile
--- Makefile	12 Jul 2010 22:07:42 -	1.77
+++ Makefile	20 Sep 2010 09:35:23 -
@@ -3,9 +3,8 @@
 COMMENT=	GTK+2 IRC client
 
 MAJOR=		2.8
-VERSION=	${MAJOR}.6
+VERSION=	${MAJOR}.8
 DISTNAME=	xchat-${VERSION}
-REVISION=	6
 
 CATEGORIES=	net x11
 
@@ -21,10 +20,11 @@ PERMIT_DISTFILES_FTP=	Yes
 
 WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
 WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo crypto dbus-1
-WANTLIB += expat fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0
-WANTLIB += gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0
-WANTLIB += pangoft2-1.0 pcre perl pixman-1 png pthread pthread-stubs
-WANTLIB += ssl util xcb xcb-render xcb-render-util xml2 z
+WANTLIB += dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0
+WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB += pcre perl pixman-1 png pthread pthread-stubs sexy ssl util xcb
+WANTLIB += xcb-render xcb-render-util xml2 z
 
 MASTER_SITES=	${HOMEPAGE}files/source/${MAJOR}/ \
 		${MASTER_SITE_SOURCEFORGE:=xchat/}
@@ -33,9 +33,9 @@ MODULES=	devel/gettext \
 		devel/gconf2
 
 RUN_DEPENDS=	:desktop-file-utils-*:devel/desktop-file-utils
-LIB_DEPENDS=	gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
-		dbus-glib-1.>=4::x11/dbus-glib \
-		sexy::x11/libsexy
+LIB_DEPENDS=	::x11/gtk+2 \
+		::x11/dbus-glib \
+		::x11/libsexy
 
 USE_X11=	Yes
 USE_LIBTOOL=	Yes
@@ -45,6 +45,8 @@ MODGCONF2_LIBDEP= No
 
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=	${CONFIGURE_SHARED} \
+		--with-libiconv-prefix=${LOCALBASE} \
+		--with-libintl-prefix=${LOCALBASE} \
 		--enable-perl \
 		--enable-ipv6 \
 		--enable-dbus \
Index: distinfo
===
RCS file: /cvs/ports/net/xchat/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo	29 Oct 2008 11:31:29 -	1.14
+++ distinfo	20 Sep 2010 09:35:23 -
@@ -1,5 +1,5 @@
-MD5 (xchat-2.8.6.tar.bz2) = HyZwhl1DojqavFlt3pmayg==
-RMD160 (xchat-2.8.6.tar.bz2) = vBmeO1ip2z39nyr2usf7YWLFPW4=
-SHA1 (xchat-2.8.6.tar.bz2) = enRj5lyybGgO1w3ZbOyYvMBUNaQ=
-SHA256 (xchat-2.8.6.tar.bz2) = jInb82MEuZNjp/CQ1pVEdlMQK0UoyiqjZ6Kr5c/xdG0=
-SIZE (xchat-2.8.6.tar.bz2) = 1423645
+MD5 (xchat-2.8.8.tar.bz2) = Z3XETzjoTQbAbDNrMsSkUg==
+RMD160 (xchat-2.8.8.tar.bz2) = G8Pg/wDhXINYjdIaPvPo40+VMzE=
+SHA1 (xchat-2.8.8.tar.bz2) = pKwWHk5A9LurxJJnWh/0OA26jWg=
+SHA256 (xchat-2.8.8.tar.bz2) = DW1pQ3teHkXz5mJw/jaTRJQ96KEZDkmPr6UpYxWifbA=
+SIZE (xchat-2.8.8.tar.bz2) = 1509993
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/net/xchat/patches/patch-Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile_in
--- patches/patch-Makefile_in	29 Oct 2008 11:31:29 -	1.1
+++ patches/patch-Makefile_in	20 Sep 2010 09:35:23 -
@@ -1,11 +1,11 @@
 $OpenBSD: patch-Makefile_in,v 1.1 2008/10/29 11:31:29 ajacoutot Exp $
 Makefile.in.orig	Wed Oct 29 11:04:40 2008
-+++ Makefile.in	Wed Oct 29 11:04:52 2008
-@@ -310,7 +310,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config
+--- Makefile.in.orig	Mon Sep 20 10:23:38 2010
 Makefile.in	Mon Sep 20 10:23:44 2010
+@@ -365,7 +365,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config
  	esac;
  
  $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 -	$(SHELL) ./config.status --recheck
  
  $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- 	cd $(srcdir) && $(AUTOCONF)
+ 	$(am__cd) $(srcdir) && $(AUTOCONF)
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/xchat/patches/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- patches/patch-configure	29 Oct 2008 11:31:29 -	1.5
+++ patches/patch-configure	20 Sep 2010 09:35:23 -
@@ -1,26 +1,52 @@
 $OpenBSD: patch-configure,v 1.5 2008/10/29 11:31:29 ajacoutot Exp $
 configure.orig	Wed Jun 11 10:34:27 2008
-+++ configure	Wed Oct 29 11:01:55 2008
-@@ -22291,13 +22291,13 @@ fi
+--- configure.orig	Mon Sep 20 10:02:51 2010
 configure	Mon Sep 20 10:08:38 2010
+@@ -12694,13 +12694,13 @@ rm -f core conftest.err conftest.$ac_objext \
+ if test -n "$gl_have_pthread"; then
+   # The program links fine without libpthread. But it may actually
+   # need to link with libpthread in order to create multiple threads.
+-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread

Re: WIP: mediatomb-0.12.1

2010-09-22 Thread Edd Barrett
On Sun, Aug 22, 2010 at 09:51:28PM +0100, Federico G. Schwindt wrote:
> On Sun, Aug 22, 2010 at 10:04:07PM +0200, Markus Bergkvist wrote:
> > A work-in-progress port of mediatomb, I'm stuck and need some help:
> > 
> > * the configure script picks up spidermonkey headers (jsapi.h) but
> > the libjs/libsmjs link fails, shouldn't "checking for JS_NewObject
> > in -ljs" work?
> > 
> > * how do I get it to pick up ffmpeg support?
> 
>   I've had a port for this for some time (based on djm@ submission) but
> never managed to mail it for one reason or another.
>   IIRC, I didn't have these issues so attached if you want to review it
> or play with it.  btw, at the time I tested it with ps3.
> 
>   f.-

Right, so I committed this, but we want to know what is going on in the
threadpool.c diff.

Where did the magical numbers 0 and 31 come from?:
+minPriority = 0;
+maxPriority = 31;

In the manual for pthread_setschedparam(3) it suggests we should use
PTHREAD_MIN_PRIORITY/PTHREAD_MAX_PRIORITY, but these are not defined in
/usr/include (only privately in the pthread sources apparently).

In some private emails we have been questioning the extent to which OpenBSD does
not support thread priorities. What I can tell you is that if you pass in 0/0
instead of 0/31, the web interface no longer works.

I'm guessing someone knows why, hence the patch ;)

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: [UPDATE] xchat-2.8.8

2010-09-22 Thread Stuart Henderson
On 2010/09/22 10:08, David Coppa wrote:
> On Mon, Sep 20, 2010 at 11:43 AM, David Coppa  wrote:
> > Hi,
> >
> > This is a diff for xchat-2.8.8.
> >
> > I don't feel particularly confident about libtool/libintl bits,
> 
> It's libiconv here, not libtool.

Try building it with ports libtool:

LIBTOOL=${PORTSDIR}/infrastructure/bin/libtool

and see if it fails

> --LIBICONV!$LIBICONV$ac_delim
> -+LIBICONV!$LTLIBICONV$ac_delim
> --INTLLIBS!$INTLLIBS$ac_delim
> --LIBINTL!$LIBINTL$ac_delim
> -+INTLLIBS!$LTLIBINTL$ac_delim
> -+LIBINTL!$LTLIBINTL$ac_delim

these bits might well be intended to stop it trying to link statically.



gnome-mplayer-0.9.99.rc1

2010-09-22 Thread David Coppa
Hi, 
The following diff updates gnome-mplayer to version 0.9.99.rc1.
When the final 0.9.99 release will come out, a lot of patches 
will be removed... In the meantime, please test! 

Cheers, 
David

Index: Makefile
===
RCS file: /cvs/ports/x11/gnome-mplayer/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile30 Jul 2010 09:23:28 -  1.19
+++ Makefile22 Sep 2010 11:38:45 -
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile,v 1.19 2010/07/30 09:23:28 ajacoutot Exp $
 
 COMMENT =  GTK+/GNOME frontend for MPlayer
-DISTNAME = gnome-mplayer-0.9.9.2
-REVISION=  2
+DISTNAME = gnome-mplayer-0.9.99.rc1
+PKGNAME =  gnome-mplayer-0.9.99rc1
 CATEGORIES =   x11 multimedia
 
 MAINTAINER =   David Coppa 
@@ -34,7 +34,7 @@ LIB_DEPENDS = ::devel/libnotify \
::net/curl
 RUN_DEPENDS =  ::devel/desktop-file-utils \
:gnome-icon-theme-*:x11/gnome/icon-theme \
-   :mplayer->=20090708:x11/mplayer
+   :mplayer->=20090828:x11/mplayer
 
 USE_X11 =  Yes
 USE_LIBTOOL =  Yes
@@ -52,10 +52,9 @@ CONFIGURE_ARGS = --with-gio \
--with-libnotify \
--with-libgpod \
--with-libmusicbrainz3 \
+   --enable-panscan \
--without-alsa \
--without-flat-volume \
-   --without-gpm-new-method \
-   --without-gpm-old-method \
--disable-nautilus
 
 post-install:
Index: distinfo
===
RCS file: /cvs/ports/x11/gnome-mplayer/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo29 Mar 2010 12:16:07 -  1.4
+++ distinfo22 Sep 2010 11:38:45 -
@@ -1,5 +1,5 @@
-MD5 (gnome-mplayer-0.9.9.2.tar.gz) = eYEJE9JFdVtgwn034dHxeA==
-RMD160 (gnome-mplayer-0.9.9.2.tar.gz) = DnPhxhCfB7ln8wvXIl6sfpxsnOY=
-SHA1 (gnome-mplayer-0.9.9.2.tar.gz) = tGpua87I0hS3vSV+k5sL/1xn9mA=
-SHA256 (gnome-mplayer-0.9.9.2.tar.gz) = 
aVpUwA210KD1lusaEKWK0ypE6NbHWF18huDXXO8KSLQ=
-SIZE (gnome-mplayer-0.9.9.2.tar.gz) = 828006
+MD5 (gnome-mplayer-0.9.99.rc1.tar.gz) = O2OlQe/xjmV+8d/CuGiwSw==
+RMD160 (gnome-mplayer-0.9.99.rc1.tar.gz) = 1Q+G776Gc/CzDZnhVYOlW/esMLI=
+SHA1 (gnome-mplayer-0.9.99.rc1.tar.gz) = mzojNNsTz0M64KoRTqaG3FydlOc=
+SHA256 (gnome-mplayer-0.9.99.rc1.tar.gz) = 
YYr5+eVaROydhi/YnIe0cp6ga8LD1H0XajRDra5kywE=
+SIZE (gnome-mplayer-0.9.99.rc1.tar.gz) = 886427
Index: patches/patch-configure
===
RCS file: /cvs/ports/x11/gnome-mplayer/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure
--- patches/patch-configure 29 Mar 2010 12:16:07 -  1.2
+++ patches/patch-configure 22 Sep 2010 11:38:45 -
@@ -1,10 +1,11 @@
 $OpenBSD: patch-configure,v 1.2 2010/03/29 12:16:07 dcoppa Exp $
 
 don't check for libgpod 0.6.x: it's not in our ports tree
+disable gnome-power-manager support
 
 configure.orig Mon Feb 22 22:46:24 2010
-+++ configure  Tue Mar 23 14:55:56 2010
-@@ -653,8 +653,6 @@ GPOD_CFLAGS
+--- configure.orig Thu Aug 19 21:52:29 2010
 configure  Wed Sep 22 13:09:32 2010
+@@ -609,8 +609,6 @@ GPOD_CFLAGS
  GPOD07_LIBS
  GPOD07_CFLAGS
  GPOD_DEFINES
@@ -13,7 +14,7 @@ don't check for libgpod 0.6.x: it's not 
  NOTIFY_DEFINES
  NOTIFY_LIBS
  NOTIFY_CFLAGS
-@@ -855,8 +853,6 @@ ALSA_CFLAGS
+@@ -818,8 +816,6 @@ ALSA_CFLAGS
  ALSA_LIBS
  NOTIFY_CFLAGS
  NOTIFY_LIBS
@@ -22,7 +23,7 @@ don't check for libgpod 0.6.x: it's not 
  GPOD07_CFLAGS
  GPOD07_LIBS
  MUSICBRAINZ_CFLAGS
-@@ -1562,9 +1558,6 @@ Some influential environment variables:
+@@ -1519,9 +1515,6 @@ Some influential environment variables:
NOTIFY_CFLAGS
C compiler flags for NOTIFY, overriding pkg-config
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
@@ -32,22 +33,22 @@ don't check for libgpod 0.6.x: it's not 
GPOD07_CFLAGS
C compiler flags for GPOD07, overriding pkg-config
GPOD07_LIBS linker flags for GPOD07, overriding pkg-config
-@@ -9879,87 +9872,6 @@ fi
- if test "x$with_libgpod" != xno; then
+@@ -8338,84 +8331,6 @@ fi
+ if test "x$with_libgpod" != xno; then :
  
  pkg_failed=no
--{ $as_echo "$as_me:$LINENO: checking for GPOD06" >&5
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPOD06" >&5
 -$as_echo_n "checking for GPOD06... " >&6; }
 -
 -if test -n "$GPOD06_CFLAGS"; then
 -pkg_cv_GPOD06_CFLAGS="$GPOD06_CFLAGS"
 - elif test -n "$PKG_CONFIG"; then
 -if test -n "$PKG_CONFIG" && \
--{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors 
\"libgpod-1.0 <= 0.6.0\"") >&5
+-{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--pr

Re: gnome-mplayer-0.9.99.rc1

2010-09-22 Thread David Coppa
On Wed, 22 Sep 2010, David Coppa wrote:

> Hi, 
> The following diff updates gnome-mplayer to version 0.9.99.rc1.
> When the final 0.9.99 release will come out, a lot of patches 
> will be removed... In the meantime, please test! 

New diff, following my latest commit... 

Ciao, 
David

Index: Makefile
===
RCS file: /cvs/ports/x11/gnome-mplayer/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile22 Sep 2010 12:04:07 -  1.20
+++ Makefile22 Sep 2010 12:24:26 -
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile,v 1.20 2010/09/22 12:04:07 dcoppa Exp $
 
 COMMENT =  GTK+/GNOME frontend for MPlayer
-DISTNAME = gnome-mplayer-0.9.9.2
-REVISION=  3
+DISTNAME = gnome-mplayer-0.9.99.rc1
+PKGNAME =  gnome-mplayer-0.9.99rc1
 CATEGORIES =   x11 multimedia
 
 MAINTAINER =   David Coppa 
@@ -55,8 +55,6 @@ CONFIGURE_ARGS =  --with-gio \
--enable-panscan \
--without-alsa \
--without-flat-volume \
-   --without-gpm-new-method \
-   --without-gpm-old-method \
--disable-nautilus
 
 post-install:
Index: distinfo
===
RCS file: /cvs/ports/x11/gnome-mplayer/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo29 Mar 2010 12:16:07 -  1.4
+++ distinfo22 Sep 2010 12:24:26 -
@@ -1,5 +1,5 @@
-MD5 (gnome-mplayer-0.9.9.2.tar.gz) = eYEJE9JFdVtgwn034dHxeA==
-RMD160 (gnome-mplayer-0.9.9.2.tar.gz) = DnPhxhCfB7ln8wvXIl6sfpxsnOY=
-SHA1 (gnome-mplayer-0.9.9.2.tar.gz) = tGpua87I0hS3vSV+k5sL/1xn9mA=
-SHA256 (gnome-mplayer-0.9.9.2.tar.gz) = 
aVpUwA210KD1lusaEKWK0ypE6NbHWF18huDXXO8KSLQ=
-SIZE (gnome-mplayer-0.9.9.2.tar.gz) = 828006
+MD5 (gnome-mplayer-0.9.99.rc1.tar.gz) = O2OlQe/xjmV+8d/CuGiwSw==
+RMD160 (gnome-mplayer-0.9.99.rc1.tar.gz) = 1Q+G776Gc/CzDZnhVYOlW/esMLI=
+SHA1 (gnome-mplayer-0.9.99.rc1.tar.gz) = mzojNNsTz0M64KoRTqaG3FydlOc=
+SHA256 (gnome-mplayer-0.9.99.rc1.tar.gz) = 
YYr5+eVaROydhi/YnIe0cp6ga8LD1H0XajRDra5kywE=
+SIZE (gnome-mplayer-0.9.99.rc1.tar.gz) = 886427
Index: patches/patch-configure
===
RCS file: /cvs/ports/x11/gnome-mplayer/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure
--- patches/patch-configure 29 Mar 2010 12:16:07 -  1.2
+++ patches/patch-configure 22 Sep 2010 12:24:26 -
@@ -1,10 +1,11 @@
 $OpenBSD: patch-configure,v 1.2 2010/03/29 12:16:07 dcoppa Exp $
 
 don't check for libgpod 0.6.x: it's not in our ports tree
+disable gnome-power-manager support
 
 configure.orig Mon Feb 22 22:46:24 2010
-+++ configure  Tue Mar 23 14:55:56 2010
-@@ -653,8 +653,6 @@ GPOD_CFLAGS
+--- configure.orig Thu Aug 19 21:52:29 2010
 configure  Wed Sep 22 13:09:32 2010
+@@ -609,8 +609,6 @@ GPOD_CFLAGS
  GPOD07_LIBS
  GPOD07_CFLAGS
  GPOD_DEFINES
@@ -13,7 +14,7 @@ don't check for libgpod 0.6.x: it's not 
  NOTIFY_DEFINES
  NOTIFY_LIBS
  NOTIFY_CFLAGS
-@@ -855,8 +853,6 @@ ALSA_CFLAGS
+@@ -818,8 +816,6 @@ ALSA_CFLAGS
  ALSA_LIBS
  NOTIFY_CFLAGS
  NOTIFY_LIBS
@@ -22,7 +23,7 @@ don't check for libgpod 0.6.x: it's not 
  GPOD07_CFLAGS
  GPOD07_LIBS
  MUSICBRAINZ_CFLAGS
-@@ -1562,9 +1558,6 @@ Some influential environment variables:
+@@ -1519,9 +1515,6 @@ Some influential environment variables:
NOTIFY_CFLAGS
C compiler flags for NOTIFY, overriding pkg-config
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
@@ -32,22 +33,22 @@ don't check for libgpod 0.6.x: it's not 
GPOD07_CFLAGS
C compiler flags for GPOD07, overriding pkg-config
GPOD07_LIBS linker flags for GPOD07, overriding pkg-config
-@@ -9879,87 +9872,6 @@ fi
- if test "x$with_libgpod" != xno; then
+@@ -8338,84 +8331,6 @@ fi
+ if test "x$with_libgpod" != xno; then :
  
  pkg_failed=no
--{ $as_echo "$as_me:$LINENO: checking for GPOD06" >&5
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPOD06" >&5
 -$as_echo_n "checking for GPOD06... " >&6; }
 -
 -if test -n "$GPOD06_CFLAGS"; then
 -pkg_cv_GPOD06_CFLAGS="$GPOD06_CFLAGS"
 - elif test -n "$PKG_CONFIG"; then
 -if test -n "$PKG_CONFIG" && \
--{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors 
\"libgpod-1.0 <= 0.6.0\"") >&5
+-{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libgpod-1.0 <= 0.6.0\""; } >&5
 -  ($PKG_CONFIG --exists --print-errors "libgpod-1.0 <= 0.6.0") 2>&5
 -  ac_status=$?
--  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
--  (exit $ac_status); }; then
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
 -  pkg_cv_GPOD06_CFLAGS=`$PKG_CONFIG --cflags "libgpod-1.0 <= 0.6.0" 
2>/dev/null`
 -else
 -  pkg_failed=yes
@@ -59,11 

fix warnings in net/pktstat (missing includes), MAINTAINER timeout

2010-09-22 Thread Markus Lude
Hello,

when building net/pktstat I get these warnings:

if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"-O2 
-pipe -MT loop.o -MD -MP -MF ".deps/loop.Tpo" -c -o loop.o loop.c;  then mv -f 
".deps/loop.Tpo" ".deps/loop.Po"; else rm -f ".deps/loop.Tpo"; exit 1; fi
In file included from loop.c:19:
/usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
declaration, which is probably not what you want
/usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
parameter list

if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"-O2 
-pipe -MT sll.o -MD -MP -MF ".deps/sll.Tpo" -c -o sll.o sll.c;  then mv -f 
".deps/sll.Tpo" ".deps/sll.Po"; else rm -f ".deps/sll.Tpo"; exit 1; fi
In file included from sll.c:21:
/usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
declaration, which is probably not what you want
/usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
parameter list

The attached diff seems to fix this.

I sent this to rui@ (MAINTAINER) a few weeks ago, but didn't get any
response so far.

Regards,
Markus

Index: Makefile
===
RCS file: /cvs/ports/net/pktstat/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile12 Jul 2010 22:07:41 -  1.11
+++ Makefile7 Sep 2010 13:18:22 -
@@ -2,7 +2,7 @@
 
 COMMENT=   network traffic viewer
 DISTNAME=  pktstat-1.8.4
-REVISION=  0
+REVISION=  1
 CATEGORIES=net
 
 HOMEPAGE=  
http://www.adaptive-enterprises.com.au/~d/software/pktstat/
Index: patches/patch-loop_c
===
RCS file: patches/patch-loop_c
diff -N patches/patch-loop_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-loop_c7 Sep 2010 13:18:22 -
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- loop.c.origSat Nov 11 14:32:16 2006
 loop.c Tue Sep  7 15:10:47 2010
+@@ -15,6 +15,9 @@
+ #if HAVE_SYS_SOCKET_H
+ # include 
+ #endif
++#if HAVE_NETINET_IN_H
++# include 
++#endif
+ #if HAVE_ARPA_INET_H
+ # include 
+ #endif
Index: patches/patch-sll_c
===
RCS file: patches/patch-sll_c
diff -N patches/patch-sll_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-sll_c 7 Sep 2010 13:18:22 -
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- sll.c.orig Fri Nov 10 06:34:54 2006
 sll.c  Tue Sep  7 15:11:16 2010
+@@ -17,6 +17,9 @@
+ #if HAVE_SYS_SOCKET_H
+ # include 
+ #endif
++#if HAVE_NETINET_IN_H
++# include 
++#endif
+ #if HAVE_ARPA_INET_H
+ # include 
+ #endif


Re: fix warnings in net/pktstat (missing includes), MAINTAINER timeout

2010-09-22 Thread Landry Breuil
On Wed, Sep 22, 2010 at 04:24:25PM +0200, Markus Lude wrote:
> Hello,
> 
> when building net/pktstat I get these warnings:
> 
> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"-O2 
> -pipe -MT loop.o -MD -MP -MF ".deps/loop.Tpo" -c -o loop.o loop.c;  then mv 
> -f ".deps/loop.Tpo" ".deps/loop.Po"; else rm -f ".deps/loop.Tpo"; exit 1; fi
> In file included from loop.c:19:
> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
> parameter list
> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
> parameter list
> 
> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"-O2 
> -pipe -MT sll.o -MD -MP -MF ".deps/sll.Tpo" -c -o sll.o sll.c;  then mv -f 
> ".deps/sll.Tpo" ".deps/sll.Po"; else rm -f ".deps/sll.Tpo"; exit 1; fi
> In file included from sll.c:21:
> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
> parameter list
> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
> parameter list
> 
> The attached diff seems to fix this.
> 
> I sent this to rui@ (MAINTAINER) a few weeks ago, but didn't get any
> response so far.

ok from me for whoever wants to commit that.

Landry



Re: fix warnings in net/pktstat (missing includes), MAINTAINER timeout

2010-09-22 Thread David Coppa
On Wed, Sep 22, 2010 at 4:24 PM, Markus Lude  wrote:
> Hello,
>
> when building net/pktstat I get these warnings:
>
> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    -O2 
> -pipe -MT loop.o -MD -MP -MF ".deps/loop.Tpo" -c -o loop.o loop.c;  then mv 
> -f ".deps/loop.Tpo" ".deps/loop.Po"; else rm -f ".deps/loop.Tpo"; exit 1; fi
> In file included from loop.c:19:
> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
> parameter list
> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
> parameter list
>
> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    -O2 
> -pipe -MT sll.o -MD -MP -MF ".deps/sll.Tpo" -c -o sll.o sll.c;  then mv -f 
> ".deps/sll.Tpo" ".deps/sll.Po"; else rm -f ".deps/sll.Tpo"; exit 1; fi
> In file included from sll.c:21:
> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
> parameter list
> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
> parameter list
>
> The attached diff seems to fix this.

Yeah. Please, commit it.

ciao,
david



Re: fix warnings in net/pktstat (missing includes), MAINTAINER timeout

2010-09-22 Thread David Coppa
On Wed, Sep 22, 2010 at 4:49 PM, David Coppa  wrote:
> On Wed, Sep 22, 2010 at 4:24 PM, Markus Lude  wrote:
>> Hello,
>>
>> when building net/pktstat I get these warnings:
>>
>> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    
>> -O2 -pipe -MT loop.o -MD -MP -MF ".deps/loop.Tpo" -c -o loop.o loop.c;  then 
>> mv -f ".deps/loop.Tpo" ".deps/loop.Po"; else rm -f ".deps/loop.Tpo"; exit 1; 
>> fi
>> In file included from loop.c:19:
>> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
>> parameter list
>> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
>> declaration, which is probably not what you want
>> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
>> parameter list
>>
>> if cc -DHAVE_CONFIG_H -I. -I. -I.  -DPATH_PKTSTATRC=\"/etc/pktstatrc\"    
>> -O2 -pipe -MT sll.o -MD -MP -MF ".deps/sll.Tpo" -c -o sll.o sll.c;  then mv 
>> -f ".deps/sll.Tpo" ".deps/sll.Po"; else rm -f ".deps/sll.Tpo"; exit 1; fi
>> In file included from sll.c:21:
>> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside 
>> parameter list
>> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or 
>> declaration, which is probably not what you want
>> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside 
>> parameter list
>>
>> The attached diff seems to fix this.
>
> Yeah. Please, commit it.

Ops! I thought you were lum@ :)

Btw, it's committed now. Thank you again

Ciao,
David



Richiesta D'amicizia

2010-09-22 Thread Linda
Ciao sono Linda e avrei voglia di fare nuove conoscenze con 
chi è disposto a stringere amicizia,
se sei interessato mi farebbe molto piacere chattare un pò con te,
mio marito è sempre impegnato con le sue cose, che per lui è come
se non esistessi, che p...e!?!  menomale che da quando ho scoperto
la chat, mi diverto un mondo, contento lui?!!
Io mi sono iscritta su questa chat che è gratis e anche facile da usare 
perchè una volta iscritta basta mettere il nickname della persona che si 
vuole cercare e la citta, sia per la gente che si conosce che per fare nuove 
conoscenze, poi io per ste cose sono già negata per conto mio ha ha...
il mio nickname è Romina16/81, di solito mi trovi in chat dalle 14 alle 17 
perchè il mattino lavoro.
L'unica cosa che ti chiedo è di non rispondermi su questa email perche 
se mi scopre mio marito succede un casino grazie!
io per chattare entro da quì http://partners.sprintrade.com/z/69042/CD15967/
quì sotto ho messo una mia foto
ti aspetto,
Ciao e un bacio!!? 


[new] devel/cppcheck

2010-09-22 Thread Igor Zinovik
Hello.

DESCR:
Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and
many other analysis tools, we don't detect syntax errors. Cppcheck only
detects the types of bugs that the compilers normally fail to detect.
The goal is no false positives.

cppcheck has a GUI, but this version of port does not provides it.  It
needs qmake to build gui.  Right now i cannot test gui, so i made
version without gui.  Should I provide -gui flavor?

It also has a target in Makefile that is called `man', which is intended
to build cppcheck.1 man page, but it does not because `man' is name of
directory where cppcheck.1.xml (which is transformed into cppcheck.1
using xsltproc) is located, so make says only that: `man' is up to date
and does no build man page.  I build man page by calling
${PREFIX}/xsltproc in `post-build' target.  Maybe i should just patch
Makefile instead of doing this?

Works fine on i386.


cppcheck.tar.gz
Description: application/tar-gz


[UPDATE] security/nikto

2010-09-22 Thread Remi Pointel
Hello,

I sent this diff to Rui Reis (MAINTAINER) but I didn't get any response.

I seen a new version of nikto has been released.

This is the diff to update port.

Give me your comments if it is OK or not.

Cheers,

Remi.


nikto-2.1.3.diff
Description: Binary data


Re: [UPDATE] security/nikto

2010-09-22 Thread Landry Breuil
On Thu, Sep 23, 2010 at 07:42:36AM +0200, Remi Pointel wrote:
> Hello,
> 
> I sent this diff to Rui Reis (MAINTAINER) but I didn't get any response.
> 
> I seen a new version of nikto has been released.
> 
> This is the diff to update port.
> 
> Give me your comments if it is OK or not.

Reads good, ok from me for anyone who want to commit it.

Landry



ready for inclusion: newLISP package

2010-09-22 Thread Ted Walther

The newLISP port is current for version 10.2.14 of newLISP; I hope it can be
included now.

newLISP itself has been tested on 32 and 64 bit platforms, AIX, VAX, Solaris,
OS/2, Windows, also on OpenBSD in 32 bit and 64 bit flavors.

The port is here:

http://dpkg.reactor-core.org/port/newlisp-port-10.2.14.tgz

Ted