Re: Naive patch for mcabber to redraw

2008-04-04 Thread Simon Kuhnle
On Thu, Apr 03, 2008 at 05:25:41PM +0200, Markus Hennecke wrote:
[...]
 The patch, in a slightly different form, should be commited upstream and be 
 in the next release. A configure option will be needed, I think that it is 
 no problem to modify the port to use that option.

Ah, very nice. Yes, it is committed upstream already, thanks for that!
Configure option shouldn't be a problem, that's right.

 I guess I found the source of the segfault (at least I believe it was
 the reason why it crashed before) and it's reproducable here.

 I have my roster on the left side (width = 24), and if I resize
 my terminal from right to left, until the right border of the window
 passes over the line between the roster and the message window, mcabber
 crashes.

 Backtrace:
 (gdb) bt
 #0  0x412ded32 in wnoutrefresh (win=0x4de37380) at 
 /usr/src/lib/libcurses/base/lib_refresh.c:153
 #1  0x4909fdbb in update_panels () at 
 /usr/src/lib/libpanel/p_update.c:59
 #2  0x0042147a in scr_DrawRoster () at screen.c:1904
 #3  0x00406fff in main (argc=1, argv=0x7f7eacf8) at main.c:506

 Can you reproduce that?

 Yes, but I did not have time to look into that. First I got to find out if 
 the error is in the curses lib or in mcabber.

Please, let me know if you need further information or help!
-- 
simon



Re: inkscape 0.46

2008-04-04 Thread Landry Breuil
On Thu, Apr 03, 2008 at 11:21:25PM +0200, Simon Bertrang wrote:
 On Thu, Apr 03, 2008 at 06:52:03PM +0200, Benoit Chesneau wrote:
  On Wed, Apr 2, 2008 at 10:42 PM, Benoit Chesneau [EMAIL PROTECTED] wrote:
  
Finally had time to work on it tonight. Here is a new version of this
port  that fix 3dbox crash thanks to a patch from inkscape team. I've
also added boost dependancy. Tested on amd64 and works well here.
  
ok ?
  
You could find it here :
  
   http://babilu.metavers.net/openbsd/inkscape.tar.gz
  
- benoît
  
  New port after feedback from landry@ :
  - added missing module and dependencies.
  - add support for imagemagick
  - fix locales generation and path
  - more cleaning
  
  Port is here :
  http://babilu.metavers.net/openbsd/inkscape.tar.gz
  
 
 Some more feedback in form of a new tarball:
  - spacing and indentation
  - WANTLIB and LIB_DEPENDS fixes
  - and more ...
 
 Works for me on amd64.
 

And here's a new version with missing LIB_DEPENDS on print/poppler
added, used for pdf import/rendering.

http://team.gcu.info/~gaston/ports/inkscape-0.46.tgz

Tested here @i386, looks very good to me..

Landry



AbiWord 2.6.0

