Re: gd-2.0.34p1

2007-07-16 Thread Antoine Jacoutot

On Mon, 16 Jul 2007, Marinos Ilias wrote:
but it seems there is a problem (typo) with the dependencies asked for 
gd-2.0.34p1. I don't know if someone else mentioned it (don't watching 
the list) .I attach the typescript.


did you install the xbaseXX.tgz?

--
Antoine



NEW: x11/xarchive

2007-07-16 Thread Giovanni Bechis
pkg/DESCR:
A gtk+2.0 front-end for various command line archiving programs.  

The idea is to have a generic front end for archives that uses external
wrappers around the command line archiving tools.

The port is available at:
http://bigio.snb.it/openbsd/xarchive-0.2.8-6.tgz
 Ok ? Comments ? 
  Giovanni



Re: [new] devel/omniORB

2007-07-16 Thread Landry Breuil

On 7/14/07, Antoine Jacoutot [EMAIL PROTECTED] wrote:


On Fri, 13 Jul 2007, Landry Breuil wrote:
 Please forget about it, it's a rough wip and needs way more
patching/testing
 in GNUmakefiles. I'll repost it later.

Here's a cleaned up version.
Not perfect yet but if people feel like testing.
(report feedbacks to ports@).



Way better with this version - a small note, i had to add --disable-ipv6 to
make samples work, because by default in its internals omniORB listens on
ipv6 but connects on ipv4. So, here are the options :

- disable ipv6 in the port, this support was recently added (in 4.1.0 beta1)
and is still experimental
- use the configuration file provided to force ipv6-ipv6 and ipv4-ipv4
connections
- there are hacks/workaround for freebsd in the code to make it work, use
the same workarounds (OMNI_IPV6_SOCKETS_ACCEPT_IPV4_CONNECTIONS in
src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc and various other places, grep
-ri bsd * shows freebsd is supported and handled well)

I'm sending an e-mail to omniorb support list to report that it compiles and
works on openbsd (add it to the list of supported oses), and see with them
what is the best way to handle this particular case.

I haven't seen other glitches atm, but some may still surface.

Landry


Re: UPDATE: devel/boehm-gc (6.2 = 7.0)

2007-07-16 Thread Kurt Miller
On Sunday 15 July 2007 1:45:20 pm Benoit Chesneau wrote:
 I tested on cvs version with i386. I have no warning yet. Juste one
 thing why don't you use -DGC_OPENBSD_THREADS flag to enable use of
 pthread. It worked.

Defining GC_OPENBSD_THREADS is not sufficient for enabling
thread support in boehm. Use the configure arg
--enable-threads=pthreads test thread support in boehm.
Try a make regress and you will see the current show
stopper.

  Find enclosed last version of boehm-gc 6.8 I was 
 worked before new port for 7.0 was published. It contain more patching
 about it. I didn't have time yet to put them in 7.0 Hope it could
 help.

I reviewed the patches in 6.8. I suspect thread support
was not fully enabled when you tested it. There's nothing
in the patches to get past the stop world deadlocks that
happen when thread support is properly enabled. Other
patches are incorrect such as the SIGRTMIN/MAX bit.

Userland pthreads has limitations. Conceptually it
sits between the program and the kernel and simulates
actual threads. It does this by doing things like
converting all file descriptors to non-blocking and
managing all blocking operations. For signals it
manages signal masks, intercepts signal delivery and
manages the delivery of the singals to the threads.

There are cases where pthreads defers delivery of
a signal to a thread because interrupting the
current operation would be bad. boehm uses
signals to interrupt threads, grab the current
stack pointer and put them to sleep in the signal
handler using sigsupend(). So when a thread is
in a state where the signal is deferred the
process deadlocks. There's no good work-around
for this problem. Thread support for boehm-gc
will need to wait for rthreads (real kernel
supported threads).

One last thing to note. If you attempt to use
non-threaded boehm-gc in a threaded program,
expect failures ranging from immediate deadlock
to crashes since only the main thread will be
garbage collected without locking.

-Kurt



UPDATE: textproc/pinfo

2007-07-16 Thread Moritz Grimm

Hi!


So ... I got an espie@ timeout with this for 1 week. I hope that it's 
OK to let others look at this update now.


The reason for this update is an annoying crash in the in-tree version's 
src/video.c:70 (negative array index). I fixed the problem and then 
found out that some Debian people took over maintainership, or something 
like that. There's a new version that fixes the video.c bug, too, 
together with a bunch of other bugs.


The summary of this update is

 - Update pinfo from 0.6.7 to 0.6.9
 - Add HOMEPAGE and add a main MASTER_SITES
 - Slightly more verbose COMMENT
 - fmt -72 DESCR
 - Install @sample pinforc
 - Update patches:
   - Remove mkstmp() patches, tempnam() has been removed differently
 upstream. Autoconf is no longer necessary.
   - Fix the mess upstream did while bugfixing, so this builds on gcc2
 again (patches submitted in the upstream bug tracker already)
 - Do not install the (new) 'eu' locale; we don't have a directory for
   it, yet.
 - PNF

