Re: OpenBSD LyX port update to 1.6 ?

2008-12-03 Thread Tim Howe
On Wed, 3 Dec 2008 18:30:35 -0500
Zvezdan Petkovic <[EMAIL PROTECTED]> wrote:

> On Dec 3, 2008, at 11:15 AM, Ljung, Peter wrote:
> > Hi,
> > I noticed that LyX has updated to version 1.6. recently.
> > I'm just wondering if you are planning for an update on the OpenBSD  
> > port to version 1.6.
> > I am using current which works great! Thanks for that.
> > LyX is such a great editor competing with much larger office suites.
> >
> > I am no experienced UNIX developer so I havn't (so far) rushed to  
> > try to do the update myself.
> > Are there any large changes that you believe will be problematic in  
> > the update to 1.6?
> >
> > Best regards / Peter

> [...]
> Best regards,
> 
>   Zvezdan
> 

I'm pretty interested in an update to this port too.  I seem to recall
it not being too hard to compile, but I think I had to make a couple of minor
changes to the configure script (I reported upstream).  Most of the stuff in
the port Makefiles is over my head (what the heck is that stuff in WANTLIB?) so
I'm probably not the guy you want helping with that...  I would be happy to
help test it.  I just have 4.4, but I could probably find something to put
-current on if needed.

--TimH



Re: OpenBSD LyX port update to 1.6 ?

2008-12-03 Thread Zvezdan Petkovic

On Dec 3, 2008, at 11:15 AM, Ljung, Peter wrote:

Hi,
I noticed that LyX has updated to version 1.6. recently.
I'm just wondering if you are planning for an update on the OpenBSD  
port to version 1.6.

I am using current which works great! Thanks for that.
LyX is such a great editor competing with much larger office suites.

I am no experienced UNIX developer so I havn't (so far) rushed to  
try to do the update myself.
Are there any large changes that you believe will be problematic in  
the update to 1.6?


Best regards / Peter



I'm sorry to disappoint you, but I dropped the maintenance of LyX,  
Xcircuit, and Unison ports this summer due to the lack of time.  I do  
not know if anybody has taken over the maintenance or not.


If nobody else maintains LyX now, you will have to rely on the  
kindness of OpenBSD port committers to do that when they have time.


I am copying the ports list on this reply to get somebody's attention  
there.  FWIW, at least my name should be removed from the "Maintainer"  
line for all three ports.  :-)


Best regards,

Zvezdan



Re: libsndio backend for PortAudio

2008-12-03 Thread Jacob Meuser
On Wed, Dec 03, 2008 at 01:23:23PM +0100, Alexandre Ratchov wrote:
> On Wed, Dec 03, 2008 at 12:37:34PM +0100, David Coppa wrote:
> > Hello.
> > I'm investigating about writing a libsndio backend for PortAudio, so
> > applications like pjsua can interface with aucat.
> > Is this really needed? 
> 
> yes, imo. Other ports are using it too, getting portaudio right
> should improve audacity a lot.
> 
> > Is anybody already working on it?
> > 
> 
> I've started working on it but i'm currently busy with other stuff
> so i postponed it. I've no code to show yet.
> 
> If you work on it and/or have any questions or need some help, drop
> me an e-mail!

I'm interested in this as well.  PA is pretty involved.  you might
want to start with something easier first.

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



Re: update: -tools and -contrib subpackages for subversion-1.5.4

2008-12-03 Thread Stefan Sperling
On Wed, Dec 03, 2008 at 06:44:07PM +, Stefan Sperling wrote:
> On Tue, Dec 02, 2008 at 11:26:49PM +, Stefan Sperling wrote:
> > I will post another update soon, which will include only files from
> > contrib/ with a licence.
> > 
> > I'll also put all files from tools/ and contrib/ into the -main package.
> 
> Here it is.
>
> Apart from adding a bunch of stuff from tools/ and contrib/,
> this also includes small PLIST fixes for the bindings packages,
> namely putting the SVN::Fs man page back into place, and
> adding some directories that ended up in PLIST-main after
> running 'make update-plist'.
> 
> I don't think adding empty directories to PLISTs warrants a
> bump for the bindings packages though, so I didn't bump them.

Ooops, I moved around the config file in PLIST-main, and
the @sample to install it in /etc/subversion was matching
a different file (the svnserve man page).

Fixed diff below.

