FIX: x11/vlc: make VLC play nicely with JACK

2008-05-07 Thread Alexey Suslikov
Hello.

Our current version of VLC use same static client name when
connecting to JACK effectively preventing multiple instances
to output audio:

...
/* Connect to the JACK server */
p_sys->p_jack_client = jack_client_new( "vlc" );
...

The diff below allows one to run a number of VLCs. This is a
backport from VLC git repository. See

http://git.videolan.org/?p=vlc.git;a=commitdiff;h=31439d7a63b9405d551c527fda2ba330ee31c5bd;hp=9397093e7f39aef9537ca56ce34aab20cba01b02

- Alexey.

--- Makefile.orig   Thu May  8 02:55:43 2008
+++ MakefileThu May  8 02:57:28 2008
@@ -213,7 +213,7 @@
 .if !${FLAVOR:L:Mno_jack}
 MULTI_PACKAGES+=-jack
 COMMENT-jack=  jackd audio output module for vlc
-FULLPKGNAME-jack=vlc-jack-${V}
+FULLPKGNAME-jack=vlc-jack-${V}p0
 CONFIGURE_ARGS+=--enable-jack
 LIB_DEPENDS-jack=jack::audio/jack
 # any FLAVOR of vlc will do
--- /dev/null   Thu May  8 03:39:30 2008
+++ patches/patch-modules_audio_output_jack_c   Thu May  8 02:57:50 2008
@@ -0,0 +1,22 @@
+$OpenBSD$
+--- modules/audio_output/jack.c.orig
 modules/audio_output/jack.c