Tested on i386 and sparc with a bunch of texinfo files, especially those 
that used to crash it.


Known to /not/ build on (simh-)vax ... there's some weird problem 
linking against ncurses.la and it fails during the configure stage. 
Apologies for not looking at it any further, it's so mind-numbingly 
slow. :-P



Moritz
Index: Makefile
===
RCS file: /cvs/ports/textproc/pinfo/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile7 Dec 2004 00:23:23 -   1.3
+++ Makefile8 Jul 2007 16:07:53 -
@@ -1,24 +1,33 @@
 # $OpenBSD: Makefile,v 1.3 2004/12/07 00:23:23 alek Exp $
 
-COMMENT=info viewer
-MAINTAINER=Marc Espie [EMAIL PROTECTED]
-DISTNAME=pinfo-0.6.7
-CATEGORIES=textproc devel
-
-# original distsite is currently unavailable
-MASTER_SITES=ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
-
-# GPL
-PERMIT_DISTFILES_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_PACKAGE_CDROM=Yes
-WANTLIB=c ncurses 
-
-CONFIGURE_STYLE=autoconf
-AUTOCONF_VERSION=2.13
-#CONFIGURE_ARGS+=--disable-nls
-MODULES=devel/gettext
-CONFIGURE_ENV=CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+COMMENT=   info viewer with lynx-style navigation
+
+DISTNAME=  pinfo-0.6.9
+CATEGORIES=textproc devel
+
+HOMEPAGE=  https://alioth.debian.org/frs/?group_id=30592
+
+MAINTAINER=Marc Espie [EMAIL PROTECTED]
+
+MASTER_SITES=  https://alioth.debian.org/frs/download.php/1502/ \
+   ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
+
+# GPLv2
+PERMIT_DISTFILES_FTP=  Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_PACKAGE_FTP=Yes
+PERMIT_PACKAGE_CDROM=  Yes
+WANTLIB=   c ncurses readline 
+
+USE_LIBTOOL=   Yes
+
+BUILD_DEPENDS= :gettext-=0.14.6:devel/gettext
+
+CONFIGURE_STYLE= gnu
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pinfo
+   ${INSTALL_DATA} ${WRKSRC}/src/pinforc \
+   ${PREFIX}/share/examples/pinfo/
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/textproc/pinfo/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 17:26:19 -   1.3
+++ distinfo8 Jul 2007 16:07:53 -
@@ -1,5 +1,5 @@
-MD5 (pinfo-0.6.7.tar.gz) = 0KyCOqj+Uo7VQATQIssIlg==
-RMD160 (pinfo-0.6.7.tar.gz) = tMkG4fcJh2d6HLNlT60KNIByhPo=
-SHA1 (pinfo-0.6.7.tar.gz) = EnH3T3YQ+ivMATbYO3BzQEXOjUQ=
-SHA256 (pinfo-0.6.7.tar.gz) = 5tmBf5CwcdHDH29evqRJUDr2aUlkM7El/PY1U4Ahwro=
-SIZE (pinfo-0.6.7.tar.gz) = 318720
+MD5 (pinfo-0.6.9.tar.gz) = wymNNlN2AXU1WLPpJAsAtw==
+RMD160 (pinfo-0.6.9.tar.gz) = wnFemZCuRlEqZM2dMNX+MNu53N0=
+SHA1 (pinfo-0.6.9.tar.gz) = c1uC9T9Bjeu89/VLhGPSKdrC2JU=
+SHA256 (pinfo-0.6.9.tar.gz) = wl8I4RWl55b0CDiijQ6YFsdV9Muee8x39tTJ3a8KFlE=
+SIZE (pinfo-0.6.9.tar.gz) = 554213
Index: patches/patch-config_h_in
===
RCS file: patches/patch-config_h_in
diff -N patches/patch-config_h_in
--- patches/patch-config_h_in   8 Jul 2003 16:23:47 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-config_h_in,v 1.1.1.1 2003/07/08 16:23:47 espie Exp $
 config.h.in.orig   Wed Jul  2 12:06:59 2003
-+++ config.h.inWed Jul  2 12:07:23 2003
-@@ -163,6 +163,9 @@
- /* Define if you have the strdup function.  */
- #undef HAVE_STRDUP
- 
-+/* Define if you have the mkstemp function.  */
-+#undef HAVE_MKSTEMP
-+
- /* Define if you have the strtoul function.  */
- #undef HAVE_STRTOUL
- 
Index: patches/patch-configure_in
===
RCS file: patches/patch-configure_in
diff -N patches/patch-configure_in
--- patches/patch-configure_in  8 Jul 2003 16:23:47 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-configure_in,v 1.1.1.1 2003/07/08 16:23:47 espie Exp $
 