Also forgot to Cc jasper@ in the last mail, doing so now.

Thanks,
Stefan


Index: Makefile
===
RCS file: /usr/cvs/ports/devel/subversion/Makefile,v
retrieving revision 1.52
diff -u -p -r1.52 Makefile
--- Makefile18 Nov 2008 23:08:01 -  1.52
+++ Makefile2 Dec 2008 20:26:45 -
@@ -9,7 +9,7 @@ COMMENT-ap2=apache2 subversion modules
 VERSION=   1.5.4
 DISTNAME=  subversion-${VERSION}
 PKGNAME=   ${DISTNAME}
-PKGNAME-main=  ${DISTNAME}p0
+PKGNAME-main=  ${DISTNAME}p1
 PKGNAME-perl=  p5-SVN-${VERSION}
 PKGNAME-python=py-subversion-${VERSION}p0
 PKGNAME-ruby=  ruby-subversion-${VERSION}p0
@@ -57,17 +57,25 @@ RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPEN
 
 CONTRIB_HOOK_SCRIPTS=  case-insensitive.py pre-commit-check.py \
check-mime-type.pl pre-lock-require-needs-lock.py \
-   commit-block-joke.py remove-zombie-locks.py detect-merge-conflicts.sh \
+   commit-block-joke.py remove-zombie-locks.py \
syntax-check.sh
-# There's also 'enforcer', but it has its own subdir in contrib/hook-scripts/
-# So we handle it separately, see post-install
+# There's also 'enforcer', but we handle it separately, see post-install
 
 TOOLS_HOOK_SCRIPTS=commit-access-control.cfg.example \
-   commit-access-control.pl svn2feed.py commit-access-control.pl.in \
-   svnperms.conf.example commit-email.pl svnperms.py commit-email.pl.in \
-   verify-po.py commit-email.rb
-# There's also 'mailer', but it has its own subdir in contrib/hook-scripts/
-# So we handle it separately, see post-install
+   commit-access-control.pl commit-email.pl commit-email.rb \
+   log-police.py svn2feed.py svnperms.conf.example \
+   svnperms.py verify-po.py
+# There's also 'mailer', but we handle it separately, see post-install
+
+CONTRIB_CLIENT_SIDE_SCRIPTS=   incremental-update.py search-svnlog.pl \
+   svn-clean svn-merge-vendor.py svn_apply_autoprops.py \
+   svn_export_empty_files.py
+
+CONTRIB_SERVER_SIDE_SCRIPTS=   authz_svn_group.py fsfsverify.py \
+   svn-fast-backup svn-tweak-author.py
+
+TOOLS_CLIENT_SIDE_SCRIPTS= bash_completion change-svn-wc-format.py \
+   server-version.py showchange.pl svn-graph.pl
 
 .if !${FLAVOR:L:Mno_ap2}
 MULTI_PACKAGES+=   -ap2
@@ -75,7 +83,7 @@ WANTLIB-ap2=  ${WANTLIB} apr-1 aprutil-1
 LIB_DEPENDS-ap2=   ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in svn_delta-1 svn_fs-1 svn_fs_base-1 svn_fs_fs-1 \
svn_fs_util-1 svn_repos-1 svn_subr-1
-LIB_DEPENDS-ap2+=  
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-ap2+=  ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 BUILD_DEPENDS+=::www/apache-httpd
 RUN_DEPENDS-ap2=   ::www/apache-httpd