2008-04-04 Thread Ido Admon
Hello ports@
I'm trying to port the new AbiWord, v2.6.0. So far I've managed to get
it to compile (I had to update devel/libgsf from 1.14.3 to 1.14.4 and
converters/wv from 0.7.2 to 1.2.4, which took some effort, if
everything turns out fine I'll post these too to the list) but it keeps
dumping core upon execution.
It output one error before dying, which is coming from Pango:

(abiword:31838): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='Bitstream Vera Sans 11', text=''
Abort (core dumped)

Now at first I realized (thanks to the AbiWord regression tests) that I
forgot to delete the libexpat leftovers in /usr/X11/lib after
upgrading, so I did that and rebuilt Pango (which uses expat,
ofcourse), and now (after another make build) the regression tests don't
complain anymore, but AbiWord itself keeps crashing.
My question is: Is it possible that more ports, such as, say, Gtk+2,
may have been confused about expat and need to be rebuilt?
I haven't noticed any change in behavior in gtk-based applications
since removing the old libexpat, but I don't know how to check it..

System is IBM X31 laptop running:
OpenBSD 4.3-current (GENERIC) #735: Thu Apr  3 13:12:44 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

Thanks,
Ido



Re: inkscape 0.46

2008-04-04 Thread Ian Darwin



And here's a new version with missing LIB_DEPENDS on print/poppler
added, used for pdf import/rendering.

http://team.gcu.info/~gaston/ports/inkscape-0.46.tgz

Tested here @i386, looks very good to me..


That version is missing a run depends on desktop utils.



Re: inkscape 0.46

2008-04-04 Thread Landry Breuil
On Fri, Apr 04, 2008 at 08:04:23AM -0400, Ian Darwin wrote:
 
 And here's a new version with missing LIB_DEPENDS on print/poppler
 added, used for pdf import/rendering.
 
 http://team.gcu.info/~gaston/ports/inkscape-0.46.tgz
 
 Tested here @i386, looks very good to me..
 
 That version is missing a run depends on desktop utils.

Right, fixed in-place. For me it can go in.

Landry



Building jdk 1.7: bump up your limits

2008-04-04 Thread Christian Weisgerber
This is just a random note that I had to bump the datasize limit
(ulimit -d) from previously 768 up to 896 MB on the i386 package
building machine in order to build devel/jdk/1.7.

We are getting closer and closer to the 1024 MB barrier.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



ghostscript-8.62 fix

2008-04-04 Thread Onat I.
I noticed that ghostscript didn't work
after the last update. Then I found out that
some crucial files in the lib directory of
ghostscript are removed from the PLIST, files
like xlatmap, Fontmap etc. I extracted the
source tarball and copied the files to their
proper places and gs worked again. You can check
the diff of PLIST to see which files are
removed, and hopefully fix this issue for
everybody else.

best wishes,
Onat I.



Re: ghostscript-8.62 fix

2008-04-04 Thread Matthias Kilian
On Fri, Apr 04, 2008 at 07:49:42PM +0300, Onat I. wrote:
 I noticed that ghostscript didn't work
 after the last update. Then I found out that
 some crucial files in the lib directory of
 ghostscript are removed from the PLIST, files
 like xlatmap, Fontmap etc. I extracted the
 source tarball and copied the files to their
 proper places and gs worked again. You can check
 the diff of PLIST to see which files are
 removed, and hopefully fix this issue for
 everybody else.

Oops! This patch should unbreak it:

Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile1 Apr 2008 20:37:00 -   1.54
+++ Makefile4 Apr 2008 18:38:21 -
@@ -4,6 +4,7 @@ COMMENT=GNU PostScript interpreter
 
 VERSION=   8.62
 DISTNAME=  ghostscript-${VERSION}
+PKGNAME=   ${DISTNAME}p0
 CATEGORIES=print lang
 SHARED_LIBS=   gs  11.0
 
Index: patches/patch-src_unix-gcc_mak
===
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-src_unix-gcc_mak,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_unix-gcc_mak
--- patches/patch-src_unix-gcc_mak  1 Apr 2008 20:37:01 -   1.6
+++ patches/patch-src_unix-gcc_mak  4 Apr 2008 18:38:21 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2008/04/01 20:37:01 kili Exp $
 --- src/unix-gcc.mak.orig  Fri Feb 29 09:13:08 2008
-+++ src/unix-gcc.mak   Sat Mar 22 22:28:54 2008
 src/unix-gcc.mak   Fri Apr  4 19:44:50 2008
 @@ -30,6 +30,7 @@ PSLIBDIR=./lib
  PSRESDIR=./Resource
  PSGENDIR=./obj
@@ -64,7 +64,7 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
  #DEVICE_DEVS1=
  #DEVICE_DEVS2=
  #DEVICE_DEVS3=
-@@ -375,31 +382,8 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
+@@ -375,33 +382,13 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
  #DEVICE_DEVS19=
  #DEVICE_DEVS20=
  
@@ -96,8 +96,13 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
 +#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so 
$(GLOBJDIR)/vgalib.so
  #GS_SHARED_OBJS=$(GLOBJDIR)/X11.so
  
++# Copied from Makefile.in
++EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps
++
  #  End of options --- #
-@@ -440,6 +424,7 @@ include $(GLSRCDIR)/jpeg.mak
+ 
+ # Define the name of the partial makefile that specifies options --
+@@ -440,6 +427,7 @@ include $(GLSRCDIR)/jpeg.mak
  include $(GLSRCDIR)/zlib.mak
  include $(GLSRCDIR)/libpng.mak
  include $(GLSRCDIR)/jbig2.mak
@@ -105,7 +110,7 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
  include $(GLSRCDIR)/icclib.mak
  include $(GLSRCDIR)/ijs.mak
  include $(GLSRCDIR)/devs.mak
-@@ -449,6 +434,8 @@ include $(GLSRCDIR)/unixlink.mak
+@@ -449,6 +437,8 @@ include $(GLSRCDIR)/unixlink.mak
  include $(GLSRCDIR)/unix-dll.mak
  include $(GLSRCDIR)/unix-end.mak
  include $(GLSRCDIR)/unixinst.mak
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST   1 Apr 2008 20:37:01 -   1.12
+++ pkg/PLIST   4 Apr 2008 18:38:21 -
@@ -430,6 +430,8 @@ share/ghostscript/${VERSION}/examples/ti
 share/ghostscript/${VERSION}/examples/vasarely.ps
 share/ghostscript/${VERSION}/examples/waterfal.ps
 share/ghostscript/${VERSION}/lib/
+share/ghostscript/${VERSION}/lib/FCOfontmap-PCLPS2
+share/ghostscript/${VERSION}/lib/Fontmap
 share/ghostscript/${VERSION}/lib/Fontmap.GS
 share/ghostscript/${VERSION}/lib/PDFA_def.ps
 share/ghostscript/${VERSION}/lib/PDFX_def.ps
@@ -467,6 +469,7 @@ share/ghostscript/${VERSION}/lib/cdj550.
 share/ghostscript/${VERSION}/lib/cdj690.upp
 share/ghostscript/${VERSION}/lib/cdj690ec.upp
 share/ghostscript/${VERSION}/lib/cid2code.ps
+share/ghostscript/${VERSION}/lib/cidfmap
 share/ghostscript/${VERSION}/lib/decrypt.ps
 share/ghostscript/${VERSION}/lib/dnj750c.upp
 share/ghostscript/${VERSION}/lib/dnj750m.upp
@@ -654,6 +657,7 @@ share/ghostscript/${VERSION}/lib/viewps2
 share/ghostscript/${VERSION}/lib/wftopfa.ps
 share/ghostscript/${VERSION}/lib/winmaps.ps
 share/ghostscript/${VERSION}/lib/wrfont.ps
+share/ghostscript/${VERSION}/lib/xlatmap
 share/ghostscript/${VERSION}/lib/zeroline.ps
 %%cups%%
 %%gtk%%



-- 
Bad English is the international language ;)
-- Gerardo Santana Gómez Garrido in [EMAIL PROTECTED]



