Re: mandoc errors in ports
Marc Espie es...@nerim.net wrote: I would tend to disagree. Please consider adding section names in national languages. makewhatis already does so, it's completely harmless. Formated.pm:if (m/^(?:NAME|NAMES|NAMN|NOMBRE|NOME|Name|\xbe|\xcc\xbe\xbe\xce|\xcc\xbe\xc1\xb0)\s*$/) { I intensely dislike this since it simply doesn't scale. Luckily we only have a few non-English man pages in the tree and these are handled very haphazardly. But for perspective: LC_MESSAGES come in, what, fifty languages? A hundred? -- Christian naddy Weisgerber na...@mips.inka.de
Re: NEW: gEDA-gaf
Matthias Kilian k...@outback.escape.de wrote: As just discussed in private, the MAKE_FLAGS magic you need to give the installer an absolute path should better be done like this: INSTALL = /usr/bin/install MAKE_FLAGS =INSTALL_PROGRAM='${INSTALL_PROGRAM}' \ INSTALL_DATA='${INSTALL_DATA}' This will give you all the benefits of our INSTALL_* goo like permissions, `-s' in INSTALL_PROGRAM depending on wether DEBUG is set or not, etc. I think you misunderstand. The point of this... MAKE_FLAGS =INSTALL='/usr/bin/install -c' \ INSTALL_PROGRAM='/usr/bin/install -c -s -m 555' \ INSTALL_DATA='/usr/bin/install -c -m 644' ... is to override these INSTALL* commands during the build (!) stage, so there aren't any -o or -g flags that would require root. This is *not* about the fake install. Edd, drop the -s from INSTALL_PROGRAM. We don't want to strip(1) there. -- Christian naddy Weisgerber na...@mips.inka.de
Re: NEW: gEDA-gaf
Christian Weisgerber na...@mips.inka.de wrote: The point of this... MAKE_FLAGS =INSTALL='/usr/bin/install -c' \ INSTALL_PROGRAM='/usr/bin/install -c -s -m 555' \ INSTALL_DATA='/usr/bin/install -c -m 644' ... is to override these INSTALL* commands during the build (!) stage, so there aren't any -o or -g flags that would require root. For the record: We've used this approach in the past, but it doesn't work any longer since MAKE_FLAGS is now part of ALL_FAKE_FLAGS. (We'll deal with geda-gaf in a different way.) -- Christian naddy Weisgerber na...@mips.inka.de
systrace changes syscall behavior
Running configure for ports/archivers/gcpio without and with USE_SYSTRACE=Yes shows these differences: -checking whether chown honors trailing slash... yes +checking whether chown honors trailing slash... no -checking for working fcntl.h... no (bad O_NOATIME) +checking for working fcntl.h... no (bad O_NOATIME, O_NOFOLLOW) -checking whether open recognizes a trailing slash... yes +checking whether open recognizes a trailing slash... no -checking whether stat handles trailing slashes on files... yes +checking whether stat handles trailing slashes on files... no Cosmetic, you say? You wish. Based on these results, the build framework decides that some of these syscalls are broken and hides them behind wrapper functions. gcpio has a bug there and errors out, that's how we noticed. gtar has the same tests and build framework, but not the bug, so it silently builds different code. I have no idea what other ports might be affected or what to do about this. There is also the intriguing question if an executable built in an environment without systrace will still work correctly when run under systrace. I don't know what to do. This is evil. -- Christian naddy Weisgerber na...@mips.inka.de
sipconfig.pyc?
After a bulk build and removal of all installed ports, the file lib/python2.5/site-packages/sipconfig.pyc is left. It doesn't show up in the log of devel/py-sip, or any other port for that matter. USE_SYSTRACE also absolves py-sip from any blame. Where does that file come from? -- Christian naddy Weisgerber na...@mips.inka.de
Re: sipconfig.pyc?
Antoine Jacoutot: lib/python2.5/site-packages/sipconfig.pyc Where does that file come from? Well something must have byte-compiled it when using it. Comparing the mtime of the file and engine.log, the only candidate I see is graphics/py-matplotlib. Which seems implausible. IMHO best in this case is to do the same at fake stage so the pyc files are created and end up in PLIST. I guess. :-/ -- Christian naddy Weisgerber na...@mips.inka.de
Re: cvsweb annotate tab alignment
Alexander Hall ha...@openbsd.org wrote: I'd like to point out that I normally do not run this myself, but since I use the one at openbsd.org, I'd like it to work properly :) Bob uses his own hacked-up private version, not the one in the ports tree. -- Christian naddy Weisgerber na...@mips.inka.de
Re: cvsweb annotate tab alignment
Alexander Hall alexan...@beard.se wrote: This fixes tabs in cvsweb annotate; e.g.: [...] Is there any active upstream to pass this on to? The cvsweb version in our tree is very old. Upstream cvsweb 3 is quite different. Back when I was the MAINTAINER for devel/cvsweb, people urged me to upgrade the port to cvsweb3, but I resisted because it brings in a lot of dependencies. Now that I have stepped out of the way, nobody seems to be interested in cvsweb3 any longer. *shrug* Which reminds me that my cvsweb installation stopped working and I should investigate why. Probably the instructions in the port are still/again incomplete... -- Christian naddy Weisgerber na...@mips.inka.de
Re: cvsweb annotate tab alignment
Alexander Hall alexan...@beard.se wrote: @@ -12,11 +12,11 @@ $OpenBSD: patch-cvsweb_cgi,v 1.12 2006/0 # == EDIT this == # Locations to search for user configuration, in order: -for ($mydir/cvsweb.conf, '/usr/local/etc/cvsweb/cvsweb.conf') { -+for ($mydir/cvsweb.conf, '%%CONFDIR%%/cvsweb/cvsweb.conf') { ++for ($mydir/cvsweb.conf, '/var/www/conf/cvsweb/cvsweb.conf') { That's wrong. This is one of those ports that first change something with a patch, then run a substitution over it. You need to update the patch with the unsubstituted files. -- Christian naddy Weisgerber na...@mips.inka.de
FIX: x11/e17/e
Now that MAXSENSORDEVICES is gone, x11/e17/e doesn't build any longer. The existing sensor code also doesn't look quite right to me, because it doesn't handle the case where hw.sensors.cpu0 doesn't exist. Does the code below look reasonable? Can any Enlightenment users who actually use this give it a try? Index: Makefile === RCS file: /cvs/ports/x11/e17/e/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile24 Jan 2010 11:52:36 - 1.17 +++ Makefile23 Apr 2010 14:51:48 - @@ -2,7 +2,7 @@ COMMENT = the enlightened window manager DISTNAME = enlightenment-0.16.999.061 -PKGNAME = ${DISTNAME}p0v0 +PKGNAME = ${DISTNAME}p1v0 # BSD PERMIT_PACKAGE_CDROM = Yes Index: patches/patch-src_modules_temperature_tempget_c === RCS file: /cvs/ports/x11/e17/e/patches/patch-src_modules_temperature_tempget_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_modules_temperature_tempget_c --- patches/patch-src_modules_temperature_tempget_c 11 Jan 2010 14:59:25 - 1.1 +++ patches/patch-src_modules_temperature_tempget_c 23 Apr 2010 21:22:30 - @@ -1,6 +1,6 @@ $OpenBSD: patch-src_modules_temperature_tempget_c,v 1.1 2010/01/11 14:59:25 jasper Exp $ --- src/modules/temperature/tempget.c.orig Thu Feb 26 04:13:48 2009 -+++ src/modules/temperature/tempget.c Sun Jul 26 23:19:49 2009 src/modules/temperature/tempget.c Fri Apr 23 23:19:13 2010 @@ -3,21 +3,35 @@ */ #include e.h @@ -24,50 +24,47 @@ $OpenBSD: patch-src_modules_temperature_ static char *sensor_path = NULL; -#ifdef __FreeBSD__ --static int mib[5]; + +#if defined (__FreeBSD__) || defined (__OpenBSD__) -+int mib[5]; + static int mib[5]; #endif + +#ifdef __OpenBSD__ -+int dev, numt; -+struct sensordev snsrdev; -+size_t sdlen = sizeof(snsrdev); -+struct sensor snsr; -+size_t slen = sizeof(snsr); ++static int dev, numt; ++static struct sensordev snsrdev; ++static size_t sdlen = sizeof(snsrdev); ++static struct sensor snsr; ++static size_t slen = sizeof(snsr); +#endif static Ecore_Poller *poller = NULL; static int ptemp = 0; -@@ -77,6 +91,7 @@ init(void) -int len; - #endif - -+ -if ((!sensor_type) || ((!sensor_name) || (sensor_name[0] == 0))) - { - if (sensor_name) free(sensor_name); -@@ -86,6 +101,18 @@ init(void) +@@ -86,6 +100,24 @@ init(void) /* TODO: FreeBSD can also have more temperature sensors! */ sensor_type = SENSOR_TYPE_FREEBSD; sensor_name = strdup(tz0); +#elif __OpenBSD__ -+ sensor_type = SENSOR_TYPE_OPENBSD; -+ sensor_name = strdup(cpu0); -+ + mib[0] = CTL_HW; + mib[1] = HW_SENSORS; + -+ for (dev = 0; dev MAXSENSORDEVICES (strcmp(snsrdev.xname, cpu0) != 0); dev++) { ++ for (dev = 0; ; dev++) { + mib[2] = dev; -+ if (sysctl(mib, 3, snsrdev, sdlen, NULL, 0) == -1) -+ continue; ++ if (sysctl(mib, 3, snsrdev, sdlen, NULL, 0) == -1) { ++ if (errno == ENOENT)/* no further sensors */ ++ break; ++ else ++ continue; ++ } ++ if (strcmp(snsrdev.xname, cpu0) == 0) { ++ sensor_type = SENSOR_TYPE_OPENBSD; ++ sensor_name = strdup(cpu0); ++ break; ++ } + } #else therms = ecore_file_ls(/proc/acpi/thermal_zone); if (therms) -@@ -201,6 +228,21 @@ init(void) +@@ -201,6 +233,21 @@ init(void) sysctlnametomib(sensor_path, mib, len); #endif break; @@ -89,7 +86,7 @@ $OpenBSD: patch-src_modules_temperature_ case SENSOR_TYPE_OMNIBOOK: sensor_path = strdup(/proc/omnibook/temperature); break; -@@ -290,6 +332,16 @@ check(void) +@@ -290,6 +337,16 @@ check(void) goto error; #endif break; -- Christian naddy Weisgerber na...@mips.inka.de
Sensors breakage
Two more ports are broken after the recent changes to the sensors framework: sysutils/conky sysutils/gkrellm/gkrellm -- Christian naddy Weisgerber na...@mips.inka.de
GTK+2 breakage
A number of ports are broken after the recente GTK+ 2.20 update, because they still use the now deprecated GTK_WIDGET_...() macros: comms/xdx education/gamgi games/xscorch geo/emerillon net/xchat productivity/osmo www/kazehakase x11/compiz/core x11/gbdfed x11/gentoo x11/gtkdatabox x11/trayer Also, and this is a special case: x11/gtkglext The library itself actually builds, but stuff that links to it (astro/celestia) errors out with unresolved GTK_WIDGET symbols. -- Christian naddy Weisgerber na...@mips.inka.de
Miscellaneous breakage
And here's a list of ports that are broken due to miscellaneous problems: x11/wmmenu,gdk_pixbuf missing -pthread sysutils/pftop ? security/fragroute ? emulators/kqemu proc.h cleanup? productivity/xinvestxprint removal net/axyftp motif update net/ices2 sndio net/twitux plist change: gnome-keyring - libgnome-keyring games/wesnoth boost update graphics/ggix11 header change? x11/qt4 ? lang/ghc? -- Christian naddy Weisgerber na...@mips.inka.de
Re: sysutils/rancid (was: Re: CVS: cvs.openbsd.org: ports)
Antoine Jacoutot: If I change the commit message to Don't fucking force people to install tk when building rancid, will you still object? Oh, okay, that makes sense. -- Christian naddy Weisgerber na...@mips.inka.de
Some amd64 failures (gcc4)
Here are some initial port build failures I see on amd64 after the gcc4 switch. This is not a complete list yet. C++ cast loses precision: audio/festival/core cad/qcad mail/zarafa/zarafa math/ginac www/minimo Internal compiler error: databases/evolution-data-server print/lyx x11/kde/accessibility3 Miscellaneous: graphics/digikam undefined reference to Exiv2::version() -- Christian naddy Weisgerber na...@mips.inka.de
GCC4: To bump or not to bump?
Everytime an architecture switches to GCC4, there are dependency changes for all ports that use MODULES=gcc4 and C++ on that arch. Normally, this would require a PKGNAME bump. On the other hand, the gcc4 switch is something of a flag day for that arch anyway. So... ... to bump or not to bump? -- Christian naddy Weisgerber na...@mips.inka.de
Re: Some amd64 failures (gcc4)
Christian Weisgerber na...@mips.inka.de wrote: Here are some initial port build failures I see on amd64 after the gcc4 switch. Here's a complete list: C++ cast loses precision, i.e., most likely a 64-bit value is truncated to 32 bits: audio/festival/core cad/qcad emulators/vba games/einstein games/ivan games/xevil java/jlint lang/intel2gas mail/zarafa/zarafa math/ginac net/quirc textproc/isearch www/minimo x11/wm2 x11/wmx Internal compiler error: databases/evolution-data-server print/lyx www/larbin x11/kde/accessibility3 Miscellaneous, not necessarily related to gcc4: devel/micoC++ devel/qt4-eventsview ? emulators/qemurequires gcc3 emulators/sdlmame Mesa update? games/quake2 LP64 -Werror lang/unicon ? mail/mail-notificationmissing sentinel -Werror net/hs-HTTP ? security/stel -fwritable-strings unrecognized www/amaya/browser static/non-static www/kazehakase? x11/gnome/totem can't find GStreamer-0.10 plugin videoscale -- Christian naddy Weisgerber na...@mips.inka.de
Re: porting question
Adam Borbely borbely.a...@fokazsir.hu wrote: I'm trying making a port of ser2net. should this put in comms or net? i bet the former. I suggest comms. question: - the lock dir is /var/lock by default. this does not exist by default. shold that be something like /var/spool/lock or the user should make the /var/lock? The lock directory and lock format should be the same as used by cu(1) and ports/net/uucp. -- Christian naddy Weisgerber na...@mips.inka.de
WIP: net/transmission 2.00b1
Since certain people are always clamoring for the very latest Transmission, here's 2.00 Beta 1 for you guys to play with. I took the GTK client for a spin, but on my slow Blade 100 it eats all the CPU it can get. Maybe it doesn't on a faster box, maybe something is broken. I didn't try the daemon. The version.h patch is there because many private trackers forbid beta versions. So we lie. (What did they expect?) Index: Makefile === RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile3 May 2010 17:39:33 - 1.54 +++ Makefile31 May 2010 10:49:13 - @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.93 +VER= 2.00b1 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -48,7 +48,6 @@ CONFIGURE_ENV=CPPFLAGS=-I${LOCALBASE}/ LDFLAGS=-L${LOCALBASE}/lib \ OPENSSL_CFLAGS=-I/usr/include \ OPENSSL_LIBS=-lcrypto -LIBTOOL_FLAGS= --tag=disable-shared MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} .if ${FLAVOR:L:Mno_gui} Index: distinfo === RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.30 diff -u -p -r1.30 distinfo --- distinfo3 May 2010 17:39:33 - 1.30 +++ distinfo31 May 2010 10:49:13 - @@ -1,5 +1,5 @@ -MD5 (transmission-1.93.tar.bz2) = 9oNY0D5GvsVwS7qolJkBUg== -RMD160 (transmission-1.93.tar.bz2) = AOuOE1Dy4Nnbc69x57iHQkEgD4k= -SHA1 (transmission-1.93.tar.bz2) = J3k7gIjW/V2zuABJAHcMhK65kok= -SHA256 (transmission-1.93.tar.bz2) = 6bex+5qtKAjuJ7Fj26hkf3OMI1EyAYZPqZRAELjXFnA= -SIZE (transmission-1.93.tar.bz2) = 4381746 +MD5 (transmission-2.00b1.tar.bz2) = Q1QKRqTurIjlOmdXP+yiGg== +RMD160 (transmission-2.00b1.tar.bz2) = XLeIj0AZxvL4QtKFmmJTo2BYQ+E= +SHA1 (transmission-2.00b1.tar.bz2) = UFSnwpZuQgm3rVjl6qQL20Fgt7k= +SHA256 (transmission-2.00b1.tar.bz2) = aLfPdQMadyd8FhNp9eTuN0DsYjYRS12jmH8S3uVesPc= +SIZE (transmission-2.00b1.tar.bz2) = 3924972 Index: patches/patch-configure_ac === RCS file: /cvs/ports/net/transmission/patches/patch-configure_ac,v retrieving revision 1.4 diff -u -p -r1.4 patch-configure_ac --- patches/patch-configure_ac 3 May 2010 17:39:33 - 1.4 +++ patches/patch-configure_ac 31 May 2010 10:49:13 - @@ -1,7 +1,7 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/05/03 17:39:33 naddy Exp $ configure.ac.orig Fri Mar 12 03:04:38 2010 -+++ configure.ac Sat May 1 03:12:59 2010 -@@ -24,8 +24,8 @@ AC_PROG_LIBTOOL +--- configure.ac.orig Sun May 23 03:53:02 2010 configure.ac Mon May 31 00:55:18 2010 +@@ -24,15 +24,15 @@ AC_PROG_LIBTOOL if test m4_substr(peer_id_prefix,6,1) = 0; then supported_build=yes if test x$GCC = xyes ; then @@ -12,6 +12,15 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/ fi CPPFLAGS=$CPPFLAGS -DNDEBUG else + supported_build=no + if test x$GCC = xyes ; then +-CFLAGS=$CFLAGS -g -O0 +-CXXFLAGS=$CXXFLAGS -g -O0 ++: CFLAGS=$CFLAGS -g -O0 ++: CXXFLAGS=$CXXFLAGS -g -O0 + fi + fi + AM_CONDITIONAL(TR_UNSTABLE, test x$supported_build = xno) @@ -89,7 +89,7 @@ AC_PROG_CXX AC_C_INLINE if test x$GCC = xyes ; then @@ -30,28 +39,17 @@ $OpenBSD: patch-configure_ac,v 1.4 2010/ fi fi -@@ -205,13 +205,13 @@ AC_CHECK_LIB([rt], - dnl build our copy of libevent whether we use it or not, - dnl because make dist needs its Makefiles to exist, and - dnl AM_CONDITIONAL + AC_CONFIG_SUBDIRS don't seem to play nice --AC_CONFIG_SUBDIRS([third-party/libevent]) -+dnl AC_CONFIG_SUBDIRS([third-party/libevent]) - libevent_source=bundled - AC_CHECK_LIB([event],[evutil_vsnprintf], - [libevent_found=yes], - [libevent_found=no], +@@ -207,10 +207,10 @@ AC_CHECK_LIB([event],[evutil_vsnprintf], + [], + [AC_MSG_ERROR(libevent not found!)], [$libevent_extra_libs]) --AC_CHECK_HEADER([event-config.h], -+AC_CHECK_HEADER([evhttp.h], - [libevent_headers_found=yes], - [libevent_headers_found=no]) - libevent_source=bundled -@@ -227,7 +227,7 @@ if test x$libevent_source = xbundled; then - LIBEVENT_LIBS=\$(top_builddir)/third-party/libevent/libevent.la - else - LIBEVENT_CFLAGS= --LIBEVENT_LIBS=-levent $libevent_extra_libs -+LIBEVENT_LIBS=-leventextra -levent $libevent_extra_libs - fi +-AC_CHECK_HEADER([event-config.h],[], +-[AC_MSG_ERROR(event-config.h not found!)]) ++AC_CHECK_HEADER([evhttp.h],[], ++[AC_MSG_ERROR(evhttp.h not found!)]) + LIBEVENT_CFLAGS= +-LIBEVENT_LIBS=-levent $libevent_extra_libs ++LIBEVENT_LIBS=-leventextra -levent $libevent_extra_libs
Re: WIP: net/transmission 2.00b1
Christian Weisgerber na...@mips.inka.de wrote: Since certain people are always clamoring for the very latest Transmission, here's 2.00 Beta 1 for you guys to play with. I forgot to mention: I also enabled local peer discovery for a bit, but didn't see any multicast traffic from Transmission. Broken? -- Christian naddy Weisgerber na...@mips.inka.de
Re: WIP: net/transmission 2.00b1
Owain Ainsworth zer...@googlemail.com wrote: I forgot to mention: I also enabled local peer discovery for a bit, but didn't see any multicast traffic from Transmission. Broken? Did you set multicast_host in rc.conf.local? without that multicast is blackholed iirc. That's a good reminder for other people who want to test this, but yes, I always set multicast_host on all my machines. -- Christian naddy Weisgerber na...@mips.inka.de
i386 pkg build failures
Here's the latest round of build failures: audio/py-ao pea@ has a fix, I think emulators/qemu-old package path has changed! textproc/p5-tkispellseems to require ispell at configure time devel/qt4-eventsview(known issue) www/kazehakase (known issue) Plus the list of package paths that are perfectly fine, but dpb3 fails to build every time because it is buggy: graphics/GraphicsMagick,no_x11 graphics/ImageMagick,no_x11 net/avahi,-mono net/avahi,-qt4 x11/xscreensaver,-gle -- Christian naddy Weisgerber na...@mips.inka.de
Re: WIP: net/transmission 2.00b1
Christian Weisgerber na...@mips.inka.de wrote: Since certain people are always clamoring for the very latest Transmission, here's 2.00 Beta 1 for you guys to play with. Beta 2 I took the GTK client for a spin, but on my slow Blade 100 it eats all the CPU it can get. Maybe it doesn't on a faster box, maybe something is broken. I didn't try the daemon. The version.h patch is there because many private trackers forbid beta versions. So we lie. (What did they expect?) Index: Makefile === RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile3 May 2010 17:39:33 - 1.54 +++ Makefile7 Jun 2010 18:45:52 - @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.93 +VER= 2.00b2 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -35,9 +35,7 @@ LIB_DEPENDS= curl.=14::net/curl \ USE_GMAKE= Yes USE_LIBTOOL= Yes -AUTOCONF_VERSION=2.63 -AUTOCONF= autoconf -I m4 -CONFIGURE_STYLE=autoconf no-autoheader +CONFIGURE_STYLE=gnu CONFIGURE_ARGS=--disable-shared \ --disable-silent-rules \ --disable-libnotify \ @@ -46,9 +44,9 @@ CONFIGURE_ARGS= --disable-shared \ --disable-gconf2 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib \ + LIBEVENT_LIBS=-leventextra -levent \ OPENSSL_CFLAGS=-I/usr/include \ OPENSSL_LIBS=-lcrypto -LIBTOOL_FLAGS= --tag=disable-shared MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} .if ${FLAVOR:L:Mno_gui} Index: distinfo === RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.30 diff -u -p -r1.30 distinfo --- distinfo3 May 2010 17:39:33 - 1.30 +++ distinfo7 Jun 2010 18:45:52 - @@ -1,5 +1,5 @@ -MD5 (transmission-1.93.tar.bz2) = 9oNY0D5GvsVwS7qolJkBUg== -RMD160 (transmission-1.93.tar.bz2) = AOuOE1Dy4Nnbc69x57iHQkEgD4k= -SHA1 (transmission-1.93.tar.bz2) = J3k7gIjW/V2zuABJAHcMhK65kok= -SHA256 (transmission-1.93.tar.bz2) = 6bex+5qtKAjuJ7Fj26hkf3OMI1EyAYZPqZRAELjXFnA= -SIZE (transmission-1.93.tar.bz2) = 4381746 +MD5 (transmission-2.00b2.tar.bz2) = 2x3ZYNkr3GLWHe3rHT44cw== +RMD160 (transmission-2.00b2.tar.bz2) = mct0lq+G6rcZWGZgfaCaDtQZc3I= +SHA1 (transmission-2.00b2.tar.bz2) = hUoz/E2YF+1peTI3CoybKJk99F8= +SHA256 (transmission-2.00b2.tar.bz2) = GfdqBafuxuOgDJM3jMSPUGP8QblpgWzkBfVnIPPERsA= +SIZE (transmission-2.00b2.tar.bz2) = 3761555 Index: patches/patch-configure === RCS file: patches/patch-configure diff -N patches/patch-configure --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-configure 7 Jun 2010 18:45:52 - @@ -0,0 +1,41 @@ +$OpenBSD$ +--- configure.orig Mon Jun 7 18:48:58 2010 configure Mon Jun 7 18:50:23 2010 +@@ -10863,15 +10863,15 @@ CC=$lt_save_CC + if test X = 0; then + supported_build=yes + if test x$GCC = xyes ; then +-CFLAGS=$CFLAGS -g -O3 +-CXXFLAGS=$CXXFLAGS -g -O3 ++: CFLAGS=$CFLAGS -g -O3 ++: CXXFLAGS=$CXXFLAGS -g -O3 + fi + CPPFLAGS=$CPPFLAGS -DNDEBUG + else + supported_build=no + if test x$GCC = xyes ; then +-CFLAGS=$CFLAGS -g -O0 +-CXXFLAGS=$CXXFLAGS -g -O0 ++: CFLAGS=$CFLAGS -g -O0 ++: CXXFLAGS=$CXXFLAGS -g -O0 + fi + fi + if test x$supported_build = xno; then +@@ -15387,7 +15387,7 @@ esac + + if test x$GCC = xyes ; then + +-CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings ++: CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings + + { $as_echo $as_me:${as_lineno-$LINENO}: checking gcc version 5 + $as_echo_n checking gcc version... 6; } +@@ -15399,7 +15399,7 @@ $as_echo_n checking gcc version... 6; } + { $as_echo $as_me:${as_lineno-$LINENO}: result: $GCC_VERSION 5 + $as_echo $GCC_VERSION 6; } + if test $GCC_VERSION_NUM -ge 304; then +-CFLAGS=$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self ++: CFLAGS=$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self + fi + fi + Index: patches/patch-configure_ac === RCS file: patches/patch-configure_ac diff -N patches/patch-configure_ac
devel/libtool: remove g77 dependency
Here's a diff to remove the crazy Fortran dependency from libtool. Notes: * configure still insists on running g77 in a few places to check for the compiler version and for a boilerplate text, and there is no way to override these checks, but it doesn't really do anything with the results, so short-circuiting g77 to true(1) is fine. * I've marked g77 -static as working. configure gets this wrong with the real g77, because it mistakes the linker warnings about unsafe sprintf() etc for errors. Index: Makefile === RCS file: /cvs/ports/devel/libtool/Makefile,v retrieving revision 1.74 diff -u -p -r1.74 Makefile --- Makefile23 May 2010 13:28:16 - 1.74 +++ Makefile11 Jun 2010 13:22:42 - @@ -1,12 +1,11 @@ # $OpenBSD: Makefile,v 1.74 2010/05/23 13:28:16 espie Exp $ -# $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $ COMMENT-main= generic shared library support script COMMENT-ltdl= GNU libtool system independent dlopen wrapper VERSION= 1.5.26 DISTNAME= libtool-${VERSION} -PKGNAME-main= ${DISTNAME}p3 +PKGNAME-main= ${DISTNAME}p4 PKGNAME-ltdl= libltdl-${VERSION}p0 SHARED_LIBS= ltdl 4.5 MODGNU_SHARED_LIBS=ltdl '-no-undefined' @@ -17,10 +16,7 @@ MASTER_SITES=${MASTER_SITE_GNU:=libtool HOMEPAGE= http://www.gnu.org/software/libtool/ AUTOCONF_VERSION= 2.61 -MODULES= fortran -MODFORTRAN_WANTG77=Yes -BUILD_DEPENDS+=${MODGNU_AUTOCONF_DEPENDS} \ - ${MODFORTRAN_BUILD_DEPENDS} +BUILD_DEPENDS+=${MODGNU_AUTOCONF_DEPENDS} MAINTAINER=Brad Smith b...@comstyle.com @@ -32,17 +28,21 @@ PERMIT_DISTFILES_FTP= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ ---infodir=${PREFIX}/info - -# Strictly speaking, forcing GREP in MAKE_ENV should suffice, since the -# libtool reconfigures during the build. But we want to play it safe for -# future changes/updates, so force GREP in CONFIGURE_ENV, too. -CONFIGURE_ENV= GREP=/usr/bin/grep lt_cv_path_SED=/usr/bin/sed -MAKE_ENV= GREP=/usr/bin/grep lt_cv_path_SED=/usr/bin/sed + --infodir=${PREFIX}/info \ + GREP=/usr/bin/grep lt_cv_path_SED=/usr/bin/sed \ + ac_cv_prog_F77=g77 \ + ac_cv_f77_compiler_gnu=yes \ + ac_cv_prog_f77_g=yes \ + lt_cv_prog_compiler_pic_works_F77=yes \ + lt_cv_prog_compiler_static_works_F77=yes \ + lt_cv_prog_compiler_c_o_F77=yes MULTI_PACKAGES=-main -ltdl RUN_DEPENDS-main= ::devel/libtool,-ltdl + +pre-configure: + cd ${WRKDIR}/bin ln -sf /usr/bin/true g77 do-regress: cd ${WRKDIR}/bin ln -sf ${LOCALBASE}/bin/autoconf-2.61 autoconf -- Christian naddy Weisgerber na...@mips.inka.de
Re: devel/libtool: remove g77 dependency
Brad: Here's a diff to remove the crazy Fortran dependency from libtool. Sorry I forgot about this. I just had one question. Why did you move setting some of the environment variables from CONFIGURE_ENV to CONFIGURE_ARGS? Thats weird. Because autoconf-based configure scripts support this and pass such settings on to configure scripts they recursively call in subdirectories (as is the case for libtool). With this we don't have to set the variables in both CONFIGURE_ENV and MAKE_ENV. -- Christian naddy Weisgerber na...@mips.inka.de
BROKEN: databases/py-sqlobject
This is a weird build error and there is no obvious (to me) commit that could have triggered it... /usr/sbin/pkg_add -a py-setuptools-0.6.11p0v0 python-2.5.4p5 === databases/py-sqlobject Package database already locked... awaiting release... done! === py-sqlobject-0.10.4 depends on: python-=2.5,2.6 - found Package database already locked... awaiting release... done! === py-sqlobject-0.10.4 depends on: py-setuptools-* - found === databases/py-sqlobject === Checking files for py-sqlobject-0.10.4 `/usr/ports/distfiles/SQLObject-0.10.4.tar.gz' is up to date. === databases/py-sqlobject === Checking files for py-sqlobject-0.10.4 `/usr/ports/distfiles/SQLObject-0.10.4.tar.gz' is up to date. (SHA256) SQLObject-0.10.4.tar.gz: OK === Extracting for py-sqlobject-0.10.4 === Patching for py-sqlobject-0.10.4 === databases/py-sqlobject === Configuring for py-sqlobject-0.10.4 === databases/py-sqlobject === Building for py-sqlobject-0.10.4 running build running build_py creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/col.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/sqlbuilder.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/dbconnection.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/wsgi_middleware.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/cache.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/__init__.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/conftest.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/main.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/views.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/index.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/events.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/joins.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/constraints.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/dberrors.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/sresults.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/declarative.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/converters.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/boundattributes.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/styles.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject copying sqlobject/classregistry.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/firebird copying sqlobject/firebird/__init__.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/firebird copying sqlobject/firebird/firebirdconnection.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/firebird creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include copying sqlobject/include/__init__.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robustapply.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/saferef.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robust.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/__init__.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/errors.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/dispatcher.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/include/pydispatch creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/inheritance copying sqlobject/inheritance/__init__.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/inheritance copying sqlobject/inheritance/iteration.py - /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/inheritance creating /usr/obj/i386/py-sqlobject-0.10.4/SQLObject-0.10.4/lib/sqlobject/manager copying sqlobject/manager/__init__.py -
Re: BROKEN: databases/py-sqlobject
Federico G. Schwindt: can you check the setuptools you have installed does not have python 2.6 as dependency? It depends on python 2.5. $ grep @depend /var/db/pkg/py-setuptools-0.6.11p0v0/+CONTENTS @depend lang/python/2.5:python-=2.5,2.6:python-2.5.4p5 (The build failure appeared in a regular bulk build.) -- Christian naddy Weisgerber na...@mips.inka.de
Re: Failing to build openoffice package on amd64
Andreas Kahari [EMAIL PROTECTED] wrote: I'm unable to build openoffice-2.4.2 on a OpenBSD/amd64 machine. There seems to be a problem at the final packaging step: [...] === Building package for openoffice-2.4.2 Create /usr/ports/packages/amd64/all/openoffice-2.4.2.tgz Switching to /usr/ports/editors/openoffice/pkg/PFRAG.shared-main /usr/ports/packages/amd64/all/openoffice-2.4.2.tgz: Missing lib: libjvmaccessgcc3.so.3 That looks like you are building with CHECK_LIB_DEPENDS=Yes, which is a bad idea unless you want to work on fixing the problems uncovered and are prepared to deal with false positives in some of our nastier ports. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Update: net/transmission 1.40
Update net/transmission to 1.40. Lots of changes from 1.22. Highlights: * There's a spiffy new web interface for the GTK and daemon clients. * transmission-daemon and -remote have been completely rewritten. Changes over 1.3x are incremental, but the showstopper bugs that kept me from updating the port to 1.3x are gone. Index: Makefile === RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- Makefile9 Jul 2008 19:43:42 - 1.27 +++ Makefile28 Nov 2008 15:58:08 - @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.22 +VER= 1.40 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -12,7 +12,7 @@ HOMEPAGE= http://www.transmissionbt.com/ MAINTAINER=Christian Weisgerber [EMAIL PROTECTED] -# GPLv3 +# GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM=Yes @@ -30,6 +30,8 @@ WANTLIB= c crypto idn m pthread ssl z WANTLIB-main= ${WANTLIB} MODULES= devel/gettext +LIB_DEPENDS= curl.=12::net/curl +BUILD_DEPENDS= ::textproc/intltool USE_GMAKE= Yes USE_LIBTOOL= Yes @@ -51,14 +53,12 @@ WANTLIB-gui=${WANTLIB} X11 Xau Xcomposi dbus-glib-1 expat fontconfig freetype gio-2.0 glib-2.0 glitz \ gmodule-2.0 gobject-2.0 gthread-2.0 pango-1.0 pangoft2-1.0 \ pangocairo-1.0 pixman-1 png pcre -LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \ - notify.=2::devel/libnotify \ - curl.=9::net/curl +LIB_DEPENDS+= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \ + notify.=2::devel/libnotify LIB_DEPENDS-main=${MODGETTEXT_LIB_DEPENDS} \ - curl.=9::net/curl -RUN_DEPENDS-main=${MODGETTEXT_RUN_DEPENDS} + curl.=12::net/curl RUN_DEPENDS-gui=:${PKGNAME-main}:net/transmission,-main \ - ::devel/desktop-file-utils ${RUN_DEPENDS} + ::devel/desktop-file-utils USE_X11= Yes .endif Index: distinfo === RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- distinfo9 Jul 2008 19:43:42 - 1.15 +++ distinfo28 Nov 2008 15:58:08 - @@ -1,5 +1,5 @@ -MD5 (transmission-1.22.tar.bz2) = qgotsZsPPb/XWg+zVNbEfQ== -RMD160 (transmission-1.22.tar.bz2) = vfsjmP6xiG7kl9YnpFcxA+crxtw= -SHA1 (transmission-1.22.tar.bz2) = j5QrfhNnrfVe6Vo4qQfy+1K4ypc= -SHA256 (transmission-1.22.tar.bz2) = 1Lo4GxETuhNzLLR+rissuth0ZN7sepCm1Jwpq9HAH5o= -SIZE (transmission-1.22.tar.bz2) = 3987969 +MD5 (transmission-1.40.tar.bz2) = SQ0TwUG6e0qWWCVB6oOkYQ== +RMD160 (transmission-1.40.tar.bz2) = T1voeO0iGowOpkQzD7vVvPWVtaQ= +SHA1 (transmission-1.40.tar.bz2) = RC8JLGpMPbzjl8oNimmaG8U3cE8= +SHA256 (transmission-1.40.tar.bz2) = lEq5z8/JpL1+/uzzLqYJ+mUXlwqXCMRO7m1XUMT/jgw= +SIZE (transmission-1.40.tar.bz2) = 4604462 Index: patches/patch-configure === RCS file: /cvs/ports/net/transmission/patches/patch-configure,v retrieving revision 1.9 diff -u -p -r1.9 patch-configure --- patches/patch-configure 9 Jul 2008 19:43:42 - 1.9 +++ patches/patch-configure 28 Nov 2008 15:58:08 - @@ -1,14 +1,14 @@ -$OpenBSD: patch-configure,v 1.9 2008/07/09 19:43:42 naddy Exp $ configure.orig Fri May 9 21:02:35 2008 -+++ configure Wed May 14 17:31:53 2008 -@@ -20832,10 +20832,6 @@ else +$OpenBSD$ +--- configure.orig Thu Nov 27 21:20:39 2008 configure Thu Nov 27 21:21:19 2008 +@@ -21453,10 +21453,6 @@ else fi -if test x$GCC = xyes ; then --CFLAGS=-g -Wall -W -O3 -funroll-loops --CXXFLAGS=-g -Wall -W -O3 -funroll-loops +-CFLAGS=-g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops +-CXXFLAGS=-g -Wall -Wformat-security -W -O3 -funroll-loops -fi - { echo $as_me:$LINENO: checking for ANSI C header files 5 - echo $ECHO_N checking for ANSI C header files... $ECHO_C 6; } - if test ${ac_cv_header_stdc+set} = set; then + + { $as_echo $as_me:$LINENO: checking for ANSI C header files 5 + $as_echo_n checking for ANSI C header files... 6; } Index: patches/patch-daemon_remote_c === RCS file: patches/patch-daemon_remote_c diff -N patches/patch-daemon_remote_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-daemon_remote_c 28 Nov 2008 15:58:08 - @@ -0,0 +1,47 @@ +$OpenBSD$ +--- daemon/remote.c.orig Mon Nov 10 16:52:35 2008 daemon/remote.cThu Nov 27 22:33:20 2008 +@@ -572,11 +572,11 @@ strlratio( char * buf, + { + const double
Re: ff3
Hannah Schroeter [EMAIL PROTECTED] wrote: Remove/backup and rename your old profile directory and make a new one (you can import your bookmarks later). Then it works (at least for me). Nice knee-jerk response, but I tested taking the existing configuration from ff2 to ff3 (and in fact going back and forth between them) and it worked just fine. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: ff3
Brad [EMAIL PROTECTED] wrote: The immediate problem is not FF3 but Pango (devel/pango). The ABI changes from time to time for Pango and that requires that that modules list and most likely the aliases list in /etc/pango be up to date with what is in /usr/local/share/examples/pango . The package has the lists file and aliases file as @sample's. That alone is not enough for an upgrade, as opposed to a fresh install. Yes, it is. If a @sample file hasn't been changed, it is simply removed along with the rest of the package and a new one will be installed with the new package. This certainly happens for pkg_add -ui. (I checked.) My best explanation is that Marco messed up /etc/pango/* and thus has only himself to blame. -- Christian naddy Weisgerber [EMAIL PROTECTED]
sndio conversion list?
Has anybody bothered to maintain a list of ports that (still) could use conversion from a sun audio backend to sndio? -- Christian naddy Weisgerber na...@mips.inka.de
GTK-related issues
The only Gtk+2-based apps that I run all the time are Firefox and Transmission. I'm not sure if the deficiencies I see are due to Gtk+2 and related libraries or the apps themselves. Anyway, for the record, here's my list of annoyances: * Icon size. When I iconize the application, the window manager (fvwm, mwm) ends up displaying some small or outright tiny icon. 48x48 icons are installed, why aren't they used? Is this somehow configurable? (No, I don't mean configuring the window manager to override the application icon.) * Chromatic aberration. When I run the application on a remote X11 display, some fonts (e.g. the one used for the menus) have colored fringes. I don't know if this is some sort of anti-aliasing gone wrong, but it looks a lot like chromatic aberration in analog optics. This is definitely a problem that affects all Gtk+2-based applications. * Broken combining characters. This concerns Firefox specifically, but I suspect the problem is in some underlying libraries. Combining characters are not displayed correctly. It's very visible on Wikipedia. Diacritic marks in IPA (say, the tilde for nasal vowels) are missing or squished into the base character. Over on the Russian Wikipedia, the stress marks on the headwords float over extra space. The combination of lynx and uxterm can display this better. None of this is new and I guess it isn't OpenBSD-specific either, but it is time somebody mentioned it at least. -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Thomas Pfaff tpf...@tp76.info wrote: This diff adds sndio output to audio/xmms. Please test. The autotools changes are causing trouble. I just tried to build with FLAVOR='no_esd no_mikmod' and autoconf errored out: configure.in:226: error: possibly undefined macro: AM_PATH_LIBMIKMOD -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Thomas Pfaff tpf...@tp76.info wrote: This diff adds sndio output to audio/xmms. Please test. I gave this a spin on my azalia box. This taught me all kinds of unexpected things. * (I had switched left and right channels when hooking up the machine to the stereo. Looks like my headphone jack to RCA cable is color coded wrong.) * (My little stereo produces severely unbalanced output. I wonder for how many years it has been doing that without me ever noticing.) * I don't know when I last tried XMMS with local audio on that machine. Maybe never. The sun output module doesn't work, it just produces a stream of errors: sun_write: inserted 0/0 bytes of silence to resync * When I don't use aucat -l, the XMMS volume slider will set the mixer (outputs.master), but only the left channel. Is this a libsndio problem? The sndio output module itself seems fine. Feature request: How about a configuration tab/field where you can set the device (corresponding to the first parameter of sio_open)? This would allow making use of multi-streaming without having to quit XMMS and having to restart it with a different AUDIODEVICE. -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Jacob Meuser jake...@sdf.lonestar.org wrote: Feature request: How about a configuration tab/field where you can set the device (corresponding to the first parameter of sio_open)? hmm, this is kind of a general issue with aucat, imo. many applications will search for devices then just give a list. that is, they don't allow you to add one yourself. this mean you have to use AUDIODEVICE if you've defined your own socket(s). even the audio(4) backend in xmms doesn't allow choosing the device ... Yes, it does. Options - Preferences - Audio I/O Plugins BSD Sun Driver Configure - Devices Audio device: [/dev/audio ] Audio control device: [/dev/audioctl] Mixer device: [/dev/mixer ] -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Jacob Meuser jake...@sdf.lonestar.org wrote: imo, it would just be a whole lot easier to have a separate xmms-sndio port/package and have xmms RUN_DEPEND on it. That would be pretty weird, considering that the other xmms-* packages depend on xmms proper. We could simplify the port by killing the PSEUDO_FLAVORS. -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Jacob Meuser jake...@sdf.lonestar.org wrote: here's a version to do that and add a device dialog. AUDIODEVICE means to use sndio default ... I think it would be more intuitive to just use an empty string to mean the sndio default. -- Christian naddy Weisgerber na...@mips.inka.de
Re: sndio for xmms
Jacob Meuser jake...@sdf.lonestar.org wrote: here's a version to do that and add a device dialog. AUDIODEVICE means to use sndio default ... I think it would be more intuitive to just use an empty string to mean the sndio default. otoh, maybe people will think they have to type something in. the sun backend has something there by default ... My thinking is that the sndio plugin should be the default. In that case, people will probably have used it with success before they get to the configuration panel, so they wouldn't feel any need to put something in there. AUDIODEVICE is a magic value and these are never good. What do other people think? -- Christian naddy Weisgerber na...@mips.inka.de
audio/mpg123: output modules?
This is a rough diff to enable the EsounD and JACK output plugins that are included with mpg123. They are split out into subpackages, and there are even pseudo-flavors do disable them since mpg123 itself has rather little in the way of dependencies. I haven't actually tried to use these output plugins. People who have esd and jack setups can do that. Is there any interest in this? Is this a direction we want to take? Index: Makefile === RCS file: /cvs/ports/audio/mpg123/Makefile,v retrieving revision 1.40 diff -u -p -r1.40 Makefile --- Makefile22 Dec 2008 20:55:49 - 1.40 +++ Makefile25 Dec 2008 18:12:46 - @@ -1,8 +1,16 @@ # $OpenBSD: Makefile,v 1.40 2008/12/22 20:55:49 naddy Exp $ -COMMENT= MPEG-1/2 audio layer 1, 2, and 3 player +SHARED_ONLY= Yes -DISTNAME= mpg123-1.6.3 +COMMENT-main= MPEG-1/2 audio layer 1, 2, and 3 player +COMMENT-esd= EsounD output plugin for mpg123 +COMMENT-jack= JACK output plugin for mpg123 + +VERSION= 1.6.3 +DISTNAME= mpg123-${VERSION} +PKGNAME-main= mpg123-${VERSION}p0 +PKGNAME-esd= mpg123-esd-${VERSION} +PKGNAME-jack= mpg123-jack-${VERSION} SHARED_LIBS= mpg123 0.1 # .11.3 CATEGORIES=audio HOMEPAGE= http://www.mpg123.de/ @@ -17,6 +25,17 @@ PERMIT_DISTFILES_FTP=Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/} +PSEUDO_FLAVORS=no_esd no_jack +FLAVOR?= + +MULTI_PACKAGES=-main +.if ${FLAVOR:L:Mno_esd} +MULTI_PACKAGES+=-esd +.endif +.if ${FLAVOR:L:Mno_jack} +MULTI_PACKAGES+=-jack +.endif + WANTLIB= c m sndio LIB_DEPENDS= ltdl::devel/libtool,-ltdl @@ -25,7 +44,7 @@ AUTOCONF_VERSION=2.62 AUTOMAKE_VERSION=1.9 CONFIGURE_STYLE=autoconf automake CONFIGURE_ARGS=${CONFIGURE_SHARED} --enable-static \ - --with-audio=sndio \ + --with-audio=`echo ${OUTPUTS} | tr ' ' ,` \ --with-optimization=0 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${WRKBUILD}/src/libmpg123/.libs -L${LOCALBASE}/lib @@ -37,6 +56,22 @@ CONFIGURE_ARGS+=--with-cpu=generic_nofpu CONFIGURE_ARGS+=--with-cpu=x86 .else CONFIGURE_ARGS+=--with-cpu=generic_fpu +.endif + +OUTPUTS= sndio + +.if ${MULTI_PACKAGES:M-esd} +OUTPUTS+= esd +LIB_DEPENDS-esd= esd.=2::audio/esound +RUN_DEPENDS-esd= :mpg123-${VERSION}:audio/mpg123 +WANTLIB-esd= audiofile m sndio +.endif + +.if ${MULTI_PACKAGES:M-jack} +OUTPUTS+= jack +LIB_DEPENDS-jack= jack.=0::audio/jack +RUN_DEPENDS-jack= :mpg123-${VERSION}:audio/mpg123 +WANTLIB-jack= m .endif post-extract: Index: pkg/DESCR === RCS file: pkg/DESCR diff -N pkg/DESCR --- pkg/DESCR 11 Nov 2008 20:35:49 - 1.5 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,2 +0,0 @@ -mpg123 is a fast command-line MPEG audio player. It supports -MPEG 1.0/2.0/2.5 layers 1, 2, and 3 (commonly known as MP3). Index: pkg/DESCR-esd === RCS file: pkg/DESCR-esd diff -N pkg/DESCR-esd --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/DESCR-esd 25 Dec 2008 18:12:46 - @@ -0,0 +1 @@ +mpg123 output plugin for the Enlightened Sound Daemon. Index: pkg/DESCR-jack === RCS file: pkg/DESCR-jack diff -N pkg/DESCR-jack --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/DESCR-jack 25 Dec 2008 18:12:46 - @@ -0,0 +1 @@ +mpg123 output plugin for the JACK audio server. Index: pkg/DESCR-main === RCS file: pkg/DESCR-main diff -N pkg/DESCR-main --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/DESCR-main 25 Dec 2008 18:12:46 - @@ -0,0 +1,2 @@ +mpg123 is a fast command-line MPEG audio player. It supports +MPEG 1.0/2.0/2.5 layers 1, 2, and 3 (commonly known as MP3). Index: pkg/PFRAG.shared === RCS file: pkg/PFRAG.shared diff -N pkg/PFRAG.shared --- pkg/PFRAG.shared11 Nov 2008 20:35:49 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,9 +0,0 @@ -...@comment $OpenBSD: PFRAG.shared,v 1.1 2008/11/11 20:35:49 naddy Exp $ -...@lib lib/libmpg123.so.${LIBmpg123_VERSION} -lib/mpg123/ -...@comment lib/mpg123/output_dummy.a -lib/mpg123/output_dummy.la -lib/mpg123/output_dummy.so -...@comment lib/mpg123/output_sndio.a -lib/mpg123/output_sndio.la -lib/mpg123/output_sndio.so Index: pkg/PLIST === RCS file: pkg/PLIST diff -N pkg/PLIST --- pkg/PLIST 11 Nov 2008 20:35:49 - 1.5 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,9 +0,0 @@ -...@comment $OpenBSD: PLIST,v 1.5 2008/11/11 20:35:49 naddy Exp $ -%%SHARED%% -...@bin bin/mpg123 -include/mpg123.h -lib/libmpg123.a -lib/libmpg123.la
Re: audio/esound breakage
Jacob Meuser jake...@sdf.lonestar.org wrote: just curious, what ports actually *need* esound? I would be willing to convert them to sndio so we can toss this garbage in the dumpster where it belongs. For me, esound's attraction has always been the ability to carry audio over the network. That's something sndio/aucat can't do (yet?). But since I have now for several years been unable to get this to work on the occasions I tried, I'm not feeling the esound love any more. Firefox has an esound run dependency whose use I don't know. GNOME used to rely on esound as a multiplexer; I don't know what's up with that nowadays. -- Christian naddy Weisgerber na...@mips.inka.de
Re: net/yt to www/yt?
Thomas Pfaff tpf...@tp76.info wrote: To download youtube movies, we have net/yt and www/youtube-dl. Why are they not in the same category? Because our categories are imperfect and in retrospect some ports have been awkwardly placed. I think net/yt should be moved to www/yt (or perhaps vice versa). We'll revisit this once OpenBSD has switched to a revision control system that can handle file moves. CVS can't, and the cosmetic gain isn't worth the pain. (No, there are no plans to move away from CVS.) -- Christian naddy Weisgerber na...@mips.inka.de
UPDATE: audio/sox 14.2.0
Here is a long overdue update of audio/sox. There were a number of choices to make and some people are bound to disagree with some of them. Briefly: * I have dropped the snprintf() patches after failing to get them accepted upstream. * Don't modularize the format converters. * Drop flavors and just add most external libraries sox supports. I've drawn the line somewhat arbitrarily at codec collections like ffmpeg that are badly integrated into sox. This update does not include a sndio backend. I would like to provide one, but I'd prefer that to go in separately, plus I don't want to delay the update any longer. Index: Makefile === RCS file: /cvs/ports/audio/sox/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- Makefile8 Jul 2008 15:03:37 - 1.37 +++ Makefile5 Jan 2009 20:59:51 - @@ -1,45 +1,65 @@ # $OpenBSD: Makefile,v 1.37 2008/07/08 15:03:37 naddy Exp $ -COMMENT= SOund eXchange - universal sound sample translator +COMMENT= Sound eXchange, the Swiss Army knife of audio manipulation -DISTNAME= sox-12.18.2 -PKGNAME= ${DISTNAME} # also see below +DISTNAME= sox-14.2.0 +SHARED_LIBS += sox 0.0 # .0.0 +SHARED_LIBS += sfx 0.0 # .0.0 CATEGORIES=audio HOMEPAGE= http://sox.sourceforge.net/ -MAINTAINER=Christian Weisgerber na...@openbsd.org - -# gsm library has bad license +# GPLv2, but the included gsm library was originally distributed with an +# incomplete license. PERMIT_PACKAGE_CDROM= no redistribution PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM=no redistribution PERMIT_DISTFILES_FTP= Yes -WANTLIB= c m MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} -CONFIGURE_STYLE=gnu dest -CONFIGURE_ARGS=--disable-oss-dsp -CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ - LDFLAGS=-L${LOCALBASE}/lib -MAKE_ENV= PLAY_SUPPORT=1 - -FLAVORS= mp3 vorbis -FLAVOR?= - -.if ${FLAVOR:L:Mvorbis} -LIB_DEPENDS+= vorbis.=3,vorbisenc.=2,vorbisfile.=4::audio/libvorbis -WANTLIB+= ogg -.else -CONFIGURE_ARGS+= --disable-ogg-vorbis -.endif - -.if ${FLAVOR:L:Mmp3} -PKGNAME= ${DISTNAME}p0 -LIB_DEPENDS+= mad.=2::audio/libmad mp3lame::audio/lame -.else -CONFIGURE_ARGS+= --disable-mad --disable-lame -.endif +# see CONFIGURE_ARGS below +LIB_DEPENDS= vorbis.=6,vorbisenc.=2,vorbisfile.=5::audio/libvorbis \ + FLAC.=9::audio/flac \ + magic.=1::devel/libmagic \ + mad.=2::audio/libmad \ + id3tag.=3::audio/libid3tag \ + mp3lame.=2::audio/lame \ + png.=8::graphics/png \ + samplerate.=2::audio/libsamplerate +WANTLIB= c m ogg z + +USE_LIBTOOL= Yes +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS=${CONFIGURE_SHARED} \ + --disable-silent-libtool + +# Don't use modules +CONFIGURE_ARGS+=--without-libltdl + +# Sound drivers +CONFIGURE_ARGS+=--disable-libao \ + --disable-oss \ + --enable-sun-audio + +# Additional file formats +CONFIGURE_ARGS+=--without-sndfile \ + --with-ogg \ + --with-flac \ + --without-ffmpeg \ + --with-magic \ + --with-mad \ + --with-id3tag \ + --with-lame \ + --without-amr-wb \ + --without-amr-nb \ + --without-wavpack \ + --with-png \ + --with-samplerate \ + --without-ladspa + +CONFIGURE_ENV= \ + CPPFLAGS=-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng \ + LDFLAGS=-L${LOCALBASE}/lib do-regress: @cd ${WRKSRC}/src ./tests.sh ./testall.sh Index: distinfo === RCS file: /cvs/ports/audio/sox/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo5 Apr 2007 15:37:44 - 1.8 +++ distinfo5 Jan 2009 20:59:51 - @@ -1,5 +1,5 @@ -MD5 (sox-12.18.2.tar.gz) = uiXlEqbIJNblbXZ2ehivmQ== -RMD160 (sox-12.18.2.tar.gz) = z4XsQFimZoetCjm7hf8GLXxI578= -SHA1 (sox-12.18.2.tar.gz) = P1dCy+2Y3q+8+AJRwpIkyanvXIk= -SHA256 (sox-12.18.2.tar.gz) = gyv5jJVYCvh5/lExHIYbp8V/B6V5FigQjvKaAn8Ccf8= -SIZE (sox-12.18.2.tar.gz) = 486814 +MD5 (sox-14.2.0.tar.gz) = evwOhdFL4BTwjn07fujCTg== +RMD160 (sox-14.2.0.tar.gz) = fHai21xYOPw9n4tUAuR9VI/QlNU= +SHA1 (sox-14.2.0.tar.gz) = G2Dlr0P0SlEkf7l48kI/Defic2M= +SHA256 (sox-14.2.0.tar.gz) = jRuOszpyoYE2lHXJ2l/cvl9oIOavPYag6E9pOeYancE= +SIZE (sox-14.2.0.tar.gz) = 964800 Index: patches/patch-src_Makefile_in === RCS file: patches/patch-src_Makefile_in diff -N patches/patch-src_Makefile_in --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_Makefile_in 5 Jan 2009 20:59:51 - @@ -0,0 +1,24 @@ +$OpenBSD$ + +Make sure libsox
Re: UPDATE: audio/sox 14.2.0
Jacob Meuser jake...@sdf.lonestar.org wrote: personally, I don't think there any point in an audio backend for sox. aucat can read from stdin and sox can output to stdout. Well, yes. However, sox includes various audio backends and the port has supported direct audio via OSS or native audio for a long time. I don't want to take that away. -- Christian naddy Weisgerber na...@mips.inka.de
NEW: audio/xmms-wavpack 1.0.2
Since we just gained a WavPack port, here's the corresponding XMMS plugin. Unfortunately the tarball doesn't contain any licensing information. -- Christian naddy Weisgerber na...@mips.inka.de xmms-wavpack.tgz Description: GNU Unix tar archive
Re: UPDATE to net/ntp
Wim Lewis w...@.org wrote: Thoughts from the list on what the ISC version number's 'p' should be changed to? p - pl -- Christian naddy Weisgerber na...@mips.inka.de
Re: devel/cppunit does not build
Markus Hennecke markus-henne...@markus-hennecke.de wrote: cppunit stopped building, claiming that it can't find isfinite(). Can anyone confirm this? Yes. These ports also fail to build with similar problems: audio/festival/core audio/vamp-plugin-sdk geo/qlandkarte net/ktorrent x11/kde/edu3 If so, adding the attached patch file to the port will correct the problem. I'm waiting for our C++ people to come to a conclusion whether our C++ headers should be modified or the ports. -- Christian naddy Weisgerber na...@mips.inka.de
Re: update: misc/tmux 0.6
Nicholas Marriott nicholas.marri...@gmail.com wrote: Update to new tmux version 0.6. Clock-mode doesn't seem to work. It clears the screen, except for the status line, and positions the cursor in the lower right corner. There is no clock, apart from the one in the status line. ... Oh. Let me revise that. Clock-mode requires color. Running with TERM=xterm-xfree86, I see this big clock in the middle of the screen. With default monochrome xterm, the clock is white on white, I guess. -- Christian naddy Weisgerber na...@mips.inka.de
Re: GTK-related issues
Tobias Ulmer: When I run the application on a remote X11 display, some fonts (e.g. the one used for the menus) have colored fringes. I don't know if this is some sort of anti-aliasing gone wrong, but it looks a lot like chromatic aberration in analog optics. This is definitely a problem that affects all Gtk+2-based applications. That's caused by fontconfig. You might want to create a ~/.fonts.conf with this: I'm a month late, but I have finally looked at this. ?xml version=1.0?!DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig match target=font edit mode=assign name=rgba constnone/const /edit /match match target=font edit mode=assign name=lcdfilter constlcdnone/const /edit /match match target=font edit mode=assign name=hintstyle consthintfull/const /edit /match /fontconfig The lcdfilter property doesn't exist and the other settings have no effect. http://fontconfig.org/fontconfig-user.html for possible values. Or /usr/X11R6/share/doc/fontconfig/fontconfig-user.* for that matter. Alas, the description of the available properties is minimal and the values are undocumented. As usual, Google reveals a lively scene where people pass around magic fonts.conf incantations that are rumored to cure various ills, but real understanding appears absent. Sigh. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Transmission 1.50 Beta 2
Robert rob...@openbsd.pap.st wrote: IPv6 support only tested locally, seemed fine. What do you mean by tested locally? Unless I'm doing something wrong, web/remote access over v6 isn't possible; transmission doesn't even listen for it on v6. Torrenting over v4 is fine so far with the GTK client (sparc64). I haven't tried a v6 torrent yet. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Update: comms/c3270
Jeremy Evans open...@jeremyevans.net wrote: Here's an update to comms/c3270. Shouldn't this be updated together with comms/x3270? -DISTNAME=c3270-3.3.6 +PKGNAME= c3270-3.3.8 +DISTNAME=${PKGNAME}p3 No, that is wrong. You probably want something like we did for net/ntp, i.e., DISTNAME=c3270-3.3.8p3 and change p-pl for PKGNAME. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Transmission 1.50 Beta 2
Brad b...@comstyle.com wrote: For anyone wanting to try out Transmission 1.50 Beta 2 here is an update. The main addition for the 1.50 release is IPv6 support. This is especially interesting now that The Pirate Bay has v6 support. Here is Beta 3.. Beta 4. Index: Makefile === RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.29 diff -u -p -r1.29 Makefile --- Makefile27 Dec 2008 15:54:43 - 1.29 +++ Makefile30 Jan 2009 12:28:48 - @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.42 +VER= 1.50b4 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= http://download.m0k.org/transmission/files/ +MASTER_SITES= http://mirrors.m0k.org/transmission/files/ EXTRACT_SUFX= .tar.bz2 PSEUDO_FLAVORS=no_gui Index: distinfo === RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.17 diff -u -p -r1.17 distinfo --- distinfo27 Dec 2008 15:54:43 - 1.17 +++ distinfo30 Jan 2009 12:28:48 - @@ -1,5 +1,5 @@ -MD5 (transmission-1.42.tar.bz2) = wIO9ywFCZGboDuM5vM2TUQ== -RMD160 (transmission-1.42.tar.bz2) = ++KhhaFpMBNu9rn1aCj2OHPmGIo= -SHA1 (transmission-1.42.tar.bz2) = EJ7xIbxNAyx4sU19OTTyCl7ZgDU= -SHA256 (transmission-1.42.tar.bz2) = 5+F/KaFmeUAXxtlDYhWTN/FACMQU0fjaX3wsHAXH1UM= -SIZE (transmission-1.42.tar.bz2) = 4630409 +MD5 (transmission-1.50b4.tar.bz2) = sByMea1S6Uj9y8tP+WKOHQ== +RMD160 (transmission-1.50b4.tar.bz2) = rKHUYKF6qDNCRlfWxBCn7E5+r1g= +SHA1 (transmission-1.50b4.tar.bz2) = 6QZH+LvnqImwZ9vCOE0zaMc6jC0= +SHA256 (transmission-1.50b4.tar.bz2) = bO7u/CacfjXvfJ/Us36xCycxBMQzFhDBmOVQ8tGD0E0= +SIZE (transmission-1.50b4.tar.bz2) = 4679444 Index: patches/patch-configure === RCS file: /cvs/ports/net/transmission/patches/patch-configure,v retrieving revision 1.10 diff -u -p -r1.10 patch-configure --- patches/patch-configure 2 Dec 2008 15:29:07 - 1.10 +++ patches/patch-configure 30 Jan 2009 12:28:48 - @@ -1,14 +1,36 @@ $OpenBSD: patch-configure,v 1.10 2008/12/02 15:29:07 naddy Exp $ configure.orig Thu Nov 27 21:20:39 2008 -+++ configure Thu Nov 27 21:21:19 2008 -@@ -21453,10 +21453,6 @@ else - fi +--- configure.orig Fri Jan 23 15:38:05 2009 configure Fri Jan 23 15:40:49 2009 +@@ -20147,8 +20147,8 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + if test X = 0; then + supported_build=yes +- CFLAGS=$CFLAGS -g -O3 -funroll-loops +- CXXFLAGS=$CXXFLAGS -g -O3 -funroll-loops ++ : CFLAGS=$CFLAGS -g -O3 -funroll-loops ++ : CXXFLAGS=$CXXFLAGS -g -O3 -funroll-loops + + cat confdefs.h \_ACEOF + #define TR_STABLE_RELEASE 1 +@@ -20156,8 +20156,8 @@ _ACEOF + else + supported_build=no +- CFLAGS=$CFLAGS -g -O0 +- CXXFLAGS=$CXXFLAGS -g -O0 ++ : CFLAGS=$CFLAGS -g -O0 ++ : CXXFLAGS=$CXXFLAGS -g -O0 + if test X = X; then --if test x$GCC = xyes ; then --CFLAGS=-g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops --CXXFLAGS=-g -Wall -Wformat-security -W -O3 -funroll-loops --fi + cat confdefs.h \_ACEOF +@@ -21540,8 +21540,8 @@ _ACEOF + esac + + if test x$GCC = xyes ; then +-CFLAGS=-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute +-CXXFLAGS=-Wall -Wformat-security -W ++: CFLAGS=-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute ++: CXXFLAGS=-Wall -Wformat-security -W + fi { $as_echo $as_me:$LINENO: checking for ANSI C header files 5 - $as_echo_n checking for ANSI C header files... 6; } Index: patches/patch-daemon_remote_c === RCS file: /cvs/ports/net/transmission/patches/patch-daemon_remote_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-daemon_remote_c --- patches/patch-daemon_remote_c 27 Dec 2008 15:54:43 - 1.2 +++ patches/patch-daemon_remote_c 30 Jan 2009 12:28:48 - @@ -1,7 +1,7 @@ $OpenBSD: patch-daemon_remote_c,v 1.2 2008/12/27 15:54:43 naddy Exp $ daemon/remote.c.orig Wed Dec 3 00:44:08 2008 -+++ daemon/remote.cThu Dec 4 17:58:32 2008 -@@ -575,11 +575,11 @@ strlratio2( char * buf, double ratio, size_t buflen ) +--- daemon/remote.c.orig Thu Jan 29
audio/xmms: add digital audio extraction
The patch below adds digital audio extraction to XMMS's cdaudio input plugin. Previously, you could only play CDs with XMMS on OpenBSD through the analog output of the CD drive. This doesn't work if * your drive's analog output isn't connected to the sound card, * you have a newish optical drive that just doesn't have an analog output, * you send audio digitally over S/PDIF to an amplifier. To enable: Options - Preferences - Audio I/O Plugins tab CD Audio Player - Configure - Device tab [x] Digital audio extraction This is equivalent to cdio(1)'s cdplay command and in fact I have pinched the code from there. The error handling is a bit dubious since I have no clue what error conditions are possible, but the code that calls read_audio_data() is also quite limited in this respect. Works for me for playing unscratched Red Book CDs and even a DTS CD. Index: Makefile === RCS file: /cvs/ports/audio/xmms/Makefile,v retrieving revision 1.61 diff -u -p -r1.61 Makefile --- Makefile16 Jan 2009 04:15:46 - 1.61 +++ Makefile7 Feb 2009 22:56:01 - @@ -9,7 +9,7 @@ SHARED_ONLY=Yes VERSION= 1.2.11 DISTNAME= xmms-${VERSION} -PKGNAME-main= xmms-${VERSION}p4 +PKGNAME-main= xmms-${VERSION}p5 PKGNAME-vorbis=xmms-vorbis-${VERSION}p0 PKGNAME-mikmod=xmms-mikmod-${VERSION}p0 PKGNAME-mp3= xmms-mp3-${VERSION}p0 Index: patches/patch-Input_cdaudio_cdaudio_c === RCS file: /cvs/ports/audio/xmms/patches/patch-Input_cdaudio_cdaudio_c,v retrieving revision 1.4 diff -u -p -r1.4 patch-Input_cdaudio_cdaudio_c --- patches/patch-Input_cdaudio_cdaudio_c 8 Dec 2007 21:54:57 - 1.4 +++ patches/patch-Input_cdaudio_cdaudio_c 7 Feb 2009 22:56:01 - @@ -1,6 +1,6 @@ $OpenBSD: patch-Input_cdaudio_cdaudio_c,v 1.4 2007/12/08 21:54:57 ajacoutot Exp $ Input/cdaudio/cdaudio.c.orig Fri Nov 23 16:18:35 2007 -+++ Input/cdaudio/cdaudio.cFri Nov 23 16:20:02 2007 +--- Input/cdaudio/cdaudio.c.orig Fri Nov 16 22:51:24 2007 Input/cdaudio/cdaudio.cSat Feb 7 23:13:08 2009 @@ -819,6 +819,10 @@ static int get_current_frame(void) { struct ioc_read_subchannel subchnl; @@ -12,3 +12,42 @@ $OpenBSD: patch-Input_cdaudio_cdaudio_c, subchnl.address_format = CD_MSF_FORMAT; subchnl.data_format = CD_CURRENT_POSITION; subchnl.track = 0; +@@ -891,6 +895,38 @@ int read_audio_data(int fd, int pos, int num, void *bu + return num; + } + # endif /* CDIOCREADAUDIO */ ++#endif ++ ++#ifdef __OpenBSD__ ++int read_audio_data(int fd, int pos, int num, void *buf) ++{ ++ scsireq_t scr; ++ int lba; ++ ++ memset(scr, 0, sizeof(scr)); ++ ++ lba = pos - CDDA_MSF_OFFSET; ++ scr.cmd[0] = 0xbe; /* READ CD */ ++ scr.cmd[2] = (lba 24) 0xff; ++ scr.cmd[3] = (lba 16) 0xff; ++ scr.cmd[4] = (lba 8) 0xff; ++ scr.cmd[5] = lba 0xff; ++ scr.cmd[6] = (num 16) 0xff; ++ scr.cmd[7] = (num 8) 0xff; ++ scr.cmd[8] = num 0xff; ++ scr.cmd[9] = 0x10; ++ ++ scr.flags = SCCMD_ESCAPE | SCCMD_READ; ++ scr.databuf = buf; ++ scr.datalen = num * CD_FRAMESIZE_RAW; ++ scr.cmdlen = 12; ++ scr.timeout = 12; ++ scr.senselen = SENSEBUFLEN; ++ ++ if (ioctl(fd, SCIOCCOMMAND, scr) == -1 || scr.retsts != SCCMD_OK) ++ return 0; ++ return num; ++} + #endif + + #ifdef XMMS_CDROM_BSD_NETBSD /* NetBSD, OpenBSD */ Index: patches/patch-Input_cdaudio_cdaudio_h === RCS file: patches/patch-Input_cdaudio_cdaudio_h diff -N patches/patch-Input_cdaudio_cdaudio_h --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-Input_cdaudio_cdaudio_h 7 Feb 2009 22:56:01 - @@ -0,0 +1,16 @@ +$OpenBSD$ +--- Input/cdaudio/cdaudio.h.orig Sat Feb 7 22:44:27 2009 Input/cdaudio/cdaudio.hSat Feb 7 22:56:20 2009 +@@ -65,7 +65,11 @@ + #include sys/cdrio.h + #endif + +-#if defined(CDROMREADAUDIO) || defined(CDIOCREADAUDIO) || defined(CDROMCDDA) || defined(CDRIOCSETBLOCKSIZE) ++#ifdef __OpenBSD__ ++#include sys/scsiio.h ++#endif ++ ++#if defined(CDROMREADAUDIO) || defined(CDIOCREADAUDIO) || defined(CDROMCDDA) || defined(CDRIOCSETBLOCKSIZE) || defined(SCIOCCOMMAND) + # define CDDA_HAS_READAUDIO + #endif + -- Christian naddy Weisgerber na...@mips.inka.de
Re: Porting commercial applications
Aaron W. Hsu arcf...@sacrideo.us wrote: What's the proper thing to do when you want to have a port that can't be obtained normally via the internet? Is it worth it to publish the port? In other words, Petite Chez is easy enough to port, but would a corrolary Chez Scheme (commercial) port be welcome? How would I set up the fetching, since the user would have to have the distfile already from purchasing it? See math/maple for an example. -- Christian naddy Weisgerber na...@mips.inka.de
Re: md5?
Hannah Schroeter han...@schlund.de wrote: However, I don't see it as *so very* critical. The practical attacks against MD5 are birthday attacks, not preimages for a given hash. At least not yet. Actually, if you can overwrite or append a chunk of data, you can create an MD5 collision at will. This allows for some practical attacks. In particular, arbitrary data can be appended to a gzipped file; gzip will just ignore it on extraction. In combination this means that creating a modified gzipped file that shares the MD5 hash and the size of the original is quite achievable. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Wither inisqueak ?
Stuart Cassoff aa72a...@sympatico.ca wrote: I think the script and the manpage are useful; not everyone knows how/what exactly to copy where to get squeak up and running. I was taught by inisqueak and still rely on it to refresh my memory. So who's going to provide a step-by-step guide to us imbeciles who don't care to read up on Squeak and just want to check whether it actually runs (and not just builds) on a particular architecture? -- Christian naddy Weisgerber na...@mips.inka.de
Ports tree locked for 4.5
The ports tree is now locked for 4.5. No more commits. If there is anything critical, talk to me. (Critical as in omg, hundreds of ports are broken, not as in there's a bug in Joe Random port.) I'll kick off a test build to find and fix any straggling plist issues and the like, which may have been introduced during the last week. -- Christian naddy Weisgerber na...@mips.inka.de
x11/kde/utils3: klaptopdaemon broken
kdeutils3 provides some components for laptop battery monitoring, suspending, etc. that are accessible from the KDE control panel. The OpenBSD support for this is contained in x11/kde/utils3/patches/patch-klaptopdaemon_portable_cpp As far as I can tell, this doesn't work at all now, because special privileges are needed to write to /dev/apmctl. And of course it requires that you don't run apmd. This really needs to be rewritten so that instead of opening /dev/apmctl directly, it talks to apmd. Somebody who uses KDE might want to look into this. -- Christian naddy Weisgerber na...@mips.inka.de
Re: x11/kde/utils3: klaptopdaemon broken
Vadim Zhukov persg...@gmail.com wrote: kdeutils3 provides some components for laptop battery monitoring, suspending, etc. that are accessible from the KDE control panel. The OpenBSD support for this is contained in x11/kde/utils3/patches/patch-klaptopdaemon_portable_cpp As far as I can tell, this doesn't work at all now And of course it requires that you don't run apmd. It works fine with apmd(8) here. Really? It doesn't complain that it can't open /dev/apmctl? You can suspend the machine with it? -- Christian naddy Weisgerber na...@mips.inka.de
Re: security update for graphics/png
b...@openbsd.rutgers.edu wrote: Not sure if it requires a lib bump: that a patch might be appreciated since it has no MAINTAINER Oh. I've handled a number of png updates in the past and kind of forgotten that I'm not listed as maintainer. From the CHANGES file I didn't see any mention of an API change so I didn't bump it, but I defer to those in the commit-chair; that's all. libpng has a history of sneaking in little API changes by accident, because they keep changing their #if jungle and end up exposing different functions. You have to at least compare symbols between the old and new libs and also check the headers for struct changes. I'll update png after the tree unlocks. - building and upgrading to firefox 3.0.6 against .35 works fine Firefox includes its own modified png. (3.0.7 which includes corresponding png fixes, among other things, will be released in a few days.) In fact, we have a number of ports that build their own png. -- Christian naddy Weisgerber na...@mips.inka.de
Ports tree unlocked
The ports tree is unlocked now. -- Christian naddy Weisgerber na...@mips.inka.de
Ports that don't have to be broken
This isn't only about vax, so please read the explanations even if you don't care about that architecture. I've been building a handful of 4.5 release packages for vax and I ran into many build failures. Now there's a lot of things the vax can't handle, but there are also a lot of *stupid* small mistakes that cause build failures which could easily be avoided. == C89 vs. C99 == vax and sparc still use gcc2. gcc2 is a C89 compiler and can't handle C99 constructs. In particular, C89 only allows variable declarations at the beginning of a block before any statements, whereas C99 and C++ allow declarations and statements to be mixed freely. A project may choose to use C99 and that's okay, but frequently misplaced declarations slip in by accident and the upstream will happily fix things to be C89-compatible if only somebody tells them. == Static Linking == From time to time we have architectures that don't support dynamic linking. At the moment vax is the only one. Obviously things that require dlopen() won't work, but that's not the issue. Static linking has some constraints that are hidden with dynamic linking: * Inter-library dependencies Dynamic libraries can depend on other libraries and the linker will pull these in automatically. For example, libX11 depends on libXau and libXdmcp. With dynamic linking -lX11 is enough. But static libraries don't register these dependencies. You explicitly have to link with -lX11 -lXau -lXdmcp or you will see an error about unresolved symbols. (We used to explicitly not register inter-library dependencies so this would show up on all platforms, but we eventually gave up enforcing this.) * Link order With static linking, if object files or library A depend on library B, then library B must come after them on the command line. For example, -lcrypto -lssl will break. It has to be -lssl -lcrypto. Both of these problems can also appear in configure script tests, causing erroneous library detection failures. Maybe we can get regular package builds and error triaging going on the affected archs, so that people can be made aware of these problems and that the ports can be fixed. -- Christian naddy Weisgerber na...@mips.inka.de
vax build failures
Here's a list of build failures I collected while building a subset of the ports tree on a vax. I can probably provide more detail and logs on request. editors/vim,no_x11 wrong patch graphics/tiff declaration after statement print/texlive/base checking for FcInit in -lfontconfig... no shells/bash undefined symbol _dlclose devel/m4initializer element is not computable at load time net/curlundefined symbol _EVP_dss1 net/wgetno .mo files built (missing libintl?) audio/cdparanoiadon't know how to make lib devel/id-utils undefined symbol _libintl_gettext security/cyrus-sasl2ar: sasldb.o: no such file x11/rxvtundefined symbol _XauGetBestAuthByAddr x11/xdaliclock undefined symbol _XauGetBestAuthByAddr x11/xkeycapsundefined symbol _XpmReadFileToPixmap net/epic4 declaration after statement net/snort should be SHARED_ONLY x11/aterm undefined symbol _XauGetBestAuthByAddr devel/glib2 can't find libintl graphics/xfig undefined symbol _lrint news/slrn ICE net/nsd declaration after statement x11/blackboxc++ x11/gtk+no .mo files built (missing libintl?) x11/rdesktopdeclaration after statement databases/qdbm undefined symbol ___progname graphics/xpdf configure: couldn't find Motif net/samba configure: C compiler cannot create executables net/lftpgcc3 syntax in lib/string.h x11/tk/8.4 undefined symbol _XauGetBestAuthByAddr x11/fltk2 undefined symbol _XauGetBestAuthByAddr graphics/libgphoto declaration after statement x11/xscribble undefined symbol _expf lang/pfedeclaration after statement comms/kermitICE net/ssvnc declaration after statement databases/sqliteICE security/pwsafe undefined symbol __XA_CLIPBOARD textproc/aspell/coreundefined symbol _libiconv_open x11/dmenu undefined symbol _XextCreateExtension x11/dwm initializer element is not computable at load time x11/scrotwm declaration after statement devel/libixpar: unknown option -- s x11/ratpoison configure: can't find libX11 devel/bluetooth-libs*_pic.a does not exist net/dsocks *_pic.a does not exist net/igmpproxy declaration after statement net/mtr,no_x11 declaration after statement net/ladvd declaration after statement net/openvpn cpp net/libnet/1.1 -shared -fPIC net/poptop checking for gettext in -lintl... no net/pptpdeclaration after statement math/gnuplotICE net/tcpreen undefined symbol _libintl_ngettext net/trickle configure: couldn't figure out how to access libc net/unworkable undefined symbol _bufferevent_new graphics/tgif ld: No reference to __DYNAMIC productivity/calcurse declaration after statement productivity/ledger c++ out of memory x11/xbaeundefined symbol _inflateInit2_ print/transfig imake? sysutils/clusterit undefined symbol _XauGetBestAuthByAddr sysutils/ipmitool ? structure has no member named `read sysutils/lsof ? VT_NULL undeclared net/neonICE sysutils/pscpug undefined symbol _initscr sysutils/shunt no rule to make target lib/libshunt.a www/dansguardianc++: implicit declaration of function int not(...) x11/evilwm undefined symbol _XauGetBestAuthByAddr x11/jmk-fonts *.pcf.gz does not exist x11/oroborusundefined symbol _XauGetBestAuthByAddr x11/xosdconfigure: X11 Shape extension not found x11/root-tail symbol _openlog multiply defined x11/slock undefined symbol _XauGetBestAuthByAddr x11/vdesk undefined symbol _XauGetBestAuthByAddr x11/x11vnc configure: checking for XGetImage in -lX11... no x11/xrootconsoleundefined symbol _XauGetBestAuthByAddr x11/yeahlaunch declaration after statement graphics/pngmetaundefined symbol _pow devel/sdl-mixer undefined symbol _ogg_sync_buffer -- Christian naddy Weisgerber na...@mips.inka.de
UPDATE: shells/bash 4.0
Here's an update of shells/bash to 4.0. This could use some testing by people who use bash a lot. I assume bash 4.0.x will see a similar patch policy as previous versions, so I left some fragments to handle this in the Makefile. Index: Makefile === RCS file: /cvs/ports/shells/bash/Makefile,v retrieving revision 1.49 diff -u -p -r1.49 Makefile --- Makefile20 Nov 2008 19:54:37 - 1.49 +++ Makefile8 Mar 2009 21:52:20 - @@ -2,8 +2,8 @@ COMMENT= GNU Bourne Again Shell -DISTNAME= bash-3.2 -PKGNAME= ${DISTNAME}.48 +DISTNAME= bash-4.0 +PKGNAME= ${DISTNAME}.0 CATEGORIES=shells HOMEPAGE= http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html @@ -18,11 +18,9 @@ PERMIT_DISTFILES_FTP=Yes MASTER_SITES= ${MASTER_SITE_GNU:=bash/} MASTER_SITES0= ${MASTER_SITE_GNU:=bash/${DISTNAME}-patches/} DIST_SUBDIR= bash -.for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 \ - 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \ - 41 42 43 44 45 46 47 48 -PATCHFILES+= bash32-0$i:0 -.endfor +#.for i in +#PATCHFILES+= bash40-0$i:0 +#.endfor MODULES= devel/gettext WANTLIB= c termcap Index: distinfo === RCS file: /cvs/ports/shells/bash/distinfo,v retrieving revision 1.20 diff -u -p -r1.20 distinfo --- distinfo20 Nov 2008 19:54:37 - 1.20 +++ distinfo8 Mar 2009 21:52:20 - @@ -1,245 +1,5 @@ -MD5 (bash/bash-3.2.tar.gz) = AL+hbVjgNOPCqifzkDkNMA== -MD5 (bash/bash32-001) = 2OEMdU9Hfj86WBr1ZriTAQ== -MD5 (bash/bash32-002) = 04pSiLLw6myax2tmzHTvfQ== -MD5 (bash/bash32-003) = C5DTeRGCfYy5XztDU8wiXg== -MD5 (bash/bash32-004) = gGLzpZYx9Y14sYDYN1m2ig== -MD5 (bash/bash32-005) = WFtZQ/rfCHXO0kOyRa3eWA== -MD5 (bash/bash32-006) = HVcy4B6pOK7tQvPe8TH6TQ== -MD5 (bash/bash32-007) = 3NDMXYAWB4J/fIUecrDqvA== -MD5 (bash/bash32-008) = uzx90RGYwKuT0Olgvr9iVg== -MD5 (bash/bash32-009) = Q0pvKbDKXxq3hLJDeujq7Q== -MD5 (bash/bash32-010) = Lv/wTdJG/PY71Lmfd8mggQ== -MD5 (bash/bash32-011) = HdEENC9pIN+vXvsxMeki4A== -MD5 (bash/bash32-012) = TyS2lqt4vfrk+ct+tZuDXQ== -MD5 (bash/bash32-013) = fECt2/EYeiauHINz7Tg0Qg== -MD5 (bash/bash32-014) = KOiMn4Z56ZrFkNSkqCJ8Vg== -MD5 (bash/bash32-015) = fBfSlnW9DUlHDxYndDhfgA== -MD5 (bash/bash32-016) = oe2qmLREn+IgX6dUSLexBQ== -MD5 (bash/bash32-017) = iJ7RGbv502NmC5oBJ/Ne+g== -MD5 (bash/bash32-018) = p9P4X6aH0sG1oTSDn205XQ== -MD5 (bash/bash32-019) = 8DmdpAB+RvxYIM4l0HQluQ== -MD5 (bash/bash32-020) = t2YCKBwxBNkE/QZFEP4MIQ== -MD5 (bash/bash32-021) = kjN0rkQDySgg9xHmLh0BpQ== -MD5 (bash/bash32-022) = yC070U43OHiypoDc4Y0Vlg== -MD5 (bash/bash32-023) = mHyUmne0sP/kollxQed2NQ== -MD5 (bash/bash32-024) = WiuXbnYauD8Px9quEUUbhg== -MD5 (bash/bash32-025) = CGaNwoJfZeztnKxrCc4bRQ== -MD5 (bash/bash32-026) = 81srIX8Ij/AJ+VaJRVDUHQ== -MD5 (bash/bash32-027) = tf8rlhDGEpD3c8SwLMGjfQ== -MD5 (bash/bash32-028) = AW9bVsk0BNMq6gk4Xw/BPg== -MD5 (bash/bash32-029) = qBQgYm1NiNDc4v+sCsVjQQ== -MD5 (bash/bash32-030) = Efkbr5cMEylJ+Qcu6T8upg== -MD5 (bash/bash32-031) = 9rvB6OwCRnQHMcco70dhkQ== -MD5 (bash/bash32-032) = gYDsk2dwV5vOafCBbC3YeA== -MD5 (bash/bash32-033) = POwzw3EYYMTGt2FK/ux4cA== -MD5 (bash/bash32-034) = e8bFtfOLcCcVL42wRYouFA== -MD5 (bash/bash32-035) = otth/pDjk3HQ5s0iheySCA== -MD5 (bash/bash32-036) = lccMeuneW9NlnIYoS+f7dg== -MD5 (bash/bash32-037) = Yrh2o9fNGSzI2yR2+7a3uQ== -MD5 (bash/bash32-038) = rKOvw0G9PloNijtMpA27Pw== -MD5 (bash/bash32-039) = 4kDDT5ebZLy4PF9lZxELsQ== -MD5 (bash/bash32-040) = BubfJjOYgH+gMnB/t7d7Xw== -MD5 (bash/bash32-041) = NzrggdZY3IW8EFjEdZ1maQ== -MD5 (bash/bash32-042) = nJ68a/wzoCFSd+4XonbrWg== -MD5 (bash/bash32-043) = uH+56hamTKQbZnbpp+t6Mw== -MD5 (bash/bash32-044) = B+AinOWHm/vSaoFGBw/TZg== -MD5 (bash/bash32-045) = GtB5ZaipPzVW7hqxi5fN4g== -MD5 (bash/bash32-046) = 97Hhn8rVTCKGvA7WFKrZvw== -MD5 (bash/bash32-047) = VQaQdm3ncBFsNNvfdOWRhA== -MD5 (bash/bash32-048) = TMWT57eJsjs3pTl+CS05VA== -RMD160 (bash/bash-3.2.tar.gz) = pz95CBfZi+N1o23vVnc3SY4zqvE= -RMD160 (bash/bash32-001) = Yz9utrK0g0UjTEQrg1q7lNEODa0= -RMD160 (bash/bash32-002) = XQ8Nq4WRl3hLFcaD1U56UFqENMM= -RMD160 (bash/bash32-003) = 79y0+NbIALWj2re643+Vhhvxhtg= -RMD160 (bash/bash32-004) = DsSai0FPKDrvwAxe5j3pE8lqeiE= -RMD160 (bash/bash32-005) = hZeyITailNws8RA6XJqxALddFvU= -RMD160 (bash/bash32-006) = 2Bk6aZVgZOn7TmThMTKxwbLLjUM= -RMD160 (bash/bash32-007) = Myy5NoUeFWySMSNlQbeOZR/Uq1o= -RMD160 (bash/bash32-008) = RFWMq61rBaUyF8F0GcJHeinr59o= -RMD160 (bash/bash32-009) = WiC8htBKFWzbyyLza2xoxzGOm6s= -RMD160 (bash/bash32-010) = UbTBi3k59mPucoYaUi1/sdGvqjA= -RMD160 (bash/bash32-011) = AwQEqr8JuKopXyQdHZa9uhKh+Ms= -RMD160 (bash/bash32-012) = wgEdPYqABKzVgRJWjmEVEfm95f8= -RMD160 (bash/bash32-013) = Td/q/qfkUTdsVtF4NgealjKY3wY= -RMD160 (bash/bash32-014) = z0enBbAAOb3CzFzTfdIKWLAprzM= -RMD160 (bash/bash32-015) = ZTXrJLjTDOl1ax58DSHAlGsdNU4= -RMD160 (bash/bash32-016) = z97X/BubwyjE+xFnxTb8vSh1ZhU=
Re: any users of gtksee?
STeve Andre' and...@msu.edu wrote: are there any users left of graphics/gtksee? or anyone else who'll shed a tear to see this removed? it's an old image viewer based on gtk+1. so, any objections to removing gtksee? A soft whimper from here. It works and doesn't seem to blow up with lots of files. I guess I need to switch. I'm not sure where Jasper is going with his campaign of killing ports that are based on GTK+1, but I predict he will come to a screeching halt when he reaches XMMS. -- Christian naddy Weisgerber na...@mips.inka.de
Re: UPDATE: shells/bash 4.0
Christian Weisgerber na...@mips.inka.de wrote: I assume bash 4.0.x will see a similar patch policy as previous versions, so I left some fragments to handle this in the Makefile. And in fact the first ten patches are already available. These purport to fix a number of bugs, in particular relating to command substitution. However, the regression test suite now blows up spectacularly with command substitution-related errors... This deserves a little bit more time to settle. -- Christian naddy Weisgerber na...@mips.inka.de
NEW: education/verbiste
This is a draft port of Pierre Sarrazin's verbiste, which conjugates French verbs. Those who are learning French know why this is useful. It has several components and I'm not sure what to include in the port: (1) A library that will probably not see much third-party use and the command-line tools french-conjugator(infinitive - conjugation table) french-deconjugator (what verb form is this?) (2) A GTK client (verbiste-gtk) that shows a conjugation table in a window. (3) A GNOME client (verbiste) that looks indistinguishable from the plain GTK client to me, and a GNOME applet. The current structure of the port Makefile shows how I worked my way from (1) to (3). The command line tools are useful on their own. The GTK client is prettier but pulls in big GTK. The GNOME tools have very heavy dependencies. Parts could be dropped and/or multipackaged in some combination. What do you folks consider useful? -- Christian naddy Weisgerber na...@mips.inka.de verbiste-200903100.tgz Description: GNU Unix tar archive
Re: NEW: emulators/sdlmame
Pierre Riteau pierre.rit...@gmail.com wrote: Update to sdlmame 0.130. Tarball updated following Landry's feedback. Also attached a diff between the old and the new tarball. New version, now with MULTI_PACKAGES flavor! I've given it a spin on amd64 with a remote X11 display. After some struggling how to run this and how to start a game (it's so long ago I last used xmame that I had forgotten the details), it worked fine for me with the game I tried, including sound. There is no joystick support, is there? uhidev2 at uhub2 port 2 configuration 1 interface 0 MOSIC USB 2A4K GamePad rev 1.10/1.00 addr 4 uhidev2: iclass 3/0 uhid2 at uhidev2: input=3, output=0, feature=0 -- Christian naddy Weisgerber na...@mips.inka.de
Re: NEW: emulators/sdlmame
Pierre Riteau pierre.rit...@gmail.com wrote: There is no joystick support, is there? Tried the -joystick option? That's on by default (see -showconfig). Hmm, it may be somewhat incongruous to expect a locally connected joystick to work alongside a remote display. -- Christian naddy Weisgerber na...@mips.inka.de
Update: shells/bash 4.0.10
Update shells/bash to new release 4.0, patch level 10. This requires bison to build. With yacc it will fail to parse $() command substitutions correctly. This could use some testing since I use bash only sporadically on OpenBSD. Index: Makefile === RCS file: /cvs/ports/shells/bash/Makefile,v retrieving revision 1.49 diff -u -p -r1.49 Makefile --- Makefile20 Nov 2008 19:54:37 - 1.49 +++ Makefile20 Mar 2009 16:56:09 - @@ -2,14 +2,14 @@ COMMENT= GNU Bourne Again Shell -DISTNAME= bash-3.2 -PKGNAME= ${DISTNAME}.48 +DISTNAME= bash-4.0 +PKGNAME= ${DISTNAME}.10 CATEGORIES=shells HOMEPAGE= http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html MAINTAINER=Christian Weisgerber na...@openbsd.org -# GPL +# GPLv3+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM=Yes @@ -18,14 +18,15 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_GNU:=bash/} MASTER_SITES0= ${MASTER_SITE_GNU:=bash/${DISTNAME}-patches/} DIST_SUBDIR= bash -.for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 \ - 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \ - 41 42 43 44 45 46 47 48 -PATCHFILES+= bash32-0$i:0 +.for i in 01 02 03 04 05 06 07 08 09 10 +PATCHFILES+= bash40-0$i:0 .endfor MODULES= devel/gettext WANTLIB= c termcap + +BUILD_DEPENDS= ::devel/bison +YACC= ${LOCALBASE}/bin/bison CONFIGURE_STYLE=gnu CONFIGURE_ARGS=--disable-multibyte # missing wcscoll(3) Index: distinfo === RCS file: /cvs/ports/shells/bash/distinfo,v retrieving revision 1.20 diff -u -p -r1.20 distinfo --- distinfo20 Nov 2008 19:54:37 - 1.20 +++ distinfo20 Mar 2009 16:56:09 - @@ -1,245 +1,55 @@ -MD5 (bash/bash-3.2.tar.gz) = AL+hbVjgNOPCqifzkDkNMA== -MD5 (bash/bash32-001) = 2OEMdU9Hfj86WBr1ZriTAQ== -MD5 (bash/bash32-002) = 04pSiLLw6myax2tmzHTvfQ== -MD5 (bash/bash32-003) = C5DTeRGCfYy5XztDU8wiXg== -MD5 (bash/bash32-004) = gGLzpZYx9Y14sYDYN1m2ig== -MD5 (bash/bash32-005) = WFtZQ/rfCHXO0kOyRa3eWA== -MD5 (bash/bash32-006) = HVcy4B6pOK7tQvPe8TH6TQ== -MD5 (bash/bash32-007) = 3NDMXYAWB4J/fIUecrDqvA== -MD5 (bash/bash32-008) = uzx90RGYwKuT0Olgvr9iVg== -MD5 (bash/bash32-009) = Q0pvKbDKXxq3hLJDeujq7Q== -MD5 (bash/bash32-010) = Lv/wTdJG/PY71Lmfd8mggQ== -MD5 (bash/bash32-011) = HdEENC9pIN+vXvsxMeki4A== -MD5 (bash/bash32-012) = TyS2lqt4vfrk+ct+tZuDXQ== -MD5 (bash/bash32-013) = fECt2/EYeiauHINz7Tg0Qg== -MD5 (bash/bash32-014) = KOiMn4Z56ZrFkNSkqCJ8Vg== -MD5 (bash/bash32-015) = fBfSlnW9DUlHDxYndDhfgA== -MD5 (bash/bash32-016) = oe2qmLREn+IgX6dUSLexBQ== -MD5 (bash/bash32-017) = iJ7RGbv502NmC5oBJ/Ne+g== -MD5 (bash/bash32-018) = p9P4X6aH0sG1oTSDn205XQ== -MD5 (bash/bash32-019) = 8DmdpAB+RvxYIM4l0HQluQ== -MD5 (bash/bash32-020) = t2YCKBwxBNkE/QZFEP4MIQ== -MD5 (bash/bash32-021) = kjN0rkQDySgg9xHmLh0BpQ== -MD5 (bash/bash32-022) = yC070U43OHiypoDc4Y0Vlg== -MD5 (bash/bash32-023) = mHyUmne0sP/kollxQed2NQ== -MD5 (bash/bash32-024) = WiuXbnYauD8Px9quEUUbhg== -MD5 (bash/bash32-025) = CGaNwoJfZeztnKxrCc4bRQ== -MD5 (bash/bash32-026) = 81srIX8Ij/AJ+VaJRVDUHQ== -MD5 (bash/bash32-027) = tf8rlhDGEpD3c8SwLMGjfQ== -MD5 (bash/bash32-028) = AW9bVsk0BNMq6gk4Xw/BPg== -MD5 (bash/bash32-029) = qBQgYm1NiNDc4v+sCsVjQQ== -MD5 (bash/bash32-030) = Efkbr5cMEylJ+Qcu6T8upg== -MD5 (bash/bash32-031) = 9rvB6OwCRnQHMcco70dhkQ== -MD5 (bash/bash32-032) = gYDsk2dwV5vOafCBbC3YeA== -MD5 (bash/bash32-033) = POwzw3EYYMTGt2FK/ux4cA== -MD5 (bash/bash32-034) = e8bFtfOLcCcVL42wRYouFA== -MD5 (bash/bash32-035) = otth/pDjk3HQ5s0iheySCA== -MD5 (bash/bash32-036) = lccMeuneW9NlnIYoS+f7dg== -MD5 (bash/bash32-037) = Yrh2o9fNGSzI2yR2+7a3uQ== -MD5 (bash/bash32-038) = rKOvw0G9PloNijtMpA27Pw== -MD5 (bash/bash32-039) = 4kDDT5ebZLy4PF9lZxELsQ== -MD5 (bash/bash32-040) = BubfJjOYgH+gMnB/t7d7Xw== -MD5 (bash/bash32-041) = NzrggdZY3IW8EFjEdZ1maQ== -MD5 (bash/bash32-042) = nJ68a/wzoCFSd+4XonbrWg== -MD5 (bash/bash32-043) = uH+56hamTKQbZnbpp+t6Mw== -MD5 (bash/bash32-044) = B+AinOWHm/vSaoFGBw/TZg== -MD5 (bash/bash32-045) = GtB5ZaipPzVW7hqxi5fN4g== -MD5 (bash/bash32-046) = 97Hhn8rVTCKGvA7WFKrZvw== -MD5 (bash/bash32-047) = VQaQdm3ncBFsNNvfdOWRhA== -MD5 (bash/bash32-048) = TMWT57eJsjs3pTl+CS05VA== -RMD160 (bash/bash-3.2.tar.gz) = pz95CBfZi+N1o23vVnc3SY4zqvE= -RMD160 (bash/bash32-001) = Yz9utrK0g0UjTEQrg1q7lNEODa0= -RMD160 (bash/bash32-002) = XQ8Nq4WRl3hLFcaD1U56UFqENMM= -RMD160 (bash/bash32-003) = 79y0+NbIALWj2re643+Vhhvxhtg= -RMD160 (bash/bash32-004) = DsSai0FPKDrvwAxe5j3pE8lqeiE= -RMD160 (bash/bash32-005) = hZeyITailNws8RA6XJqxALddFvU= -RMD160 (bash/bash32-006) = 2Bk6aZVgZOn7TmThMTKxwbLLjUM= -RMD160 (bash/bash32-007) = Myy5NoUeFWySMSNlQbeOZR/Uq1o= -RMD160 (bash/bash32-008) = RFWMq61rBaUyF8F0GcJHeinr59o= -RMD160 (bash/bash32-009) = WiC8htBKFWzbyyLza2xoxzGOm6s= -RMD160 (bash/bash32-010
vax bulk build failures
Paradoxically, since so little builds on the vax, I was able to run a full package build for 4.5. Here's the list of broken ports (minus the 30 or so that have already been fixed): archivers/zziplib cc1: Invalid option -fexport-dynamic astro/libnova undefined symbol _nan astro/sattrack undefined symbol _XauGetBestAuthByAddr astro/wmmoonclock undefined symbol _XauGetBestAuthByAddr astro/wmspaceweatherundefined symbol _XauGetBestAuthByAddr astro/wmsun undefined symbol _XauGetBestAuthByAddr astro/xephemundefined symbol _XftTextExtentsUtf8 astro/xworldundefined symbol _XauGetBestAuthByAddr audio/cdparanoiadon't know how to make lib audio/daapd ar: unknown option -- s audio/flite virtual memory exhausted audio/freealut undefined symbol _alGenSources audio/ksmp3play configure: Smpeg not found audio/libmp3spltdeclaration after statement audio/libsamplerate virtual memory exhausted audio/libworkmantries to build shared lib audio/mixer.app undefined symbol _XauGetBestAuthByAddr audio/morseplayer [rintf() missing from libm] audio/mp3gain trailing \r in .c audio/mpc declaration after statement audio/mt-daapd configure: must have libid3tag audio/nosefart undefined symbol _sin audio/rplay -fPIC audio/sound-theme-freedesktop configure: intltool-update not found audio/timidity no ieeefp.h audio/vamp-plugin-sdk -fPIC audio/wmix undefined symbol _XauGetBestAuthByAddr audio/wmmp undefined symbol _XpmCreatePixmapFromData audio/wmmp3 undefined symbol _XpmCreatePixmapFromData audio/wmtuneundefined symbol _XauGetBestAuthByAddr audio/xmcd undefined symbol _XftTextExtentsUtf8 audio/xmix undefined symbol _XpmReadFileToPixmap audio/xmmix undefined symbol _XpQueryExtension audio/xmp -fPIC benchmarks/ubench undefined symbol _log cad/chipmunkundefined symbol _XauGetBestAuthByAddr cad/gnucap c++ cad/necpp c++ cad/spice bin/help does not exist chinese/crxvt undefined symbol _XauGetBestAuthByAddr chinese/libchewing sort_dic: Cannot allocate memory chinese/ttfmundefined symbol _FT_Init_FreeType chinese/xcinundefined symbol _XauGetBestAuthByAddr comms/kermitICE comms/obexftp undefined symbol _OBEX_ObjectAddHeader comms/pilot-linkdeclaration after statement comms/scmxx undefined symbol _libintl_gettext comms/smstools declaration after statement comms/x3270 undefined symbol _XpmReadFileToPixmap comms/xcept undefined symbol _XauGetBestAuthByAddr converters/html2textc++ converters/pflogx undefined symbol _pcap_open_offline converters/recode undefined symbol _libintl_gettext databases/freetds undefined symbol _tgetnum databases/freetds,msdblib undefined symbol _tgetnum databases/mysql no ieeefp.h databases/qdbm undefined symbol ___progname databases/sqliteICE devel/apr configure: could not detect suitable DSO implementation devel/apr,mtconfigure: could not detect suitable DSO implementation devel/avr/binutils declaration after statement devel/avrdude declaration after statement devel/bluetooth-libs*_pic.a does not exist devel/cflow undefined symbol _pthread_rwlock_wrlock devel/cln c++ devel/commoncpp ICE devel/cook groff segv devel/cppunit c++ devel/cvsgraph undefined symbol _inflateInit devel/cxxtools configure: dlopen not found devel/ddd configure can't find libXt devel/doxygen virtual memory exhausted devel/ffcalldon't know how to make avcall-vax.lo devel/glib2 can't find libintl devel/gsl no ieeefp.h devel/id-utils undefined symbol _libintl_gettext devel/itcl strip: libitcl33.a: Inappropriate file type or format devel/json-ccc1: unknown C standard gnu99 devel/libconfig c++ devel/libconfuse-Werror and printf %lf devel/libdockappconfigure: shape extension not found devel/libdvdreadconfigure: you need dlopen devel/libelf-shared devel/libexecinfo libexecinfo_pic.a does not exist devel/libmagic invalid option -Wunused-parameter devel/libmtpdeclaration after statement devel/libofxc++ devel/libsigc++-2 c++ devel/m4initializer element is not computable at load time devel/mico c++ virtual memory exhausted devel/mowgli-fPIC devel/mpfr ICE devel/p5-Carp-Assertsigill devel/p5-Graph sigill devel/re2c c++ devel/sdcc sigfpe
lib/X11/fonts/ghostscript?
Do we still need or want the lib/X11/fonts/ghostscript symlink? This connection causes X11 fontconfig to pick up the Ghostscript fonts, which interact in weird ways with the X11 fonts. How do other systems handle this? FreeBSD doesn't insert the Ghostscript fonts into the X11 font handling machine. What do the various Linuxes do? -- Christian naddy Weisgerber na...@mips.inka.de
Re: lib/X11/fonts/ghostscript?
patrick keshishian pkesh...@gmail.com wrote: Do we still need or want the lib/X11/fonts/ghostscript symlink? This connection causes X11 fontconfig to pick up the Ghostscript fonts, which interact in weird ways with the X11 fonts. interact in weird ways? how so? Well, for one thing you get different fonts in Firefox. And not preferable ones. -- Christian naddy Weisgerber na...@mips.inka.de
Re: lib/X11/fonts/ghostscript?
frantisek holop min...@obiit.org wrote: Do we still need or want the lib/X11/fonts/ghostscript symlink? as far as i know, only xpdf made good use of those fonts... and that can be configured in xpdf. _How_ does xpdf access those fonts? -- Christian naddy Weisgerber na...@mips.inka.de
Re: lib/X11/fonts/ghostscript?
patrick keshishian pkesh...@gmail.com wrote: Do we still need or want the lib/X11/fonts/ghostscript symlink? This connection causes X11 fontconfig to pick up the Ghostscript fonts, which interact in weird ways with the X11 fonts. interact in weird ways? how so? Well, for one thing you get different fonts in Firefox. And not preferable ones. Doesn't that all depend on what order you define your FontPaths in? If there is a connection between FontPaths and fontconfig, it is a tenuous one. The ghostscript directory is not in the X11 Font Path, but fontconfig still picks it up. -- Christian naddy Weisgerber na...@mips.inka.de
Re: lib/X11/fonts/ghostscript?
Christian Weisgerber na...@mips.inka.de wrote: as far as i know, only xpdf made good use of those fonts... and that can be configured in xpdf. _How_ does xpdf access those fonts? Directly, by probing the displayFontDirs in xpdf/GlobalParams.cc. -- Christian naddy Weisgerber na...@mips.inka.de
textproc/xpdf: fix hardcoded /usr/local
xpdf hardcodes a path under /usr/local and several that don't exist on OpenBSD. Use ${LOCALBASE} and remove the others. ok? Index: Makefile === RCS file: /cvs/ports/textproc/xpdf/Makefile,v retrieving revision 1.62 diff -u -p -r1.62 Makefile --- Makefile25 Apr 2008 19:19:05 - 1.62 +++ Makefile3 Apr 2009 17:55:01 - @@ -4,8 +4,8 @@ COMMENT-main= PDF viewer for X11 COMMENT-utils= PDF conversion tools DISTNAME= xpdf-3.02 -PKGNAME-main= xpdf-3.02pl2p4 -PKGNAME-utils= xpdf-utils-3.02pl2p1 +PKGNAME-main= xpdf-3.02pl2p5 +PKGNAME-utils= xpdf-utils-3.02pl2p2 CATEGORIES=textproc x11 MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ @@ -32,7 +32,7 @@ CONFIGURE_ARGS+= --enable-multithreaded --without-Sgm-library \ --without-libpaper-library -CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include \ +CONFIGURE_ENV= CPPFLAGS='-I${X11BASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}/include -DLOCALBASE=\${LOCALBASE}\' \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib -lz LIB_DEPENDS-utils= Index: patches/patch-xpdf_GlobalParams_cc === RCS file: patches/patch-xpdf_GlobalParams_cc diff -N patches/patch-xpdf_GlobalParams_cc --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-xpdf_GlobalParams_cc 3 Apr 2009 17:55:01 - @@ -0,0 +1,16 @@ +$OpenBSD$ +--- xpdf/GlobalParams.cc.orig Fri Apr 3 19:30:57 2009 xpdf/GlobalParams.cc Fri Apr 3 19:31:18 2009 +@@ -110,11 +110,7 @@ static char *displayFontDirs[] = { + }; + #else + static char *displayFontDirs[] = { +- /usr/share/ghostscript/fonts, +- /usr/local/share/ghostscript/fonts, +- /usr/share/fonts/default/Type1, +- /usr/share/fonts/default/ghostscript, +- /usr/share/fonts/type1/gsfonts, ++ LOCALBASE /share/ghostscript/fonts, + NULL + }; + #endif -- Christian naddy Weisgerber na...@mips.inka.de
Re: Small fix for audio/sox
Matthias Kilian k...@outback.escape.de wrote: Hmm. If audio/gsm has PERMIT_*_FTP = No, how can audio/sox, which *includes* libgsm, have PERMIT_PACKAGE_* = Yes? Indeed, these should have the same restriction--whatever that may be. sox is nowadays distributed under the GPL. That is somewhat dubious, since the source was originally scrounged together from contributions with all sorts of confused licensing, but I don't think we can be expected to audit this, and as long as nobody complains... The GSM package as originally distributed (audio/gsm) fails to allow any redistribution in the terms stated in its COPYRIGHT file. This is quite obviously an accidental omission; the authors probably thought they automatically permitted redistribution by putting the package up on FTP. (Common thinking back then.) Unfortunately, this is not good enough for us. Since we acknowledge that gsm suffers licensing restrictions, it's problematic to pretend these restrictions don't apply to the same code that is included in sox. As far as I know, we are the only ones to have a problem with this. Everybody else, including Debian, happily assumes that the gsm code included with sox is covered by the GPL. I've been wracking my brain for years over this. BTW: there's an actual homepage for libgsm, and a newer version, too (well, still rather old...): If this clears up the licensing, we should update. -- Christian naddy Weisgerber na...@mips.inka.de
x11/eterm,kanji: fix package name
If FULLNAME-${FLAVOR} ever was supported, it certainly hasn't been for a long time now. Index: Makefile === RCS file: /cvs/ports/x11/eterm/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile8 May 2009 10:25:37 - 1.26 +++ Makefile12 May 2009 20:32:07 - @@ -6,8 +6,7 @@ COMMENT-kanji= color japanese terminal e V= 0.9.4 DISTNAME= Eterm-$V DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -PKGNAME= eterm-$Vp0 -FULLPKGNAME-kanji= ja-eterm-$Vp1 +PKGNAME= eterm-$Vp0 # also see below SHARED_LIBS += Eterm1.0 # .0.0 CATEGORIES=x11 @@ -46,6 +45,7 @@ FLAVORS= kanji FLAVOR?= .if ${FLAVOR:L:Mkanji} +FULLPKGNAME= ja-eterm-$V CATEGORIES+= japanese CONFIGURE_ARGS+=--enable-multi-charset=kanji MODULES+= converters/libiconv -- Christian naddy Weisgerber na...@mips.inka.de
Re: www/seamonkey
Chuck Robey chu...@telenix.org wrote: I've been trying to get seamonkey to build for myself for several days now, I can't seem to find out how to fix it. You are probably doing something wrong. Or maybe you are only doing something differently. Either way, without a complete build log nobody can try to figure the problem out. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Problem in not having stdc++ 50.0
STeve Andre' and...@msu.edu wrote: I have a number of packages which haven't built because of a lib version problem. editors/subtitleeditor wants libstdc++=50.0 and I have 49.0. Known problem with gcc4.port.mk. A fix should be forthcoming soon. -- Christian naddy Weisgerber na...@mips.inka.de
Re: WANTLIB and other question(s)
Jiri B. ji...@live.com wrote: What is the prefered way to do simple modification in configure/Makefile? Directly via perl in the Makefile or is more prefered an external patch? We prefer patches. -- Christian naddy Weisgerber na...@mips.inka.de
UPDATE: graphics/netpbm 10.35.75
The netpbm super stable branch--the only one with releases--has jumped from 10.26 to the slightly less ancient 10.35, so here is an update to 10.35.75. I didn't notice any exciting changes, apart from the addition of pamx, a minimal X11 viewer for files in the various netpbm formats. Index: Makefile === RCS file: /cvs/ports/graphics/netpbm/Makefile,v retrieving revision 1.50 diff -u -p -r1.50 Makefile --- Makefile11 Oct 2009 19:36:15 - 1.50 +++ Makefile30 Jun 2010 20:51:19 - @@ -2,8 +2,8 @@ COMMENT= toolkit for converting images between different formats -DISTNAME= netpbm-10.26.64 -SHARED_LIBS= netpbm 1.0 +DISTNAME= netpbm-10.35.75 +SHARED_LIBS= netpbm 2.0 CATEGORIES=graphics HOMEPAGE= http://netpbm.sourceforge.net/ @@ -15,12 +15,14 @@ PERMIT_PACKAGE_CDROM= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/} EXTRACT_SUFX= .tgz -WANTLIB= c m z -LIB_DEPENDS= tiff.=35::graphics/tiff \ - jpeg.=62::graphics/jpeg \ - png.=2::graphics/png \ +MODULES= converters/libiconv +WANTLIB= X11 Xau Xdmcp c m pthread-stubs xcb z +LIB_DEPENDS= tiff.=38::graphics/tiff \ + jpeg.=64::graphics/jpeg \ + png.=10::graphics/png \ jbig.=2::graphics/jbigkit \ - jasper.=1::graphics/jasper + jasper.=2::graphics/jasper \ + xml2.=11::textproc/libxml USE_GMAKE= Yes MAKE_FILE= GNUmakefile @@ -31,6 +33,9 @@ INSTALL_TARGET= install.bin install.lib MAKE_FLAGS=CC=${CC} \ LIBnetpbm_VERSION=${LIBnetpbm_VERSION} FAKE_FLAGS=PKGDIR=${WRKINST}${TRUEPREFIX} + +pre-patch: + @rm -f ${WRKSRC}/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h.orig pre-build: @perl -i -pe 's#%%X11BASE%%#${X11BASE}#g;' \ Index: distinfo === RCS file: /cvs/ports/graphics/netpbm/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo11 Oct 2009 19:36:15 - 1.14 +++ distinfo30 Jun 2010 20:51:19 - @@ -1,5 +1,5 @@ -MD5 (netpbm-10.26.64.tgz) = qJXwAtjiC8aNAD7nctt28Q== -RMD160 (netpbm-10.26.64.tgz) = w+kiquwyClaS+w1xteNDA9ncL58= -SHA1 (netpbm-10.26.64.tgz) = FRjWJoo1ogix31V9bhkyNtLsVvg= -SHA256 (netpbm-10.26.64.tgz) = HPiRc/FB4uj0bFS5U380TIdPjj/9HUGpXUHeAtknJXs= -SIZE (netpbm-10.26.64.tgz) = 2545993 +MD5 (netpbm-10.35.75.tgz) = Q/poZ+EUfx/1zvSw1+EiYA== +RMD160 (netpbm-10.35.75.tgz) = ABVI9a7zMAQin+8Gp1sqx9UxTt0= +SHA1 (netpbm-10.35.75.tgz) = BYfUBS7VY+qPfIqUQmzZ+nn/aVk= +SHA256 (netpbm-10.35.75.tgz) = Vf+qgwzXBDX7k0lhrzCS1euKCa+d2UBvSGZeweP3M2o= +SIZE (netpbm-10.35.75.tgz) = 2546804 Index: files/Makefile.config.OpenBSD === RCS file: /cvs/ports/graphics/netpbm/files/Makefile.config.OpenBSD,v retrieving revision 1.8 diff -u -p -r1.8 Makefile.config.OpenBSD --- files/Makefile.config.OpenBSD 19 Oct 2006 16:05:19 - 1.8 +++ files/Makefile.config.OpenBSD 30 Jun 2010 20:51:19 - @@ -2,15 +2,17 @@ # Indented variables are unchanged from the defaults in Makefile.config.in. # Commented out variables are set in MAKE_FLAGS. # -DEFAULT_TARGET=nonmerge - BUILD_FIASCO=Y + DEFAULT_TARGET = nonmerge + BUILD_FIASCO = Y #CC - LD=$(CC) + LD = $(CC) LINKERISCOMPILER=Y LINKER_CAN_DO_EXPLICIT_LIBRARY=N INTTYPES_H = inttypes.h + HAVE_INT64 = Y CC_FOR_BUILD = $(CC) LD_FOR_BUILD = $(LD) + CFLAGS_FOR_BUILD = $(CFLAGS) #INSTALL = $(SRCDIR)/buildtools/install.sh STRIPFLAG = -s SYMLINK = ln -s @@ -18,10 +20,10 @@ DEFAULT_TARGET=nonmerge AR = ar RANLIB = ranlib LEX = flex -#CFLAGS= +#CFLAGS = EXE = - LDFLAGS= - LDSHLIB= -shared + LDFLAGS = +LDSHLIB = -shared LDRELOC = NONE CFLAGS_SHLIB = -fpic SHLIB_CLIB = @@ -33,20 +35,24 @@ TIFFHDR_DIR = $(LOCALBASE)/include TIFFLIB_NEEDS_Z = Y JPEGLIB = -L$(LOCALBASE)/lib -ljpeg JPEGHDR_DIR = $(LOCALBASE)/include -PNGLIB = -L$(LOCALBASE)/lib -lpng -PNGHDR_DIR = $(LOCALBASE)/include/libpng + PNGVER = ZLIB = -lz + ZHDR_DIR = JBIGLIB = -L$(LOCALBASE)/lib -ljbig JBIGHDR_DIR = $(LOCALBASE)/include JASPERLIB = -L$(LOCALBASE)/lib -ljasper JASPERHDR_DIR = $(LOCALBASE)/include URTLIB = $(BUILDDIR)/urt/librle.a URTHDR_DIR = $(SRCDIR)/urt +X11LIB = -L$(X11BASE)/lib -lX11 -lXau -lXdmcp -lxcb -lpthread-stubs +X11HDR_DIR = $(X11BASE)/include LINUXSVGALIB = NONE OMIT_NETWORK = NETWORKLD = VMS = + DONT_HAVE_PROCESS_MGMT = N #PKGDIR_DEFAULT = /tmp/netpbm + PKGMANDIR = man INSTALL_PERM_BIN = 755 INSTALL_PERM_LIBD = 755 INSTALL_PERM_LIBS = 644 Index: patches/patch-GNUmakefile === RCS file: /cvs/ports/graphics/netpbm/patches/patch-GNUmakefile,v retrieving revision 1.4 diff -u -p -r1.4 patch-GNUmakefile --- patches/patch-GNUmakefile 9
UPDATE: archivers/star 1.5.1
Update to 1.5.1. In case anybody actually uses star, they might want to give this a spin. Index: Makefile === RCS file: /cvs/ports/archivers/star/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile19 Jun 2008 17:43:10 - 1.18 +++ Makefile1 Jul 2010 04:59:56 - @@ -2,7 +2,7 @@ COMMENT= unique standard tape archiver -DISTNAME= star-1.5 +DISTNAME= star-1.5.1 CATEGORIES=archivers sysutils HOMEPAGE= http://cdrecord.berlios.de/old/private/star.html @@ -20,12 +20,13 @@ FLAVOR?= USE_GMAKE= Yes MAKE_FLAGS=CCOM=${CC} COPTOPT=${CFLAGS} \ CPPOPTX=-DDEFTAPE=\\\/dev/rst0\\\ \ --DSYSCONFDIR=\\\$(SYSCONFDIR)\\\ +-DSYSCONFDIR=\\\$(SYSCONFDIR)\\\ \ + GMAKE_NOWARN=1 .if ${FLAVOR:L:Mstatic} MAKE_ENV+= LDOPTX=-static .else -WANTLIB= c +WANTLIB= c .endif post-extract: @@ -34,7 +35,7 @@ post-extract: post-patch: perl -pi -e 's,/etc/default/,${SYSCONFDIR}/default/,g' \ ${WRKSRC}/star/defaults.c ${WRKSRC}/star/suntar.c \ - ${WRKSRC}/star/star.1 \ + ${WRKSRC}/star/star.1 ${WRKSRC}/mt/smt.1 \ ${WRKSRC}/rmt/rmt.c ${WRKSRC}/rmt/rmt.1 do-configure: Index: distinfo === RCS file: /cvs/ports/archivers/star/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo19 Jun 2008 17:43:10 - 1.8 +++ distinfo1 Jul 2010 04:59:56 - @@ -1,5 +1,5 @@ -MD5 (star-1.5.tar.gz) = 8fxuMNKoGNG1U9akqn1zFw== -RMD160 (star-1.5.tar.gz) = 3pe1dNfgEviwOUcbX2bnSH/0Osg= -SHA1 (star-1.5.tar.gz) = CVB91Y9NZbxKY23KRUe8oV5o/M0= -SHA256 (star-1.5.tar.gz) = yHqtRbNZgsFZFJvabC6NFyIrCJGBVbQ0rroIRq+v0nM= -SIZE (star-1.5.tar.gz) = 952115 +MD5 (star-1.5.1.tar.gz) = xE0glOMvG9QxYngk7HrFeA== +RMD160 (star-1.5.1.tar.gz) = jVMmAPo6dCfuOCTprL+82IjQ3AM= +SHA1 (star-1.5.1.tar.gz) = 2qWrjRlyURY13rWoQOPIjIOn/x4= +SHA256 (star-1.5.1.tar.gz) = 1W5VbPB9clgpXJlOLXxiyEEM4yGhFQQja3AE1IhFlsU= +SIZE (star-1.5.1.tar.gz) = 999680 Index: patches/patch-RULES_mk-gmake_id === RCS file: /cvs/ports/archivers/star/patches/patch-RULES_mk-gmake_id,v retrieving revision 1.2 diff -u -p -r1.2 patch-RULES_mk-gmake_id --- patches/patch-RULES_mk-gmake_id 10 Oct 2009 09:18:51 - 1.2 +++ patches/patch-RULES_mk-gmake_id 1 Jul 2010 04:59:56 - @@ -1,15 +1,12 @@ $OpenBSD: patch-RULES_mk-gmake_id,v 1.2 2009/10/10 09:18:51 espie Exp $ RULES/mk-gmake.id.orig Thu May 3 14:58:59 2007 -+++ RULES/mk-gmake.id Sat Oct 10 11:17:10 2009 -@@ -35,9 +35,9 @@ MAKEPROG=gmake - - ifndefARCH_DONE - --__gmake_warn:=$(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 12; sleep 2) -+__gmake_warn:=: +--- RULES/mk-gmake.id.orig Wed Sep 9 14:29:28 2009 RULES/mk-gmake.id Thu Jul 1 05:52:03 2010 +@@ -54,7 +54,7 @@ ifndef GMAKE_NOWARN + __gmake_warn:=$(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 12; sleep 2) + endif -_MACHCMD= (mach || uname -p || true) 2 /dev/null +_MACHCMD= (mach || machine || uname -p || true) 2 /dev/null _ARCHCMD= (arch || /usr/ucb/arch || true) 2 /dev/null - XP_ARCH:= $(shell $(_MACHCMD) | tr '[A-Z]' '[a-z]' | tr ', /\\()' ',//' | tr ',/' ',\-') + XP_ARCH:= $(shell $(_MACHCMD) | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()' 'abcdefghijklmnopqrstuvwxyz,//' | tr ',/' ',\-') Index: patches/patch-RULES_rules_cnf === RCS file: /cvs/ports/archivers/star/patches/patch-RULES_rules_cnf,v retrieving revision 1.2 diff -u -p -r1.2 patch-RULES_rules_cnf --- patches/patch-RULES_rules_cnf 19 Jun 2008 17:43:10 - 1.2 +++ patches/patch-RULES_rules_cnf 1 Jul 2010 04:59:56 - @@ -1,7 +1,7 @@ $OpenBSD: patch-RULES_rules_cnf,v 1.2 2008/06/19 17:43:10 naddy Exp $ RULES/rules.cnf.orig Tue Jun 10 18:41:40 2008 -+++ RULES/rules.cnfTue Jun 10 18:42:38 2008 -@@ -31,8 +31,7 @@ $(OINCSDIR): +--- RULES/rules.cnf.orig Fri Aug 1 20:04:08 2008 RULES/rules.cnfThu Jul 1 05:48:20 2010 +@@ -41,8 +41,7 @@ $(OINCSDIR): # # Hack until the mach-os-*cc.rul files are updated # -- Christian naddy Weisgerber na...@mips.inka.de
UPDATE: net/ntp 4.2.6p1
Update to 4.2.6p1 and remove a lot of cruft that was copied from update to update without questioning. Index: Makefile === RCS file: /cvs/ports/net/ntp/Makefile,v retrieving revision 1.42 diff -u -p -r1.42 Makefile --- Makefile20 Jan 2010 20:43:59 - 1.42 +++ Makefile2 Jul 2010 02:36:12 - @@ -6,42 +6,41 @@ COMMENT= Network Time Protocol reference # to confuse with the ports system's 'pN' convention, so we # convert it to 'pl' for local use. -VERSION= 4.2.4p7 +VERSION= 4.2.6p1 DISTNAME= ntp-${VERSION} -PKGNAME= ntp-${VERSION:S/p/pl/}p0 +PKGNAME= ntp-${VERSION:S/p/pl/} CATEGORIES=net -MASTER_SITES= ftp://archive.ntp.org/ntp4/ntp-4.2/ \ - http://archive.ntp.org/ntp4/ntp-4.2/ +MASTER_SITES= http://archive.ntp.org/ntp4/ntp-4.2/ HOMEPAGE= http://www.ntp.org/ -# modified ISC license. However, some files include different -# copyrights. -PERMIT_PACKAGE_CDROM= No +# modified ISC +PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP=Yes -PERMIT_DISTFILES_CDROM=No +PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c crypto curses kvm m readline +WANTLIB= c crypto edit kvm m termcap + +BUILD_DEPENDS= ::devel/bison SEPARATE_BUILD=simple USE_LIBTOOL= Yes -AUTOCONF_VERSION= 2.59 -CONFIGURE_STYLE= autoconf -CONFIGURE_ARGS+= --bindir='${PREFIX}/sbin' \ - --with-binsubdir=sbin \ - --enable-accurate-adjtime --disable-IRIG \ - --enable-parse-clocks \ - --with-openssl-libdir=/usr/lib \ - --with-openssl-incdir=/usr/include \ - --with-crypto=openssl +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS=--enable-parse-clocks \ + --with-binsubdir=sbin +CONFIGURE_ENV= CPPFLAGS='-DCONFIG_FILE=\${SYSCONFDIR}/ntp.conf\ \ + -DKEYFILE=\${SYSCONFDIR}/ntp.keys\' +YACC= bison -y + +post-build: + @${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD ${WRKBUILD}/README.OpenBSD post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ntp @cd ${WRKSRC}/html pax -rw * ${PREFIX}/share/doc/ntp ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ntp @cd ${WRKSRC}/conf pax -rw * ${PREFIX}/share/examples/ntp - @${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD ${WRKBUILD}/README.OpenBSD ${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \ ${PREFIX}/share/examples/ntp/ Index: distinfo === RCS file: /cvs/ports/net/ntp/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo23 May 2009 16:32:29 - 1.10 +++ distinfo2 Jul 2010 02:36:12 - @@ -1,5 +1,5 @@ -MD5 (ntp-4.2.4p7.tar.gz) = jBn/Yu1PfWT44qpZyxHzZA== -RMD160 (ntp-4.2.4p7.tar.gz) = EdaRdsjLS5X36fRow3q4/FOiiHY= -SHA1 (ntp-4.2.4p7.tar.gz) = hHb3Xa/+mFHMbzPRcJArzndjdJk= -SHA256 (ntp-4.2.4p7.tar.gz) = VoGIPOXNBmbXPBuQfihGU5ZKJa1MAqMIqxG1SsqPAcM= -SIZE (ntp-4.2.4p7.tar.gz) = 3382146 +MD5 (ntp-4.2.6p1.tar.gz) = BRA5bfveQGeLkvgI7AfA0g== +RMD160 (ntp-4.2.6p1.tar.gz) = lVJ6zVh6Qvcm+i3NBFCr+RFn0+Y= +SHA1 (ntp-4.2.6p1.tar.gz) = xPpVr7jyEEFG0lt1oJQ36/+01lc= +SHA256 (ntp-4.2.6p1.tar.gz) = 7EDzUl5tZjcQk3BWiBMMjIo9arLJCsbj28GrRV+8fF0= +SIZE (ntp-4.2.6p1.tar.gz) = 4327920 Index: files/README.OpenBSD === RCS file: /cvs/ports/net/ntp/files/README.OpenBSD,v retrieving revision 1.4 diff -u -p -r1.4 README.OpenBSD --- files/README.OpenBSD11 Feb 2009 19:36:27 - 1.4 +++ files/README.OpenBSD2 Jul 2010 02:36:12 - @@ -1,54 +1,18 @@ Several steps need to be taken to properly configure the NTP daemon. -1) First, create or update the file /etc/ntp.conf. Several +1. First, create or update the file ${SYSCONFDIR}/ntp.conf. Several example configuration files can be found here: - ${TRUEPREFIX}/share/examples/ntp + ${PREFIX}/share/examples/ntp -2) Next, several command scripts for system startup need to be - modified. +2. Add the following to /etc/rc.local - (a) Add the following to /etc/rc.securelevel: + if [ X${xntpd_flags} != XNO -a -x ${PREFIX}/sbin/ntpd \ + -a -f ${SYSCONFDIR}/ntp.conf ]; then + echo -n ' ntpd'; ${PREFIX}/sbin/ntpd ${xntpd_flags} + fi - # Securelevel 1 does not allow the clock to be set backwards - if [ $securelevel -gt 1 -a X${xntpdate_flags} != XNO \ - -a -x ${TRUEPREFIX}/sbin/ntpdate ]; then - echo -n ' ntpdate' - ${TRUEPREFIX}/sbin/ntpdate -b ${xntpdate_flags} /dev/null - fi +3. Edit /etc/rc.conf.local: - # tickadj is not always needed - if [ X${xntpd} == XYES -a -x ${TRUEPREFIX}/sbin/tickadj \ - -a -e /etc/ntp.conf ]; then - echo -n ' tickadj'; ${TRUEPREFIX}/sbin/tickadj -Aq - fi - - (b) Add the
Re: firefox only recognizes plugins for root
Chris Bennett ch...@bennettconstruction.biz wrote: I have tried old profiles, rm'ed the ~/.mozilla folder, but no plugins are found. Tried creating additional profiles also. Well, if you removed ~/.mozilla, then all the user-installed extensions are gone. Installing the https-everywhere extension works fine for me (i386). -- Christian naddy Weisgerber na...@mips.inka.de
BROKEN: net/ipaudit, devel/py-openbsd: DLT_OLD_PFLOG
devel/py-openbsd and net/ipaudit are broken since c2k10 because DLT_OLD_PFLOG has disappeared. -- Christian naddy Weisgerber na...@mips.inka.de
i386 broken ports
Results from my first package bulk build on i386 after the switch to gcc4. (Probably) broken due to gcc4: comms/hylafax C++ devel/mico misc/calentoolconflicting declarations misc/brs -fwritable-strings palm/pose C++ www/chromium C++ x11/olvwm conflicting declarations DLT_OLD_PFLOG removal: devel/py-openbsd net/ipaudit GNOME: x11/gnome/mousetweaks confused dependencies, plist change Miscellaneous: databases/pgbouncer ? devel/qt4-eventsview lang/classpath? math/maxima ? www/py-nevow ? x11/pidgin-guifications pidgin not found -- Christian naddy Weisgerber na...@mips.inka.de
comms/hylafax fix, unclear type promotion
Currently, comms/hylafax fails to build on i386: faxQueueApp.c++: In member function 'void faxQueueApp::preparePageChop(const FaxRequest, TIFF*, const Class2Params, fxStr)': faxQueueApp.c++:1025: error: call of overloaded 'fxmin(unsigned int, long unsigned int)' is ambiguous .././util/Types.h:52: note: candidates are: int fxmin(int, int) .././util/Types.h:53: note: u_long fxmin(u_long, u_long) .././util/Types.h:54: note: u_int fxmin(u_int, u_int) This error does *not* happen on amd64. Apparently, u_int - ptrdiff_t promotes to u_long on i386, but u_int(?) on amd64. Huh? The cast below fixes it, and should be safe in the given context, but still, I don't quite understand this. Index: patches/patch-faxd_faxQueueApp_c++ === RCS file: patches/patch-faxd_faxQueueApp_c++ diff -N patches/patch-faxd_faxQueueApp_c++ --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-faxd_faxQueueApp_c++ 11 Jul 2010 19:42:59 - @@ -0,0 +1,12 @@ +$OpenBSD$ +--- faxd/faxQueueApp.c++.orig Sun Jul 11 21:31:17 2010 faxd/faxQueueApp.c++ Sun Jul 11 21:31:42 2010 +@@ -1022,7 +1022,7 @@ faxQueueApp::preparePageChop(const FaxRequest req, + if (dec.getLastBlanks() minRows) + { + pagehandling.append(fxStr::format(Z%04x, +- fxmin((unsigned)0x, stripSize - (dec.getEndOfPage() - data; ++ fxmin((unsigned)0x, stripSize - (u_int)(dec.getEndOfPage() - data; + } + } + delete [] data; -- Christian naddy Weisgerber na...@mips.inka.de
FIX: devel/py-openbsd
This fixes devel/py-openbsd after the removal of DLT_OLD_PFLOG. ok? Index: Makefile === RCS file: /cvs/ports/devel/py-openbsd/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile11 Oct 2009 20:59:37 - 1.6 +++ Makefile11 Jul 2010 20:39:53 - @@ -4,7 +4,8 @@ COMMENT=specific Python bindings for Op V= 0.1.2 DISTNAME= pyopenbsd-${V} -PKGNAME= py-openbsd-${V}p4 +PKGNAME= py-openbsd-${V} +REVISION= 5 CATEGORIES=devel HOMEPAGE= http://www.nullcube.com/software/pyopenbsd.html Index: patches/patch-openbsd__pcap_c === RCS file: patches/patch-openbsd__pcap_c diff -N patches/patch-openbsd__pcap_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-openbsd__pcap_c 11 Jul 2010 20:39:53 - @@ -0,0 +1,11 @@ +$OpenBSD$ +--- openbsd/_pcap.c.orig Sun Jul 11 22:27:34 2010 openbsd/_pcap.cSun Jul 11 22:27:46 2010 +@@ -436,7 +436,6 @@ void init_pcap(void){ + PyModule_AddIntConstant(module, DLT_RAW, (long) DLT_RAW); + PyModule_AddIntConstant(module, DLT_SLIP_BSDOS, (long) DLT_SLIP_BSDOS); + PyModule_AddIntConstant(module, DLT_PPP_BSDOS,(long) DLT_PPP_BSDOS); +-PyModule_AddIntConstant(module, DLT_OLD_PFLOG,(long) DLT_OLD_PFLOG); + PyModule_AddIntConstant(module, DLT_PFSYNC, (long) DLT_PFSYNC); + PyModule_AddIntConstant(module, DLT_IEEE802_11, (long) DLT_IEEE802_11); + PyModule_AddIntConstant(module, DLT_PFLOG,(long) DLT_PFLOG); Index: patches/patch-openbsd_packet_py === RCS file: patches/patch-openbsd_packet_py diff -N patches/patch-openbsd_packet_py --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-openbsd_packet_py 11 Jul 2010 20:39:53 - @@ -0,0 +1,38 @@ +$OpenBSD$ +--- openbsd/packet.py.orig Sun Jul 11 22:26:12 2010 openbsd/packet.py Sun Jul 11 22:26:42 2010 +@@ -1592,34 +1592,6 @@ class _PFBase(Protocol): + ) + + +-class PFOld(_PFBase): +-TYPE = PFOld +-_SIZEHINT = _sysvar.IFNAMSIZ + 12 +-# Fields +-safamily= IntField(0, 4, options=_PFBase.SAFamilyOptions) +-ifname = PaddedString(4, _sysvar.IFNAMSIZ) +-ruleno = IntField(4+_sysvar.IFNAMSIZ, 2) +-reason = IntField(4+_sysvar.IFNAMSIZ+2, 2, options=_PFBase.ReasonOptions) +-action = IntField(4+_sysvar.IFNAMSIZ+4, 2, options=_PFBase.ActionOptions) +-direction = IntField(4+_sysvar.IFNAMSIZ+6, 2, options=_PFBase.DirectionOptions) +-length = _sysvar.IFNAMSIZ + 12 +-payload = Payload() +-def _constructNext(self): +-if AF_JUMPER.has_key(self.safamily): +-self._addProtocol(AF_JUMPER[self.safamily], self.length) +- +-def _getPayloadOffsets(self): +-offset = self.length +-dataLength = len(self.packet._data) - offset +-return offset, dataLength +- +-def __repr__(self): +-reason = self.ReasonOptions.toStr(self.reason) +-action = self.ActionOptions.toStr(self.action) +-direction = self.DirectionOptions.toStr(self.direction) +-return Old PF rule %s (%s) %s %s on %s%(self.ruleno, reason, action, direction, self.ifname) +- +- + class PF(_PFBase): + + OpenBSD Specific : PF Index: patches/patch-openbsd_pcap_py === RCS file: patches/patch-openbsd_pcap_py diff -N patches/patch-openbsd_pcap_py --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-openbsd_pcap_py 11 Jul 2010 20:39:53 - @@ -0,0 +1,19 @@ +$OpenBSD$ +--- openbsd/pcap.py.orig Sun Jul 11 22:26:54 2010 openbsd/pcap.pySun Jul 11 22:27:18 2010 +@@ -44,7 +44,6 @@ DLT_ENC = _pcap.DLT_ENC + DLT_RAW = _pcap.DLT_RAW + DLT_SLIP_BSDOS = _pcap.DLT_SLIP_BSDOS + DLT_PPP_BSDOS = _pcap.DLT_PPP_BSDOS +-DLT_OLD_PFLOG = _pcap.DLT_OLD_PFLOG + DLT_PFSYNC = _pcap.DLT_PFSYNC + DLT_IEEE802_11 = _pcap.DLT_IEEE802_11 + DLT_PFLOG = _pcap.DLT_PFLOG +@@ -91,7 +90,6 @@ class Interpreter: + DLT_LOOP: packet.Loopback, + DLT_EN10MB: packet.Ethernet, + DLT_PFLOG: packet.PF, +-DLT_OLD_PFLOG: packet.PFOld, + DLT_ENC:packet.Enc, + } + def __init__(self, dlt, callback): Index: patches/patch-test_test_packet_realworld_py === RCS file: patches/patch-test_test_packet_realworld_py diff -N patches/patch-test_test_packet_realworld_py --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-test_test_packet_realworld_py 11 Jul 2010 20:39:53 - @@ -0,0 +1,61 @@ +$OpenBSD$ +--- test/test_packet_realworld.py.orig Sun Jul 11 22:37:05 2010 test/test_packet_realworld.py Sun Jul 11 22:37:20 2010 +@@
Re: i386 broken ports
Here's the latest list: emulators/qemu-old lang/classpath lang/gcc/3.3,-ada math/maxima misc/brs misc/calentool palm/pose www/chromium x11/olvwm Stuff that has been broken for some time: devel/mico devel/qt4-eventsview Haskell ports with plist/dependency changes: databases/hs-HDBC devel/hs-network devel/hs-control-timeout devel/hs-hashed-storage devel/hs-network devel/hs-parallel devel/hs-pugs-DrIFT devel/hs-regex-posix devel/hs-stringtable-atom graphics/hs-GLUT security/hs-crypto x11/xmonad,-lib -- Christian naddy Weisgerber na...@mips.inka.de
emulators/qemu-old
What are we going to do with emulators/qemu-old? It is marked as only for i386 and powerpc. However, it also requires gcc3 to build and both of these archs now use gcc4. Do we simply want to remove the port? Do we want to build it with gcc3 from ports? That's easy enough, diff below. I don't use qemu, though, so I don't know if it actually works. Index: Makefile === RCS file: /cvs/ports/emulators/qemu-old/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile8 Jun 2010 01:10:54 - 1.2 +++ Makefile16 Jul 2010 22:02:07 - @@ -6,7 +6,7 @@ ONLY_FOR_ARCHS= i386 powerpc COMMENT= multi system emulator DISTNAME= qemu-0.9.1 -PKGNAME= ${DISTNAME}p13 +REVISION= 14 CATEGORIES=emulators HOMEPAGE= http://www.nongnu.org/qemu/ @@ -20,6 +20,9 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_OPENBSD} + +MODULES= gcc3 +MODGCC3_ARCHES=i386 powerpc BUILD_DEPENDS= ::textproc/texi2html USE_GMAKE= Yes -- Christian naddy Weisgerber na...@mips.inka.de
Re: emulators/qemu-old
Christian Weisgerber na...@openbsd.org wrote: What are we going to do with emulators/qemu-old? It is marked as only for i386 and powerpc. However, it also requires gcc3 to build and both of these archs now use gcc4. Do we simply want to remove the port? Do we want to build it with gcc3 from ports? Given that apparently nobody is interested in testing this with gcc3 from ports, I'm now inclined to just remove it. -- Christian naddy Weisgerber na...@mips.inka.de
Re: i386 broken ports
Here's the latest list: devel/mico devel/qt4-eventsview emulators/qemu-old lang/classpath lang/gcc/3.3,-ada why does dpb3 even try to build this? lang/nhc98 math/maxima misc/brs misc/calentool palm/pose www/chromium x11/olvwm -- Christian naddy Weisgerber na...@mips.inka.de
Re: emulators/qemu-old
Todd T. Fries: Too bad gcc3 isn't in snaps or it'd be easier to test ;-) Huh, what are you talking about? Of course gcc3 packages are on ftp. (And also were before I uploaded today's i386 snap.) -- Christian naddy Weisgerber na...@mips.inka.de
Re: emulators/qemu-old
Giovanni Bechis giova...@openbsd.org wrote: Updated diff, it runs fine @amd64 too with gcc3 from ports. Isn't any conflict-marker needed ? Qemu-old install the same files than qemu. The packages conflict by default. -- Christian naddy Weisgerber na...@mips.inka.de
WIP: net/transmission 2.03
Update to 2.03. (Mostly mechanical.) SHOWSTOPPER: The GTK client falls into a busy loop and eats all the CPU it can get. Index: Makefile === RCS file: /cvs/ports/net/transmission/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile3 May 2010 17:39:33 - 1.54 +++ Makefile24 Jul 2010 20:32:26 - @@ -3,7 +3,7 @@ COMMENT-main= lightweight BitTorrent command line and daemon client COMMENT-gui= lightweight BitTorrent client with graphical interface -VER= 1.93 +VER= 2.03 DISTNAME= transmission-${VER} PKGNAME-main= transmission-${VER} PKGNAME-gui= transmission-gui-${VER} @@ -26,18 +26,16 @@ FLAVOR?= MULTI_PACKAGES=-main -WANTLIB= c crypto event idn m pthread ssl z +WANTLIB= c crypto curl event eventextra idn m pthread ssl z WANTLIB-main= ${WANTLIB} MODULES= devel/gettext textproc/intltool -LIB_DEPENDS= curl.=14::net/curl \ - eventextra.=1::devel/libeventextra +LIB_DEPENDS= ::net/curl \ + ::devel/libeventextra USE_GMAKE= Yes USE_LIBTOOL= Yes -AUTOCONF_VERSION=2.63 -AUTOCONF= autoconf -I m4 -CONFIGURE_STYLE=autoconf no-autoheader +CONFIGURE_STYLE=gnu CONFIGURE_ARGS=--disable-shared \ --disable-silent-rules \ --disable-libnotify \ @@ -46,9 +44,9 @@ CONFIGURE_ARGS= --disable-shared \ --disable-gconf2 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib \ + LIBEVENT_LIBS=-leventextra -levent \ OPENSSL_CFLAGS=-I/usr/include \ OPENSSL_LIBS=-lcrypto -LIBTOOL_FLAGS= --tag=disable-shared MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} .if ${FLAVOR:L:Mno_gui} @@ -57,15 +55,13 @@ CONFIGURE_ARGS+=--disable-gtk MULTI_PACKAGES+=-gui WANTLIB-gui= ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \ Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo dbus-1 \ - expat fontconfig freetype gio-2.0 glib-2.0 glitz \ - gmodule-2.0 gobject-2.0 gthread-2.0 pango-1.0 pangoft2-1.0 \ + dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 \ + gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 \ + gobject-2.0 gthread-2.0 gtk-x11-2.0 pango-1.0 pangoft2-1.0 \ pangocairo-1.0 pixman-1 png pcre pthread-stubs xcb \ xcb-render xcb-render-util -LIB_DEPENDS+= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \ - dbus-glib-1::x11/dbus-glib -LIB_DEPENDS-main=${MODGETTEXT_LIB_DEPENDS} \ - curl.=14::net/curl \ - eventextra.=1::devel/libeventextra +LIB_DEPENDS+= ::x11/gtk+2 \ + ::x11/dbus-glib RUN_DEPENDS-gui=:${PKGNAME-main}:net/transmission,-main \ ::devel/desktop-file-utils \ :gamin-*:sysutils/gamin,-server,no_python Index: distinfo === RCS file: /cvs/ports/net/transmission/distinfo,v retrieving revision 1.30 diff -u -p -r1.30 distinfo --- distinfo3 May 2010 17:39:33 - 1.30 +++ distinfo24 Jul 2010 20:32:26 - @@ -1,5 +1,5 @@ -MD5 (transmission-1.93.tar.bz2) = 9oNY0D5GvsVwS7qolJkBUg== -RMD160 (transmission-1.93.tar.bz2) = AOuOE1Dy4Nnbc69x57iHQkEgD4k= -SHA1 (transmission-1.93.tar.bz2) = J3k7gIjW/V2zuABJAHcMhK65kok= -SHA256 (transmission-1.93.tar.bz2) = 6bex+5qtKAjuJ7Fj26hkf3OMI1EyAYZPqZRAELjXFnA= -SIZE (transmission-1.93.tar.bz2) = 4381746 +MD5 (transmission-2.03.tar.bz2) = cpbIVnPtdno13jiDyye1RQ== +RMD160 (transmission-2.03.tar.bz2) = 2VLfwyD4Hqn+805xAAbGpyXyk28= +SHA1 (transmission-2.03.tar.bz2) = TnksyqWq2B0LtxZ5IVoqVyxOH9k= +SHA256 (transmission-2.03.tar.bz2) = BoAsb0ulFzQesoeycxRczV57D7oqJw2oLw6wpoPPQEY= +SIZE (transmission-2.03.tar.bz2) = 4264966 Index: patches/patch-configure === RCS file: patches/patch-configure diff -N patches/patch-configure --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-configure 24 Jul 2010 20:32:26 - @@ -0,0 +1,32 @@ +$OpenBSD$ +--- configure.orig Wed Jul 21 06:14:12 2010 configure Fri Jul 23 23:03:28 2010 +@@ -10870,8 +10870,8 @@ if test 0 = 0; then + else + supported_build=no + if test x$GCC = xyes ; then +-CFLAGS=$CFLAGS -g -O0 +-CXXFLAGS=$CXXFLAGS -g -O0 ++: CFLAGS=$CFLAGS -g -O0 ++: CXXFLAGS=$CXXFLAGS -g -O0 + fi + fi + if test x$supported_build = xno; then +@@ -15387,7 +15387,7 @@ esac + + if test x$GCC = xyes ; then + +-CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings ++: CFLAGS=$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith
Re: i386 broken ports
Here's the latest relevant list: devel/micogcc4 c++ devel/qt4-eventsview qt update lang/classpath? lang/mono guenther diff? math/maxima ? misc/brs gcc4: -fwritable-strings misc/calentoolgcc4 palm/pose gcc4 c++ x11/olvwm gcc4 -- Christian naddy Weisgerber na...@mips.inka.de
Re: i386 broken ports
Here's the latest list: devel/micogcc4 c++ devel/qt4-eventsview qt4 lang/classpath? math/maxima ? misc/brs -fwritable-strings misc/calentoolgcc4 palm/pose gcc4 c++ -- Christian naddy Weisgerber na...@mips.inka.de
Re: i386 broken ports
Christian Weisgerber na...@mips.inka.de wrote: devel/micogcc4 c++ devel/qt4-eventsview qt4 misc/calentoolgcc4 lang/classpath? math/maxima ? These two have been broken since the hackathon. Anybody? misc/brs -fwritable-strings palm/pose gcc4 c++ Fixed. -- Christian naddy Weisgerber na...@mips.inka.de