@@ -90,7 +98,7 @@ RUN_DEPENDS-perl= ${MODGETTEXT_RUN_DEPEN
 LIB_DEPENDS-perl=  ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in svn_diff-1 svn_ra-1 svn_delta-1 svn_subr-1 svn_fs-1 \
svn_repos-1 svn_wc-1 svn_client-1
-LIB_DEPENDS-perl+= 
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-perl+= ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 
 WANTLIB-python=${WANTLIB} apr-1 aprutil-1 crypto neon sasl2 ssl \
@@ -98,7 +106,7 @@ WANTLIB-python=  ${WANTLIB} apr-1 aprutil
 RUN_DEPENDS-python=${MODPY_RUN_DEPENDS}
 LIB_DEPENDS-python=${MODPY_LIB_DEPENDS} ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in ${SVN_LIBS}
-LIB_DEPENDS-python+=   
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-python+=   ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 
 WANTLIB-ruby=  ${WANTLIB} apr-1 aprutil-1 crypto neon sasl2 ssl \
@@ -106,7 +114,7 @@ WANTLIB-ruby=   ${WANTLIB} apr-1 aprutil-1
 RUN_DEPENDS-ruby=  ${MODRUBY_RUN_DEPENDS}
 LIB_DEPENDS-ruby=  ruby.>=2::lang/ruby ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in ${SVN_LIBS}
-LIB_DEPENDS-ruby+= 
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_

Re: update: -tools and -contrib subpackages for subversion-1.5.4

2008-12-03 Thread Stefan Sperling
On Tue, Dec 02, 2008 at 11:26:49PM +, Stefan Sperling wrote:
> I will post another update soon, which will include only files from
> contrib/ with a licence.
> 
> I'll also put all files from tools/ and contrib/ into the -main package.

Here it is.

Apart from adding a bunch of stuff from tools/ and contrib/,
this also includes small PLIST fixes for the bindings packages,
namely putting the SVN::Fs man page back into place, and
adding some directories that ended up in PLIST-main after
running 'make update-plist'.

I don't think adding empty directories to PLISTs warrants a
bump for the bindings packages though, so I didn't bump them.
 
Thanks,
Stefan


Index: Makefile
===
RCS file: /usr/cvs/ports/devel/subversion/Makefile,v
retrieving revision 1.52
diff -u -p -r1.52 Makefile
--- Makefile18 Nov 2008 23:08:01 -  1.52
+++ Makefile2 Dec 2008 20:26:45 -
@@ -9,7 +9,7 @@ COMMENT-ap2=apache2 subversion modules
 VERSION=   1.5.4
 DISTNAME=  subversion-${VERSION}
 PKGNAME=   ${DISTNAME}
-PKGNAME-main=  ${DISTNAME}p0
+PKGNAME-main=  ${DISTNAME}p1
 PKGNAME-perl=  p5-SVN-${VERSION}
 PKGNAME-python=py-subversion-${VERSION}p0
 PKGNAME-ruby=  ruby-subversion-${VERSION}p0
@@ -57,17 +57,25 @@ RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPEN
 
 CONTRIB_HOOK_SCRIPTS=  case-insensitive.py pre-commit-check.py \
check-mime-type.pl pre-lock-require-needs-lock.py \
-   commit-block-joke.py remove-zombie-locks.py detect-merge-conflicts.sh \
+   commit-block-joke.py remove-zombie-locks.py \
syntax-check.sh
-# There's also 'enforcer', but it has its own subdir in contrib/hook-scripts/
-# So we handle it separately, see post-install
+# There's also 'enforcer', but we handle it separately, see post-install
 
 TOOLS_HOOK_SCRIPTS=commit-access-control.cfg.example \
-   commit-access-control.pl svn2feed.py commit-access-control.pl.in \
-   svnperms.conf.example commit-email.pl svnperms.py commit-email.pl.in \
-   verify-po.py commit-email.rb
-# There's also 'mailer', but it has its own subdir in contrib/hook-scripts/
-# So we handle it separately, see post-install
+   commit-access-control.pl commit-email.pl commit-email.rb \
+   log-police.py svn2feed.py svnperms.conf.example \
+   svnperms.py verify-po.py
+# There's also 'mailer', but we handle it separately, see post-install
+
+CONTRIB_CLIENT_SIDE_SCRIPTS=   incremental-update.py search-svnlog.pl \
+   svn-clean svn-merge-vendor.py svn_apply_autoprops.py \
+   svn_export_empty_files.py
+
+CONTRIB_SERVER_SIDE_SCRIPTS=   authz_svn_group.py fsfsverify.py \
+   svn-fast-backup svn-tweak-author.py
+
+TOOLS_CLIENT_SIDE_SCRIPTS= bash_completion change-svn-wc-format.py \
+   server-version.py showchange.pl svn-graph.pl
 
 .if !${FLAVOR:L:Mno_ap2}
 MULTI_PACKAGES+=   -ap2
@@ -75,7 +83,7 @@ WANTLIB-ap2=  ${WANTLIB} apr-1 aprutil-1
 LIB_DEPENDS-ap2=   ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in svn_delta-1 svn_fs-1 svn_fs_base-1 svn_fs_fs-1 \
svn_fs_util-1 svn_repos-1 svn_subr-1
-LIB_DEPENDS-ap2+=  
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-ap2+=  ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 BUILD_DEPENDS+=::www/apache-httpd
 RUN_DEPENDS-ap2=   ::www/apache-httpd
@@ -90,7 +98,7 @@ RUN_DEPENDS-perl= ${MODGETTEXT_RUN_DEPEN
 LIB_DEPENDS-perl=  ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in svn_diff-1 svn_ra-1 svn_delta-1 svn_subr-1 svn_fs-1 \
svn_repos-1 svn_wc-1 svn_client-1
-LIB_DEPENDS-perl+= 
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-perl+= ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 
 WANTLIB-python=${WANTLIB} apr-1 aprutil-1 crypto neon sasl2 ssl \
@@ -98,7 +106,7 @@ WANTLIB-python=  ${WANTLIB} apr-1 aprutil
 RUN_DEPENDS-python=${MODPY_RUN_DEPENDS}
 LIB_DEPENDS-python=${MODPY_LIB_DEPENDS} ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in ${SVN_LIBS}
-LIB_DEPENDS-python+=   
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-python+=   ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 
 WANTLIB-ruby=  ${WANTLIB} apr-1 aprutil-1 crypto neon sasl2 ssl \
@@ -106,7 +114,7 @@ WANTLIB-ruby=   ${WANTLIB} apr-1 aprutil-1
 RUN_DEPENDS-ruby=  ${MODRUBY_RUN_DEPENDS}
 LIB_DEPENDS-ruby=  ruby.>=2::lang/ruby ${MODGETTEXT_LIB_DEPENDS}
 .  for _lib in ${SVN_LIBS}
-LIB_DEPENDS-ruby+= 
${_lib}.>=${SO_VERSION}:subversion-${VERSION}:devel/subversion,-main
+LIB_DEPENDS-ruby+= ${_lib}.>=${SO_VERSION}:${PKGNAME}:${BUILD_PKGPATH}
 .  endfor
 
 MODULES+=  lang/ruby
@@ -155,20 +163,30 @@ REGRESS_DEPENDS+= :${PKGNAME-python}:dev
 pre-build:
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${MAKE_FLAGS} clean-swig
+.endif
 
 post-build:
+.if !${FLAVOR:

Re: fix64: www/sarg

2008-12-03 Thread Douglas Santos
On Wed, December 3, 2008 9:50 am, Tobias Ulmer wrote:
> Add declarations for all util.c functions that return pointers, so that
> it stops segfaulting on amd64. As a side effect, call to fixtime()
> causes an error now, so fix this as well.
>
> While there, regen plist and remove a few whitespaces.
>
> Tested by fialar from #openbsd, since i don't have an amd64 and it
> came up on his maschine. "send to ports@" from Douglas via fialar.

Seems OK to me, I also don't have an amd64.
Thank you.



Re: UPDATE: graphics/GraphicsMagick

2008-12-03 Thread LÉVAI Dániel
On Tuesday 02 December 2008 03.41.51 Okan Demirmen wrote:
> seems i've missed a bit here while away...
>
> 2 things:
>
> koffice 1.6 branch does not support newer GraphicsMagick versions.
>
> i still don't understand the no_gs thing.  as kili pointed out, it
> can be pinned down to removing the run dependency of ghostscript, but
> why? for example, GraphicsMagick supports RAW images, hence a build
> dependency on dcraw - should we force the user to read the output of
> gm error messages to guess which additional package one needs to
> install to get the compiled-in functionality?  i'm of the opinion
> 'no'.  same goes with the gs binary being available if the package
> has been built to support it.
What are you suggesting?

> in any case, i think we should at least update to the latest 1.1.14
> release.  i've kept the changes i made to make the port more like
> ImageMagick; additionally, this builds the perl module and brings in
> libwmf.
True.

> at least we don't break the current koffice3, for now.
Now I really think we should go down the road you have proposed earlier:
Making a 1.1.x/ dir for mainting compatibility with koffice 1.6, and a 
1.3.x for the latest stable. What do you think?

Daniel

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



Re: libsndio backend for PortAudio

2008-12-03 Thread Alexandre Ratchov
On Wed, Dec 03, 2008 at 12:37:34PM +0100, David Coppa wrote:
> Hello.
> I'm investigating about writing a libsndio backend for PortAudio, so
> applications like pjsua can interface with aucat.
> Is this really needed? 

yes, imo. Other ports are using it too, getting portaudio right
should improve audacity a lot.

> Is anybody already working on it?
> 

I've started working on it but i'm currently busy with other stuff
so i postponed it. I've no code to show yet.

If you work on it and/or have any questions or need some help, drop
me an e-mail!

-- Alexandre



fix64: www/sarg

2008-12-03 Thread Tobias Ulmer
Add declarations for all util.c functions that return pointers, so that
it stops segfaulting on amd64. As a side effect, call to fixtime()
causes an error now, so fix this as well.

While there, regen plist and remove a few whitespaces.

Tested by fialar from #openbsd, since i don't have an amd64 and it
came up on his maschine. "send to ports@" from Douglas via fialar.

Index: Makefile
===
RCS file: /nfs/obsd0/cvs/ports/www/sarg/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile31 Mar 2008 06:54:13 -  1.9
+++ Makefile2 Dec 2008 21:02:06 -
@@ -3,6 +3,7 @@
 COMMENT=   Squid Analysis Report Generator
 
 DISTNAME=  sarg-2.2.5
+PKGNAME=   ${DISTNAME}p0
 CATEGORIES=www
 
 HOMEPAGE=  http://sarg.sourceforge.net/
@@ -10,7 +11,7 @@ HOMEPAGE= http://sarg.sourceforge.net/
 MAINTAINER=Douglas Santos <[EMAIL PROTECTED]>
 
 # GPL
-PERMIT_PACKAGE_CDROM=  Yes 
+PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=  Yes
@@ -30,7 +31,7 @@ EXAMPLESDIR=  ${PREFIX}/share/examples/s
 MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/cfgaux
 
 post-extract:
-   @chmod 755 ${WRKSRC}/sarg-php/locale
+   @chmod 755 ${WRKSRC}/sarg-php/locale
 
 post-build:
@perl -pi -e \
Index: patches/patch-include_conf_h
===
RCS file: patches/patch-include_conf_h
diff -N patches/patch-include_conf_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-include_conf_h2 Dec 2008 13:47:21 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+--- include/conf.h.origTue Dec  2 13:48:59 2008
 include/conf.h Tue Dec  2 14:46:38 2008
+@@ -86,7 +86,17 @@ gdPoint points[4];
+ 
+ 
+ #define MAXLEN 2
+-long long int my_atoll (const char *nptr);
++/* from util.c */
++char *getword2(char *, char *, int);
++long long int my_atoll (const char *);
++char *fixnum(long long int, int );
++char *fixnum2(long long int, int);
++char *buildtime(long long int);
++char *fixtime(long int);
++char *strup(char *);
++char *subs(char *, char *, char *);
++char *strlow(char *);
++
+ 
+ FILE *fp_tt; 
+ 
Index: patches/patch-topsites_c
===
RCS file: patches/patch-topsites_c
diff -N patches/patch-topsites_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-topsites_c2 Dec 2008 13:59:20 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- topsites.c.origTue Dec  2 14:58:52 2008
 topsites.c Tue Dec  2 14:59:05 2008
+@@ -216,7 +216,7 @@ void topsites()
+ 
+   sprintf(wwork1,"%s",fixnum(twork1,1));
+   sprintf(wwork2,"%s",fixnum(twork2,1));
+-  sprintf(wwork3,"%s",fixtime(twork3,1));
++  sprintf(wwork3,"%s",fixtime(twork3));
+ 
+   if(strlen(BlockIt) > 0)
+  sprintf(BlockImage," ",wwwDocumentRoot,BlockIt,url);
Index: pkg/PLIST
===
RCS file: /nfs/obsd0/cvs/ports/www/sarg/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   16 May 2007 15:59:23 -  1.3
+++ pkg/PLIST   2 Dec 2008 21:03:49 -
@@ -1,5 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.3 2007/05/16 15:59:23 aanriot Exp $
-bin/sarg
[EMAIL PROTECTED] bin/sarg
 @man man/man1/sarg.1
 share/examples/sarg/
 @sample ${SYSCONFDIR}/sarg/



libsndio backend for PortAudio

2008-12-03 Thread David Coppa
Hello.
I'm investigating about writing a libsndio backend for PortAudio, so
applications like pjsua can interface with aucat.
Is this really needed? Is anybody already working on it?

Best Regards,
David Coppa