Re: UPDATE for devel/gconf2
Wim Lewis <[EMAIL PROTECTED]> wrote: > This patch makes a handful of packaging changes: > - Moves some WANTLIBs into LIB_DEPENDS to make the dependency tracker > happy. What dependency tracker are you talking about? > - Adds a 'gtk' flavor so that the whole Gtk UI stack doesn't get pulled > in in order to build the optional gconf-sanity-checker program. Maybe PSEUDO_FLAVOR and SUBPACKAGE can be used to do that? What does this gconf-sanity-check do anyway? BTW you should add FLAVOR description to pkg/DESCR, if you are using FLAVORs of course. > - Eliminate a redundant (I think) @unexec in PLIST. Hm... BTW it looks that there is new version of gconf, 2.11 or something like that ... Alek -- UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
UPDATE for devel/gconf2
This patch makes a handful of packaging changes: - Moves some WANTLIBs into LIB_DEPENDS to make the dependency tracker happy. - Adds a 'gtk' flavor so that the whole Gtk UI stack doesn't get pulled in in order to build the optional gconf-sanity-checker program. - Eliminate a redundant (I think) @unexec in PLIST. (No maintainer is listed) Index: Makefile === RCS file: /cvs/ports/devel/gconf2/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile24 May 2005 21:37:09 - 1.10 +++ Makefile14 Jul 2005 21:37:05 - @@ -4,7 +4,7 @@ VERSION= 2.10.0 DISTNAME= GConf-${VERSION} -PKGNAME= gconf2-${VERSION} +PKGNAME= gconf2-${VERSION}p1 CATEGORIES=devel HOMEPAGE= http://www.gnome.org/projects/gconf/ @@ -16,19 +16,19 @@ BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig LIB_DEPENDS= ORBit-2::devel/ORBit2 \ - gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \ + glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.0::devel/glib2 \ + popt::devel/popt \ xml2.6::textproc/libxml +FLAVORS= gtk +FLAVOR?= + # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= X11 Xft Xrender atk-1.0.0.0 c \ - fontconfig freetype glib-2.0.0.0 gmodule-2.0.0.0 \ - gobject-2.0.0.0 gthread-2.0.0.0 m pango-1.0.0.0 \ - pangoft2-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 \ - popt pthread z +WANTLIB= c m pthread z SEPARATE_BUILD=concurrent @@ -38,10 +38,19 @@ USE_GMAKE= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} -CONFIGURE_ARGS+= --disable-gtk-conf CONFIGURE_ARGS+= --enable-gconf-source=${DEFAULT_GCONF_SOURCE} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" + +.if ${FLAVOR:L:Mgtk} +LIB_DEPENDS+= gdk-x11-2.0.0.3,gdk_pixbuf-2.0.0.3,gtk-x11-2.0.0.3::x11/gtk+2 \ + pango-1.0.0.0,pangox-1.0.0.0,pangoft2-1.0.0.0,pangoxft-1.0.0.0::devel/pango \ + atk-1.0.0.0::devel/atk +WANTLIB+= X11 Xft Xrender fontconfig freetype +CONFIGURE_ARGS+= --enable-gtk +.else +CONFIGURE_ARGS+= --disable-gtk +.endif post-install: @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf2; \ Index: pkg/PLIST === RCS file: /cvs/ports/devel/gconf2/pkg/PLIST,v retrieving revision 1.11 diff -u -r1.11 PLIST --- pkg/PLIST 24 May 2005 21:37:09 - 1.11 +++ pkg/PLIST 14 Jul 2005 21:37:05 - @@ -24,7 +24,7 @@ lib/libgconf-2.la lib/pkgconfig/ lib/pkgconfig/gconf-2.0.pc -libexec/gconf-sanity-check-2 +%%gtk%% libexec/gconfd-2 @man man/man1/gconftool-2.1 share/aclocal/gconf-2.m4 @@ -187,4 +187,3 @@ share/sgml/gconf/ share/sgml/gconf/gconf-1.0.dtd %%SHARED%% [EMAIL PROTECTED] rmdir ${SYSCONFDIR}/gconf 2>/dev/null || true
Openbsd 3.7's Gnu Assembler (as) file "tagging" behaviour? "Operation not permitted" behaviour
I tried compiling the following code in OpenBSD using Gas (Gnu Assembler) but i got a "Operation not permitted" .. please note: that... the mounts i have on OpenBSD are not set with the "noexec" command .data msg:.asciz "Hello, world.\n" len = . - msg - 1 .text .global _start _start:. pushl $len pushl $msg pushl $1 movl$4, %eax calldo_syscall addl$12, %esp pushl $0 movl$1, %eax calldo_syscall do_syscall: int $0x80 ret i compiled it on a FreeBSD machine and the other one on my OpenBSD box ** FreeBSD box $as -o hello.o hello.s $ld -o hello hello.o $./hello Hello, world. $file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, not stripped ** OpenBSD box $as -o hello.o hello.s $ld -o hello hello.o $./hello sh: ./hello: Operation not permitted $file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped i noticed that the Gnu (AS) that FreeBSD uses will automatically "tagged" the file FreeBSD where as the Gnu (AS) that OpenBSD doesn't. is there a patch that can resolve this or a tweak of some sort .. I really want it to work on OpenBSD and not on the other BSD .. i picked OpenBSD coz it basically has all the docs I'll ever need together with the OS Regards, Edgar
Re: Any games with joystick support?
On Wed, 13 Jul 2005 23:50:34 + (UTC) [EMAIL PROTECTED] (Christian Weisgerber) wrote: > Christian Weisgerber <[EMAIL PROTECTED]> wrote: > > > In fact, are there _any_ game ports that handle a joystick? > > Is there anybody who uses a joystick with a game from ports *now*? > > Not years ago, or "it should work", or other such speculation. Some time ago I gave a go to trying to get my gravis joypads running along with zsnes. After going through usbhidctl and /usr/share/misc/usb_hid_usages I figured it would be pretty easy just to assign a letter to each of the actions and then use those to map everything in zsnes. Turned out that some buttons on the gamepad produced seemingly the same scancodes, never really did get it to work. usb_hid_usages does seems to give some sort of global standard, as they have scancodes for d-pad movement in there. // nick
Re: php4-4.4.0 for OPENBSD_3_7
>From "Robert Nagy" <[EMAIL PROTECTED]>: Robert Nagy> Hi there. Please test the following diff and give me reports. Robert Nagy> It includes XML-RPC 1.3.1 which fixes a secuirty vulnerability. Robert Nagy> http://www.vuxml.org/openbsd/b9d96cbe-f2d2-11d9-82d5-00065bd5b0b6.html Robert Nagy> The version 4.4.0 means that there was an internal php API change Robert Nagy> so i really need to know if it breaks your scripts or other stuff. Hi, I was only able to test -core and -mysql at the moment, but they seem to work fine for me. Tested on OPENBSD_3_7 on i386. Thanks, Roland -- UPIC GmbH, Schwarzwaldstr. 9 D - 63811 Stockstadt/Main Tel. +49 / 6027 / 1255 Fax. +49 / 6027 / 3565 http://www.upic.de , mailto:[EMAIL PROTECTED]
Re: php4-4.4.0 for OPENBSD_3_7
Noone else is testing this? Please do it. It is for you.
Re: gimp2
On Thu, Jul 14, 2005 at 07:12:50PM +, Edd Barrett wrote: > >... with a lot of help from Bernd Ahlers who updated my original gimp2 port > >to version 2.2.6. If anyone want's to try it, the unofficial version is > >available at: > > >* http://www.bytelabs.org/gimp-2.2.6.tgz > > This port builds and runs on sparc64. The Gimp 2.2.8 is in the tree since a few days. :)
Re: gimp2
... with a lot of help from Bernd Ahlers who updated my original gimp2 port to version 2.2.6. If anyone want's to try it, the unofficial version is available at: * http://www.bytelabs.org/gimp-2.2.6.tgz This port builds and runs on sparc64. Thanks
UPDATE: www/twiki
Here is an update to the latest release available of twiki, "TWiki20040902". Changelog is available here: http://twiki.org/cgi-bin/view/TWiki/TWikiHistory#01_Sep_2004_Release_Cairo Thanks. diff -urN /usr/ports/www/twiki/Makefile www/twiki/Makefile --- /usr/ports/www/twiki/Makefile Tue Mar 8 08:43:19 2005 +++ www/twiki/Makefile Thu Jul 14 14:11:40 2005 @@ -2,12 +2,13 @@ COMMENT= "web-based collaboration platform" -DISTNAME= TWiki20030201 -PKGNAME= TWiki-20030201 +DISTNAME= TWiki20040902 +PKGNAME= TWiki-20040902 CATEGORIES=www HOMEPAGE= http://twiki.org/ +# GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM=Yes @@ -19,24 +20,32 @@ NO_REGRESS=Yes PKG_ARCH= * -WRKDIST= ${WRKDIR} +WRKDIST= ${WRKDIR}/twiki PREFIX=/var/www -WWWDOCDIR= ${PREFIX}/htdocs -SUBST_VARS=WWWDOCDIR +WWWDOCDIR= ${PREFIX}/htdocs/twiki +WWWCGIDIR= ${PREFIX}/cgi-bin/twiki +SUBST_VARS=WWWDOCDIR WWWCGIDIR do-configure: - @perl -i -pe '[EMAIL PROTECTED]@[EMAIL PROTECTED]' ${WRKSRC}/lib/TWiki.cfg - @perl -i -pe '[EMAIL PROTECTED]@[EMAIL PROTECTED]' ${WRKSRC}/bin/setlib.cfg + @perl -i -pe '[EMAIL PROTECTED]@[EMAIL PROTECTED]' ${WRKSRC}/lib/TWiki.cfg @find ${WRKSRC} -name '*.orig' |xargs rm + @find ${WRKSRC} -name '*\,v' |xargs rm do-install: - ${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin/twiki - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/cgi-bin/twiki - ${INSTALL_DATA} ${WRKSRC}/lib/TWiki.cfg ${WRKSRC}/lib/TWiki.cfg-sample - ${INSTALL_DATA_DIR} ${WWWDOCDIR}/twiki + ${INSTALL_DATA_DIR} ${PREFIX}/conf + ${INSTALL_DATA} ${FILESDIR}/httpd-twiki.conf ${PREFIX}/conf/ + + ${INSTALL_DATA_DIR} ${WWWDOCDIR} + ${INSTALL_SCRIPT_DIR} ${WWWCGIDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${WWWCGIDIR} + +.for f in index.html robots.txt TWikiDocumentation.html TWikiHistory.html + ${INSTALL_DATA} ${WRKSRC}/${f} ${WWWDOCDIR} +.endfor + .for d in data lib pub templates - cp -R ${WRKSRC}/${d} ${WWWDOCDIR}/twiki + cp -R ${WRKSRC}/${d} ${WWWDOCDIR} .endfor .include diff -urN /usr/ports/www/twiki/distinfo www/twiki/distinfo --- /usr/ports/www/twiki/distinfo Wed Jan 5 18:39:02 2005 +++ www/twiki/distinfo Wed Jul 13 21:33:20 2005 @@ -1,4 +1,4 @@ -MD5 (TWiki20030201.tar.gz) = cbbd937b51b56c5343b5e72f1be6a0cf -RMD160 (TWiki20030201.tar.gz) = 3d83038448277df777dab68fa1c8f65cb37e82d1 -SHA1 (TWiki20030201.tar.gz) = 2819f903d260dab9a460401e115447e520b3ec42 -SIZE (TWiki20030201.tar.gz) = 892554 +MD5 (TWiki20040902.tar.gz) = d04b2041d83dc6c97905faa1c6b9116d +RMD160 (TWiki20040902.tar.gz) = fd3ceaaba61a8f20801274687caa17908839c609 +SHA1 (TWiki20040902.tar.gz) = 0615f18bfa4707bb2eb053bfa4cf8e6e491194bb +SIZE (TWiki20040902.tar.gz) = 1833008 diff -urN /usr/ports/www/twiki/files/httpd-twiki.conf www/twiki/files/httpd-twiki.conf --- /usr/ports/www/twiki/files/httpd-twiki.conf Thu Jan 1 01:00:00 1970 +++ www/twiki/files/httpd-twiki.confWed Jul 13 23:44:53 2005 @@ -0,0 +1,28 @@ +ScriptAlias /twiki/bin/ "/var/www/cgi-bin/twiki/" +Alias /twiki/ "/var/www/htdocs/twiki/" + + + Options +ExecCGI + SetHandler cgi-script + Allow from all + + + + Options FollowSymLinks +Includes + AllowOverride None + Allow from all + + + + Options FollowSymLinks +Includes + AllowOverride None + Allow from all + + + + Deny from all + + + + Deny from all + diff -urN /usr/ports/www/twiki/patches/patch-bin_setlib_cfg www/twiki/patches/patch-bin_setlib_cfg --- /usr/ports/www/twiki/patches/patch-bin_setlib_cfg Wed Apr 14 10:27:56 2004 +++ www/twiki/patches/patch-bin_setlib_cfg Thu Jul 14 09:33:29 2005 @@ -1,12 +1,12 @@ -$OpenBSD: patch-bin_setlib_cfg,v 1.1.1.1 2004/04/14 08:27:56 kevlo Exp $ bin/setlib.cfg.orig2003-02-02 02:45:15.0 + -+++ bin/setlib.cfg 2004-04-13 15:36:35.0 + -@@ -22,7 +22,7 @@ - # -- Change these settings if required +$OpenBSD$ +--- bin/setlib.cfg.origThu Jul 14 09:32:41 2005 bin/setlib.cfg Thu Jul 14 09:33:22 2005 +@@ -37,7 +37,7 @@ - #Path to lib directory containing TWiki.pm. Set to absolute file path: + #Path to lib directory containing TWiki.pm. + #ATTENTION: Set to absolute file path: -$twikiLibPath = '../lib'; -+$twikiLibPath = '%%WWWDOCDIR%%/twiki/lib'; ++$twikiLibPath = '/var/www/htdocs/twiki/lib'; #Path to local Perl modules (e.g. under home directory for users #without 'root' on Unix/Linux). Uncomment and set if needed: diff -urN /usr/ports/www/twiki/patches/patch-lib_TWiki_cfg www/twiki/patches/patch-lib_TWiki_cfg --- /usr/ports/www/twiki/patches/patch-lib_TWiki_cfgWed Apr 14 10:27:56 2004 +++ www/twiki/patches/patch-lib_TWiki_cfg Thu Jul 14 10:31:36 2005 @@ -1,28 +1,23 @@ -$OpenBSD: patch-lib_TWiki_cfg,v 1.1.1.1 2004/04/14 08:27
Re: Any games with joystick support?
Michael Knudsen <[EMAIL PROTECTED]> wrote: > I don't really know anything about joysticks, but could this be an > joystick-vs-joypad issue? (Analog vs. digital.) I know preciously little about modern joysticks, but the USB one I got didn't even include an MS Windows driver disk, so I assume there is a basic standard for this kind of device. Reading from /dev/uhid0 shows that every state change produces a three-byte message from the joystick; button presses/releases are encoded in a bit map, stick movements (which also actuate switches) produce other sequences. It all looks very straightforward. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]
Re: Any games with joystick support?
Christian Weisgerber <[EMAIL PROTECTED]> wrote: > In fact, are there _any_ game ports that handle a joystick? Is there anybody who uses a joystick with a game from ports *now*? Not years ago, or "it should work", or other such speculation. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]
Re: UPDATE: freeciv-2.0.3
On Wed, Jul 13, 2005 at 10:56:35PM +0100, Rui Reis wrote: > Attached is an update for freeciv, works for me on i386. > > please test and comment. > Rui Reis I think you forgot to remove the two patches. The diff below does it. Apart from that, Freeciv 2.0.3 seems to install and work okay. -p. Index: Makefile === RCS file: /cvs/ports/games/freeciv/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile9 Jul 2005 10:36:18 - 1.43 +++ Makefile14 Jul 2005 09:41:22 - @@ -4,7 +4,7 @@ COMMENT-client="Freeciv client" COMMENT-share= "shared data files for Freeciv" -VERSION= 2.0.2 +VERSION= 2.0.3 DISTNAME= freeciv-${VERSION} PKGNAME= freeciv-server-${VERSION} PKGNAME-client=freeciv-client-${VERSION} Index: distinfo === RCS file: /cvs/ports/games/freeciv/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo9 Jul 2005 10:36:18 - 1.5 +++ distinfo14 Jul 2005 09:41:22 - @@ -1,4 +1,4 @@ -MD5 (freeciv-2.0.2.tar.bz2) = dadd040a767dd5e1a7f1e18c7dfa756f -RMD160 (freeciv-2.0.2.tar.bz2) = 68eff4838530b4f4a1c20127ccdea06c7a77e580 -SHA1 (freeciv-2.0.2.tar.bz2) = 622d30417061c5a18ef3ace1df50691d729ce14d -SIZE (freeciv-2.0.2.tar.bz2) = 8456328 +MD5 (freeciv-2.0.3.tar.bz2) = 3a8fbcedc15ded1c1c48c78161cac0c9 +RMD160 (freeciv-2.0.3.tar.bz2) = e48ee19507c7fdc9018183eb8b833ad3b28573ad +SHA1 (freeciv-2.0.3.tar.bz2) = 8019458d54b1ea917745b30605c1f9f42d356cc8 +SIZE (freeciv-2.0.3.tar.bz2) = 8463169 Index: patches/patch-common_dataio_c === RCS file: patches/patch-common_dataio_c diff -N patches/patch-common_dataio_c --- patches/patch-common_dataio_c 2 Jun 2004 12:40:42 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,21 +0,0 @@ -$OpenBSD: patch-common_dataio_c,v 1.1 2004/06/02 12:40:42 sturm Exp $ common/dataio.c.orig 2003-12-02 19:56:58.0 +0100 -+++ common/dataio.c2004-05-06 12:27:37.0 +0200 -@@ -225,7 +225,7 @@ void dio_put_uint16(struct data_out *dou - void dio_put_uint32(struct data_out *dout, int value) - { - if (enough_space(dout, 4)) { --unsigned long x = htonl(value); -+unsigned int x = htonl(value); - - memcpy(ADD_TO_POINTER(dout->dest, dout->current), &x, 4); - dout->current += 4; -@@ -461,7 +461,7 @@ void dio_get_uint32(struct data_in *din, - { - if (enough_data(din, 4)) { - if (dest) { -- unsigned long x; -+ unsigned int x; - - memcpy(&x, ADD_TO_POINTER(din->src, din->current), 4); - *dest = ntohl(x); Index: patches/patch-configure === RCS file: patches/patch-configure diff -N patches/patch-configure --- patches/patch-configure 9 Jul 2005 10:36:18 - 1.8 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,21 +0,0 @@ -$OpenBSD: patch-configure,v 1.8 2005/07/09 10:36:18 alek Exp $ configure.orig 2004-05-31 13:55:42.0 +0200 -+++ configure 2004-05-31 13:57:44.0 +0200 -@@ -6855,7 +6860,7 @@ if test "${ac_cv_lib_intl_ngettext+set}" - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lintl $LIBS" -+LIBS="-lintl ${LIBICONV} $LIBS" - cat >conftest.$ac_ext <<_ACEOF - #line $LINENO "configure" - /* confdefs.h. */ -@@ -6908,7 +6913,7 @@ if test $ac_cv_lib_intl_ngettext = yes; - echo $ECHO_N "checking whether libintl's ngettext works at runtime... $ECHO_C" >&6 - - templibs="$LIBS" --LIBS=""-lintl" $LIBS" -+LIBS=""-lintl" ${LIBICONV} $LIBS" - templang="$LANG" - LANG="de_DE" - if test "$cross_compiling" = yes; then Index: pkg/PLIST === RCS file: /cvs/ports/games/freeciv/pkg/PLIST,v retrieving revision 1.11 diff -u -r1.11 PLIST --- pkg/PLIST 9 Jul 2005 10:36:18 - 1.11 +++ pkg/PLIST 14 Jul 2005 09:41:22 - @@ -1,3 +1,57 @@ @comment $OpenBSD: PLIST,v 1.11 2005/07/09 10:36:18 alek Exp $ bin/civserver @man man/man6/civserver.6 +share/freeciv/ +share/freeciv/civ1/ +share/freeciv/civ2/ +share/freeciv/default/ +share/freeciv/history/ +share/freeciv/nation/ +share/freeciv/scenario/ +share/locale/ +share/locale/ca/ +share/locale/ca/LC_MESSAGES/ +share/locale/cs/ +share/locale/cs/LC_MESSAGES/ +share/locale/da/ +share/locale/da/LC_MESSAGES/ +share/locale/de/ +share/locale/de/LC_MESSAGES/ +share/locale/en_GB/ +share/locale/en_GB/LC_MESSAGES/ +share/locale/es/ +share/locale/es/LC_MESSAGES/ +share/locale/et/ +share/locale/et/LC_MESSAGES/ +share/locale/fi/ +share/locale/fi/LC_MESSAGES/ +share/locale/fr/ +share/locale/fr/LC_MESSAGES/ +share/locale/he_IL/ +share/locale/he_IL/LC_MESSAGES/ +share/locale/hu/ +share/locale/hu/LC_MESSAGES/ +share/locale/it/ +share/locale/it/LC_MESSAGES/ +share/locale/ja/ +share/locale/ja/LC_MESSAGES/
FIX: Xaw3d
Hi! Since the X.org library bumps the Xaw3d package doesn't build correctly. The following diff solves that. Regards, Bernd Index: pkg/PFRAG.shared === RCS file: /cvs/ports/x11/Xaw3d/pkg/PFRAG.shared,v retrieving revision 1.6 diff -u -r1.6 PFRAG.shared --- pkg/PFRAG.shared5 Nov 2004 20:38:35 - 1.6 +++ pkg/PFRAG.shared14 Jul 2005 09:06:53 - @@ -1,2 +1,2 @@ @comment $OpenBSD: PFRAG.shared,v 1.6 2004/11/05 20:38:35 todd Exp $ [EMAIL PROTECTED] lib/libXaw3d.so.10.0 [EMAIL PROTECTED] lib/libXaw3d.so.11.0
Re: Any games with joystick support?
Jonathan Gray <[EMAIL PROTECTED]> wrote: > I think SDL currently only uses just joy (4/i386) for joysticks and ignores > USB based joysticks. joy(4) hardware is dead. When I looked for a matching joystick several years back, it was already a bizarre fossil. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]