Re: [new] x11/fbpanel 4.11

2007-07-16 Thread Landry Breuil
On Sun, Jul 15, 2007 at 06:41:53PM +0200, Antoine Jacoutot wrote:
 On Sun, 15 Jul 2007, Landry Breuil wrote:
 Port available here : http://ports.gcu.info/doku.php/openbsd/x11/fbpanel
 
 - --prefix=${LOCALBASE} looks wrong

Changed to /usr/local

 - COMMENT doesn't need quotes nor final dot

Ok, fixed.

 - NO_REGRESS should be set

Added.

 - fake target fails when USE_SYSTRACE is set

Weird, works here with systrace enabled on three various -current.

As a sidenote, it builds and works fine on sparc64 too, i've tested it
on my U10, nice companion to openbox on this slow box.

New tarball with fixes available here, tests are welcome :
http://gcu.info/~gaston/ports/fbpanel-4.11_2.tar.gz

Landry

ps: i still think my patching of man/Makefile is ugly, please someone look
at it ! :)



Re: [new] x11/fbpanel 4.11

2007-07-16 Thread Matthias Kilian
On Mon, Jul 16, 2007 at 11:06:12PM +0200, Landry Breuil wrote:
  - --prefix=${LOCALBASE} looks wrong
 
 Changed to /usr/local

I didn't look at the port itself, but just to clarify this a little bit:

LOCALBASE is where dependencies actually reside, so it's typically
used for -I and -L argsuments, or for --with-foo=${LOCALBASE}/bin/foo).

PREFIX is special, since it's usually ${LOCALBASE} during configure
and build, but ${WRKINST}${PREFIX} during install.

That's the short story. More complete documentation in bsd.port.mk(5),
section THE FAKE FRAMEWORK.

Ciao,
Kili



Re: [new] x11/fbpanel 4.11

2007-07-16 Thread Antoine Jacoutot

On Mon, 16 Jul 2007, Landry Breuil wrote:

- --prefix=${LOCALBASE} looks wrong


Changed to /usr/local


Huh? No, it should be --prefix=${PREFIX}


- fake target fails when USE_SYSTRACE is set


Weird, works here with systrace enabled on three various -current.


Yeah, must be a local fuck up.


As a sidenote, it builds and works fine on sparc64 too, i've tested it
on my U10, nice companion to openbox on this slow box.


Nice to know, cool.


ps: i still think my patching of man/Makefile is ugly, please someone look
at it ! :)


Well you could rewrite the entire target in the port Makefile. Their 
hand-crafted Makefiles are weird anyway.


--
Antoine



errors during pkg_create

2007-07-16 Thread Steve Shockley
When running make -d l package on a port, it exits with an error, tail 
of compile below.


(Complete tail of compile below.)  I'm running 4.1-stable.  I've 
encountered this on courier-authlib and cabextract, but not on 
msttcorefonts.  Any suggestions?


Output of doing make -d l package after make fake is complete:

[/usr/ports/archivers/cabextract]# make -d l package
cd /usr/ports/archivers/cabextract  exec make _internal-package-only
mkdir -p /usr/ports/packages/i386/all
cd /usr/ports/archivers/cabextract  exec make 
/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386/.fake_done 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR- 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-
`/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386/.fake_done' 
is up to date.
sed -e 's,${FLAVORS},,g' -e 's,$\\,$,g' -e 's|${MACHINE_ARCH}|i386|g' -e 
's|${ARCH}|i386|g' -e 
's|${HOMEPAGE}|http://www.kyz.uklinux.net/cabextract.php3|g' -e 
's|${PREFIX}|/usr/local|g' -e 's|${SYSCONFDIR}|/etc|g' -e 
's|${FLAVOR_EXT}||g' -e 's|${MAINTAINER}|Steve Shockley 
[EMAIL PROTECTED]|g' -e 
's|${BASE_PKGPATH}|archivers/cabextract|g' 
/usr/ports/archivers/cabextract/pkg/DESCR 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-.tmp  mv 
-f /usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-.tmp 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
echo \nMaintainer: Steve Shockley [EMAIL PROTECTED] 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
fgrep -q '${HOMEPAGE}' /usr/ports/archivers/cabextract/pkg/DESCR || echo 
\nWWW: http://www.kyz.uklinux.net/cabextract.php3; 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
echo Extracts files from Microsoft CAB archives 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-

echo ===  Building package for cabextract-1.1
===  Building package for cabextract-1.1
echo Create /usr/ports/packages/i386/all/cabextract-1.1.tgz
Create /usr/ports/packages/i386/all/cabextract-1.1.tgz
cd /usr/ports/archivers/cabextract   deps=`SUBPACKAGE=- make 
_print-package-args`   if  /usr/sbin/pkg_create `echo $deps|sort -u` 
  -DSHARED_LIBS=1 -DFLAVORS='' -B 
/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386 
-DMACHINE_ARCH='i386' -DARCH='i386' 
-DHOMEPAGE='http://www.kyz.uklinux.net/cabextract.php3' 
-DPREFIX='/usr/local' -DSYSCONFDIR='/etc' -DFLAVOR_EXT='' 
-DMAINTAINER='Steve Shockley [EMAIL PROTECTED]' 
-DBASE_PKGPATH='archivers/cabextract' -DFULLPKGPATH=archivers/cabextract 
-DPERMIT_PACKAGE_CDROM=Yes -DPERMIT_PACKAGE_FTP=Yes -c 
'/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-' -d 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR- -f 
/usr/ports/archivers/cabextract/pkg/PLIST -p /usr/local -A'i386' 
/usr/ports/packages/i386/all/cabextract-1.1.tgz; then  mode=`id -u`:`id 
-g`;  /usr/sbin/chown ${mode} 
/usr/ports/packages/i386/all/cabextract-1.1.tgz;  if : 
/usr/ports/packages/i386/all/cabextract-1.1.tgz; then  exit 0;  fi;  fi 
   make _internal-clean=package   exit 1
/usr/sbin/pkg_create: Exactly one single package name is required: 
d='c'; listlibs='echo $shdir/lib*'; case $d in /*) shdir=${d%/*}/;; 
*/*) shdir=/usr/local/${d%/*};; *) shdir=/usr/local/lib; 
listlibs=$listlibs /usr/lib/libasn1.a /usr/lib/libasn1.so.16.0 
/usr/lib/libasn1_p.a /usr/lib/libasn1_pic.a /usr/lib/libbfd.a 
/usr/lib/libbfd.la /usr/lib/libc.a /usr/lib/libc.so.39.3 
/usr/lib/libc.so.40.3 /usr/lib/libc_p.a /usr/lib/libc_pic.a 
/usr/lib/libcom_err.a /usr/lib/libcom_err.so.16.0 
/usr/lib/libcom_err_p.a /usr/lib/libcom_err_pic.a /usr/lib/libcompat.a 
/usr/lib/libcompat_p.a /usr/lib/libcrypto.a /usr/lib/libcrypto.so.13.0 
/usr/lib/libcrypto_p.a /usr/lib/libcrypto_pic.a /usr/lib/libcurses.a 
/usr/lib/libcurses.so.10.0 /usr/lib/libcurses_p.a 
/usr/lib/libcurses_pic.a /usr/lib/libdes.a /usr/lib/libdes.so.9.0 
/usr/lib/libdes_p.a /usr/lib/libdes_pic.a /usr/lib/libedit.a 
/usr/lib/libedit.so.3.0 /usr/lib/libedit_p.a /usr/lib/libedit_pic.a 
/usr/lib/libevent.a /usr/lib/libevent.so.1.3 /usr/lib/libevent_p.a 
/usr/lib/libevent_pic.a /usr/lib/libfl.a /usr/lib/libfl_p.a 
/usr/lib/libform.a /usr/lib/libform.so.3.0 /usr/lib/libform_p.a 
/usr/lib/libform_pic.a /usr/lib/libfrtbegin.a /usr/lib/libfrtbegin_p.a 
/usr/lib/libfrtbegin_pic.a /usr/lib/libg2c.a /usr/lib/libg2c.so.8.1 
/usr/lib/libg2c_p.a /usr/lib/libg2c_pic.a /usr/lib/libgssapi.a 
/usr/lib/libgssapi.so.5.0 /usr/lib/libgssapi_p.a 
/usr/lib/libgssapi_pic.a /usr/lib/libhdb.a /usr/lib/libhdb_p.a 
/usr/lib/libi386.a /usr/lib/libi386_p.a /usr/lib/libiberty.a 
/usr/lib/libiberty.so.8.0 /usr/lib/libiberty_p.a 
/usr/lib/libiberty_pic.a /usr/lib/libkadm5clnt.a 
/usr/lib/libkadm5clnt_p.a /usr/lib/libkadm5clnt_pic.a 
/usr/lib/libkadm5srv.a /usr/lib/libkadm5srv_p.a 
/usr/lib/libkadm5srv_pic.a /usr/lib/libkafs.a /usr/lib/libkafs.so.16.0 
/usr/lib/libkafs_p.a /usr/lib/libkafs_pic.a /usr/lib/libkeynote.a 
/usr/lib/libkeynote_p.a /usr/lib/libkrb5.a /usr/lib/libkrb5.so.16.0