Anyone have ffmpeg plugins for GStreamer?
Hi, Someone have maybe port of FFmpeg plugins for GStreamer? References 1. http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html 2. http://gstreamer.freedesktop.org/src/gst-ffmpeg/ -- best regards q#
UPDATE: comms/hylafax 4.1.5 - 4.3.3
Hylafax updated to latest version, emails are now customizables by the use of a template. Better hardware support has been added. Ok ? Giovanni diff -ruNx CVS comms/hylafax/Makefile mystuff/comms/hylafax/Makefile --- comms/hylafax/Makefile Tue Nov 7 23:22:27 2006 +++ mystuff/comms/hylafax/Makefile Sun May 13 13:40:14 2007 @@ -1,8 +1,8 @@ # $OpenBSD: Makefile,v 1.50 2006/11/07 22:22:27 sturm Exp $ COMMENT= send/receive faxes and share modems -DISTNAME= hylafax-4.1.5 -PKGNAME= ${DISTNAME}p7 +DISTNAME= hylafax-4.3.3 +PKGNAME= ${DISTNAME} CATEGORIES=comms FLAVORS= a4 @@ -19,9 +19,10 @@ PERMIT_DISTFILES_FTP= Yes WANTLIB= c m stdc++ util z -RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu -LIB_DEPENDS= tiff::graphics/tiff \ - jpeg::graphics/jpeg +RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu \ + ::mail/metamail +LIB_DEPENDS= jbig::graphics/jbigkit \ + tiff::graphics/tiff CONFIGURE_STYLE= simple USE_GMAKE= Yes @@ -52,7 +53,6 @@ @chown uucp:dialer ${SUID_EXES} @chmod a=rx,u+s ${SUID_EXES} ${INSTALL_DATA} ${FILESDIR}/hylafax.sh.sample ${PREFIX}/lib/fax - @ln -sf ${TRUEPREFIX}/libdata/hylafax ${WRKINST}/var/spool/hylafax @chown -R uucp:dialer ${PREFIX}/libdata/hylafax .include bsd.port.mk diff -ruNx CVS comms/hylafax/distinfo mystuff/comms/hylafax/distinfo --- comms/hylafax/distinfo Thu Apr 5 17:37:47 2007 +++ mystuff/comms/hylafax/distinfo Sun May 13 11:19:01 2007 @@ -1,5 +1,5 @@ -MD5 (hylafax-4.1.5.tar.gz) = ZxNa5yH3qSfg+almRGlGFw== -RMD160 (hylafax-4.1.5.tar.gz) = yq6TEwDiAlt2cu4qUWxBAdhw+TA= -SHA1 (hylafax-4.1.5.tar.gz) = +mCopRkh1CqjZzK1ye5i1bDxjas= -SHA256 (hylafax-4.1.5.tar.gz) = jumNY6A7a89uzGpKVtumsSwV630Nqpl0A3XuUATDwhU= -SIZE (hylafax-4.1.5.tar.gz) = 1276511 +MD5 (hylafax-4.3.3.tar.gz) = DtoO0erha+4XfSvPs6BS2g== +RMD160 (hylafax-4.3.3.tar.gz) = 8mBkPZOm4XhLMqfbkD7BDz0U3Iw= +SHA1 (hylafax-4.3.3.tar.gz) = k0sw4lezs86JRkY1N3RkrNy2TSM= +SHA256 (hylafax-4.3.3.tar.gz) = 2eBuNmBLk3zO68qK6RM1At/PdCV0uaMsiGNyPTNoRPM= +SIZE (hylafax-4.3.3.tar.gz) = 1520317 diff -ruNx CVS comms/hylafax/files/hylafax.sh.sample mystuff/comms/hylafax/files/hylafax.sh.sample --- comms/hylafax/files/hylafax.sh.sample Sun Nov 18 18:06:51 2001 +++ mystuff/comms/hylafax/files/hylafax.sh.sample Sun May 13 13:10:15 2007 @@ -10,6 +10,7 @@ # Add these to /etc/rc.local: if [ -x /usr/local/sbin/faxq ]; then + /usr/local/sbin/hfaxd -i hylafax \ /usr/local/sbin/faxq echo -n ' hylafax' fi diff -ruNx CVS comms/hylafax/patches/patch-config_skel mystuff/comms/hylafax/patches/patch-config_skel --- comms/hylafax/patches/patch-config_skel Mon Jan 27 14:42:48 2003 +++ mystuff/comms/hylafax/patches/patch-config_skel Thu Jan 1 01:00:00 1970 @@ -1,13 +0,0 @@ config/skel.orig Sun Apr 7 16:29:27 2002 -+++ config/skelWed Jul 31 12:31:40 2002 -@@ -41,8 +41,8 @@ ServerTracing: 1 # log server-related - SessionTracing: 11 # log server-related operations - RecvFileMode: 0600# recvd facsimile are not public - LogFileMode: 0600# private log files --DeviceMode: 0600# device is accessible only to uucp/fax --GettyArgs:-h %l dx_%s # requires modem to auto-detect fax/data -+DeviceMode: 0660# device is accessible only to uucp/fax -+GettyArgs:std.%s# requires modem to auto-detect fax/data - QualifyTSI: # do not restrict inbound facsimile - SpeakerVolume:off # machine's are already too loud - RingsBeforeAnswer:1 # answer on first ring diff -ruNx CVS comms/hylafax/patches/patch-configure mystuff/comms/hylafax/patches/patch-configure --- comms/hylafax/patches/patch-configure Wed Oct 18 10:09:43 2006 +++ mystuff/comms/hylafax/patches/patch-configure Sun May 13 13:41:34 2007 @@ -1,98 +1,12 @@ -$OpenBSD: patch-configure,v 1.6 2006/10/18 08:09:43 ajacoutot Exp $ configure.orig Tue Oct 1 16:05:55 2002 -+++ configure Tue Oct 17 15:39:54 2006 -@@ -37,10 +37,10 @@ - # - # Setup general configuration parameters. - # --DIR_BIN=/usr/local/bin --DIR_SBIN=/usr/local/sbin --DIR_LIBDATA=/usr/local/lib/fax --DIR_LIB=/usr/local/lib -+DIR_BIN=${PREFIX}/bin -+DIR_SBIN=${PREFIX}/sbin -+DIR_LIBDATA=${PREFIX}/lib/fax -+DIR_LIB=${PREFIX}/lib - DIR_LIBEXEC=$DIR_SBIN - DIR_SPOOL=/var/spool/hylafax - DIR_HTML=/var/httpd/htdocs/hylafax -@@ -59,7 +59,7 @@ DSO=auto - GETTY=auto - HTML=no - PS=auto --SYSVINIT=auto -+SYSVINIT=no - FAXQ_SERVER=yes # init script starts faxq - HFAXD_SERVER=yes # init script starts hfaxd -
Re: Systrace - 'systrace: intercept_get_string: ioctl: Invalid
Hi Otto, Did you manage to repro the systrace error? -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett/
Re: Systrace - 'systrace: intercept_get_string: ioctl: Invalid
On Mon, 14 May 2007, Edd Barrett wrote: Hi Otto, Did you manage to repro the systrace error? Using your texlive port, I managed to reproduce the intercept_get_string error, but the Operation not permitted not. This is while builing as a regular user using SUDO=sudo. I'll try a build as root to see if that changes anything. Nikolay Sturm has circulated a diff to solve the intercept_get_string problem, which resolves the problem for me. -Otto
Re: [new] claws-mail-vcalendar and claws-mail-notification
On Sun, 13 May 2007 18:59:08 +0200 Landry Breuil [EMAIL PROTECTED] wrote: On Wed, May 09, 2007 at 11:18:53PM +0200, Landry Breuil wrote: Hello ports@, two plugins for the lightweight MUA Claws-mail : http://ports.gcu.info/doku.php/openbsd/mail/claws-mail-vcalendar Adds groupware functionnality, webcal subscriptions, ics import/export. http://ports.gcu.info/doku.php/openbsd/mail/claws-mail-notification Adds various new message notification methods : popup, banner, command. not really sure of gtk/glib in LIB_DEPENDS, maybe in WANTLIB ? and is it normal to still have the need of textproc/expat ? the one bundled in -current isn't enough at the moment ? works here @i386, feedback and testing welcome ! No one's interested ? i tested them against 2.9.2, still works fine. Landry claws-mail-vcalendar works fine here. @i386 and @amd64.
Re: Anyone have ffmpeg plugins for GStreamer?
On Mon, May 14, 2007 at 07:09:09AM +0100, Mikolaj Kucharski wrote: Hi, Someone have maybe port of FFmpeg plugins for GStreamer? References 1. http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html 2. http://gstreamer.freedesktop.org/src/gst-ffmpeg/ -- best regards q# Yes and no. Porting the stuff is trivial, getting it to use our ffmpeg instead of the bundled ones less so. Last time I tried, our ffmpeg did not install enough headers, and gst-ffmpeg was unhappy.
[update] xfce4-wavelan
Hello, one new upgrade which needs testing, xfce4-wavelan. wi_bsd.c has been hacked to work with OpenBSD's ieee80211_* structs, so i'd really appreciate feedback on this one. It works fine here with my iwi(4), and i'll try to send the cleaned patch (with #ifdef) upstream for their next release. http://ports.gcu.info/doku.php/openbsd/x11/xfce4/xfce4-wavelan It was really fun to learn how our wireless stack works :) Thanks for testing/comments. Landry
resubmit www/sarg
removed trailing space from michele@ Index: sarg/Makefile === RCS file: /cvs/ports/www/sarg/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- sarg/Makefile 28 Jan 2006 21:22:07 - 1.5 +++ sarg/Makefile 14 May 2007 13:46:34 - @@ -2,8 +2,8 @@ COMMENT= Squid Analysis Report Generator -DISTNAME= sarg-2.1 -PKGNAME= ${DISTNAME}p0 +DISTNAME= sarg-2.2.3.1 +PKGNAME= ${DISTNAME} CATEGORIES= www HOMEPAGE= http://sarg.sourceforge.net/ Index: sarg/distinfo === RCS file: /cvs/ports/www/sarg/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- sarg/distinfo 5 Apr 2007 17:26:25 - 1.3 +++ sarg/distinfo 14 May 2007 13:46:34 - @@ -1,5 +1,5 @@ -MD5 (sarg-2.1.tar.gz) = FbHD+/9HrG6ndXPK51teYw== -RMD160 (sarg-2.1.tar.gz) = Wycy1eSlvNTCsk5WlKPRlYHYewU= -SHA1 (sarg-2.1.tar.gz) = 41I50Hb4tL+bnEHqaPdxH6mm2SA= -SHA256 (sarg-2.1.tar.gz) = iewx87e4GH3h5O5PoKSr9oZ/JAS9kFm7++S+tgndWBg= -SIZE (sarg-2.1.tar.gz) = 352935 +MD5 (sarg-2.2.3.1.tar.gz) = 6e2e2c386a89aaff31f048eb2a6c5b1a +RMD160 (sarg-2.2.3.1.tar.gz) = 3a2ce81e3cf6e8559f3efb53c0e5b0b9526f08b6 +SHA1 (sarg-2.2.3.1.tar.gz) = 6433ef901641245e1283bbb9ae7f7be7959841eb +SHA256 (sarg-2.2.3.1.tar.gz) = fc6d7e92c156b488941820a2d44eac6231d4237435e9fffd9f3ebda51296842e +SIZE (sarg-2.2.3.1.tar.gz) = 641277 Index: sarg/patches/patch-configure === RCS file: /cvs/ports/www/sarg/patches/patch-configure,v retrieving revision 1.3 diff -u -r1.3 patch-configure --- sarg/patches/patch-configure 28 Jan 2006 21:22:07 - 1.3 +++ sarg/patches/patch-configure 14 May 2007 13:46:34 - @@ -1,6 +1,7 @@ configure.orig Tue Nov 29 17:39:45 2005 -+++ configure Thu Jan 26 21:31:44 2006 -@@ -2331,12 +2331,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +$OpenBSD$ +--- configure.orig Wed Apr 4 07:28:32 2007 configure Wed Apr 4 07:29:17 2007 +@@ -2335,12 +2335,6 @@ ;; esac @@ -13,3 +14,12 @@ case $host in *-solaris*) LDFLAGS=${LDFLAGS} -lsocket -lnsl +@@ -3990,7 +3984,7 @@ + + for ac_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \ + dirent.h sys/socket.h netdb.h arpa/inet.h sys/types.h netinet/in.h sys/stat.h \ +- ctype.h gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h iconv.h \ ++ ctype.h iconv.h \ + errno.h sys/resource.h + do + as_ac_Header=`echo ac_cv_header_$ac_header | $as_tr_sh` Index: sarg/patches/patch-convlog_c === RCS file: /cvs/ports/www/sarg/patches/patch-convlog_c,v retrieving revision 1.2 diff -u -r1.2 patch-convlog_c --- sarg/patches/patch-convlog_c 28 Jan 2006 21:22:07 - 1.2 +++ sarg/patches/patch-convlog_c 14 May 2007 13:46:34 - @@ -1,3 +1,4 @@ +$OpenBSD$ --- convlog.c.orig Tue Nov 29 17:39:45 2005 +++ convlog.c Thu Jan 26 21:31:44 2006 @@ -39,7 +39,7 @@ void convlog(char *arq, char *df, int df Index: sarg/patches/patch-index_c === RCS file: sarg/patches/patch-index_c diff -N sarg/patches/patch-index_c --- sarg/patches/patch-index_c 28 Jan 2006 21:22:07 - 1.3 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,14 +0,0 @@ index.c.orig Tue Nov 29 17:39:45 2005 -+++ index.c Thu Jan 26 21:31:44 2006 -@@ -369,9 +369,9 @@ void make_index() - unlink(wdir_tmp2); -} else { - if(strcmp(IndexSortOrder,A) == 0) -- sprintf(warea,sort -t';' +6.5n +6.2M +6.0n '%s' -o '%s', wdir_tmp, wdir_tmp2); -+ sprintf(warea,sort -t';' -k 7,7 %s -o %s, wdir_tmp, wdir_tmp2); - else -- sprintf(warea,sort -t';' +6.5nr +6.2Mr +6.0nr '%s' -o '%s', wdir_tmp, wdir_tmp2); -+ sprintf(warea,sort -t';' -r -k 7,7 %s -o %s, wdir_tmp, wdir_tmp2); - system(warea); - unlink(wdir_tmp); - if((fp_ou=fopen(wdir,w))==NULL) { Index: sarg/patches/patch-log_c === RCS file: /cvs/ports/www/sarg/patches/patch-log_c,v retrieving revision 1.1 diff -u -r1.1 patch-log_c --- sarg/patches/patch-log_c 28 Jan 2006 21:22:07 - 1.1 +++ sarg/patches/patch-log_c 14 May 2007 13:46:34 - @@ -1,20 +1,35 @@ log.c.orig Tue Nov 29 17:39:45 2005 -+++ log.c Thu Jan 26 21:31:44 2006 -@@ -148,7 +148,7 @@ int main(argc,argv) -SquidGuardLogFormat[0]='\0'; +$OpenBSD$ +--- log.c.orig Wed Apr 4 08:25:56 2007 log.c Wed Apr 4 08:31:27 2007 +@@ -145,7 +145,7 @@ SquidGuardLogAlternate[0]='\0'; +arq[0]='\0'; - strcpy(AccessLog,/usr/local/squid/var/logs/access.log); + strcpy(AccessLog,/var/squid/logs/access.log); sprintf(ExcludeCodes,%s/exclude_codes,SYSCONFDIR); strcpy(GraphDaysBytesBarColor,orange); strcpy(BgColor,#ff); -@@ -163,7 +163,7 @@ int main(argc,argv) +@@ -160,7 +160,7 @@ strcpy(LogoTextColor,#006699);
UPDATE: moinmoin-1.5.8
The changes in this release are as follows: Some bugfixes, including some security fixes (ACL-related, XSS, and disclosing of system information in tracebacks). This release adds timing.log, so you can improve your site's performance. It improves the CPU usage of some macros when bots visit your wiki. Upgrading is highly recommended for all users of older versions. Please test and commit. Thanks! Bruno Index: Makefile === RCS file: /cvs/ports/www/moinmoin/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile2007/02/13 09:13:43 1.5 +++ Makefile2007/05/14 15:40:21 @@ -2,7 +2,7 @@ COMMENT= Python clone of WikiWiki -DISTNAME= moin-1.5.7 +DISTNAME= moin-1.5.8 PKGNAME= moin${DISTNAME} CATEGORIES=www PKG_ARCH= * Index: distinfo === RCS file: /cvs/ports/www/moinmoin/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo2007/04/05 17:26:22 1.5 +++ distinfo2007/05/14 15:40:21 @@ -1,5 +1,5 @@ -MD5 (moin-1.5.7.tar.gz) = swTxwgVMfzvw3EjBQbKLMw== -RMD160 (moin-1.5.7.tar.gz) = +c1+thMqVbXwCXdp2JI79s1C0aE= -SHA1 (moin-1.5.7.tar.gz) = RsH2ZPTbsqmkrryZoMf+fz7/hYI= -SHA256 (moin-1.5.7.tar.gz) = F9BBhfmt5nDLExF/CLbD6euOOwTyDk+pKfdEwkYCIDs= -SIZE (moin-1.5.7.tar.gz) = 4411634 +MD5 (moin-1.5.8.tar.gz) = eWJerrZZB7+vizA22ByCpQ== +RMD160 (moin-1.5.8.tar.gz) = pkN0dG62d74R8ZQliL2mGYb/NF4= +SHA1 (moin-1.5.8.tar.gz) = /g4jB83U8jsVBWejdyJ7x5X+zg8= +SHA256 (moin-1.5.8.tar.gz) = VpybT3ss9BFxijrF5kJ8G6usuvGwhSdvgi2NCAQOSo8= +SIZE (moin-1.5.8.tar.gz) = 4351630 Index: pkg/PLIST === RCS file: /cvs/ports/www/moinmoin/pkg/PLIST,v retrieving revision 1.4 diff -u -r1.4 PLIST --- pkg/PLIST 2007/02/13 09:13:43 1.4 +++ pkg/PLIST 2007/05/14 15:40:24 @@ -431,6 +431,8 @@ lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/1050600.pyc lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/1050700.py lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/1050700.pyc +lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/1050800.py +lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/1050800.pyc lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/__init__.py lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/__init__.pyc lib/python${MODPY_VERSION}/site-packages/MoinMoin/script/migration/data.py
Re: UPDATE: MySQL 5.0.41
Le Sun, May 13, 2007 at 12:54:20PM -0400, Brad ecrivait : Here is an update to MySQL 5.0.41. Tested on amd64. Tested on i386, everything's fine so far.
Re: Systrace - 'systrace: intercept_get_string: ioctl: Invalid
Hi again, On 14/05/07, Otto Moerbeek [EMAIL PROTECTED] wrote: Nikolay Sturm has circulated a diff to solve the intercept_get_string problem, which resolves the problem for me. Has the patch been committed to CVS? -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett/
Re: Add -f flags to rm and mv
Ray Lai [EMAIL PROTECTED] wrote: Allows me to alias rm='rm -i' and make update-patches. While I'm here, add -f to other mv and rm commands. Okay? No. Something is very wrong here. Why do your interactive shell aliases propagate to random shells? I export ENV=~/.profile
Re: Add -f flags to rm and mv
On Mon, May 14, 2007 at 02:21:04PM -0400, Ray Lai wrote: Ray Lai [EMAIL PROTECTED] wrote: Allows me to alias rm='rm -i' and make update-patches. While I'm here, add -f to other mv and rm commands. Okay? No. Something is very wrong here. Why do your interactive shell aliases propagate to random shells? I export ENV=~/.profile That leads to 'funny' results. Do something like this in your .profile: if [ -o interactive ]; then : fi Tobias
update: sysutils/memtester: 4.0.6 - 4.0.7
Index: Makefile === RCS file: /cvs/ports/sysutils/memtester/Makefile,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 Makefile --- Makefile2007/03/15 15:49:06 1.1.1.1 +++ Makefile2007/05/14 21:14:33 @@ -2,7 +2,7 @@ COMMENT=Utility to test for faulty memory system -DISTNAME= memtester-4.0.6 +DISTNAME= memtester-4.0.7 CATEGORIES= sysutils @@ -16,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= ${HOMEPAGE} +MASTER_SITES= ${HOMEPAGE}/old-versions/ NO_REGRESS= Yes WANTLIB=c Index: distinfo === RCS file: /cvs/ports/sysutils/memtester/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- distinfo2007/04/05 19:23:42 1.2 +++ distinfo2007/05/14 21:14:33 @@ -1,5 +1,5 @@ -MD5 (memtester-4.0.6.tar.gz) = Dm9zNQdUQ+0IY6DfdWiTWQ== -RMD160 (memtester-4.0.6.tar.gz) = mC8zXN0xBm07jkstH/pvcbBDg9Q= -SHA1 (memtester-4.0.6.tar.gz) = sdytaZAA0vwlqMZvLOMkV6wUuco= -SHA256 (memtester-4.0.6.tar.gz) = Kkv4vayW1kmOMjuTlUCZ+xOp2S3dVwSqZVOUC4agcbs= -SIZE (memtester-4.0.6.tar.gz) = 16694 +MD5 (memtester-4.0.7.tar.gz) = sdHWIuxiGLF5ewg72cUAjQ== +RMD160 (memtester-4.0.7.tar.gz) = un7txYM2Ya0Q+NBPTZ4ADP6NG34= +SHA1 (memtester-4.0.7.tar.gz) = gs9heCdJjtqtHV7KBU4M0uaIwts= +SHA256 (memtester-4.0.7.tar.gz) = wh0x/7D+K5FVKhGcE4NkbesCsg6K+pvOUTporgcx+Sw= +SIZE (memtester-4.0.7.tar.gz) = 16817 -- GDB has a 'break' feature; why doesn't it have 'fix' too?
Re: NEW: textproc/gsed
GNU sed is the Free Software Foundation's version of the sed(1) editor. GNU sed isn't really a true text editor or text processor. Instead, it is used to filter text, i.e., it takes text input and performs some operation (or set of operations) on it and outputs the modified text. Sed is typically used for extracting part of a file using pattern matching or substituting multiple occurrences of a string within a file. The sed binary is prefixed with the letter g to differentiate it from the standard application with the same name. And what/who needs this?
Re: NEW: textproc/gsed
On 5/14/07, Peter Valchev [EMAIL PROTECTED] wrote: GNU sed is the Free Software Foundation's version of the sed(1) editor. GNU sed isn't really a true text editor or text processor. Instead, it is used to filter text, i.e., it takes text input and performs some operation (or set of operations) on it and outputs the modified text. Sed is typically used for extracting part of a file using pattern matching or substituting multiple occurrences of a string within a file. The sed binary is prefixed with the letter g to differentiate it from the standard application with the same name. And what/who needs this? Sorry, but, is that question relevant? I mean, shoudn't the ports tree have all the programs it can? :S
Re: wine-0.9.37 ktrace
On Sun, May 13, 2007 at 12:38:30AM +0200, Vortechz Anderson wrote: wine-0.9.37 compiles on OpenBSD 4.1, except the dnsapi Not for me. Do you have patches? The dnsapi error is this one, right? cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -O2 -pipe -o name.o name.c In file included from name.c:46: dnsapi.h:143: error: syntax error before ns_msg dnsapi.h:144: error: syntax error before '*' token I could get this to compile by adding a LIB_DEPENDS on libbind and adding CFLAGS=-I/usr/local/include/bind But then I hit this error: cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC - Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/local/incl ude/bind -o ipstats.o ipstats.c ipstats.c: In function `getNumRoutes': ipstats.c:630: error: `RTF_MULTICAST' undeclared (first use in this function) ipstats.c:630: error: (Each undeclared identifier is reported only once ipstats.c:630: error: for each function it appears in.) ipstats.c: In function `getRouteTable': ipstats.c:704: error: `RTF_MULTICAST' undeclared (first use in this function) Two places in this file he's looking at the routing table using sysctl and wishes to leave out entries that are not gateways or that are multicast. RTF_MULTICAST is defined in route.h in freebsd and linux but not in OpenBSD. Looking at this paragraph from the netstat man page, I though perhaps this wouldn't be an issue for OpenBSD, maybe the multicast check could be left out, maybe that's a separate table, but I'm uncertain: -g Show information related to multicast (group address) routing. By default, show the IP multicast virtual-interface and routing tables. If the -s option is also present, show multicast routing statistics. I left it out for myself and then hit this error... cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENT RANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/us r/local/include/bind -o cdrom.o cdrom.c cdrom.c: In function `DVD_ReadStructure': cdrom.c:1911: error: syntax error before s cdrom.c:1919: error: `s' undeclared (first use in this function) c This was a case where Linux, NetBSD, etc. have a typedef for the dvd_struct union in sys/cdio.h but OpenBSD has a regular union definition. Then I hit this... cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENT RANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/us r/local/include/bind -o signal_i386.o signal_i386.c signal_i386.c:325: error: `T_MCHK' undeclared here (not in a function) signal_i386.c:325: error: enumerator value for `TRAP_x86_MCHK' not integer constan t signal_i386.c:349: error: `T_XMMFLT' undeclared here (not in a function) signal_i386.c:349: error: enumerator value for `TRAP_x86_CACHEFLT' not integer con stant signal_i386.c: In function `segv_handler': signal_i386.c:1186: error: duplicate case value signal_i386.c:1181: error: previously used here Here, although there's an if defined including __OpenBSD__ at the top of an enum, there are two definitions with slightly different names in OpenBSD trap.h than they try to use. I'm guessing there will be more stuff to come, but I was wondering if you already worked through all these yourself to get it to compile. I hope to get it to compile sometime this week, although I'm not sure if I'll be able to help with threading issues. The archives mention something about using vfork in a weird, linux specific way. Maybe that would be something to look at? If you look at .../libs/wine/mmap.c there are some troubling comments above and within try_mmap_fixed, as well as an #if defined(__NetBSD__). Execution leads to segfault. (Note: Generic kernel _has_ SYSV MSG/SHM/SEMand I have not forgot sysctl machdep.userldt=1) I know there are some issues about wine's use of kernel threads on OpenBSD. I am clueless about the true problem though. If possible, I would like some comments on the ktrace kdump. // V.A. 25268 ktrace RET ktrace 0 25268 ktrace CALL ... execve(0xcfbc4960,0xcfbc4ebc,0xcfbc4ec8) 25268 ktrace NAMI /usr/local/bin/wine 25268 wine NAMI /usr/libexec/ld.so 25268 wine EMUL native 25268 wine RET execve 0 25268 wine CALL issetugid() 25268 wine RET issetugid 0 25268 wine CALL mprotect(0x2a6d5000,0x1000,0x1) 25268 wine RET mprotect 0 25268 wine CALL mmap(0,0x1000,0x3,0x1002,0x,0,0,0) 25268 wine RET mmap -1 errno 12 Cannot allocate memory 25268 wine PSIG SIGSEGV SIG_DFL code 1 addr=0xa6d7bec trapno=1 25268 wine NAMI wine.core -- Mike Small [EMAIL PROTECTED]