Re: cups-enable
On 12/12/2008 2:40 PM, Jacob Meuser wrote: Who knows about -M? I'm serious. I've never used that option before, and it's totally nonobvious that I should look through the man page to find it. uh, you're saying it's totally nonobvious that people should read the manuals of tools they are using? In my case, I didn't know it existed, I always just looked at the + files in /var/db/pkg (which is far less intuitive than -M, but I already knew they were there). Perhaps pkg_info packagename should note the existence of a README.OpenBSD if one exists?
UPDATE: games/prboom
hello, attached is a patch updating prboom to the latest release, 2.5.0. changelog here: http://prboom.sourceforge.net/ i have also noticed there is no maintainer set for this port, i volunteer. finally, i have modified the patches so data files do go under /usr/local/share/games/doom rather than /usr/local/share/prboom as all the other doom ports are generally setup to use that standard location for iwads and port's helper wads. regards, -ryan diff -ur prboom/Makefile /home/ryan/ports/games/prboom/Makefile --- prboom/Makefile Wed Dec 5 05:15:09 2007 +++ /home/ryan/ports/games/prboom/Makefile Sat Dec 13 16:43:10 2008 @@ -1,31 +1,34 @@ # $OpenBSD: Makefile,v 1.14 2007/12/05 13:15:09 ajacoutot Exp $ -COMMENT= enhanced clone of Id Software's Doom game; multiplayer -DISTNAME= prboom-2.4.7 -PKGNAME= ${DISTNAME}p1 -CATEGORIES=games x11 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/} +COMMENT = enhanced clone of Id Software's Doom game; multiplayer +DISTNAME = prboom-2.5.0 +CATEGORIES = games x11 +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=prboom/} -HOMEPAGE= http://prboom.sourceforge.net/ +HOMEPAGE = http://prboom.sourceforge.net/ +MAINTAINER =Ryan Freeman + # GPL -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP =Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes -WANTLIB= SDL c m pthread z GL GLU +WANTLIB = SDL c m z pthread GL GLU z -USE_X11=Yes +USE_X11 = Yes -LIB_DEPENDS= SDL_mixer.>=3::devel/sdl-mixer \ +LIB_DEPENDS = SDL_mixer.>=3::devel/sdl-mixer \ SDL_net.>=1::devel/sdl-net \ png.>=4::graphics/png -CONFIGURE_ENV+=CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng" \ +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=prboom/} + +CONFIGURE_ENV +=CPPFLAGS="-I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_STYLE=gnu -CONFIGURE_ARGS+=--disable-cpu-opt +CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += --disable-cpu-opt MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools .include diff -ur prboom/distinfo /home/ryan/ports/games/prboom/distinfo --- prboom/distinfo Thu Apr 5 08:38:11 2007 +++ /home/ryan/ports/games/prboom/distinfo Sat Dec 13 12:02:33 2008 @@ -1,5 +1,5 @@ -MD5 (prboom-2.4.7.tar.gz) = mUL1IXZNf4nfIhikVtpPAg== -RMD160 (prboom-2.4.7.tar.gz) = eMhUiVTdlUafgJm8j6aX9ippwX4= -SHA1 (prboom-2.4.7.tar.gz) = Uq65M9t3C0gzExfcNX9sutMIVgA= -SHA256 (prboom-2.4.7.tar.gz) = 3iLbqs0loPCxbFB6ojJqkLf13Pz4YsPccHaZbGGHzS8= -SIZE (prboom-2.4.7.tar.gz) = 999524 +MD5 (prboom-2.5.0.tar.gz) = qKFfYfomJquYBRqycDN4xA== +RMD160 (prboom-2.5.0.tar.gz) = zGlcoM65+bnKKs5yZ6BkeZxh/7o= +SHA1 (prboom-2.5.0.tar.gz) = 8X3G7U5y0HuFQpF3sAuHCeo29aA= +SHA256 (prboom-2.5.0.tar.gz) = ImwcRw+MyYMydTZAT0BaHQJs8KUYjGlKEkPMhjABS64= +SIZE (prboom-2.5.0.tar.gz) = 1049505 diff -ur prboom/patches/patch-Makefile_in /home/ryan/ports/games/prboom/patches/patch-Makefile_in --- prboom/patches/patch-Makefile_inThu Sep 21 22:54:38 2006 +++ /home/ryan/ports/games/prboom/patches/patch-Makefile_in Sat Dec 13 12:11:35 2008 @@ -1,12 +1,12 @@ -$OpenBSD: patch-Makefile_in,v 1.1 2006/09/22 05:54:38 jsg Exp $ Makefile.in.orig Fri Sep 22 13:30:36 2006 -+++ Makefile.inFri Sep 22 13:30:54 2006 -@@ -207,7 +207,7 @@ AUX_DIST_GEN = \ - $(ac_aux_dir)/missing - - MAINTAINERCLEANFILES = $(AUX_DIST_GEN) +$OpenBSD$ +--- Makefile.in.orig Sat Dec 13 12:04:48 2008 Makefile.inSat Dec 13 12:05:11 2008 +@@ -163,7 +163,7 @@ build_vendor = @build_vendor@ + builddir = @builddir@ + datadir = @datadir@ + datarootdir = @datarootdir@ -docdir = $(prefix)/share/doc/@pack...@-@VERSION@ +docdir = $(prefix)/share/doc/prboom - SUBDIRS = doc data src ICONS VisualC8 VisualC6 - EXTRA_DIST = prboom.spec.in prboom.spec config.h bootstrap $(AUX_DIST_GEN) - doc_DATA = README COPYING AUTHORS NEWS + dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ diff -ur prboom/patches/patch-configure /home/ryan/ports/games/prboom/patches/patch-configure --- prboom/patches/patch-configure Sun Nov 19 19:15:36 2006 +++ /home/ryan/ports/games/prboom/patches/patch-configure Sat Dec 13 12:11:35 2008 @@ -1,19 +1,7 @@ -$OpenBSD: patch-configure,v 1.6 2006/11/20 03:15:36 jolan Exp $ configure.orig Sun Nov 19 11:45:22 2006 -+++ configure Sun Nov 19 21:12:41 2006 -@@ -1913,9 +1913,9 @@ if test "${with_waddir+set}" = set; then - DOOMWADDIR="$withval" - else - if test "x$prefix" != xNONE; then -- DOOMWADDIR="$prefix/share/games/doom" -+ DOOMWADDIR="$prefix/share/prboom" - else -- DOOMWADDIR="$ac_default_prefix/share/games/doom" -+ DOOMWADDIR="$ac_default_prefix/share/prboom" - fi - - fi; -@@ -5999,7 +5999,7 @@ if test "${ac_cv_lib_png_png_create_info +$OpenBSD$ +--- configure.orig Sun Nov 9 11:22:17 2008 configu
Re: ff3
On Sat, Dec 13, 2008 at 09:36:34PM +0100, frantisek holop wrote: > hmm, on Sun, Dec 07, 2008 at 09:26:24PM +0100, Hannah Schroeter said that > > For me it feels a little bit less slow and not more memory hungry than > > ff2 always was (ff2 was/is a beast and on my a bit slower home box I > > began moving over to konqueror again, which is fast even though I don't > > use kde otherwise - even faster than ff3 on my faster work box). > > but get this. if you have a slow (like the eee) machine, why not > give opera a try? yes, even in linux emulation it beats ff{2,3} > hands down absolutely. it takes a bit of using to, but actually > it is much better than ff in many respects. i often hear the plugin > argument against, but if one doesn't want really esoteric stuff, it's > a breeze: e.g. i copied the adblock list into .opera/urlfilter.ini > and it's the same. (but i did a fair amount of web development so > firebug is the only thing i keep firefox for still around.) > > and get this: opera in openbsd's linux emulation is more stable than > the linux version i used on the eeepc. i never needed to kill it > on openbsd, on linux the pluginwrapper chokes all the time. it's crazy. > > opera is just miles away from firefox. at least now it is. > > -f > -- > madam i'm adam. > > I am trying opera and I am amazed by the performance, it's considerably faster than ff3, and I have no more those tremendous lags disturbing me. I was stucked with ff3 for the `vimperator' but I found a little plugin called `vimperopera' that helps a lot with the opera navigation. Thanks.
[patch] zip.
Hello ports@, Subj: Index: Makefile === RCS file: /cvs/ports/archivers/zip/Makefile,v retrieving revision 1.36 diff -d -u -r1.36 Makefile --- Makefile15 Sep 2007 10:14:33 - 1.36 +++ Makefile12 Dec 2008 17:20:51 - @@ -2,16 +2,13 @@ COMMENT= create/update ZIP files compatible with PKZip(tm) -DISTNAME= zip-2.32 +VERSION= 3.0 +DISTNAME= zip${VERSION:S/.//} +PKGNAME= zip-${VERSION} CATEGORIES=archivers -MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=tools/zip/info-zip/src/} \ - ftp://ftp.info-zip.org/pub/infozip/src/ \ - ${MASTER_SITE_SOURCEFORGE:=infozip/} \ - http://mirror.switch.ch/ftp/mirror/infozip/src/ - -DISTFILES= zip232.tar.gz zcrypt29.zip +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=infozip/} -HOMEPAGE= http://www.ctan.org/tex-archive/tools/zip/info-zip/Zip.html +HOMEPAGE= http://infozip.sourceforge.net/ # Conditional PERMIT_PACKAGE_CDROM= Yes @@ -21,15 +18,15 @@ WANTLIB= c MAKE_FLAGS=CC="${CC}" CFLAGS_NOOPT="${CFLAGS} -I. -DUNIX" -FAKE_FLAGS=prefix="${WRKINST}${PREFIX}" MAKE_FILE= unix/Makefile - ALL_TARGET=generic - -post-extract: - @mv -f ${WRKDIR}/crypt.[ch] ${WRKSRC} - NO_REGRESS=Yes + +do-install: +.for prog in zip zipcloak zipnote zipsplit + ${INSTALL_PROGRAM} ${WRKBUILD}/${prog} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIST}/man/${prog}.1 ${PREFIX}/man/man1 +.endfor .include Index: distinfo === RCS file: /cvs/ports/archivers/zip/distinfo,v retrieving revision 1.4 diff -d -u -r1.4 distinfo --- distinfo5 Apr 2007 15:37:41 - 1.4 +++ distinfo12 Dec 2008 17:20:51 - @@ -1,10 +1,5 @@ -MD5 (zcrypt29.zip) = DJaboWYRg7BBoUKUXtJxDg== -MD5 (zip232.tar.gz) = ik2kRgOG4yTevpfzt/5Nlg== -RMD160 (zcrypt29.zip) = cBqkfZELdshahos0ORLr0thJvcM= -RMD160 (zip232.tar.gz) = a5MmyKYLxr8Igl5BYUD9DKimp/E= -SHA1 (zcrypt29.zip) = BCI+qIujz10PjWpfycGkzYxWj1Y= -SHA1 (zip232.tar.gz) = W8Viv5XZruDLZiXmA4iY4fGRpKo= -SHA256 (zcrypt29.zip) = r24P+vkLYfXcdBQTHU4mBlADCXqxe93fK/USIY1QAno= -SHA256 (zip232.tar.gz) = 0NN0P3Mqm6oWL4DQxFZ7nFRbQaM4WCUEIROBDypW6y8= -SIZE (zcrypt29.zip) = 20248 -SIZE (zip232.tar.gz) = 807180 +MD5 (zip30.tar.gz) = e3RVHmP47mqrb7yGZ2wNNw== +RMD160 (zip30.tar.gz) = H8mdrz42SUujksdRSnFP49JY0jI= +SHA1 (zip30.tar.gz) = yfQJns8ncrU8LdSo5QgGTOAV0YI= +SHA256 (zip30.tar.gz) = 8Oi7H5t+sLAShUlaJpnfOkt2Z4TBdlqPGu7fY8CAY2k= +SIZE (zip30.tar.gz) = 1118845 Index: patches/patch-fileio_c === RCS file: patches/patch-fileio_c diff -N patches/patch-fileio_c --- patches/patch-fileio_c 30 Jul 2006 17:33:40 - 1.2 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,20 +0,0 @@ -$OpenBSD: patch-fileio_c,v 1.2 2006/07/30 17:33:40 naddy Exp $ fileio.c.orig Thu Jun 16 05:31:52 2005 -+++ fileio.c Sun Jul 30 19:09:14 2006 -@@ -919,7 +919,15 @@ char *zip; /* path name of - } - #else - strcat(t, "ziXX"); /* must use lowercase for Linux dos file system */ -- return mktemp(t); -+ { -+ int fd = mkstemp(t); -+ if (fd == -1) { -+ perror("can't create temp file"); -+ exit(1); -+ } -+ close(fd); -+ return (t); -+ } - #endif /* NO_MKTEMP */ - #endif /* TANDEM */ - #endif /* CMS_MVS */ Index: patches/patch-unix_Makefile === RCS file: patches/patch-unix_Makefile diff -N patches/patch-unix_Makefile --- patches/patch-unix_Makefile 30 Jul 2006 17:33:40 - 1.3 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,17 +0,0 @@ -$OpenBSD: patch-unix_Makefile,v 1.3 2006/07/30 17:33:40 naddy Exp $ unix/Makefile.orig Sun Apr 23 01:52:18 2006 -+++ unix/Makefile Sun Jul 30 19:09:14 2006 -@@ -128,11 +128,9 @@ $(ZIPMANUAL): man/zip.1 - # install - install:$(ZIPS) - -$(INSTALL_D) $(BINDIR) -- $(INSTALL_PROGRAM) $(ZIPS) $(BINDIR) -- -cd $(BINDIR); $(CHMOD) $(BINFLAGS) $(ZIPS) -+ $(BSD_INSTALL_PROGRAM) $(ZIPS) $(BINDIR) - -$(INSTALL_D) $(MANDIR) -- $(INSTALL) man/zip.1 $(MANDIR)/zip.$(manext) -- $(CHMOD) $(MANFLAGS) $(MANDIR)/zip.$(manext) -+ $(BSD_INSTALL_MAN) man/zip.1 $(MANDIR)/zip.$(manext) - - uninstall: - -cd $(BINDIR); rm -f $(ZIPS) Index: patches/patch-unix_configure === RCS file: /cvs/ports/archivers/zip/patches/patch-unix_configure,v retrieving revision 1.1 diff -d -u -r1.1 patch-unix_configure --- patches/patch-unix_configure30 Jul 2006 17:33:40 - 1.1 +++ patches/patch-unix_configure12 Dec 2008 17:20:51 - @@ -1,43 +1,28 @@ $OpenBSD: patch-unix_configure,v 1.1 2006/07/30 17:33:40 naddy Exp $ unix/configure.origSun Jul 30 19:28:24 2006 -+++
Re: ff3
hmm, on Sun, Dec 07, 2008 at 09:26:24PM +0100, Hannah Schroeter said that > For me it feels a little bit less slow and not more memory hungry than > ff2 always was (ff2 was/is a beast and on my a bit slower home box I > began moving over to konqueror again, which is fast even though I don't > use kde otherwise - even faster than ff3 on my faster work box). on my eeepc ff3 doesnt feel much faster but it sure plugs numerous memory leaks over ff2. but it's slooow, especially with js sites like gmail. but get this. if you have a slow (like the eee) machine, why not give opera a try? yes, even in linux emulation it beats ff{2,3} hands down absolutely. it takes a bit of using to, but actually it is much better than ff in many respects. i often hear the plugin argument against, but if one doesn't want really esoteric stuff, it's a breeze: e.g. i copied the adblock list into .opera/urlfilter.ini and it's the same. (but i did a fair amount of web development so firebug is the only thing i keep firefox for still around.) and get this: opera in openbsd's linux emulation is more stable than the linux version i used on the eeepc. i never needed to kill it on openbsd, on linux the pluginwrapper chokes all the time. it's crazy. opera is just miles away from firefox. at least now it is. -f -- madam i'm adam.
Re: pkg_info message display [Re: cups-enable]
> .It Fl M > Show the install-message file (if any) for each package. > +If any step not documented in the manual must be taken before a package > +can be used, this file will often mention it. That is an attempt to entirely push the problem under the table. The default message should be relevant. Noone will use special options to go look for relevant information. As an option, it would be much more realistic if -M did not EXIST. The basics + by-hand-setup information for most things is 2 lines long, because it points at a file. That is what should be printed everytime. Making people go dig for the important information they need is retarded. Documenting that they need to do such a ridiculous process is not right.
Re: pkg_info message display [Re: cups-enable]
Ted Unangst wrote on Fri, Dec 12, 2008 at 05:20:19PM -0500: > Why would I know to use -M? Because I read the man page and want to > see the "install-message file"? I already installed the damn thing, > so obviously I don't want to see that file. The install message is not a "message explaining how to install", but a "message to read after install", in order to put "the damn thing" in production. Strangely, there is little information in the man pages (1) What a ports maintainer should put into pkg/MESSAGE, except for half a sentence in pkg_create(1), option -M: "Useful for things like legal notices on almost-free software, etc." The porting checklist on the web page says little, either. (2) What a user might expect to find in an install message. In particular, this might be useful to decide whether or not to use -M. I'm aware of the ongoing discussion concerning merits and problems of +DISPLAY files (and i agree some are rather bloaty, and i share the bad habit of heeding them little because they are so numerous), but for the time being, it might help to tell users (like tedu@ ;-) what to expect with the current state of affairs: Index: pkg_info.1 === RCS file: /cvs/src/usr.sbin/pkg_add/pkg_info.1,v retrieving revision 1.30 diff -u -r1.30 pkg_info.1 --- pkg_info.1 26 Oct 2008 16:16:37 - 1.30 +++ pkg_info.1 13 Dec 2008 17:15:14 - @@ -138,6 +138,8 @@ This lets you add a special token to the start of each field. .It Fl M Show the install-message file (if any) for each package. +If any step not documented in the manual must be taken before a package +can be used, this file will often mention it. .It Fl P Show the pkgpath for each package. You can easily build a subdirlist with this.
update: olsrd 0.5.6-r3
This is a bugfix update from olsrd 0.5.6 to 0.5.6-r3, please test. m Index: Makefile === RCS file: /cvs/ports/net/olsrd/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile4 Sep 2008 08:52:29 - 1.4 +++ Makefile13 Dec 2008 12:13:41 - @@ -2,7 +2,7 @@ COMMENT= OLSR routing daemon -DISTNAME= olsrd-0.5.6 +DISTNAME= olsrd-0.5.6-r3 CATEGORIES= net HOMEPAGE= http://www.olsr.org/ Index: distinfo === RCS file: /cvs/ports/net/olsrd/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo4 Sep 2008 08:52:29 - 1.4 +++ distinfo13 Dec 2008 12:13:41 - @@ -1,5 +1,5 @@ -MD5 (olsrd-0.5.6.tar.gz) = CLKzGv2V0cx2L+IA4fy60g== -RMD160 (olsrd-0.5.6.tar.gz) = ufdEp4oT/sJiVbxLn5Sj+wZ41XQ= -SHA1 (olsrd-0.5.6.tar.gz) = 5iCbld6pehwF+o1y4TYcVZF5/dA= -SHA256 (olsrd-0.5.6.tar.gz) = rxr5qeLTIihqtA5MQHJMEYXjb4hyxxJER0mQd7UZqkA= -SIZE (olsrd-0.5.6.tar.gz) = 649878 +MD5 (olsrd-0.5.6-r3.tar.gz) = O/kudIyhTyfH3iZp/orCpQ== +RMD160 (olsrd-0.5.6-r3.tar.gz) = RNkiTcT6p5uAaOCqNjGlLUaSzRU= +SHA1 (olsrd-0.5.6-r3.tar.gz) = UifMXqB0SltO1iI05IjsCSQ7xeQ= +SHA256 (olsrd-0.5.6-r3.tar.gz) = RxbkgbT2Ll9SMXV+uECoqvCkOFPk/jOFEDvu8fSZnAA= +SIZE (olsrd-0.5.6-r3.tar.gz) = 646241
Re: gcc-4.2.20070307 does not configure
On Sat, Dec 13, 2008 at 01:39:26PM +0100, Antoine Jacoutot wrote: > > checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 -g > > ) > > works... no > > configure: error: installation or configuration problem: C compiler cannot > > create executables. > > > You need libc.so.42.0 Or omit the ada pseudo flavor until espie@ has the time to bake a new adastrap distfile. Ciao, Kili
Re: gcc-4.2.20070307 does not configure
On 2008/12/13 14:46, Alexey Suslikov wrote: > On Sat, Dec 13, 2008 at 2:39 PM, Antoine Jacoutot > wrote: > > On Sat, 13 Dec 2008, Alexey Suslikov wrote: > > > >> $ cat /etc/mk.conf > >> BSDOBJDIR=/var/obj > >> WRKOBJDIR=/var/obj2 > >> > >> $ sudo nice make install > >> ===> Configuring for gcc-4.2.20070307 > >> loading site script /usr/ports/infrastructure/db/config.site > >> loading cache ./config.cache > >> checking host system type... i386-unknown-openbsd4.4 > >> checking target system type... i386-unknown-openbsd4.4 > >> checking build system type... i386-unknown-openbsd4.4 > >> checking for a BSD compatible install... /usr/bin/install -c -o root -g bin > >> checking whether ln works... yes > >> checking whether ln -s works... yes > >> checking for gcc... /var/obj2/gcc-4.2.20070307/bin/egcc > >> checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 > >> -g ) > >> works... no > >> configure: error: installation or configuration problem: C compiler cannot > >> create executables. > > > > > > You need libc.so.42.0 > > I have /usr/lib/libc.so.50.0 on this machine. Do I still need libc.so.42.0? Yes.
Re: gcc-4.2.20070307 does not configure
On Sat, Dec 13, 2008 at 2:39 PM, Antoine Jacoutot wrote: > On Sat, 13 Dec 2008, Alexey Suslikov wrote: > >> $ cat /etc/mk.conf >> BSDOBJDIR=/var/obj >> WRKOBJDIR=/var/obj2 >> >> $ sudo nice make install >> ===> Configuring for gcc-4.2.20070307 >> loading site script /usr/ports/infrastructure/db/config.site >> loading cache ./config.cache >> checking host system type... i386-unknown-openbsd4.4 >> checking target system type... i386-unknown-openbsd4.4 >> checking build system type... i386-unknown-openbsd4.4 >> checking for a BSD compatible install... /usr/bin/install -c -o root -g bin >> checking whether ln works... yes >> checking whether ln -s works... yes >> checking for gcc... /var/obj2/gcc-4.2.20070307/bin/egcc >> checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 -g ) >> works... no >> configure: error: installation or configuration problem: C compiler cannot >> create executables. > > > You need libc.so.42.0 I have /usr/lib/libc.so.50.0 on this machine. Do I still need libc.so.42.0? Alexey
Re: gcc-4.2.20070307 does not configure
On Sat, 13 Dec 2008, Alexey Suslikov wrote: > $ cat /etc/mk.conf > BSDOBJDIR=/var/obj > WRKOBJDIR=/var/obj2 > > $ sudo nice make install > ===> Configuring for gcc-4.2.20070307 > loading site script /usr/ports/infrastructure/db/config.site > loading cache ./config.cache > checking host system type... i386-unknown-openbsd4.4 > checking target system type... i386-unknown-openbsd4.4 > checking build system type... i386-unknown-openbsd4.4 > checking for a BSD compatible install... /usr/bin/install -c -o root -g bin > checking whether ln works... yes > checking whether ln -s works... yes > checking for gcc... /var/obj2/gcc-4.2.20070307/bin/egcc > checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 -g ) > works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. You need libc.so.42.0 -- Antoine
gcc-4.2.20070307 does not configure
$ cat /etc/mk.conf BSDOBJDIR=/var/obj WRKOBJDIR=/var/obj2 $ sudo nice make install ===> Configuring for gcc-4.2.20070307 loading site script /usr/ports/infrastructure/db/config.site loading cache ./config.cache checking host system type... i386-unknown-openbsd4.4 checking target system type... i386-unknown-openbsd4.4 checking build system type... i386-unknown-openbsd4.4 checking for a BSD compatible install... /usr/bin/install -c -o root -g bin checking whether ln works... yes checking whether ln -s works... yes checking for gcc... /var/obj2/gcc-4.2.20070307/bin/egcc checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 -g ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 2147 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1427 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1967 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1457 of /usr/ports/infrastructure/mk/bsd.port.mk). $ ls -ld /var/obj* drwxr-xr-x2 root wheel 512 Dec 13 00:00 /var/obj drwxr-xr-x 170 root wheel 4608 Dec 13 13:50 /var/obj2 $ pkg_info ORBit2-2.14.16 high-performance CORBA Object Request Broker aalib-1.4 ascii art library alacarte-0.11.6 easy GNOME menu editing tool atk-1.24.0 accessibility toolkit used by gtk+ autoconf-2.13p1 automatically configure source code on many Un*x platforms autoconf-2.52p3 automatically configure source code on many Un*x platforms autoconf-2.59p3 automatically configure source code on many Un*x platforms autoconf-2.61p3 automatically configure source code on many Un*x platforms autoconf-2.62 automatically configure source code on many Un*x platforms automake-1.9.6p2GNU standards-compliant Makefile generator bash-3.2.48 GNU Bourne Again Shell bison-2.3 GNU parser generator bzip2-1.0.5 block-sorting file compressor, unencumbered cairo-1.8.2 vector graphics library cdparanoia-3.a9.8p0 CDDA reading utility with extra data verification features control-center2-2.24.0.1p0 GNOME control center cups-1.2.7p14 Common Unix Printing System curl-7.19.2 get files from FTP, Gopher, HTTP or HTTPS servers cyrus-sasl-2.1.22p4 RFC SASL (Simple Authentication and Security Layer) db-4.6.21 Berkeley DB package, revision 4 dbus-1.2.6 message bus system dbus-glib-0.78 glib bindings for dbus message system desktop-file-utils-0.15 utilities for 'desktop' entries docbook-4.4 technical documentation XML/SGML definitions docbook-dsssl-1.72 modular DSSSL stylesheets for the DocBook DTD docbook-xsl-1.68.1p1 docbook XSL modular stylesheet eel-2.24.1 Eazel Extensions Library esound-0.2.38v0 sound library for Enlightenment evolution-data-server-2.24.2 data backends for the Evolution mail/PIM suite fam-2.7.0p6 File Alteration Monitor flac-1.2.1p0free lossless audio codec fping-2.4b2p4 quickly ping N hosts w/o flooding the network gconf2-2.24.0 configuration database system for GNOME gdbm-1.8.3p0GNU dbm gettext-0.17p0 GNU gettext ghostscript-8.63p1 GNU PostScript interpreter ghostscript-fonts-8.11p0 35 standard PostScript fonts with Adobe name aliases glib-1.2.10p2 useful routines for C programming glib2-2.18.3general-purpose utility library glitz-0.5.6p0 OpenGL image compositing library gmake-3.81p0GNU make gmp-4.2.4 library for arbitrary precision arithmetic gnome-applets2-2.24.2p1 applets for use with the GNOME panel gnome-backgrounds-2.24.0 wallpapers for GNOME gnome-desktop-2.24.2 components for the GNOME desktop gnome-doc-utils-0.10.3p6 collection of documentation utilities for the GNOME project gnome-icon-theme-2.24.0 base icon theme for GNOME gnome-keyring-2.24.1 password agent for the GNOME project gnome-media-2.24.0.1 GNOME media utilities gnome-menus-2.24.2 implementation of the FreeDesktop Desktop Menu Spec gnome-mime-data-2.18.0p0 MIME and Application database for GNOME gnome-panel-2.24.2p1 GNOME panel gnome-settings-daemon-2.24.1 GNOME settings daemon gnome-vfs2-2.24.0 GNOME Virtual File System gnome2-user-docs-2.24.0 general GNOME User Documentation gnugetopt-1.1.4p0 GNU getopt(1) utility gperf-3.0.1 perfect hash functions, to help write parsers gstreamer-0.10.19p0 streaming media framework - core gstreamer-confelements-0.10.8p0 multimedia framework - conf elements gstreamer-esd-0.10.8p0 multimedia framework - esound plugin gstreamer-gnome-0.10.19p1 multimedia framework - gnome vfs plugin gstreamer-plugins-base-0.10.19p0 multimedia framework - plugins base gstreamer-plugins-good-0.10.8p5 multimedia framework - good plugins gtk+-1.2.10p6 General Toolkit for X11 GUI gtk
Re: updates to perl modules in core?
On Fri, Dec 12, 2008 at 07:10:58PM -0800, James Wright wrote: > What is the recommended procedure for perl-based ports that need newer > versions of core modules, e.g. ExtUtils::CBuilder? > Here's another diff for Sys::Syslog. It's for example required for p5-XML-Compile respectively p5-XML-Compile-Tester, so if you're interested in those modules jump at the chance and help testing. Regards, Simon Apply the following steps to patch and test and send me the resulting perl-test-`uname -m`.log file: # change dir and apply diff cd /usr/src/gnu/usr.bin/perl && patch -p0 < perl-syslog.diff # prepare make -f Makefile.bsd-wrapper obj && make -f Makefile.bsd-wrapper depend # build make -f Makefile.bsd-wrapper # save typescript script /tmp/perl-test-`uname -m`.log # include dmesg cat /var/run/dmesg.boot # run tests make -f Makefile.bsd-wrapper test # end script exit Index: MANIFEST === RCS file: /cvs/src/gnu/usr.bin/perl/MANIFEST,v retrieving revision 1.15 diff -u -p -r1.15 MANIFEST --- MANIFEST29 Sep 2008 17:35:56 - 1.15 +++ MANIFEST11 Oct 2008 00:20:06 - @@ -1080,8 +1080,10 @@ ext/Sys/Hostname/Hostname.xs Sys::Hostna ext/Sys/Hostname/Makefile.PL Sys::Hostname extension makefile writer ext/Sys/Hostname/t/Hostname.t See if Sys::Hostname works ext/Sys/Syslog/Changes Changlog for Sys::Syslog +ext/Sys/Syslog/eg/syslog.plExample for Sys::Syslog usage ext/Sys/Syslog/fallback/const-c.incSys::Syslog constants fallback file ext/Sys/Syslog/fallback/const-xs.inc Sys::Syslog constants fallback file +ext/Sys/Syslog/fallback/syslog.h Sys::Syslog constants fallback file ext/Sys/Syslog/Makefile.PL Sys::Syslog extension makefile writer ext/Sys/Syslog/README README for Sys::Syslog ext/Sys/Syslog/README.win32README for Sys::Syslog on Windows @@ -1089,6 +1091,7 @@ ext/Sys/Syslog/Syslog.pm Sys::Syslog ext ext/Sys/Syslog/Syslog.xs Sys::Syslog extension external subroutines ext/Sys/Syslog/t/00-load.t test for Sys::Syslog ext/Sys/Syslog/t/constants.t test for Sys::Syslog +ext/Sys/Syslog/t/portfs.t test for Sys::Syslog ext/Sys/Syslog/t/syslog.t See if Sys::Syslog works ext/Sys/Syslog/win32/compile.plSys::Syslog extension Win32 related file ext/Sys/Syslog/win32/PerlLog_dll.uuSys::Syslog extension Win32 related file Index: ext/Sys/Syslog/Changes === RCS file: /cvs/src/gnu/usr.bin/perl/ext/Sys/Syslog/Changes,v retrieving revision 1.1.1.2 diff -u -p -r1.1.1.2 Changes --- ext/Sys/Syslog/Changes 29 Sep 2008 17:18:24 - 1.1.1.2 +++ ext/Sys/Syslog/Changes 11 Oct 2008 00:20:06 - @@ -1,5 +1,41 @@ Revision history for Sys-Syslog +0.27 -- 2008.09.21 -- Sebastien Aperghis-Tramoni (SAPER) +[BUGFIX] Fixed compilation on Win32, thanks to Serguei Trouchelle. +Also added stubs so calling the XS functions will never fail. +[TESTS] t/pod.t now also uses Pod::Checker. + +0.26 -- 2008.06.16 -- Sebastien Aperghis-Tramoni (SAPER) +[BUGFIX] Make Sys::Syslog works with Perl 5.10.0 (because of +ExtUtils::Constant::ProxySubs). +[CODE] setlogsock() is now a little more strict about its arguments. + +0.25 -- 2008.05.17 -- Sebastien Aperghis-Tramoni (SAPER) +[BUGFIX] CPAN-RT#34691: Fixed an incorrect call to sysopen() which +prevented Sys::Syslog from working on some Solaris systems. +Thanks to Paul Townsend. +[BUGFIX] CPAN-RT#34753: Fixed a slowness introduced in v0.19 (which +was to work around OSX syslog own slowness). Thanks to Alex Efros. +[BUGFIX] CPAN-RT#35952: Fixed a bug with the "nofatal" option. +[BUGFIX] CPAN-RT#35189: Fixed a bug in xlate(). +[BUGFIX] Fixed build on Win32, thanks to Adam Kennedy. +[FEATURE] setlogsock() now interprets the second argument as the +hostname for network mechanisms. +[DIST] Add AUTHOR to WriteMakefile() in order to fix the META.yml +generated by ExtUtils::MakeMaker. +[TESTS] Improved t/pod.t with Pod::Checker. + +0.24 -- 2007.12.31 -- Sebastien Aperghis-Tramoni (SAPER) +[BUGFIX] CPANT-RT#32001: Skip the setlogsock('stream') tests when +/dev/log is unavailable (Brendan O'Dea). + +0.23 -- 2007.11.12 -- Sebastien Aperghis-Tramoni (SAPER) +[BUGFIX] Fixed a too liberal test in the "pipe" mechanism, thanks +to Jan Dubois. +[DIST] fallback/syslog.h was missing from MANIFEST (thanks to CPAN +Tester Matthew Musgrove). +[TESTS] Better handling of Perl 5.005, thanks to CPAN Tester Slaven Rezic. + 0.22 -- 2007.11.08 -- Sebastien Aperghis-Tramoni (SAPER) [BUGFIX] CPAN-RT#29875: Added workaround SpamAssassin overzealous logging features. @@ -33,6 +69,8 @@ Revision history for Sys-Syslog via syslog().
Re: pkg_info message display [Re: cups-enable]
On Sat, 13 Dec 2008, Jacob Meuser wrote: > how is "too big" defined? is the above abbreviated CUPS message too > big to add to the default pkg_info output? At one point I was told that too big = >15 lines. > how about a standard directory for README.OpenBSD files? > ${PREFIX}/share/README.OpenBSD/port-x.y ? and then move the majority > of this stuff there? I think this would make such files much easier > to find. This is interesting idea actually. > of course, I'm responsible for some of these MESSAGE files. I really > do see the "noise" during install/upgrade as a problem, as people > (including myself) probably don't always read it, even though > ignoring it can lead to problems ... If pkg tools could be changed so that the spam from running @exec command in PLIST could be removed, it would already be an improvement. I understand the purpose of these warnings but I think the tools are now mature enough to remove the warnings and only enable them when -v is used for e.g. -- Antoine
Re: MAINTAINER-UPDATE: audio/pacpl
On Sat, 13 Dec 2008, Andreas Bihlmaier wrote: > > > ++CONF_DIR = $(DESTDIR)$(LOCALBASE)/share/examples/$(PACKAGE_NAME) > > > ++PO_DIR = $(DESTDIR)$(LOCALBASE)/share/pacpl/locale > > > > s/LOCALBASE/PREFIX/g here > > This does not work because DESTDIR already includes PREFIX, > with s/LOCALBASE/PREFIX the files will be moved to > /usr/obj/ports/pacpl-4.0.3/fake-i386/usr/obj/ports/pacpl-4.0.3/fake-i386/usr/local/share/examples/pacpl/modules Then remove DESTDIR, no? Anyway, LOCALBASE is wrong is. -- Antoine
Re: pkg_info message display [Re: cups-enable]
On Sat, Dec 13, 2008 at 10:10:26AM +0100, Landry Breuil wrote: > On Fri, Dec 12, 2008 at 11:27:44PM -0600, Marco Peereboom wrote: > > Ted is right. I do know about -M but I use it so frequently that I > > always have to find it in the man. pkg_info could should be able to > > display this info like pkg_info cups. That makes intuitive sense to me > > and I think others as well. > > pkg_info displays package _information_, which is terse. pkg_info -M > displays additional information about how to use the given package, only > if it's needed, there are 300 MESSAGE files in ports ... > and it can be sometimes big I think some is outright bloat. take the cups MESSAGE for example: >>> To enable CUPS, execute '${PREFIX}/sbin/cups-enable' as root. To disable CUPS, execute '${PREFIX}/sbin/cups-disable' as root. To start cups at boot time, add the following to /etc/rc.local: if [ -x ${PREFIX}/sbin/cupsd ]; then echo -n ' cupsd'; ${PREFIX}/sbin/cupsd fi Starting cupsd will overwrite /etc/printcap. A backup copy of this file is saved as /etc/printcap.pre-cups by '${PREFIX}/sbin/cups-enable' and will be restored when you run '${PREFIX}/sbin/cups-disable'. <<< is it really necessary to have an example for rc.local? isn't it going to be more-or-less the same for all daemons? sometimes there are exceptions, but shouldn't this stuff be covered in manuals? is all the info in these MESSAGE files really needed? couldn't the CUPS message be shortened to something like: Starting cupsd will overwrite /etc/printcap. CUPS has "replacement" programs for some system programs. ${PREFIX}/sbin/cups-enable can be used to backup the current printcap and system programs. ${PREFIX}/sbin/cups-enable can be used to restore them. > (and when too big, separated how is "too big" defined? is the above abbreviated CUPS message too big to add to the default pkg_info output? > in a given README.OpenBSD, which pkg_info -M points to). how about a standard directory for README.OpenBSD files? ${PREFIX}/share/README.OpenBSD/port-x.y ? and then move the majority of this stuff there? I think this would make such files much easier to find. of course, I'm responsible for some of these MESSAGE files. I really do see the "noise" during install/upgrade as a problem, as people (including myself) probably don't always read it, even though ignoring it can lead to problems ... -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: MAINTAINER-UPDATE: audio/pacpl
On Fri, Dec 12, 2008 at 04:37:04PM +0100, Antoine Jacoutot wrote: > On Fri, 12 Dec 2008, Andreas Bihlmaier wrote: > > > On Fri, Dec 05, 2008 at 09:36:28AM +0100, Giovanni Bechis wrote: > > > Andreas Bihlmaier ha scritto: > > >> +post-patch: > > >> +@perl -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/pacpl > > >> > > > I think you should use ${SUBST_CMD} instead of this. > > > Cheers > > > Giovanni > > > > Thanks took me a little help from #openbsd, but after I found out that I > > have to put ${LOCALBASE} into the file, not LOCALBASE. It works. > > > > Updated patch, btw. could somebody commit this if there are no other > > issues :) > > > ++KDEDIR = /usr/local > > Do not hardcode. fixed > > ++CONF_DIR = $(DESTDIR)$(LOCALBASE)/share/examples/$(PACKAGE_NAME) > > ++PO_DIR = $(DESTDIR)$(LOCALBASE)/share/pacpl/locale > > s/LOCALBASE/PREFIX/g here This does not work because DESTDIR already includes PREFIX, with s/LOCALBASE/PREFIX the files will be moved to /usr/obj/ports/pacpl-4.0.3/fake-i386/usr/obj/ports/pacpl-4.0.3/fake-i386/usr/local/share/examples/pacpl/modules > -- > Antoine Thx for input. I also changed post-patch to pre-configure (from okan@) Updated patch: Index: Makefile === RCS file: /cvs/ports/audio/pacpl/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile20 Sep 2007 09:14:18 - 1.4 +++ Makefile13 Dec 2008 10:48:32 - @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2007/09/20 09:14:18 sthen Exp $ +# $OpenBSD: Makefile,v 1.2 2006/12/21 22:15:11 steven Exp $ PKG_ARCH= * @@ -6,12 +6,11 @@ COMMENT-konqueror= PAC Konqueror service menu & mime types COMMENT-amarok=PAC Amarok plugin -V= 3.2.5 -DISTNAME= pacpl-$V -PKGNAME= pacpl-$Vp0 -PKGNAME-main= ${PKGNAME} -PKGNAME-konqueror= pacpl-konqueror-$V -PKGNAME-amarok=pacpl-amarok-$V +V= 4.0.3 +DISTNAME= pacpl-${V} +PKGNAME-main= pacpl-${V} +PKGNAME-konqueror= pacpl-konqueror-${V} +PKGNAME-amarok=pacpl-amarok-${V} CATEGORIES=audio converters perl5 HOMEPAGE= http://pacpl.sourceforge.net/ @@ -26,6 +25,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pacpl/} +USE_GMAKE =Yes NO_BUILD= Yes NO_REGRESS=Yes @@ -48,33 +48,21 @@ ::graphics/ffmpeg \ ::x11/mplayer +BUILD_DEPENDS= ${RUN_DEPENDS} + RUN_DEPENDS-konqueror= ::${BUILD_PKGPATH} \ ::x11/kde/base3 RUN_DEPENDS-amarok=::${BUILD_PKGPATH} \ ::audio/amarok -INSTALL_FLAGS= "base kde" -NEW_DIRS= share/mimelnk/audio \ - share/apps/konqueror/servicemenus \ - share/apps/amarok/scripts - -post-extract: - @cd ${WRKSRC}/man && gunzip *.1.gz - -do-configure: - @perl -pi -e '/nice/ || s,/usr/bin,${LOCALBASE}/bin,;' \ - -e 's,mpg123,mpg321,;' -e 's,/dev/cdrom,/dev/rcd0c,;' \ - -e 's,MPCPLAYER\s*=.*$$,MPCPLAYER = ${LOCALBASE}/bin/mplayer,' \ - ${WRKSRC}/pacpl.conf - -do-install: - @perl -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/pacpl-install -.for d in ${NEW_DIRS} - ${INSTALL_DATA_DIR} ${PREFIX}/$d -.endfor - cd ${WRKSRC} && ./pacpl-install --install=${INSTALL_FLAGS} - ${INSTALL_MAN} ${WRKSRC}/man/pacpl.1 ${PREFIX}/man/man1 - tar -C ${PREFIX}/share/apps/amarok/scripts -xzf \ - ${WRKSRC}/kde/amarok/pacx.amarokscript.tar.gz +CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += --with-konq \ + --with-amarok +CONFIGURE_ENV += KDEDIR="${LOCALBASE}" \ + AMAROK="yes" \ + KONQ="yes" + +pre-configure: + ${SUBST_CMD} ${WRKSRC}/pacpl ${WRKSRC}/Makefile.in .include Index: distinfo === RCS file: /cvs/ports/audio/pacpl/distinfo,v retrieving revision 1.2 diff -u -u -r1.2 distinfo --- distinfo5 Apr 2007 15:37:44 - 1.2 +++ distinfo13 Dec 2008 10:48:32 - @@ -1,5 +1,5 @@ -MD5 (pacpl-3.2.5.tar.gz) = maAeNzh1Y5xEwrzE73SESQ== -RMD160 (pacpl-3.2.5.tar.gz) = 9IbCuutlJ6QNf2DNKmvJGhxNHXI= -SHA1 (pacpl-3.2.5.tar.gz) = I+Nd7nXwXf35q3tNKOmpAw+S9eA= -SHA256 (pacpl-3.2.5.tar.gz) = jisyWN3Ko3UTiQ+7+WPU92e0TCAg61e290ZpchSdPrc= -SIZE (pacpl-3.2.5.tar.gz) = 118612 +MD5 (pacpl-4.0.3.tar.gz) = i+jSPWn5msnMEXTRZjR6RA== +RMD160 (pacpl-4.0.3.tar.gz) = 97sxvOo4fyMPnM/XYJspqYLp+Mw= +SHA1 (pacpl-4.0.3.tar.gz) = 8EMUW6zThAvuwHfgfDItHEKvgEI= +SHA256 (pacpl-4.0.3.tar.gz) = qSVAECv5t9Kcr69fxf2/xAWOqaVTp8o75dN3R9yLBvQ= +SIZE (pacpl-4.0.3.tar.gz) = 108043 Index: patches/patch-Makefile_in
Re: sndio for esound
On Fri, 12 Dec 2008, Jacob Meuser wrote: > On Thu, Dec 11, 2008 at 08:44:10PM +, Jacob Meuser wrote: > > > > please test ... and notice how much simpler this is than what it > > replaces, even though esound prefers to use a fd for audio access. > > new version based on some feedback. Latest esound version is 0.2.41, maybe we could also update it in the meantime. That would probably simplify getting patches upstream. -- Antoine
PATCH: editors/emacs22
Hi, This diff contains the following updates: * fix build on hppa (from Josh Elsasser) * do not install image files with no_x11 (from Deanna Phillips) ok? Eric. diff -urN emacs22.orig/Makefile emacs22/Makefile --- emacs22.orig/Makefile Fri Jul 4 17:39:17 2008 +++ emacs22/MakefileSat Dec 13 11:19:28 2008 @@ -5,7 +5,7 @@ VERSION= 22.2 DISTNAME= emacs-${VERSION} -PKGNAME-main= emacs-${VERSION}p0 +PKGNAME-main= emacs-${VERSION}p1 FULLPKGNAME-el=emacs-el-${VERSION}p0 FULLPKGPATH-el=editors/emacs22,-el @@ -32,7 +32,8 @@ GCCARCH= ${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER} -CONFIGURE_STYLE= gnu +AUTOCONF_VERSION= 2.61 +CONFIGURE_STYLE= autoconf CONFIGURE_ARGS=${GCCARCH} --with-pop --localstatedir=/var CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ diff -urN emacs22.orig/patches/patch-configure.in emacs22/patches/patch-configure.in --- emacs22.orig/patches/patch-configure.in Thu Jan 1 01:00:00 1970 +++ emacs22/patches/patch-configure.in Thu Dec 11 14:43:55 2008 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- configure.in.orig Sat Mar 1 11:28:11 2008 configure.in Mon Nov 17 18:27:53 2008 +@@ -298,7 +298,7 @@ dnl see the `changequote' comment above. + case "${canonical}" in + alpha*-*-openbsd*) machine=alpha ;; + arm-*-openbsd*) machine=arm ;; +- hppa-*-openbsd*) machine=hp9000s300 ;; ++ hppa-*-openbsd*) machine=hp800 ;; + i386-*-openbsd*) machine=intel386 ;; + m68k-*-openbsd*) machine=hp9000s300 ;; + m88k-*-openbsd*) machine=aviion ;; diff -urN emacs22.orig/pkg/PFRAG.no-no_x11-main emacs22/pkg/PFRAG.no-no_x11-main --- emacs22.orig/pkg/PFRAG.no-no_x11-main Thu Jan 1 01:00:00 1970 +++ emacs22/pkg/PFRAG.no-no_x11-mainThu Dec 11 14:44:41 2008 @@ -0,0 +1,344 @@ +...@comment $OpenBSD: PLIST-main,v 1.1.1.1 2008/06/14 18:31:16 eric Exp $ +share/emacs/${VERSION}/etc/images/ +share/emacs/${VERSION}/etc/images/README +share/emacs/${VERSION}/etc/images/attach.pbm +share/emacs/${VERSION}/etc/images/attach.xpm +share/emacs/${VERSION}/etc/images/back-arrow.pbm +share/emacs/${VERSION}/etc/images/back-arrow.xpm +share/emacs/${VERSION}/etc/images/cancel.pbm +share/emacs/${VERSION}/etc/images/cancel.xpm +share/emacs/${VERSION}/etc/images/close.pbm +share/emacs/${VERSION}/etc/images/close.xpm +share/emacs/${VERSION}/etc/images/connect.xpm +share/emacs/${VERSION}/etc/images/contact.pbm +share/emacs/${VERSION}/etc/images/contact.xpm +share/emacs/${VERSION}/etc/images/copy.pbm +share/emacs/${VERSION}/etc/images/copy.xpm +share/emacs/${VERSION}/etc/images/cut.pbm +share/emacs/${VERSION}/etc/images/cut.xpm +share/emacs/${VERSION}/etc/images/data-save.pbm +share/emacs/${VERSION}/etc/images/data-save.xpm +share/emacs/${VERSION}/etc/images/delete.pbm +share/emacs/${VERSION}/etc/images/delete.xpm +share/emacs/${VERSION}/etc/images/describe.xpm +share/emacs/${VERSION}/etc/images/diropen.pbm +share/emacs/${VERSION}/etc/images/diropen.xpm +share/emacs/${VERSION}/etc/images/disconnect.xpm +share/emacs/${VERSION}/etc/images/exit.pbm +share/emacs/${VERSION}/etc/images/exit.xpm +share/emacs/${VERSION}/etc/images/ezimage/ +share/emacs/${VERSION}/etc/images/ezimage/README +share/emacs/${VERSION}/etc/images/ezimage/bits.xpm +share/emacs/${VERSION}/etc/images/ezimage/bitsbang.xpm +share/emacs/${VERSION}/etc/images/ezimage/box-minus.xpm +share/emacs/${VERSION}/etc/images/ezimage/box-plus.xpm +share/emacs/${VERSION}/etc/images/ezimage/box.xpm +share/emacs/${VERSION}/etc/images/ezimage/checkmark.xpm +share/emacs/${VERSION}/etc/images/ezimage/dir-minus.xpm +share/emacs/${VERSION}/etc/images/ezimage/dir-plus.xpm +share/emacs/${VERSION}/etc/images/ezimage/dir.xpm +share/emacs/${VERSION}/etc/images/ezimage/doc-minus.xpm +share/emacs/${VERSION}/etc/images/ezimage/doc-plus.xpm +share/emacs/${VERSION}/etc/images/ezimage/doc.xpm +share/emacs/${VERSION}/etc/images/ezimage/info.xpm +share/emacs/${VERSION}/etc/images/ezimage/key.xpm +share/emacs/${VERSION}/etc/images/ezimage/label.xpm +share/emacs/${VERSION}/etc/images/ezimage/lock.xpm +share/emacs/${VERSION}/etc/images/ezimage/mail.xpm +share/emacs/${VERSION}/etc/images/ezimage/page-minus.xpm +share/emacs/${VERSION}/etc/images/ezimage/page-plus.xpm +share/emacs/${VERSION}/etc/images/ezimage/page.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag-gt.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag-minus.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag-plus.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag-type.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag-v.xpm +share/emacs/${VERSION}/etc/images/ezimage/tag.xpm +share/emacs/${VERSION}/etc/images/ezimage/unlock.xpm +share/emacs/${VERSION}/etc/images/fwd-arrow.pbm +share/emacs/${VERSION}/etc/images/fwd-arrow.xpm +share/emacs/${VERSION}/etc/images/gnus/ +share/emacs/${VERSION}/etc/im
Re: updates to perl modules in core?
On Fri, Dec 12, 2008 at 07:10:58PM -0800, James Wright wrote: > What is the recommended procedure for perl-based ports that need newer > versions of core modules, e.g. ExtUtils::CBuilder? > Update them, test, test, test and eventually get them committed. I'm already looking at some of those as new cpan modules have the tendency to require the most recent version of their dependencies. ExtUtils::CBuilder is already at 0.24 in my tree but i haven't sent it out yet for testing. Diff below. The recommended procedure thus is: apply the diff, build perl, run the tests, install and test as much as is possible (base, ports and whatever could be affected by it). That's at least what i am doing and it has worked out in the past. Kind regards, Simon Index: lib/ExtUtils/CBuilder.pm === RCS file: /cvs/src/gnu/usr.bin/perl/lib/ExtUtils/CBuilder.pm,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 CBuilder.pm --- lib/ExtUtils/CBuilder.pm29 Sep 2008 17:18:32 - 1.1.1.1 +++ lib/ExtUtils/CBuilder.pm13 Dec 2008 09:57:12 - @@ -5,7 +5,7 @@ use File::Path (); use File::Basename (); use vars qw($VERSION @ISA); -$VERSION = '0.21'; +$VERSION = '0.24'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of @@ -36,6 +36,8 @@ my %OSTYPES = qw( sunos Unix cygwinUnix os2 Unix +gnu Unix +gnukfreebsd Unix dos Windows MSWin32 Windows Index: lib/ExtUtils/CBuilder/Base.pm === RCS file: /cvs/src/gnu/usr.bin/perl/lib/ExtUtils/CBuilder/Base.pm,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Base.pm --- lib/ExtUtils/CBuilder/Base.pm 29 Sep 2008 17:18:33 - 1.1.1.1 +++ lib/ExtUtils/CBuilder/Base.pm 13 Dec 2008 09:57:12 - @@ -6,9 +6,10 @@ use File::Basename; use Cwd (); use Config; use Text::ParseWords; +use IO::File; use vars qw($VERSION); -$VERSION = '0.21'; +$VERSION = '0.24'; sub new { my $class = shift; @@ -118,10 +119,8 @@ sub have_compiler { my $tmpfile = File::Spec->catfile(File::Spec->tmpdir, 'compilet.c'); { -local *FH; -open FH, "> $tmpfile" or die "Can't create $tmpfile: $!"; -print FH "int boot_compilet() { return 1; }\n"; -close FH; +my $FH = IO::File->new("> $tmpfile") or die "Can't create $tmpfile: $!"; +print $FH "int boot_compilet() { return 1; }\n"; } my ($obj_file, @lib_files); Index: lib/ExtUtils/CBuilder/Changes === RCS file: /cvs/src/gnu/usr.bin/perl/lib/ExtUtils/CBuilder/Changes,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Changes --- lib/ExtUtils/CBuilder/Changes 29 Sep 2008 17:18:33 - 1.1.1.1 +++ lib/ExtUtils/CBuilder/Changes 13 Dec 2008 09:57:12 - @@ -1,5 +1,31 @@ Revision history for Perl extension ExtUtils::CBuilder. + - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni] + + - Brought in some VMS fixes from bleadperl: "Correct and complete + CBuilder's handling of external libraries when linking on VMS." + [Craig Berry] + +0.23 - Sat Apr 19 22:28:03 2008 + + - Fixed some problems (some old, some new) with Strawberry Perl on + Windows. [Alberto Simo~es] + + - Will now install in the core perl lib directory when the user's + perl is new enough to have us in core. [Yi Ma Mao] + +0.22 - Fri Feb 8 21:52:21 2008 + + - Replaced the split_like_shell() method on Windows with a + near-no-op, which is probably more correct and has the benefit of + not messing up UNC paths. [John R. LoVerso, see + http://rt.cpan.org/Ticket/Display.html?id=26545] + + - Fixed extra_compiler_flags on Windows, they were being + ignored. [Robert May] + +0.21 - Tue Oct 30 06:46:01 2007 + - Clean up perl_src path using Cwd::realpath(). Only affects usage as part of the perl core. Index: lib/ExtUtils/CBuilder/Platform/Unix.pm === RCS file: /cvs/src/gnu/usr.bin/perl/lib/ExtUtils/CBuilder/Platform/Unix.pm,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Unix.pm --- lib/ExtUtils/CBuilder/Platform/Unix.pm 29 Sep 2008 17:18:33 - 1.1.1.1 +++ lib/ExtUtils/CBuilder/Platform/Unix.pm 13 Dec 2008 09:57:12 - @@ -4,7 +4,7 @@ use strict; use ExtUtils::CBuilder::Base; use vars qw($VERSION @ISA); -$VERSION = '0.21'; +$VERSION = '0.24'; @ISA = qw(ExtUtils::CBuilder::Base); sub link_executable { Index: lib/ExtUtils/CBuilder/Platform/VMS.pm === RCS file: /cvs/src/gnu/usr.bin/perl/lib/ExtUtils/CBuilder/Platform/VMS.pm,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 VMS.pm --- lib/ExtUtils/CBuilder/Platform/VMS.pm 29 Sep 2008 17:18:33 -0
Re: gnome-applets2-2.24.2p0 does not package
On Sat, 13 Dec 2008, Alexey Suslikov wrote: > $ cat /etc/mk.conf > BSDOBJDIR=/var/obj > WRKOBJDIR=/var/obj2 > > $ sudo make package > `/var/obj2/gnome-applets-2.24.2/fake-i386/.fake_done' is up to date. > ===> Building package for gnome-applets2-2.24.2p0 > Create /usr/ports/packages/i386/all/gnome-applets2-2.24.2p0.tgz > Error in package: > /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/bin/invest-chart does not > exist Yes, there is a missing dependency. I'll take care of it, thanks for your report! -- Antoine
Re: pkg_info message display [Re: cups-enable]
* Landry Breuil wrote: [...] > about. But i think sthen@'s proposal to add a message like 'This package > has additional information, view it with pkg_info -M' is the most > 'user-friendly'. Yes, I'd second that.
Re: mplayer audio and video stutters on CURRENT
* Alexandre Ratchov [2008-12-13 09:53:00 +0100]: > On Sat, Dec 13, 2008 at 05:28:36PM +0900, Colin Didier wrote: > > If I run aucat with a sample rate of 48000Hz, it solves the problem. But > > there is a bug when parsing the parameters of the command line. > > > > In these cases, it works: > > aucat -l -m play -r 48000 -f /dev/audio1 > > env AUDIODEVICE=/dev/audio1 aucat -l -m play -r 48000 > > > > But in this case, the sample rate is ignored: > > aucat -l -m play -f /dev/audio1 -r 48000 > > > > that's normal, -r specifies the rate of the next file, socket or > device (ie arguments of -i, -o, -s, -f). This makes possible to > specify multiple -r options, if you have multiple streams with > different rates. The same rule applies for -c, -C, -h, -x, and -e > options. It makes perfect sense. Sorry for the noise about that. -- Colin Didierhttp://cybione.org
gnome-applets2-2.24.2p0 does not package
$ cat /etc/mk.conf BSDOBJDIR=/var/obj WRKOBJDIR=/var/obj2 $ sudo make package `/var/obj2/gnome-applets-2.24.2/fake-i386/.fake_done' is up to date. ===> Building package for gnome-applets2-2.24.2p0 Create /usr/ports/packages/i386/all/gnome-applets2-2.24.2p0.tgz Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/bin/invest-chart does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/bonobo/servers/GNOME_GtikApplet.server does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/bonobo/servers/Invest_Applet.server does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/__init__.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/__init__.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/__init__.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/about.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/about.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/about.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/applet.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/applet.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/applet.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/chart.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/chart.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/chart.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/defs.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/defs.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/defs.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/preferences.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/preferences.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/preferences.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/quotes.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/quotes.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/quotes.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/widgets.py does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/widgets.pyc does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/lib/python2.5/site-packages/invest/widgets.pyo does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/libexec/invest-applet does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-2.0/ui/Invest_Applet.xml does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/builder/financialchart.ui does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/builder/prefs-dialog.ui does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/invest-applet/invest-16_neutral.png does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/invest-applet/invest-22_down.png does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/invest-applet/invest-22_neutral.png does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/invest-applet/invest-22_up.png does not exist Error in package: /var/obj2/gnome-applets-2.24.2/fake-i386//usr/local/share/gnome-applets/invest-applet/invest_down.
Re: pkg_info message display [Re: cups-enable]
On Fri, Dec 12, 2008 at 11:27:44PM -0600, Marco Peereboom wrote: > Ted is right. I do know about -M but I use it so frequently that I > always have to find it in the man. pkg_info could should be able to > display this info like pkg_info cups. That makes intuitive sense to me > and I think others as well. pkg_info displays package _information_, which is terse. pkg_info -M displays additional information about how to use the given package, only if it's needed, and it can be sometimes big (and when too big, separated in a given README.OpenBSD, which pkg_info -M points to). To me, it doesn't make any sense to display both when running pkg_info without funky flags. I just want to know what is the given package about. But i think sthen@'s proposal to add a message like 'This package has additional information, view it with pkg_info -M' is the most 'user-friendly'. Landry
Re: mplayer audio and video stutters on CURRENT
On Sat, Dec 13, 2008 at 05:28:36PM +0900, Colin Didier wrote: > * Jacob Meuser [2008-12-13 08:07:37 +]: > > On Sat, Dec 13, 2008 at 04:41:53PM +0900, Colin Didier wrote: > > > * Jacob Meuser [2008-12-13 07:02:29 +]: > > > > On Sat, Dec 13, 2008 at 03:36:35PM +0900, Colin Didier wrote: > > > > > So I use mplayer with the following command > > > > > env AUDIODEVICE=/dev/audio1 mplayer my_movie.avi > > > > > > > > > > I tried to use "aucat -l -f /dev/audio1" but it doesn't work and ends > > > > > with the following error: > > > > > > > > > > /dev/audio1: Device not configured > > > > > safile_new: can't open device > > > > > > > > aucat -l runs in full-duplex mode by default. you can change it to > > > > play only with '-m play'. > > > > > > Oh I see. Now "aucat -l -m play -f /dev/audio1" works and there is no > > > more stutters nor crackles in movies. But the audio sounds robotic (even > > > using the integrated sound-card). > > > > that could be the effect of resampling in aucat. does it go > > away if mplayer and aucat are running at the same rate? > > If I run aucat with a sample rate of 48000Hz, it solves the problem. But > there is a bug when parsing the parameters of the command line. > > In these cases, it works: > aucat -l -m play -r 48000 -f /dev/audio1 > env AUDIODEVICE=/dev/audio1 aucat -l -m play -r 48000 > > But in this case, the sample rate is ignored: > aucat -l -m play -f /dev/audio1 -r 48000 > that's normal, -r specifies the rate of the next file, socket or device (ie arguments of -i, -o, -s, -f). This makes possible to specify multiple -r options, if you have multiple streams with different rates. The same rule applies for -c, -C, -h, -x, and -e options. -- Alexandre
Re: mplayer audio and video stutters on CURRENT
On Sat, Dec 13, 2008 at 04:53:21PM +0900, Colin Didier wrote: > * Jacob Meuser [2008-12-13 07:02:29 +]: > > On Sat, Dec 13, 2008 at 03:36:35PM +0900, Colin Didier wrote: > > > Hi, > > > > > > I've a similar problem on my IBM X31 with my USB DAC (a StyleAudio > > > Carat-Peridot) using mplayer with the libsndio backend. The audio > > > stutters and crackles a lot, but only when playing movies. If I play > > > audio files, if I use the sun audio backend, or if I use the integrated > > > sound-card of my laptop, everything is fine. > > > > that is quite interesting. can you show us what "audioctl blocksize" > > gives you when the sound is strange? > > $ audioctl -f /dev/audioctl1 blocksize > blocksize=24000 > > > > When I plug the USB DAC, I see the following lines in my dmesg: > > > > > > uaudio0 at uhub2 port 1 configuration 1 interface 0 "Burr-Brown from TI > > > USB Audio DAC" rev 1.10/1.00 addr 2 > > > uaudio0: audio rev 1.00, 2 mixer controls > > > audio1 at uaudio0 > > > uhidev0 at uhub2 port 1 configuration 1 interface 2 "Burr-Brown from TI > > > USB Audio DAC" rev 1.10/1.00 addr 2 > > > uhidev0: iclass 3/0 > > > uhid0 at uhidev0: input=1, output=0, feature=0 > > > > > > So I use mplayer with the following command > > > env AUDIODEVICE=/dev/audio1 mplayer my_movie.avi > > > > > > I tried to use "aucat -l -f /dev/audio1" but it doesn't work and ends > > > with the following error: > > > > > > /dev/audio1: Device not configured > > > safile_new: can't open device > > > > aucat -l runs in full-duplex mode by default. you can change it to > > play only with '-m play'. > > Oh I see. Now "aucat -l -m play -f /dev/audio1" works and there is no > more stutters nor crackles in movies. But the audio sounds robotic (even > using the integrated sound-card). > The current resampling algorithm is poor quality; depending on the combination of the movie rate, device rate and DAC hw, you'll hear more or less "metallic" noise. If you care about quality, the simpler is to avoid resampling when possible until this gets fixed. -- Alexandre
Re: mplayer audio and video stutters on CURRENT
On Sat, Dec 13, 2008 at 05:28:36PM +0900, Colin Didier wrote: > * Jacob Meuser [2008-12-13 08:07:37 +]: > > On Sat, Dec 13, 2008 at 04:41:53PM +0900, Colin Didier wrote: > > > * Jacob Meuser [2008-12-13 07:02:29 +]: > > > > On Sat, Dec 13, 2008 at 03:36:35PM +0900, Colin Didier wrote: > > > > > So I use mplayer with the following command > > > > > env AUDIODEVICE=/dev/audio1 mplayer my_movie.avi > > > > > > > > > > I tried to use "aucat -l -f /dev/audio1" but it doesn't work and ends > > > > > with the following error: > > > > > > > > > > /dev/audio1: Device not configured > > > > > safile_new: can't open device > > > > > > > > aucat -l runs in full-duplex mode by default. you can change it to > > > > play only with '-m play'. > > > > > > Oh I see. Now "aucat -l -m play -f /dev/audio1" works and there is no > > > more stutters nor crackles in movies. But the audio sounds robotic (even > > > using the integrated sound-card). > > > > that could be the effect of resampling in aucat. does it go > > away if mplayer and aucat are running at the same rate? > > If I run aucat with a sample rate of 48000Hz, it solves the problem. But > there is a bug when parsing the parameters of the command line. > > In these cases, it works: > aucat -l -m play -r 48000 -f /dev/audio1 > env AUDIODEVICE=/dev/audio1 aucat -l -m play -r 48000 > > But in this case, the sample rate is ignored: > aucat -l -m play -f /dev/audio1 -r 48000 the parameters must be given before the device/file/socket. Settings for the audio device can be changed using the -Ccer options. ... The last -Ccer options specified before an -f is applied to device. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: mplayer audio and video stutters on CURRENT
* Jacob Meuser [2008-12-13 08:07:37 +]: > On Sat, Dec 13, 2008 at 04:41:53PM +0900, Colin Didier wrote: > > * Jacob Meuser [2008-12-13 07:02:29 +]: > > > On Sat, Dec 13, 2008 at 03:36:35PM +0900, Colin Didier wrote: > > > > So I use mplayer with the following command > > > > env AUDIODEVICE=/dev/audio1 mplayer my_movie.avi > > > > > > > > I tried to use "aucat -l -f /dev/audio1" but it doesn't work and ends > > > > with the following error: > > > > > > > > /dev/audio1: Device not configured > > > > safile_new: can't open device > > > > > > aucat -l runs in full-duplex mode by default. you can change it to > > > play only with '-m play'. > > > > Oh I see. Now "aucat -l -m play -f /dev/audio1" works and there is no > > more stutters nor crackles in movies. But the audio sounds robotic (even > > using the integrated sound-card). > > that could be the effect of resampling in aucat. does it go > away if mplayer and aucat are running at the same rate? If I run aucat with a sample rate of 48000Hz, it solves the problem. But there is a bug when parsing the parameters of the command line. In these cases, it works: aucat -l -m play -r 48000 -f /dev/audio1 env AUDIODEVICE=/dev/audio1 aucat -l -m play -r 48000 But in this case, the sample rate is ignored: aucat -l -m play -f /dev/audio1 -r 48000 -- Colin Didierhttp://cybione.org