+@@ -73,6 +73,7 @@
+  
*/
+ static int Open( vlc_object_t *p_this )
+ {
++char psz_name[32];
+ aout_instance_t *p_aout = (aout_instance_t *)p_this;
+ unsigned int i, i_in_ports;
+ const char **pp_in_ports;
+@@ -88,7 +89,9 @@
+ p_aout->output.p_sys = p_sys;
+
+ /* Connect to the JACK server */
+-p_sys->p_jack_client = jack_client_new( "vlc" );
++snprintf( psz_name, sizeof(psz_name), "vlc_%d", getpid());
++psz_name[sizeof(psz_name) - 1] = '\0';
++p_sys->p_jack_client = jack_client_new( psz_name );
+ if( p_sys->p_jack_client == NULL )
+ {
+ msg_Err( p_aout, "failed to connect to JACK server" );


x11_vlc_jack.diff
Description: Binary data


Re: MAINTAINER UPDATE: nginx-0.5.35 -> nginx 0.6.30

2008-05-07 Thread Mike Erdely
On Wed, May 07, 2008 at 12:36:36PM -0700, Darrin Chandler wrote:
> On Wed, May 07, 2008 at 12:13:45PM -0700, Darrin Chandler wrote:
> > Nginx has recently made 0.6.x the -stable branch, and 0.5.x will no
> > longer be updated. Too many new features, fixes, and changes to include
> > here. I have tested basic functionality (a couple of my own sites) on
> > sparc64 and amd64.
> > 
> > Anyone using nginx with more advanced features or on other platforms
> > please test the attached diff! Feedback and/or bitching welcome.
> 
> New diff attached without PKGNAME=${DISTNAME} (thanks, merdely!). Also
> did basic test on i386.

Very basic tests on macppc and alpha.
Looks good to me.  ok?

-ME



Re: MAINTAINER UPDATE: nginx-0.5.35 -> nginx 0.6.30

2008-05-07 Thread Darrin Chandler
On Wed, May 07, 2008 at 12:13:45PM -0700, Darrin Chandler wrote:
> Nginx has recently made 0.6.x the -stable branch, and 0.5.x will no
> longer be updated. Too many new features, fixes, and changes to include
> here. I have tested basic functionality (a couple of my own sites) on
> sparc64 and amd64.
> 
> Anyone using nginx with more advanced features or on other platforms
> please test the attached diff! Feedback and/or bitching welcome.

New diff attached without PKGNAME=${DISTNAME} (thanks, merdely!). Also
did basic test on i386.


-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
Index: Makefile
===
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile29 Mar 2008 13:50:39 -  1.6
+++ Makefile7 May 2008 19:33:06 -
@@ -2,8 +2,7 @@
 
 COMMENT=   robust and small HTTP server and mail proxy server
 
-DISTNAME=  nginx-0.5.35
-PKGNAME=   ${DISTNAME}p0
+DISTNAME=  nginx-0.6.30
 CATEGORIES=www
 
 HOMEPAGE=  http://nginx.net/
Index: distinfo
===
RCS file: /cvs/ports/www/nginx/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo17 Feb 2008 18:54:48 -  1.4
+++ distinfo7 May 2008 19:33:06 -
@@ -1,5 +1,5 @@
-MD5 (nginx-0.5.35.tar.gz) = EQDYovgRd3847/RP5lSNfg==
-RMD160 (nginx-0.5.35.tar.gz) = tveMWE7UMCEkKCdsael0ipYrwBM=
-SHA1 (nginx-0.5.35.tar.gz) = npfmcj7mBdsU2c3lQFNJZyn3PBg=
-SHA256 (nginx-0.5.35.tar.gz) = 78ZyOiAFzE1jldfpFcDakb6eKxM752HeA3hCuOhlXmg=
-SIZE (nginx-0.5.35.tar.gz) = 488926
+MD5 (nginx-0.6.30.tar.gz) = QV6bvHHirjbZEgr4ARLFwQ==
+RMD160 (nginx-0.6.30.tar.gz) = OQSjeFjC426g01riKcVaDGtlIPo=
+SHA1 (nginx-0.6.30.tar.gz) = rc5ReFbPh5PqAU+ZWyNFaI1sS/4=
+SHA256 (nginx-0.6.30.tar.gz) = NRwaEJaIQpnsJIpH83mjRtrKcwq547q10L16X4GhjVM=
+SIZE (nginx-0.6.30.tar.gz) = 520139
Index: patches/patch-conf_nginx_conf
===
RCS file: /cvs/ports/www/nginx/patches/patch-conf_nginx_conf,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-conf_nginx_conf
--- patches/patch-conf_nginx_conf   4 Sep 2007 21:58:26 -   1.1.1.1
+++ patches/patch-conf_nginx_conf   7 May 2008 19:33:06 -
@@ -1,15 +1,6 @@
 $OpenBSD: patch-conf_nginx_conf,v 1.1.1.1 2007/09/04 21:58:26 merdely Exp $
 conf/nginx.conf.orig   Thu Jan 18 00:08:18 2007
-+++ conf/nginx.confMon Sep  3 12:34:22 2007
-@@ -15,7 +15,7 @@ events {
- 
- 
- http {
--include   conf/mime.types;
-+include   mime.types;
- default_type  application/octet-stream;
- 
- #log_format  main  '$remote_addr - $remote_user [$time_local] $request '
+--- conf/nginx.conf.orig   Thu Feb 28 13:44:16 2008
 conf/nginx.confWed May  7 11:22:35 2008
 @@ -41,7 +41,7 @@ http {
  #access_log  logs/host.access.log  main;
  
@@ -28,7 +19,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.
  }
  
  # proxy the PHP scripts to Apache listening on 127.0.0.1:80
-@@ -86,7 +86,7 @@ http {
+@@ -87,7 +87,7 @@ http {
  #server_name  somename  alias  another.alias;
  
  #location / {
@@ -37,7 +28,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.
  #index  index.html index.htm;
  #}
  #}
-@@ -109,7 +109,7 @@ http {
+@@ -110,7 +110,7 @@ http {
  #ssl_prefer_server_ciphers   on;
  
  #location / {


MAINTAINER UPDATE: nginx-0.5.35 -> nginx 0.6.30

2008-05-07 Thread Darrin Chandler
Hi!

Nginx has recently made 0.6.x the -stable branch, and 0.5.x will no
longer be updated. Too many new features, fixes, and changes to include
here. I have tested basic functionality (a couple of my own sites) on
sparc64 and amd64.

Anyone using nginx with more advanced features or on other platforms
please test the attached diff! Feedback and/or bitching welcome.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
Index: Makefile
===
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile29 Mar 2008 13:50:39 -  1.6
+++ Makefile7 May 2008 18:55:34 -
@@ -2,8 +2,8 @@
 
 COMMENT=   robust and small HTTP server and mail proxy server
 
-DISTNAME=  nginx-0.5.35
-PKGNAME=   ${DISTNAME}p0
+DISTNAME=  nginx-0.6.30
+PKGNAME=   ${DISTNAME}
 CATEGORIES=www
 
 HOMEPAGE=  http://nginx.net/
Index: distinfo
===
RCS file: /cvs/ports/www/nginx/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo17 Feb 2008 18:54:48 -  1.4
+++ distinfo7 May 2008 18:55:34 -
@@ -1,5 +1,5 @@
-MD5 (nginx-0.5.35.tar.gz) = EQDYovgRd3847/RP5lSNfg==
-RMD160 (nginx-0.5.35.tar.gz) = tveMWE7UMCEkKCdsael0ipYrwBM=
-SHA1 (nginx-0.5.35.tar.gz) = npfmcj7mBdsU2c3lQFNJZyn3PBg=
-SHA256 (nginx-0.5.35.tar.gz) = 78ZyOiAFzE1jldfpFcDakb6eKxM752HeA3hCuOhlXmg=
-SIZE (nginx-0.5.35.tar.gz) = 488926
+MD5 (nginx-0.6.30.tar.gz) = QV6bvHHirjbZEgr4ARLFwQ==
+RMD160 (nginx-0.6.30.tar.gz) = OQSjeFjC426g01riKcVaDGtlIPo=
+SHA1 (nginx-0.6.30.tar.gz) = rc5ReFbPh5PqAU+ZWyNFaI1sS/4=
+SHA256 (nginx-0.6.30.tar.gz) = NRwaEJaIQpnsJIpH83mjRtrKcwq547q10L16X4GhjVM=
+SIZE (nginx-0.6.30.tar.gz) = 520139
Index: patches/patch-conf_nginx_conf
===
RCS file: /cvs/ports/www/nginx/patches/patch-conf_nginx_conf,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-conf_nginx_conf
--- patches/patch-conf_nginx_conf   4 Sep 2007 21:58:26 -   1.1.1.1
+++ patches/patch-conf_nginx_conf   7 May 2008 18:55:34 -
@@ -1,15 +1,6 @@
 $OpenBSD: patch-conf_nginx_conf,v 1.1.1.1 2007/09/04 21:58:26 merdely Exp $
 conf/nginx.conf.orig   Thu Jan 18 00:08:18 2007
-+++ conf/nginx.confMon Sep  3 12:34:22 2007
-@@ -15,7 +15,7 @@ events {
- 
- 
- http {
--include   conf/mime.types;
-+include   mime.types;
- default_type  application/octet-stream;
- 
- #log_format  main  '$remote_addr - $remote_user [$time_local] $request '
+--- conf/nginx.conf.orig   Thu Feb 28 13:44:16 2008
 conf/nginx.confWed May  7 11:22:35 2008
 @@ -41,7 +41,7 @@ http {
  #access_log  logs/host.access.log  main;
  
@@ -28,7 +19,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.
  }
  
  # proxy the PHP scripts to Apache listening on 127.0.0.1:80
-@@ -86,7 +86,7 @@ http {
+@@ -87,7 +87,7 @@ http {
  #server_name  somename  alias  another.alias;
  
  #location / {
@@ -37,7 +28,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.
  #index  index.html index.htm;
  #}
  #}
-@@ -109,7 +109,7 @@ http {
+@@ -110,7 +110,7 @@ http {
  #ssl_prefer_server_ciphers   on;
  
  #location / {


Sunbird?

2008-05-07 Thread Thilo Pfennig
Has anybody already started working on Sunbird (for Thunderbird)? As I 
heard OpenOffice.org is going to use it I thought it would be nice if we 
would have it.


Thilo



Re: New port: databases/sharedance

2008-05-07 Thread Frank Denis
  Hello,
  
  Well, sharedance is an alternative to memcached, so it might go to the
same category (right now "misc/").

  It might be used for non-web specific stuff, for instance I use it as a
shared cache for an antispam filter.

  Thanks for the port!
  
  Python, OO PHP, Perl and Ruby clients are also available if you ever feel
like porting them :)

  Best regards,
  
 -Frank.

Le Wed, May 07, 2008 at 12:17:07PM -0400, [EMAIL PROTECTED] ecrivait :
> http://sharedance.pureftpd.org/project/sharedance
> 
> sharedance-0.6 port:
> 
> http://openbsd.rutgers.edu/sharedance-0.6.tar
> 
> Is databases/ the right category for this?
> 
> Thanks in advance
> 

-- 
Frank Denis - j [at] pureftpd.org - NSI / Young Nails / CND nail tech
http://forum.manucure.info - http://www.manucure-pro.com - http://00f.net



Re: New port: databases/sharedance

2008-05-07 Thread Sam Fourman Jr.
here is a description that I found when using the provided link

Sharedance is a high-performance server that centralize ephemeral
key/data pairs on remote hosts, without the overhead and the
complexity of an SQL database.

It was mainly designed to share caches and sessions between a pool of
web servers. Access to a sharedance server is trivial through a simple
PHP API and it is compatible with the expectations of PHP 4 and PHP 5
session handlers.


Sam Fourman Jr.



Re: New port: databases/sharedance

2008-05-07 Thread Stuart Henderson
On 2008/05/07 12:22, Deanna Phillips wrote:
> [EMAIL PROTECTED] writes:
> 
> > http://sharedance.pureftpd.org/project/sharedance
> >
> > sharedance-0.6 port:
> >
> > http://openbsd.rutgers.edu/sharedance-0.6.tar
> >
> > Is databases/ the right category for this?
> 
> Who would know, since you don't even say what it is?

I would have thought it should go in ports/databases, with
CATEGORIES=databases www

   Sharedance is a high-performance server that centralize ephemeral
   key/data pairs on remote hosts, without the overhead and the
   complexity of an SQL database.

   It was mainly designed to share caches and sessions between a pool of
   web servers. Access to a sharedance server is trivial through a simple
   PHP API and it is compatible with the expectations of PHP 4 and PHP 5
   session handlers.



Re: New port: databases/sharedance

2008-05-07 Thread Deanna Phillips
[EMAIL PROTECTED] writes:

> http://sharedance.pureftpd.org/project/sharedance
>
> sharedance-0.6 port:
>
> http://openbsd.rutgers.edu/sharedance-0.6.tar
>
> Is databases/ the right category for this?

Who would know, since you don't even say what it is?






Re: UPDATE: www/gnash

2008-05-07 Thread Jacob Meuser
On Wed, May 07, 2008 at 12:04:06PM +0100, Edd Barrett wrote:
> On Wed, May 7, 2008 at 3:28 AM, Deanna Phillips <[EMAIL PROTECTED]> wrote:
> > "Brandon Mercer" <[EMAIL PROTECTED]> writes:
> >
> >  > Any chance this is going to make it into ports?
> 
> I notice that the volume bar and fullscreen does not work on youtube vids.
> 
> Maybe our fault maybe theirs.
> 

the volume should be handled in software, since sdl doesn't do
hardware volume control.  so I'd say it's gnash's problem.

> I hope adobe openscreen will make it to openbsd :\
> 
> 
> -- 
> 
> Best Regards
> 
> Edd
> 
> http://students.dec.bournemouth.ac.uk/ebarrett
> 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: UPDATE: www/gnash

2008-05-07 Thread Edd Barrett
On Wed, May 7, 2008 at 3:28 AM, Deanna Phillips <[EMAIL PROTECTED]> wrote:
> "Brandon Mercer" <[EMAIL PROTECTED]> writes:
>
>  > Any chance this is going to make it into ports?

I notice that the volume bar and fullscreen does not work on youtube vids.

Maybe our fault maybe theirs.

I hope adobe openscreen will make it to openbsd :\


-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett