/ports/math/blas does not build

2010-08-14 Thread astar
I have not figured out how to cut and paste from xterm and I expect  
that attachments are not the thing to do.  Thus no nice build outputs.  
My -current is say two days old.  There are four patches and none of  
the patches cleanly apply.


I note it seems to be almost 20 year old code, fortran, and  
openoffice3 build is dependent on it.




Re: broken hellanzb in current

2010-08-14 Thread Didier Wiroth
Thanks!!!
Yes, it fixed the problem!!
Kind regards,
Didier

On 13 August 2010 17:25, Giovanni Bechis giova...@openbsd.org wrote:
 On 08/13/10 13:30, Didier Wiroth wrote:
 Hello,
 I'm not a developer ... so sorry for simply informing rather than submitting 
 a patch ;-(.

 /usr/ports/news/hellanzb is not working anymore in CURRENT since a few weeks 
 now.

 Hellanzb gets compiled and can be installed but it doesn't run.
 This patch (from Debian) should fix the problem.
  Cheers
  Giovanni




-- 
Didier Wiroth



Re: New port: sysutils/dtpstree

2010-08-14 Thread Douglas Thrift
On 7/25/2010 11:03 PM, Douglas Thrift wrote:
 Hello,
 
 I would appreciate any comments on my port.
 
 Thanks!
 
 [doug...@openbsd-i386:sysutils]$ pkg_info dtpstree
 Information for inst:dtpstree-1.0.2
 
 Comment:
 display a tree of processes
 
 Description:
 DT PS Tree shows running processes as a tree. It is a reimplementation
 of pstree from PSmisc for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and
 possibly other modern BSD variants. It also works without /proc and will
 show the full set of processes in a jail even if init is not present.
 
 Maintainer: Douglas William Thrift doug...@douglasthrift.net
 
 WWW: http://code.douglasthrift.net/trac/dtpstree

I have updated the port to version 1.0.3.
-- 
Douglas William Thrift
douglas...@gmail.com
http://douglasthrift.net/


dtpstree.tgz
Description: Binary data


[patch] math/blas-1.0p4 (was Re: /ports/math/blas does not build)

2010-08-14 Thread Thomas de Grivel

On 08/14/10 08:14, as...@spamcop.net wrote:

I have not figured out how to cut and paste from xterm and I expect that
attachments are not the thing to do. Thus no nice build outputs. My
-current is say two days old. There are four patches and none of the
patches cleanly apply.

I note it seems to be almost 20 year old code, fortran, and openoffice3
build is dependent on it.


py-gtk is dependent on it I think.
Do you mean copy / paste like, mouse select / button 2 ?
Attachments are ok.

Attached is a patch for math/blas reflecting the silent changes from 
(unversioned) upstream tarball.


I do not use blas, i just tried to fix the build so please review !

Cheers,

--
Thomas de Grivel
http://www.lowh.net/
Index: Makefile
===
RCS file: /cvs/ports/math/blas/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile18 Jul 2010 10:30:41 -  1.14
+++ Makefile13 Aug 2010 15:22:49 -
@@ -5,7 +5,7 @@ COMMENT=Basic Linear Algebra Subprogram
 VERSION=   1.0
 DISTNAME=  blas
 PKGNAME=   ${DISTNAME}-${VERSION}
-REVISION=  3
+REVISION=  4
 SHARED_LIBS=   blas1.0
 
 CATEGORIES=math
@@ -25,7 +25,7 @@ MASTER_SITES= ftp://ftp.netlib.org/blas/
 MASTER_SITES0= ${MASTER_SITES:S/blas/lapack/}
 EXTRACT_SUFX=  .tgz
 DIST_SUBDIR=   ${DISTNAME}-${VERSION}
-WRKDIST=   ${WRKDIR}
+WRKDIST=   ${WRKDIR}/BLAS
 
 MODULES=   fortran
 MODFORTRAN_WANTG77=Yes
@@ -37,7 +37,7 @@ MAKE_ENV= SHLIB_MAJOR=${LIBblas_VERSION:
FC=${FC}
 FAKE_FLAGS=LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
 
-MANSRC=${WRKDIR}/${DISTNAME}/man/manl
+MANSRC=${WRKDIR}/lapack-3.2.0/manpages/blas/man/manl
 
 # See bsd.lib.mk:162
 .if ${MACHINE_ARCH:Mmips64*}
Index: distinfo
===
RCS file: /cvs/ports/math/blas/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo5 Apr 2007 16:20:05 -   1.4
+++ distinfo13 Aug 2010 15:22:49 -
@@ -1,10 +1,10 @@
-MD5 (blas-1.0/blas.tgz) = WBHks9/6ehCVar+SPOwb1A==
-MD5 (blas-1.0/manpages.tgz) = UO+rbNc6lClYT38VN/Fyfw==
-RMD160 (blas-1.0/blas.tgz) = 0s6jrmFWtvWD+uXlkGlf+zBqu4A=
-RMD160 (blas-1.0/manpages.tgz) = lwTUbBejKMZpB8K4c9bfJOQtDyU=
-SHA1 (blas-1.0/blas.tgz) = q3P8xp0MdIiK6memmPYM2RsNOvI=
-SHA1 (blas-1.0/manpages.tgz) = c5dcLZ3Q8A8kqK719abmZ1J9L9M=
-SHA256 (blas-1.0/blas.tgz) = vQYqeeNamoNc/Y6uvmJiu7GVYQM2zwdDXNK33yAL8IQ=
-SHA256 (blas-1.0/manpages.tgz) = AuMMujV621/rSzipdH4eNjNzKqSmjDJsvYIg/UPIU8Y=
-SIZE (blas-1.0/blas.tgz) = 94981
-SIZE (blas-1.0/manpages.tgz) = 721308
+MD5 (blas-1.0/blas.tgz) = fmr3AiRA2GiNFr6G1V+zWA==
+MD5 (blas-1.0/manpages.tgz) = FFAHyrkVUEyuw4IolGKhZg==
+RMD160 (blas-1.0/blas.tgz) = 6lx/7V/j2t82Aj8O4SIrUgAHVFk=
+RMD160 (blas-1.0/manpages.tgz) = nxByf3pEMoevXNm11mAMlyeQWXE=
+SHA1 (blas-1.0/blas.tgz) = Cuyk7UXy5VGZd3R+1rz4DRsDNdI=
+SHA1 (blas-1.0/manpages.tgz) = xVgHPgWxaZi14/LGV9D6z1YuxVE=
+SHA256 (blas-1.0/blas.tgz) = vC8liYFBw+2VE6vjs/FeAPDS6Igcfya3SVDN7kX7VB0=
+SHA256 (blas-1.0/manpages.tgz) = ysI05ZfyuTiL89PAVJuKVr84Z8bFVNhEu4OQOZc4YfY=
+SIZE (blas-1.0/blas.tgz) = 98957
+SIZE (blas-1.0/manpages.tgz) = 1016997
Index: patches/patch-blas_man_manl_cscal_l
===
RCS file: patches/patch-blas_man_manl_cscal_l
diff -N patches/patch-blas_man_manl_cscal_l
--- patches/patch-blas_man_manl_cscal_l 5 Sep 2007 15:32:19 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-$OpenBSD: patch-blas_man_manl_cscal_l,v 1.2 2007/09/05 15:32:19 steven Exp $
 blas/man/manl/cscal.l.orig Sat Apr  1 19:54:03 2006
-+++ blas/man/manl/cscal.l  Sat Apr  1 19:54:11 2006
-@@ -1,4 +1,4 @@
--.SH NAME
-+.TH CSCAL 3f
- 
- .SH SYNOPSIS
- .TP 31
Index: patches/patch-blas_man_manl_dcabs1_l
===
RCS file: patches/patch-blas_man_manl_dcabs1_l
diff -N patches/patch-blas_man_manl_dcabs1_l
--- patches/patch-blas_man_manl_dcabs1_l5 Sep 2007 15:32:19 -   
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-$OpenBSD: patch-blas_man_manl_dcabs1_l,v 1.2 2007/09/05 15:32:19 steven Exp $
 blas/man/manl/dcabs1.l.origSat Apr  1 19:54:21 2006
-+++ blas/man/manl/dcabs1.l Sat Apr  1 19:54:33 2006
-@@ -1,4 +1,4 @@
--.SH NAME
-+.TH DCABS1 3f
- 
- .SH SYNOPSIS
- .TP 17
Index: patches/patch-blas_man_manl_zrotg_l
===
RCS file: patches/patch-blas_man_manl_zrotg_l
diff -N patches/patch-blas_man_manl_zrotg_l
--- patches/patch-blas_man_manl_zrotg_l 5 Sep 2007 15:32:19 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-$OpenBSD: patch-blas_man_manl_zrotg_l,v 1.2 2007/09/05 15:32:19 steven Exp $
 blas/man/manl/zrotg.l.orig Sat Apr  1 19:54:40 2006
-+++ blas/man/manl/zrotg.l  Sat Apr  1 19:54:47 

Re: [patch] math/blas-1.0p4 (was Re: /ports/math/blas does not build)

2010-08-14 Thread Steven Mestdagh
Thomas de Grivel [2010-08-14, 10:41:37]:
 On 08/14/10 08:14, as...@spamcop.net wrote:
 I have not figured out how to cut and paste from xterm and I expect that
 attachments are not the thing to do. Thus no nice build outputs. My
 -current is say two days old. There are four patches and none of the
 patches cleanly apply.
 
 I note it seems to be almost 20 year old code, fortran, and openoffice3
 build is dependent on it.
 
 py-gtk is dependent on it I think.
 Do you mean copy / paste like, mouse select / button 2 ?
 Attachments are ok.
 
 Attached is a patch for math/blas reflecting the silent changes from
 (unversioned) upstream tarball.
 
 I do not use blas, i just tried to fix the build so please review !

Thanks for noticing that. I'll take a look at this later.
Looks like they bundled a makefile with the code so we may as well use that.
You should be able to build the in tree port with distfiles from
ftp.openbsd.org.


 
 Cheers,
 
 -- 
 Thomas de Grivel
 http://www.lowh.net/

 Index: Makefile
 ===
 RCS file: /cvs/ports/math/blas/Makefile,v
 retrieving revision 1.14
 diff -u -p -r1.14 Makefile
 --- Makefile  18 Jul 2010 10:30:41 -  1.14
 +++ Makefile  13 Aug 2010 15:22:49 -
 @@ -5,7 +5,7 @@ COMMENT=  Basic Linear Algebra Subprogram
  VERSION= 1.0
  DISTNAME=blas
  PKGNAME= ${DISTNAME}-${VERSION}
 -REVISION=3
 +REVISION=4
  SHARED_LIBS= blas1.0
  
  CATEGORIES=  math
 @@ -25,7 +25,7 @@ MASTER_SITES=   ftp://ftp.netlib.org/blas/
  MASTER_SITES0=   ${MASTER_SITES:S/blas/lapack/}
  EXTRACT_SUFX=.tgz
  DIST_SUBDIR= ${DISTNAME}-${VERSION}
 -WRKDIST= ${WRKDIR}
 +WRKDIST= ${WRKDIR}/BLAS
  
  MODULES= fortran
  MODFORTRAN_WANTG77=  Yes
 @@ -37,7 +37,7 @@ MAKE_ENV=   SHLIB_MAJOR=${LIBblas_VERSION:
   FC=${FC}
  FAKE_FLAGS=  LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
  
 -MANSRC=  ${WRKDIR}/${DISTNAME}/man/manl
 +MANSRC=  ${WRKDIR}/lapack-3.2.0/manpages/blas/man/manl
  
  # See bsd.lib.mk:162
  .if ${MACHINE_ARCH:Mmips64*}
 Index: distinfo
 ===
 RCS file: /cvs/ports/math/blas/distinfo,v
 retrieving revision 1.4
 diff -u -p -r1.4 distinfo
 --- distinfo  5 Apr 2007 16:20:05 -   1.4
 +++ distinfo  13 Aug 2010 15:22:49 -
 @@ -1,10 +1,10 @@
 -MD5 (blas-1.0/blas.tgz) = WBHks9/6ehCVar+SPOwb1A==
 -MD5 (blas-1.0/manpages.tgz) = UO+rbNc6lClYT38VN/Fyfw==
 -RMD160 (blas-1.0/blas.tgz) = 0s6jrmFWtvWD+uXlkGlf+zBqu4A=
 -RMD160 (blas-1.0/manpages.tgz) = lwTUbBejKMZpB8K4c9bfJOQtDyU=
 -SHA1 (blas-1.0/blas.tgz) = q3P8xp0MdIiK6memmPYM2RsNOvI=
 -SHA1 (blas-1.0/manpages.tgz) = c5dcLZ3Q8A8kqK719abmZ1J9L9M=
 -SHA256 (blas-1.0/blas.tgz) = vQYqeeNamoNc/Y6uvmJiu7GVYQM2zwdDXNK33yAL8IQ=
 -SHA256 (blas-1.0/manpages.tgz) = AuMMujV621/rSzipdH4eNjNzKqSmjDJsvYIg/UPIU8Y=
 -SIZE (blas-1.0/blas.tgz) = 94981
 -SIZE (blas-1.0/manpages.tgz) = 721308
 +MD5 (blas-1.0/blas.tgz) = fmr3AiRA2GiNFr6G1V+zWA==
 +MD5 (blas-1.0/manpages.tgz) = FFAHyrkVUEyuw4IolGKhZg==
 +RMD160 (blas-1.0/blas.tgz) = 6lx/7V/j2t82Aj8O4SIrUgAHVFk=
 +RMD160 (blas-1.0/manpages.tgz) = nxByf3pEMoevXNm11mAMlyeQWXE=
 +SHA1 (blas-1.0/blas.tgz) = Cuyk7UXy5VGZd3R+1rz4DRsDNdI=
 +SHA1 (blas-1.0/manpages.tgz) = xVgHPgWxaZi14/LGV9D6z1YuxVE=
 +SHA256 (blas-1.0/blas.tgz) = vC8liYFBw+2VE6vjs/FeAPDS6Igcfya3SVDN7kX7VB0=
 +SHA256 (blas-1.0/manpages.tgz) = ysI05ZfyuTiL89PAVJuKVr84Z8bFVNhEu4OQOZc4YfY=
 +SIZE (blas-1.0/blas.tgz) = 98957
 +SIZE (blas-1.0/manpages.tgz) = 1016997
 Index: patches/patch-blas_man_manl_cscal_l
 ===
 RCS file: patches/patch-blas_man_manl_cscal_l
 diff -N patches/patch-blas_man_manl_cscal_l
 --- patches/patch-blas_man_manl_cscal_l   5 Sep 2007 15:32:19 -   
 1.2
 +++ /dev/null 1 Jan 1970 00:00:00 -
 @@ -1,9 +0,0 @@
 -$OpenBSD: patch-blas_man_manl_cscal_l,v 1.2 2007/09/05 15:32:19 steven Exp $
  blas/man/manl/cscal.l.orig   Sat Apr  1 19:54:03 2006
 -+++ blas/man/manl/cscal.lSat Apr  1 19:54:11 2006
 -@@ -1,4 +1,4 @@
 --.SH NAME
 -+.TH CSCAL 3f
 - 
 - .SH SYNOPSIS
 - .TP 31
 Index: patches/patch-blas_man_manl_dcabs1_l
 ===
 RCS file: patches/patch-blas_man_manl_dcabs1_l
 diff -N patches/patch-blas_man_manl_dcabs1_l
 --- patches/patch-blas_man_manl_dcabs1_l  5 Sep 2007 15:32:19 -   
 1.2
 +++ /dev/null 1 Jan 1970 00:00:00 -
 @@ -1,9 +0,0 @@
 -$OpenBSD: patch-blas_man_manl_dcabs1_l,v 1.2 2007/09/05 15:32:19 steven Exp $
  blas/man/manl/dcabs1.l.orig  Sat Apr  1 19:54:21 2006
 -+++ blas/man/manl/dcabs1.l   Sat Apr  1 19:54:33 2006
 -@@ -1,4 +1,4 @@
 --.SH NAME
 -+.TH DCABS1 3f
 - 
 - .SH SYNOPSIS
 - .TP 17
 Index: patches/patch-blas_man_manl_zrotg_l
 ===
 RCS file: patches/patch-blas_man_manl_zrotg_l
 diff -N 

Re: [patch] math/blas-1.0p4 (was Re: /ports/math/blas does not build)

2010-08-14 Thread Stuart Henderson
On 2010/08/14 11:06, Steven Mestdagh wrote:
 
 Thanks for noticing that. I'll take a look at this later.
 Looks like they bundled a makefile with the code so we may as well use that.
 You should be able to build the in tree port with distfiles from
 ftp.openbsd.org.

It seems that ftp.openbsd.org has mirrored the newer version..
You can fetch the old distfiles from http://junkpile.org/blas-1.0/
(I thought we had some symlink magic to take care of this situation
but I might be mistaken..)



Re: [patch] math/blas-1.0p4 (was Re: /ports/math/blas does not build)

2010-08-14 Thread Marc Espie
On Sat, Aug 14, 2010 at 10:15:09AM +0100, Stuart Henderson wrote:
 On 2010/08/14 11:06, Steven Mestdagh wrote:
  
  Thanks for noticing that. I'll take a look at this later.
  Looks like they bundled a makefile with the code so we may as well use that.
  You should be able to build the in tree port with distfiles from
  ftp.openbsd.org.
 
 It seems that ftp.openbsd.org has mirrored the newer version..
 You can fetch the old distfiles from http://junkpile.org/blas-1.0/
 (I thought we had some symlink magic to take care of this situation
 but I might be mistaken..)

make checksum REFETCH=true
does work, so yeah, mirroring is effective ;-)



Re: UPDATE: games/chocolate-doom

2010-08-14 Thread Jacob Meuser
On Fri, Aug 13, 2010 at 08:49:30AM -0700, Ryan Freeman wrote:

 One thing to note is fraggle's efforts to add support for openbsd's
 OPL device driver, and a software OPL emulator to play back doom's
 music as closely as possible to the way it would have originally
 sounded back in 1993 with the appropriate audio card :)

opl(4) was removed from the kernel not long ago.

from the chololate-doom README.OPL: 

  === OpenBSD/NetBSD ===

  You must be running as root to access the hardware OPL directly.

also, opl(4) didn't seem to work with cmpci(4).  I asked a couple years
ago for eso(4) testing and didn't get much response.  I recently asked
for testing of several ISA cards that have opl(4), even particularly
ym(4), and got no replies *at all*.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: New port: sysutils/dtpstree

2010-08-14 Thread Ryan Freeman
Excerpts from Douglas Thrift's message of Sat Aug 14 01:38:25 -0700 2010:
 On 7/25/2010 11:03 PM, Douglas Thrift wrote:
  Hello,
  
  I would appreciate any comments on my port.
  
  Thanks!
  
  [doug...@openbsd-i386:sysutils]$ pkg_info dtpstree
  Information for inst:dtpstree-1.0.2
  
  Comment:
  display a tree of processes
  
  Description:
  DT PS Tree shows running processes as a tree. It is a reimplementation
  of pstree from PSmisc for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and
  possibly other modern BSD variants. It also works without /proc and will
  show the full set of processes in a jail even if init is not present.
  
  Maintainer: Douglas William Thrift doug...@douglasthrift.net
  
  WWW: http://code.douglasthrift.net/trac/dtpstree
 
 I have updated the port to version 1.0.3.

tested good on i386-current, i like this.

-ryan



stardict port anybody?

2010-08-14 Thread Jiri B.
Hello,

does anybody have stardict port so I don't need to spend hours to try
to get compilation working?

jirib



Re: New port: sysutils/dtpstree

2010-08-14 Thread BSD

On 08/14/10 02:38, Douglas Thrift wrote:

On 7/25/2010 11:03 PM, Douglas Thrift wrote:
   

Hello,

I would appreciate any comments on my port.

Thanks!

[doug...@openbsd-i386:sysutils]$ pkg_info dtpstree
Information for inst:dtpstree-1.0.2

Comment:
display a tree of processes

Description:
DT PS Tree shows running processes as a tree. It is a reimplementation
of pstree from PSmisc for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and
possibly other modern BSD variants. It also works without /proc and will
show the full set of processes in a jail even if init is not present.

Maintainer: Douglas William Thriftdoug...@douglasthrift.net

WWW: http://code.douglasthrift.net/trac/dtpstree
 

I have updated the port to version 1.0.3.
   

All good for -current i386

-luis



Re: New: emulators/fceux

2010-08-14 Thread Anthony J. Bentley
 
 Hello ports@
 
 i am very excited to finally be able to submit this port, we have been
 lacking a real NES emulator in our ports tree :) I have been playing
 with FCEUX for the past week and it runs great; this is the first time
 i can properly play NES games on OpenBSD without requiring a linux binary!
 iNES doesn't count, it does not include nearly as much accuracy or 
 compatibility, and doesn't even have a good timing configuration (have
 to manually add parmeters just to try and play with things at normal speed)

Happy to see this port. Tested on i386 and amd64, works fine with
my uhid(4) joypad too.