Re: update: vpnc

2008-04-04 Thread Thomas Schoeller
i'm running this port since i send the diff fulltime on a macppc without
problems. it would be nice if this can be commited.

regards
thomas

On Mon, Mar 31, 2008 at 10:06:37AM -0400, Okan Demirmen wrote:
 it seems an update to security/vpnc has been tossed around for a while
 now.  so, i chose the latest one (from Thomas Schoeller, with comments
 from others) and have been running with it for about 2 months now.
 confirmed it works on i386 and amd64; my sparc64 is not currently in a
 net-location to test functionality, but it compiles.
 
 - update to 0.5.1
 - adds a sample split vpn script
 
 one thing i did take out was the work-around for amd64 (-O0).  i'm
 unsure why that was in there, for i have vpnc running on amd64 without
 it.  can someone provide the failure details?
 
 final comments, oks?
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/security/vpnc/Makefile,v
 retrieving revision 1.12
 diff -u -p -r1.12 Makefile
 --- Makefile  15 Sep 2007 23:30:01 -  1.12
 +++ Makefile  31 Mar 2008 13:58:49 -
 @@ -2,8 +2,7 @@
  
  COMMENT= client for Cisco 3000 VPN concentrators
  
 -DISTNAME=vpnc-0.3.3
 -PKGNAME= ${DISTNAME}p1
 +DISTNAME=vpnc-0.5.1
  CATEGORIES=  security net
  
  HOMEPAGE=http://www.unix-ag.uni-kl.de/~massar/vpnc/
 @@ -25,6 +24,7 @@ NO_REGRESS= Yes
  do-configure:
   @perl -pi -e s,/etc,${SYSCONFDIR},g ${WRKSRC}/{README,config.c}
   @sed -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/vpnc.sh  
 ${WRKBUILD}/vpnc.sh
 + @sed -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/split.sh  
 ${WRKBUILD}/split.sh
  
  do-install:
   ${INSTALL_PROGRAM} ${WRKBUILD}/vpnc ${PREFIX}/sbin
 @@ -33,6 +33,7 @@ do-install:
   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vpnc
   ${INSTALL_DATA} ${WRKBUILD}/vpnc.conf ${PREFIX}/share/examples/vpnc
   ${INSTALL_DATA} ${WRKBUILD}/vpnc-script ${PREFIX}/share/examples/vpnc
 + ${INSTALL_DATA} ${WRKBUILD}/split.sh ${PREFIX}/share/examples/vpnc
   ${INSTALL_DATA} ${WRKBUILD}/vpnc.sh ${PREFIX}/share/examples/vpnc
   ${INSTALL_MAN} ${WRKBUILD}/vpnc.8 ${PREFIX}/man/man8
  
 Index: distinfo
 ===
 RCS file: /cvs/ports/security/vpnc/distinfo,v
 retrieving revision 1.6
 diff -u -p -r1.6 distinfo
 --- distinfo  5 Apr 2007 17:26:10 -   1.6
 +++ distinfo  31 Mar 2008 13:58:49 -
 @@ -1,5 +1,5 @@
 -MD5 (vpnc-0.3.3.tar.gz) = 51GM/yEyb+frl5W2DCWuag==
 -RMD160 (vpnc-0.3.3.tar.gz) = /8sin7jKwY+NbeoOZ/iM7EIPMdo=
 -SHA1 (vpnc-0.3.3.tar.gz) = lVWeHFsfS8eNwaC5+V4aLWWoTAo=
 -SHA256 (vpnc-0.3.3.tar.gz) = vkqOh7BEy5k0nnHmh5RGc53VN9veE+mexhgX7WdgW9c=
 -SIZE (vpnc-0.3.3.tar.gz) = 59939
 +MD5 (vpnc-0.5.1.tar.gz) = eo6U2+lPOaT9ibcuASX2bw==
 +RMD160 (vpnc-0.5.1.tar.gz) = dt1aOji9IQnPjh+62F4nYuhImDI=
 +SHA1 (vpnc-0.5.1.tar.gz) = 78cdugOqQJRa815LB02Z+SL/f/0=
 +SHA256 (vpnc-0.5.1.tar.gz) = 9jZgvQILvmo56OtnrWDFTXGQRsYZimg0Nx0JiUf5ou0=
 +SIZE (vpnc-0.5.1.tar.gz) = 91496
 Index: files/split.sh
 ===
 RCS file: files/split.sh
 diff -N files/split.sh
 --- /dev/null 1 Jan 1970 00:00:00 -
 +++ files/split.sh31 Mar 2008 13:58:49 -
 @@ -0,0 +1,19 @@
 +#!/bin/sh
 +
 +# this effectively disables changes to /etc/resolv.conf
 +INTERNAL_IP4_DNS=
 +
 +# This sets up split networking regardless
 +# of the concentrators specifications.
 +# You can add as many routes as you want,
 +# but you must set the counter $CISCO_SPLIT_INC
 +# accordingly
 +CISCO_SPLIT_INC=1
 +CISCO_SPLIT_INC_0_ADDR=10.0.0.0
 +CISCO_SPLIT_INC_0_MASK=255.255.0.0
 +CISCO_SPLIT_INC_0_MASKLEN=16
 +CISCO_SPLIT_INC_0_PROTOCOL=0
 +CISCO_SPLIT_INC_0_SPORT=0
 +CISCO_SPLIT_INC_0_DPORT=0
 +
 +. /etc/vpnc/vpnc-script
 Index: patches/patch-Makefile
 ===
 RCS file: /cvs/ports/security/vpnc/patches/patch-Makefile,v
 retrieving revision 1.3
 diff -u -p -r1.3 patch-Makefile
 --- patches/patch-Makefile11 Nov 2005 19:38:07 -  1.3
 +++ patches/patch-Makefile31 Mar 2008 13:58:49 -
 @@ -1,16 +1,18 @@
  $OpenBSD: patch-Makefile,v 1.3 2005/11/11 19:38:07 sturm Exp $
  Makefile.origSun May  1 22:30:35 2005
 -+++ Makefile Fri Nov  4 00:03:54 2005
 -@@ -22,9 +22,9 @@ ETCDIR=/etc/vpnc
 - SBINDIR=$(PREFIX)/sbin
 - MANDIR=$(PREFIX)/share/man
 +--- Makefile.origThu Sep  6 16:05:15 2007
  Makefile Wed Sep 19 06:05:20 2007
 +@@ -49,12 +49,9 @@ RELEASE_VERSION := $(shell cat VERSION)
 + #OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
 + #OPENSSLLIBS = -lcrypto
   
  -CC=gcc
 --CFLAGS=-W -Wall -O -g '-DVERSION=$(shell cat VERSION)' $(shell 
 libgcrypt-config --cflags)
 --LDFLAGS=-g $(shell libgcrypt-config --libs)
 -+CC?=gcc
 -+CFLAGS+=-W -Wall '-DVERSION=$(shell cat VERSION)' $(shell 
 libgcrypt-config --cflags)
 -+LDFLAGS+=$(shell libgcrypt-config --libs)