Re: NEW: x11/radeontop (v5)
Works for me with amd64 and RV770 2013/9/21 Kyle R W Milz > Another one: > > - add sysutils to CATEGORIES, based on comments from Dmitrij >
Re: [NEW] Terminology-0.3.0
Someone is working on e17 ports ? 2013/9/17 David Coppa > On Mon, Sep 9, 2013 at 6:51 PM, Azwaw OUSADOU wrote: > > Hi ! > > > > I ported terminology, the terminal emulator supported by e17. > > > > Tested with an amd64 > > > > Please test it ! > > Thanks > > Hi! > > If you're an OpenBSD/E17 user and want to work on keeping E17 ports > up-to-date, it would be nice and highly appreciated ;) > > ciao, > David >
Re: [NEW] Terminology-0.3.0
Thanks for looking ! I join to this mail a corrected version of port. 2013/9/9 Stuart Henderson > On 2013/09/09 13:04, Brian Callahan wrote: > > On 9/9/2013 12:51 PM, Azwaw OUSADOU wrote: > > >Hi ! > > > > > >I ported terminology, the terminal emulator supported by e17. > > > > > >Tested with an amd64 > > > > > >Please test it ! > > >Thanks > > > > > > > Really quick untested eyeball: > > * You only need PERMIT_PACKAGE_CDROM=Yes > > * Missing PLIST goo > > To be more specific this needs the update-desktop-database markers that > you'll see in many other ports. Add them in the same place in PLIST as > is normally done. > Corrected. > > > * That DESCR is huge. You definitely don't need "Extract from > > website" and probably a lot of that other stuff too. > > Suggested alternative: > > Terminology is an X11 terminal, emulating a slightly extended vt100 > supporting most xterm/rxvt additions. It was written for Enlightenment, > but can be used with other desktop environments. Features include > address detection, transparency, backgrounds, themes, multiple tabs, > and support for inline display of various media by using helper apps. > > I like your description. Used in place of description copied from terminology website. > Other things: > > - inconsistent spacing styles in Makefile, some lines are 'FOO+=' > others are 'FOO += ...' > > - trailing whitespace in CONFIGURE_ENV > > - typo in directory name, s/terminolgy/terminology/ > > Corrected. > - does it actually need separate copies of the fonts or can it > use the ones from X / other packages? if it needs separate ones for > some reason, then you are missing license markers for fonts e.g. > terminus should be OFL. > > You right ! Port use now package terminus-font. Others polices are XFont copies, except nexus font. I have not informations for this police. https://github.com/kakaroto/e17/tree/master/terminology/data/fonts terminology.tar.gz Description: GNU Zip compressed data
[NEW] Terminology-0.3.0
Hi ! I ported terminology, the terminal emulator supported by e17. Tested with an amd64 Please test it ! Thanks terminology.tar.gz Description: GNU Zip compressed data
[UPDATE] emulators/spim 8.0
Hi ! This is an update to the latest version of spim, a MIPS simulator. It works fine on amd64 and i386 with many programs. test2.asm is proving that spim works well. No replies of the maintainer. Please test it. Azwaw OUSADOU spim2.diff Description: Binary data test2.asm Description: Binary data
Re: [UPDATE] x11/xscreensaver and deps
Hi ! I do cvs diff in place of manual diff. Azwaw OUSADOU 2012/8/8 Azwaw OUSADOU > I corrected my patches. I'm not sure for @pkgpath and @conflict marker but > it's upgrade properly. > > Azwaw OUSADOU > > > 2012/8/8 Stuart Henderson > >> On 2012/08/07 23:03, Azwaw OUSADOU wrote: >> > Hi, >> > >> > It's an update of xscreensaver ports to the latest version. I also >> update >> > gle and freeglut. >> > It seems to work on amd64 and i386. >> > >> > Please test it. >> > Azwaw OUSADOU >> >> -DISTNAME = freeglut-2.6.0 >> -REVISION = 1 >> -SHARED_LIBS = glut 4.1 >> +DISTNAME = freeglut-2.8.0 >> +SHARED_LIBS = glut 12.0 >> >> It's incorrect to bump like this, see >> http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs >> >> >> >> Looks like you are missing @pkgpath markers in xscreensaver following >> removal of the gle package, did you test update scenarios with pkg_add -u? >> >> >> > freeglut3.diff Description: Binary data gle3.diff Description: Binary data xscreensaver3.diff Description: Binary data
Re: [UPDATE] emulators/spim
Hi ! I do a cvs diff beacause it's easier to apply. BSDManiak 2012/8/7 Azwaw OUSADOU > Hello ! > > This is an update to latest version of spim. > > Works ok on amd64 > > Please test it, > Azwaw OUSADOU >
Re: [UPDATE] x11/xscreensaver and deps
I corrected my patches. I'm not sure for @pkgpath and @conflict marker but it's upgrade properly. Azwaw OUSADOU 2012/8/8 Stuart Henderson > On 2012/08/07 23:03, Azwaw OUSADOU wrote: > > Hi, > > > > It's an update of xscreensaver ports to the latest version. I also update > > gle and freeglut. > > It seems to work on amd64 and i386. > > > > Please test it. > > Azwaw OUSADOU > > -DISTNAME = freeglut-2.6.0 > -REVISION = 1 > -SHARED_LIBS = glut 4.1 > +DISTNAME = freeglut-2.8.0 > +SHARED_LIBS = glut 12.0 > > It's incorrect to bump like this, see > http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs > > > > Looks like you are missing @pkgpath markers in xscreensaver following > removal of the gle package, did you test update scenarios with pkg_add -u? > > > freeglut2.diff Description: Binary data gle2.diff Description: Binary data xscreensaver2.diff Description: Binary data
[UPDATE] emulators/spim
Hello ! This is an update to latest version of spim. Works ok on amd64 Please test it, Azwaw OUSADOU spim.diff Description: Binary data
[UPDATE] x11/xscreensaver and deps
Hi, It's an update of xscreensaver ports to the latest version. I also update gle and freeglut. It seems to work on amd64 and i386. Please test it. Azwaw OUSADOU freeglut.diff Description: Binary data gle.diff Description: Binary data xscreensaver.diff Description: Binary data
[UPDATE] x11/xdaliclock
Hi, It's an update to the latest version of xdaliclock. It works on i386 and amd64. Please test it. Azwaw OUSADOU xdaliclock.diff Description: Binary data
[NEW] math/geogebra
Hi, This is a port of geogebra. It Works on amd64 and i386 Please test it, Azwaw OUSADOU geogebra.tar.gz Description: GNU Zip compressed data
[UPDATE] emulator/spim
Hi, Update to 8.0 version. It works fine on amd64 and i386. Please test it. Thanks, BSDManiak == test.asm == .data msg1: .asciiz "Please enter 3 integers :\n Integer 1: " msg2: .asciiz "Integer 2: " msg3: .asciiz "Integer 3: " msg4: .asciiz "The sum of 3 integers is: " nl: .asciiz "\n" .text .globl main main: li $v0, 4 la $a0, msg1 syscall li $v0, 5 syscall move $s0, $v0 li $v0, 4 la $a0, msg2 syscall li $v0, 5 syscall add $s0, $s0, $v0 li $v0, 4 la $a0, msg3 syscall li $v0, 5 syscall add $s0, $s0, $v0 li $v0, 4 la $a0, msg4 syscall li $v0, 1 move $a0, $s0 syscall li $v0, 5 la $a0, nl syscall li $v0, 10 syscall == === spim.diff === diff -urN emulators/spim/Makefile mystuff/emulators/spim/Makefile --- emulators/spim/Makefile Tue Nov 16 00:22:08 2010 +++ mystuff/emulators/spim/Makefile Wed Nov 23 18:29:59 2011 @@ -2,8 +2,7 @@ COMMENT= MIPS R2000/R3000 simulator -DISTNAME= spim-7.3 -REVISION= 2 +DISTNAME= spim-8.0 CATEGORIES=emulators HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html @@ -16,8 +15,7 @@ PERMIT_DISTFILES_CDROM= may not sell PERMIT_DISTFILES_FTP= may not bundle with commercial product -WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c m \ - pthread-stubs xcb +WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c m MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ diff -urN emulators/spim/distinfo mystuff/emulators/spim/distinfo --- emulators/spim/distinfo Thu Apr 5 17:38:09 2007 +++ mystuff/emulators/spim/distinfo Mon Nov 21 19:27:22 2011 @@ -1,5 +1,5 @@ -MD5 (spim-7.3.tar.gz) = UgAhcJgtFX/YnURbSBvSIw== -RMD160 (spim-7.3.tar.gz) = +HEWggdV/3YIeIm70POeqsvOIBo= -SHA1 (spim-7.3.tar.gz) = Ywt168k2UJPhs9DJjKBST3cthkc= -SHA256 (spim-7.3.tar.gz) = 194GE1xRkQgFWpCr53ztTjbexPfyfOGi/KAFn4bN810= -SIZE (spim-7.3.tar.gz) = 347226 +MD5 (spim-8.0.tar.gz) = FGVY6CVvK3V3+4Jf3HagTw== +RMD160 (spim-8.0.tar.gz) = Ep5hpu4vM4q+Lq+xdawW/A69IMc= +SHA1 (spim-8.0.tar.gz) = l5uR4Ky3kjEFk9Mapl5JzM7HMDY= +SHA256 (spim-8.0.tar.gz) = byBXdsufoRJylQcAiEOyiQEhkO0xMcvUJsYQpYOH7ks= +SIZE (spim-8.0.tar.gz) = 355204 diff -urN emulators/spim/patches/patch-Documentation_spim_man mystuff/emulators/spim/patches/patch-Documentation_spim_man --- emulators/spim/patches/patch-Documentation_spim_man Thu Oct 13 11:06:54 2005 +++ mystuff/emulators/spim/patches/patch-Documentation_spim_man Thu Jan 1 01:00:00 1970 @@ -1,9 +0,0 @@ -$OpenBSD: patch-Documentation_spim_man,v 1.1 2005/10/13 09:06:54 kevlo Exp $ Documentation/spim.man.origThu Oct 13 15:34:18 2005 -+++ Documentation/spim.man Thu Oct 13 15:34:21 2005 -@@ -1,5 +1,4 @@ - .\" $Header: /cvs/ports/emulators/spim/patches/patch-Documentation_spim_man,v 1.1 2005/10/13 09:06:54 kevlo Exp $ -- - .TH spim 1 - .SH NAME - spim \- A MIPS32 Simulator diff -urN emulators/spim/patches/patch-spim_Configure mystuff/emulators/spim/patches/patch-spim_Configure --- emulators/spim/patches/patch-spim_Configure Thu Oct 13 11:06:54 2005 +++ mystuff/emulators/spim/patches/patch-spim_Configure Wed Nov 23 18:20:37 2011 @@ -1,6 +1,6 @@ -$OpenBSD: patch-spim_Configure,v 1.1 2005/10/13 09:06:54 kevlo Exp $ spim/Configure.origThu Oct 13 15:18:37 2005 -+++ spim/Configure Thu Oct 13 15:18:54 2005 +$OpenBSD$ +--- spim/Configure.origWed Nov 23 18:20:17 2011 spim/Configure Wed Nov 23 18:20:32 2011 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh diff -urN emulators/spim/patches/patch-spim_Makefile mystuff/emulators/spim/patches/patch-spim_Makefile --- emulators/spim/patches/patch-spim_Makefile Thu Nov 9 08:01:47 2006 +++ mystuff/emulators/spim/patches/patch-spim_Makefile Wed Nov 23 18:26:36 2011 @@ -1,7 +1,7 @@ -$OpenBSD: patch-spim_Makefile,v 1.2 2006/11/09 07:01:47 kevlo Exp $ spim/Makefile.orig Tue Aug 29 02:23:19 2006 -+++ spim/Makefile Thu Nov 9 12:08:01 2006 -@@ -45,6 +45,8 @@ +$OpenBSD$ +--- spim/Makefile.orig Wed Nov 23 18:24:13 2011 spim/Makefile Wed Nov 23 18:26:30 2011 +@@ -57,6 +57,8 @@ CPU_DIR = ../CPU VPATH = src:$(CPU_DIR) @@ -10,20 +10,24 @@ # Path of directory that contains SPIM tests: TEST_DIR = ../Tests -@@ -57,10 +59,10 @@ DOC_DIR = ../Documentation - BIN_DIR = /usr/local/bin +@@ -66,13 +68,13 @@ DOC_DIR = ../Documentation + + # Full path for the directory that will hold the executable files: +-BIN_DIR = /usr/local/bin ++BIN_DIR = ${PREFIX}/bin + # Full path for the directory that will hold the exception handler: --EXCEPTION_DIR = /usr/local/lib -+EXCEPTION_DIR = $(PREFIX)/share/spim +-EXCEPTION_DIR = /usr/local/lib/spim ++EXCEPTION_DIR = ${PREFIX}/share/spim # Full path for the directory that will hold the man files: --MAN_DIR =
[UPDATE] net/amsn
Hi, It's an update to the latest amsn version. It works fine in i386 and amd64. Please test it. Thanks, BSDManiak === amsn.diff === diff -urN net/amsn/Makefile mystuff/net/amsn/Makefile --- net/amsn/Makefile Thu Apr 5 18:08:55 2012 +++ mystuff/net/amsn/Makefile Sun Jul 15 17:23:09 2012 @@ -2,8 +2,7 @@ COMMENT= open source MSN Messenger clone -V= 0.98.4 -REVISION= 0 +V= 0.98.9 DISTNAME= amsn-$V-src PKGNAME= ${DISTNAME:S/-src//} CATEGORIES=net @@ -22,8 +21,8 @@ EXTRACT_SUFX= .tar.bz2 WANTLIB= ICE SM X11 m stdc++ z glib-2.0 gmodule-2.0 gobject-2.0 \ - gthread-2.0 gstbase-0.10 gstinterfaces-0.10 \ - gstreamer-0.10 xml2 jpeg png farstream-0.1 + gthread-2.0 gstbase-0.10 gstreamer-0.10 xml2 jpeg png \ + farstream-0.1 gstinterfaces-0.10 LIB_DEPENDS= graphics/jpeg \ graphics/png \ @@ -35,7 +34,6 @@ BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS} \ security/tcltls \ graphics/png:configure -# CxImage requires access to internal png headers. MODTK_THREADED= Yes MODULES= devel/gettext \ @@ -43,7 +41,6 @@ USE_GMAKE= Yes MAKE_FLAGS=verbose=yes - CONFIGURE_STYLE=gnu CONFIGURE_ARGS+=--disable-libv4l \ --disable-upnp \ diff -urN net/amsn/distinfo mystuff/net/amsn/distinfo --- net/amsn/distinfo Thu Jul 7 15:14:29 2011 +++ mystuff/net/amsn/distinfo Sun Jul 8 17:39:39 2012 @@ -1,5 +1,5 @@ -MD5 (amsn-0.98.4-src.tar.bz2) = lv0g6HCc7URDQy0SWl4KWg== -RMD160 (amsn-0.98.4-src.tar.bz2) = jgw73ekCVA/nWbAZeER8xg2PvrM= -SHA1 (amsn-0.98.4-src.tar.bz2) = 4AdhyUWtR+C3FcafH58Y9aS/KHw= -SHA256 (amsn-0.98.4-src.tar.bz2) = eqEacZm0zaXoFEk90WCRWrTE+WwE3iwf58L+I+6rqHE= -SIZE (amsn-0.98.4-src.tar.bz2) = 13513233 +MD5 (amsn-0.98.9-src.tar.bz2) = E4hczJlysnIuM1UmAcWytA== +RMD160 (amsn-0.98.9-src.tar.bz2) = ra5JMKzRPO+KhSF0DWOX70mas3s= +SHA1 (amsn-0.98.9-src.tar.bz2) = PDidrLM9lrbnoO3yGDGfU4S2nuM= +SHA256 (amsn-0.98.9-src.tar.bz2) = H9JiBInMNieoQXc6ec8op8nEOJecdtN/Ixp3Onnn8j4= +SIZE (amsn-0.98.9-src.tar.bz2) = 13520050 diff -urN net/amsn/patches/patch-Compile_mk mystuff/net/amsn/patches/patch-Compile_mk --- net/amsn/patches/patch-Compile_mk Thu Apr 5 18:08:55 2012 +++ mystuff/net/amsn/patches/patch-Compile_mk Thu Jan 1 01:00:00 1970 @@ -1,25 +0,0 @@ -$OpenBSD: patch-Compile_mk,v 1.1 2012/04/05 16:08:55 jasper Exp $ - -Port from farsight2 to farstream, from Fedora's amsn-0.98.4-farstream.patch - Compile.mk.origThu Oct 15 10:39:25 2009 -+++ Compile.mk Thu Apr 5 14:01:55 2012 -@@ -22,15 +22,15 @@ compile_m = $(CC) $(CFLAGS) -ObjC -fobjc-gc -c -o $@ - compile_cc = $(CXX) $(CXXFLAGS) -c -o $@ $< - - ifeq ($(FOUND_OS),mac) --compile_farsight = $(CC) $(CFLAGS) -ObjC -fobjc-gc $(GST_CFLAGS) $(FARSIGHT2_CFLAGS) -c -o $@ $< -+compile_farsight = $(CC) $(CFLAGS) -ObjC -fobjc-gc $(GST_CFLAGS) $(FARSTREAM_CFLAGS) -c -o $@ $< - SHARED:= -dynamiclib -fno-common -Wl,-single_module -shared-libgcc - else --compile_farsight = $(CC) $(CFLAGS) $(GST_CFLAGS) $(FARSIGHT2_CFLAGS) -c -o $@ $< -+compile_farsight = $(CC) $(CFLAGS) $(GST_CFLAGS) $(FARSTREAM_CFLAGS) -c -o $@ $< - SHARED:= -shared - endif - - link_app = $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ --link_farsight = $(CC) $(LDFLAGS) $^ $(LDLIBS) $(GST_LIBS) $(FARSIGHT2_LIBS) $(SHARED) -o $@ -+link_farsight = $(CC) $(LDFLAGS) $^ $(LDLIBS) $(GST_LIBS) $(FARSTREAM_LIBS) $(SHARED) -o $@ - link_so = $(CC) $(LDFLAGS) $^ $(LDLIBS) $(SHARED) -o $@ - link_so_addlibs = $(link_so) $(ADDLIBS) - link_so_cpp = $(CXX) $(LDFLAGS) $^ $(LDLIBS) $(CXX_LIB) $(SHARED) -o $@ diff -urN net/amsn/patches/patch-Makefile_in mystuff/net/amsn/patches/patch-Makefile_in --- net/amsn/patches/patch-Makefile_in Thu Apr 5 18:08:55 2012 +++ mystuff/net/amsn/patches/patch-Makefile_in Sat Jul 14 20:02:52 2012 @@ -1,7 +1,7 @@ -$OpenBSD: patch-Makefile_in,v 1.6 2012/04/05 16:08:55 jasper Exp $ Makefile.in.orig Thu Mar 18 20:58:48 2010 -+++ Makefile.inThu Apr 5 14:03:25 2012 -@@ -11,10 +11,10 @@ STATIC := @STATIC@ +$OpenBSD$ +--- Makefile.in.orig Fri May 18 21:28:05 2012 Makefile.inSat Jul 14 19:55:28 2012 +@@ -16,10 +16,10 @@ STATIC := @STATIC@ doc_files := docs INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help FILES_TO_INSTALL := *.tcl hotmlog.htm amsn amsn-remote amsn-remote-CLI amsn.desktop langlist @@ -14,51 +14,35 @@ FILES_TO_INSTALL += plugins utils/sexytile FILES_TO_INSTALL += utils/log utils/uri utils/combobox utils/voipcontrols FILES_TO_INSTALL += utils/md4 utils/sasl ca-certs -@@ -82,7 +82,7 @@ USE_MMX := @USE_MMX@ - # build final cflags - CFLAGS := @CFLAGS@ - ifeq (@DEBUG@,no) --CFLAGS += -O2 -+#CFLAGS += -O2 - else - CFLAGS += -g3 -DDEBUG - endif -@@ -104,9 +104,9 @@ CFLAGS += -DPACKAGE='"$(PACKAGE)"' - CFLAGS += -DVERSION='"$(VERSION)"' - CFLAGS += -DLIBDIR='"$
Re: [NEW] math/geogebra
I think it's ok now. 2012/4/8, Azwaw OUSADOU : > Usage of gtk-update-icon-cache : > http://old.nabble.com/gtk-update-icon-cache-td32909590.html > > geogebra needs gtk-update-icon-cache :) > > 2012/4/7 Stuart Henderson > >> On 2012/04/07 23:21, Azwaw OUSADOU wrote: >> > This seems ok with DIFF_ARGS= -a >> > >> > Thanks ;) >> >> Nearly there, just a few minor issues:- >> >> - The 'chown' at the bottom of do-install can be handled directly >> by SUBST_CMD: >> >>${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \ >>${WRKSRC}/geogebra-${V}/geogebra.desktop \ >>${PREFIX}/share/applications/geogebra.desktop >> >> - There is a problem with the icons path: >> >> share/icons/ >> share/icons/icons/ >> share/icons/icons/hicolor/ >> >> - Missing update-desktop-database goo in the PLIST; add this to the >> bottom: >> >> @exec %D/bin/update-desktop-database >> @unexec-delete %D/bin/update-desktop-database >> >> - May also need gtk-update-icon-cache, I never remember when this is >> needed and when not ;) >> > geogebra Description: GNU Zip compressed data
Re: [NEW] math/geogebra
Usage of gtk-update-icon-cache : http://old.nabble.com/gtk-update-icon-cache-td32909590.html geogebra needs gtk-update-icon-cache :) 2012/4/7 Stuart Henderson > On 2012/04/07 23:21, Azwaw OUSADOU wrote: > > This seems ok with DIFF_ARGS= -a > > > > Thanks ;) > > Nearly there, just a few minor issues:- > > - The 'chown' at the bottom of do-install can be handled directly > by SUBST_CMD: > >${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \ >${WRKSRC}/geogebra-${V}/geogebra.desktop \ >${PREFIX}/share/applications/geogebra.desktop > > - There is a problem with the icons path: > > share/icons/ > share/icons/icons/ > share/icons/icons/hicolor/ > > - Missing update-desktop-database goo in the PLIST; add this to the > bottom: > > @exec %D/bin/update-desktop-database > @unexec-delete %D/bin/update-desktop-database > > - May also need gtk-update-icon-cache, I never remember when this is > needed and when not ;) >
Re: [NEW] math/geogebra
This seems ok with DIFF_ARGS= -a Thanks ;) 2012/4/7, Antoine Jacoutot : > On Sat, Apr 07, 2012 at 07:40:52PM +0200, Azwaw OUSADOU wrote: >> Hi, >> >> I fixed the patch. I have a problem with the desktop file. I can't use >> diff on this file because diff recognizes it as a binary file. > > You can, use > DIFF_ARGS = -a > > >> >> Azwaw OUSADOU >> >> 2012/4/4, Daniel Dickman : >> > Hi, I think the licensing might have changed since I last took a look. >> > Have a look at the link. You will need to change the comments in the >> > Makefile: >> > http://www.geogebra.org/download/license.txt >> > >> > In particular, it looks like the source is now GPLv3. The good thing >> > is it looks like they removed the Flanagan library which had a >> > problematic license. See: >> > http://dev.geogebra.org/trac/changeset/9322 >> > http://dev.geogebra.org/trac/browser/branches/ggb32/geogebra/geogebra/kernel/roots/RealRoot.java?order=name >> > >> > Did they start including a geogebra.desktop file in the distribution? >> > As well as the icon file? >> > >> > >> > On Wed, Apr 4, 2012 at 3:09 PM, Azwaw OUSADOU >> > wrote: >> >> Hi, >> >> >> >> I continue your work with the latest version of geogebra, it's work >> >> fine for me in amd64. >> >> >> >> >> >> 2010/4/11, Daniel Dickman : >> >>> Here is a new port for GeoGebra. There was an earlier attempt by Azwaw >> >>> Ousadou[1], but below is an independent effort by myself. Tested on >> >>> amd64. >> >>> >> >>> # pkg_info geogebra >> >>> Information for inst:geogebra-3.2.41.0 >> >>> >> >>> Comment: >> >>> educational mathematical software >> >>> >> >>> Description: >> >>> GeoGebra is free and multi-platform dynamic mathematics software for >> >>> learning and teaching. It has received several educational software >> >>> awards in Europe and the USA. >> >>> >> >>> Maintainer: The OpenBSD ports mailing-list >> >>> >> >>> WWW: http://www.geogebra.org >> >>> >> >>> >> >>> [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 >> >>> >> > > > > > -- > Antoine > geogebra.tar.gz Description: GNU Zip compressed data
Re: [NEW] math/geogebra
Hi, I fixed the patch. I have a problem with the desktop file. I can't use diff on this file because diff recognizes it as a binary file. Azwaw OUSADOU 2012/4/4, Daniel Dickman : > Hi, I think the licensing might have changed since I last took a look. > Have a look at the link. You will need to change the comments in the > Makefile: > http://www.geogebra.org/download/license.txt > > In particular, it looks like the source is now GPLv3. The good thing > is it looks like they removed the Flanagan library which had a > problematic license. See: > http://dev.geogebra.org/trac/changeset/9322 > http://dev.geogebra.org/trac/browser/branches/ggb32/geogebra/geogebra/kernel/roots/RealRoot.java?order=name > > Did they start including a geogebra.desktop file in the distribution? > As well as the icon file? > > > On Wed, Apr 4, 2012 at 3:09 PM, Azwaw OUSADOU wrote: >> Hi, >> >> I continue your work with the latest version of geogebra, it's work >> fine for me in amd64. >> >> >> 2010/4/11, Daniel Dickman : >>> Here is a new port for GeoGebra. There was an earlier attempt by Azwaw >>> Ousadou[1], but below is an independent effort by myself. Tested on >>> amd64. >>> >>> # pkg_info geogebra >>> Information for inst:geogebra-3.2.41.0 >>> >>> Comment: >>> educational mathematical software >>> >>> Description: >>> GeoGebra is free and multi-platform dynamic mathematics software for >>> learning and teaching. It has received several educational software >>> awards in Europe and the USA. >>> >>> Maintainer: The OpenBSD ports mailing-list >>> >>> WWW: http://www.geogebra.org >>> >>> >>> [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 >>> > geogebra.tar.gz Description: GNU Zip compressed data
Re: [UPDATE] emulators/spim
Hi, I corrected my diff. Azwaw OUSADOU 2012/4/6, Stuart Henderson : > On 2012/04/04 19:14, Azwaw OUSADOU wrote: >> Here is the update to version 8.2 of spim. I Have not response from >> maintener. >> >> test.asm it's a simple MIPS code for test spim. >> >> Have fun, >> Azwaw OUSADOU > > > Your diff is difficult to apply, please send a cvs diff instead. > The easiest way to copy your modified files across is probably to > do something like this:- > > rsync -avC --delete /usr/ports/mystuff/emulators/spim/ > /usr/ports/emulators/spim/ > > diff -urN emulators/spim/Makefile mystuff/emulators/spim/Makefile --- emulators/spim/Makefile Tue Nov 16 00:22:08 2010 +++ mystuff/emulators/spim/Makefile Wed Nov 23 18:29:59 2011 @@ -2,8 +2,7 @@ COMMENT= MIPS R2000/R3000 simulator -DISTNAME= spim-7.3 -REVISION= 2 +DISTNAME= spim-8.0 CATEGORIES= emulators HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html @@ -16,8 +15,7 @@ PERMIT_DISTFILES_CDROM= may not sell PERMIT_DISTFILES_FTP= may not bundle with commercial product -WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c m \ - pthread-stubs xcb +WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c m MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ diff -urN emulators/spim/distinfo mystuff/emulators/spim/distinfo --- emulators/spim/distinfo Thu Apr 5 17:38:09 2007 +++ mystuff/emulators/spim/distinfo Mon Nov 21 19:27:22 2011 @@ -1,5 +1,5 @@ -MD5 (spim-7.3.tar.gz) = UgAhcJgtFX/YnURbSBvSIw== -RMD160 (spim-7.3.tar.gz) = +HEWggdV/3YIeIm70POeqsvOIBo= -SHA1 (spim-7.3.tar.gz) = Ywt168k2UJPhs9DJjKBST3cthkc= -SHA256 (spim-7.3.tar.gz) = 194GE1xRkQgFWpCr53ztTjbexPfyfOGi/KAFn4bN810= -SIZE (spim-7.3.tar.gz) = 347226 +MD5 (spim-8.0.tar.gz) = FGVY6CVvK3V3+4Jf3HagTw== +RMD160 (spim-8.0.tar.gz) = Ep5hpu4vM4q+Lq+xdawW/A69IMc= +SHA1 (spim-8.0.tar.gz) = l5uR4Ky3kjEFk9Mapl5JzM7HMDY= +SHA256 (spim-8.0.tar.gz) = byBXdsufoRJylQcAiEOyiQEhkO0xMcvUJsYQpYOH7ks= +SIZE (spim-8.0.tar.gz) = 355204 diff -urN emulators/spim/patches/patch-Documentation_spim_man mystuff/emulators/spim/patches/patch-Documentation_spim_man --- emulators/spim/patches/patch-Documentation_spim_man Thu Oct 13 11:06:54 2005 +++ mystuff/emulators/spim/patches/patch-Documentation_spim_man Thu Jan 1 01:00:00 1970 @@ -1,9 +0,0 @@ -$OpenBSD: patch-Documentation_spim_man,v 1.1 2005/10/13 09:06:54 kevlo Exp $ Documentation/spim.man.orig Thu Oct 13 15:34:18 2005 -+++ Documentation/spim.man Thu Oct 13 15:34:21 2005 -@@ -1,5 +1,4 @@ - .\" $Header: /cvs/ports/emulators/spim/patches/patch-Documentation_spim_man,v 1.1 2005/10/13 09:06:54 kevlo Exp $ -- - .TH spim 1 - .SH NAME - spim \- A MIPS32 Simulator diff -urN emulators/spim/patches/patch-spim_Configure mystuff/emulators/spim/patches/patch-spim_Configure --- emulators/spim/patches/patch-spim_Configure Thu Oct 13 11:06:54 2005 +++ mystuff/emulators/spim/patches/patch-spim_Configure Wed Nov 23 18:20:37 2011 @@ -1,6 +1,6 @@ -$OpenBSD: patch-spim_Configure,v 1.1 2005/10/13 09:06:54 kevlo Exp $ spim/Configure.orig Thu Oct 13 15:18:37 2005 -+++ spim/Configure Thu Oct 13 15:18:54 2005 +$OpenBSD$ +--- spim/Configure.orig Wed Nov 23 18:20:17 2011 spim/Configure Wed Nov 23 18:20:32 2011 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh diff -urN emulators/spim/patches/patch-spim_Makefile mystuff/emulators/spim/patches/patch-spim_Makefile --- emulators/spim/patches/patch-spim_Makefile Thu Nov 9 08:01:47 2006 +++ mystuff/emulators/spim/patches/patch-spim_Makefile Wed Nov 23 18:26:36 2011 @@ -1,7 +1,7 @@ -$OpenBSD: patch-spim_Makefile,v 1.2 2006/11/09 07:01:47 kevlo Exp $ spim/Makefile.orig Tue Aug 29 02:23:19 2006 -+++ spim/Makefile Thu Nov 9 12:08:01 2006 -@@ -45,6 +45,8 @@ +$OpenBSD$ +--- spim/Makefile.orig Wed Nov 23 18:24:13 2011 spim/Makefile Wed Nov 23 18:26:30 2011 +@@ -57,6 +57,8 @@ CPU_DIR = ../CPU VPATH = src:$(CPU_DIR) @@ -10,20 +10,24 @@ # Path of directory that contains SPIM tests: TEST_DIR = ../Tests -@@ -57,10 +59,10 @@ DOC_DIR = ../Documentation - BIN_DIR = /usr/local/bin +@@ -66,13 +68,13 @@ DOC_DIR = ../Documentation + + # Full path for the directory that will hold the executable files: +-BIN_DIR = /usr/local/bin ++BIN_DIR = ${PREFIX}/bin + # Full path for the directory that will hold the exception handler: --EXCEPTION_DIR = /usr/local/lib -+EXCEPTION_DIR = $(PREFIX)/share/spim +-EXCEPTION_DIR = /usr/local/lib/spim ++EXCEPTION_DIR = ${PREFIX}/share/spim # Full path for the directory that will hold the man files: --MAN_DIR = /usr/man/mann -+MAN_DIR = $(PREFIX)/man/man1 +-MAN_DIR = /usr/local/man/en ++MAN_DIR = ${PREFIX}/man/man1 # If you have flex, use it instead of lex. If you use flex, define this -@@ -97,7 +99,7 @@ CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g +@@ -109,7 +111,7 @@ CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall YFLAGS = -d --file-prefix=y YCFLAGS = LDFLAGS = -lm @@ -32,12 +36,3 @@ # lex.
Re: [NEW] math/geogebra
Hi, I continue your work with the latest version of geogebra, it's work fine for me in amd64. 2010/4/11, Daniel Dickman : > Here is a new port for GeoGebra. There was an earlier attempt by Azwaw > Ousadou[1], but below is an independent effort by myself. Tested on > amd64. > > # pkg_info geogebra > Information for inst:geogebra-3.2.41.0 > > Comment: > educational mathematical software > > Description: > GeoGebra is free and multi-platform dynamic mathematics software for > learning and teaching. It has received several educational software > awards in Europe and the USA. > > Maintainer: The OpenBSD ports mailing-list > > WWW: http://www.geogebra.org > > > [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 > geogebra.tar.gz Description: GNU Zip compressed data
[UPDATE] emulators/spim
Here is the update to version 8.2 of spim. I Have not response from maintener. test.asm it's a simple MIPS code for test spim. Have fun, Azwaw OUSADOU spim.diff Description: Binary data test.asm Description: Binary data
[UPDATE] emulators/spim
Tested ok in amd64 with lot of MIPS programs. spim.diff Description: Binary data
Re: [UPDATE] net/amsn
amsn contain a different version for bwidget. bwidget of ports cause some crashs. 2011/6/13 Jasper Lievisse Adriaanse > On Fri, Jun 10, 2011 at 07:05:54PM +0200, Azwaw OUSADOU wrote: > > Tested ok on amd64 and i386 ! > > > > BSDManiak > > Why was the dependency on x11/bwidget removed? > > -- > Cheers, > Jasper > > "Capable, generous men do not create victims, they nurture them." >
[UPDATE] net/amsn
Tested ok on amd64 and i386 ! BSDManiak amsn.diff Description: Binary data
Re: [NEW] math/geogebra
Thanks for your test and your comments. I updated to the latest version. I have a problem with ${JAVA_HOME}. I can't replace it in files/geogebra with ${SUBST_CMD}. Any Idea ? Thanks ! -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data
[NEW] math/geogebra
Geogebra work now with the latest snapshots. Please test it. Thanks :) -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data
[NEW] math/geogebra
Hi, I'm trying to port geogebra to OpenBSD. But I Have a problem when i lunch geogebra i have this error: ./toz bash-4.0$ export LAX_DEBUG=./toz bash-4.0$ geogebra = Analyzing UNIX Environment = Setting UNIX (openbsd) flavor specifics. Importing UNIX environment into LAX properties. Checking for POSIX awk. = Analyzing LAX == LAX found OK. LAX properties read.. OK. = Finding VM = Valid VM types.. 1.4.2+ Absolute LAX_VM path /usr/local/jdk-1.7.0/jre/bin/java Expanded Valid VM types. 1.4.2+ * Using VM.(lax.nl.current.vm).. /usr/local/jdk-1.7.0/jre/bin/java = Virtual Machine Options LAX properties incorporated. OK. classpath... "/usr/local/share/geogebra/geogebra.jar:/usr/local/bin/../share/geogebra/lax.jar" main class.. "geogebra.GeoGebra" .lax file path.. "/usr/local/bin/../share/geogebra/geogebra.lax" user directory.. "." stdout to... "console" sterr to "console" install directory... "/usr/local/share/geogebra/" JIT. none option (verify). none option (verbosity).. none option (garbage collection extent).. none option (garbage collection thread).. none option (native stack max size).. none option (java stack max size) none option (java heap max size). none option (java heap initial size). none option (lax.nl.java.option.additional).. none = Display settings === X display... local UI mode. not set = VM Command Line options: CLASSPATH:/usr/local/share/geogebra/geogebra.jar:/usr/local/bin/../share/geogebra/lax.jar: = Forking JAVA = LAX Version = 10.0 GeoGebra 3.2.0.0, June 2, 2009, Java 1.7.0-internal java.lang.Exception: Sorry, there is no font for this language available on your computer. at geogebra.e.t.a(Unknown Source) at geogebra.e.t.d(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) java.lang.NullPointerException at geogebra.e.t.I(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.c(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) If I search in /usr/local/jdk-1.7.0/jre/lib/fontconfig.properties.src. I found fonts dir is /usr/share/fonts but it's directory is empty. Thanks -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data
Re: UPDATE: openobex 1.3 & obexftp 0.23
Le Monday 17 August 2009 21:24:18, vous avez écrit : > On Mon, Aug 17, 2009 at 05:13:14PM +0200, Azwaw OUSADOU wrote: > > Le Monday 17 August 2009 16:43:20 Stuart Henderson, vous avez écrit : > > > On 2009/08/17 15:35, Azwaw OUSADOU wrote: > > > > Le Sunday 16 August 2009 20:01:41, vous avez écrit : > > > > > Hi, > > > > > > > > > > I updated openobex and obexftp to new version. I tested it and it's > > > > > work fine with my Nokia N72, with my Nokia N95 disconnect failed. I > > > > > can do only one operation. With obex you can saw data stocked in > > > > > the internal memory of your phone. If you a have a old symbian > > > > > (S60v1 and S60v2). You can get data in your memory card only with > > > > > obex protocol. > > > > > > > > > > To work fine it's required a patch to libusb: > > > > > > > > > > With this patch usb_get_string get first the string descriptor (4 > > > > > chars) and if it's ok, the requested string. It's required by some > > > > > device (like Nokia N70/N72). > > > > > > > > > > Tested ok in i386. > > > > > > > > > > BSDManiak > > > > > > > > PATCH: > > > > > > your diff is mangled (spaces->tabs and quoted-printable mangling). > > > would be nice to clean out the removals of the CVS control files too > > > (-x CVS). > > > > http://ultragames93.free.fr/libusb.diff > > Did you check that other apps using libusb weren't impacted by this > patch ? Also, i don't think we want enable-debug=yes in ports.. > And it's generally nice to add a comment on top of each patch saying > what is modified and why, in particular in those weird corner cases. > I put --enable-debug if anyone has a problem with this patch he can help to debug. > > http://ultragames93.free.fr/openobex.diff > > Same comment applies... so many patches, we don't know why/what things are > fixed, where does the patch come from ? freebsd, upstream scm, you ? > openobex and obexftp patch come from me and libusb patch is inspired from a diff founded in freebsd mailling list. Openobex and obexftp were written to run with linux. My patches remove some ways to linux. > > http://ultragames93.free.fr/obexftp.diff > > Ditto.. what's this new patch for apps/obexftp.c, what does it fix ? And > for the SHARED_LIBS, we usually don't follow upstream numbering, but that's > a minor nit. > This patch resolve a crash problem. If NULL is take to times. Then it's crash. > Other than that, i don't really know how to use it with my N85, which > shows as regular umass when configured as UMS (and mounts fine) : > > umass0 at uhub0 port 2 configuration 1 interface 0 "Nokia N85" rev > 2.00/1.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd0 at scsibus2 targ 1 lun 0: SCSI0 0/direct removable > sd0: 7566MB, 512 bytes/sec, 15495168 sec total > > or shows as umodem when configured as 'pc suite' mode : > > umodem0 at uhub0 port 2 configuration 1 interface 1 "Nokia N85" rev > 2.00/1.00 addr 2 > umodem0: data interface 2, has no CM over data, has break > umodem0: status change notification available > ucom0 at umodem0 > > are we supposed to use irda or bluetooth to connect to it ? what's a > standard commandline ? using obexftp -l -t /dev/cuaU0 when configured as > ucom0, it fails. > > obexftp -u fails too. > You must to recompile your kernel without umodem support. Then you have a ugen device and you can use obexftp -u. > Landry For use obexftp with USB obex protocol. You must first recompile your kernel without umodem support. Obexftp use /dev/usbX devices. For Nokia phone (S60v1 and S60v2) plug your phone in USB. For other Nokia (S60v3 and more) you must choose PC Suite mode when you plug your phone. bash-4.0$ obexftp -u If USB doesn't work setup permissions in udev or run as superuser. Found 3 USB OBEX interfaces 0 (Manufacturer: Nokia Product: Nokia N95 Serial: (null) Interface description: SYNCML-SYNC) 1 (Manufacturer: Nokia Product: Nokia N95 Serial: (null) Interface description: PC Suite Services) 2 (Manufacturer: Nokia Product: Nokia N95 Serial: (null) Interface description: SYNCML-DM) Use '-u interface_number' to connect Nothing to do. Use --help for help. Choose PC Suite Serivces interface obexftp -u 1 -l for list dir : bash-4.0$ obexftp -u 1 -l If USB doesn't work setup permissions in udev or run as superuser. Connecting...done Tried to connect for 38ms Receiving "(null)"... ]> done Disconnecting...done With my N95 then i can retry obexftp -u 1 -l. It's work in my N72. Original libusb patch is here : http://article.gmane.org/gmane.comp.lib.libusb.devel.general/525 I try to do work properly my N95. Thanks, BSDManiak
Re: UPDATE: openobex 1.3 & obexftp 0.23
Le Monday 17 August 2009 16:43:20 Stuart Henderson, vous avez écrit : > On 2009/08/17 15:35, Azwaw OUSADOU wrote: > > Le Sunday 16 August 2009 20:01:41, vous avez écrit : > > > Hi, > > > > > > I updated openobex and obexftp to new version. I tested it and it's > > > work fine with my Nokia N72, with my Nokia N95 disconnect failed. I can > > > do only one operation. With obex you can saw data stocked in the > > > internal memory of your phone. If you a have a old symbian (S60v1 and > > > S60v2). You can get data in your memory card only with obex protocol. > > > > > > To work fine it's required a patch to libusb: > > > > > > With this patch usb_get_string get first the string descriptor (4 > > > chars) and if it's ok, the requested string. It's required by some > > > device (like Nokia N70/N72). > > > > > > Tested ok in i386. > > > > > > BSDManiak > > > > PATCH: > > your diff is mangled (spaces->tabs and quoted-printable mangling). > would be nice to clean out the removals of the CVS control files too > (-x CVS). http://ultragames93.free.fr/libusb.diff http://ultragames93.free.fr/openobex.diff http://ultragames93.free.fr/obexftp.diff The 3 diff corrected. Thanks, BSDManiak
Re: UPDATE: openobex 1.3 & obexftp 0.23
Le Sunday 16 August 2009 20:01:41, vous avez écrit : > Hi, > > I updated openobex and obexftp to new version. I tested it and it's work > fine with my Nokia N72, with my Nokia N95 disconnect failed. I can do only > one operation. With obex you can saw data stocked in the internal memory of > your phone. If you a have a old symbian (S60v1 and S60v2). You can get data > in your memory card only with obex protocol. > > To work fine it's required a patch to libusb: > > With this patch usb_get_string get first the string descriptor (4 chars) > and if it's ok, the requested string. It's required by some device (like > Nokia N70/N72). > > Tested ok in i386. > > BSDManiak PATCH: libusb.diff diff -urN /usr/ports/devel/libusb/Makefile devel/libusb/Makefile --- /usr/ports/devel/libusb/MakefileSun Sep 16 04:53:01 2007 +++ devel/libusb/Makefile Sun Jul 13 01:20:59 2008 @@ -2,6 +2,7 @@ COMMENT= USB access library +PKGNAME= ${DISTNAME}p0 DISTNAME= libusb-0.1.12 SHARED_LIBS= usb 9.0 \ usbpp 10.0 @@ -26,6 +27,7 @@ SEPARATE_BUILD=concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ - --disable-build-docs + --disable-build-docs \ + --enable-debug=yes .include diff -urN /usr/ports/devel/libusb/patches/patch-bsd_c devel/libusb/patches/patch-bsd_c --- /usr/ports/devel/libusb/patches/patch-bsd_c Wed Nov 15 19:34:13 2006 +++ devel/libusb/patches/patch-bsd_cSun Apr 5 18:58:39 2009 @@ -1,7 +1,16 @@ $OpenBSD: patch-bsd_c,v 1.7 2006/11/15 18:34:13 pvalchev Exp $ bsd.c.orig Fri Mar 3 19:52:46 2006 -+++ bsd.c Tue Nov 14 21:00:00 2006 -@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, i +--- bsd.c.orig Sat Mar 4 03:52:46 2006 bsd.c Sun Apr 5 18:58:36 2009 +@@ -325,7 +325,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + +- fd = ensure_ep_open(dev, ep, O_RDONLY); ++ fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (usb_debug >= 2) { + #ifdef __FreeBSD_kernel__ +@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) { @@ -10,7 +19,7 @@ /* Ensure the endpoint address is correct */ ep &= ~USB_ENDPOINT_IN; -@@ -383,8 +383,7 @@ int usb_interrupt_write(usb_dev_handle * +@@ -383,8 +383,7 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c USB_ERROR_STR(-errno, "error setting timeout: %s", strerror(errno)); @@ -20,7 +29,7 @@ if (ret < 0) #ifdef __FreeBSD_kernel__ USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%d: %s", -@@ -394,16 +393,13 @@ int usb_interrupt_write(usb_dev_handle * +@@ -394,16 +393,13 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); #endif @@ -39,7 +48,7 @@ /* Ensure the endpoint address is correct */ ep |= USB_ENDPOINT_IN; -@@ -428,8 +424,7 @@ int usb_interrupt_read(usb_dev_handle *d +@@ -428,8 +424,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch if (ret < 0) USB_ERROR_STR(-errno, "error setting short xfer: %s", strerror(errno)); @@ -49,7 +58,7 @@ if (ret < 0) #ifdef __FreeBSD_kernel__ USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s. %d: %s", -@@ -438,10 +433,7 @@ int usb_interrupt_read(usb_dev_handle *d +@@ -438,10 +433,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s. %02d: %s", dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); #endif diff -urN /usr/ports/devel/libusb/patches/patch-usb_c devel/libusb/patches/patch-usb_c --- /usr/ports/devel/libusb/patches/patch-usb_c Thu Jan 1 01:00:00 1970 +++ devel/libusb/patches/patch-usb_cFri Jul 11 20:14:36 2008 @@ -0,0 +1,46 @@ +$OpenBSD$ +--- usb.c.orig Fri Jul 11 20:11:38 2008 usb.c Fri Jul 11 20:13:40 2008 +@@ -219,12 +219,36 @@ usb_dev_handle *usb_open(struct usb_device *dev) + int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, + size_t buflen) + { +- /* +- * We can't use usb_get_descriptor() because it's lacking the index +- * parameter. This will be fixed in libusb 1.0 +- */ +- return usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, +- (USB_DT_STRING << 8) + index, langid, buf, buflen, 1000); ++ struct usb_string_descriptor *desc = (struct usb_string_descriptor *)buf; ++ int res; ++ ++ res = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, ++(USB_DT_STRING << 8) + index, langid, buf, 4, 1000); ++ if (res < 4) { ++if (usb_d
UPDATE: openobex 1.3 & obexftp 0.23
Hi, I updated openobex and obexftp to new version. I tested it and it's work fine with my Nokia N72, with my Nokia N95 disconnect failed. I can do only one operation. With obex you can saw data stocked in the internal memory of your phone. If you a have a old symbian (S60v1 and S60v2). You can get data in your memory card only with obex protocol. To work fine it's required a patch to libusb: With this patch usb_get_string get first the string descriptor (4 chars) and if it's ok, the requested string. It's required by some device (like Nokia N70/N72). Tested ok in i386. BSDManiak diff -urN /usr/ports/devel/libusb/Makefile devel/libusb/Makefile --- /usr/ports/devel/libusb/Makefile Sun Sep 16 04:53:01 2007 +++ devel/libusb/Makefile Sun Jul 13 01:20:59 2008 @@ -2,6 +2,7 @@ COMMENT= USB access library +PKGNAME= ${DISTNAME}p0 DISTNAME= libusb-0.1.12 SHARED_LIBS= usb 9.0 \ usbpp 10.0 @@ -26,6 +27,7 @@ SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ - --disable-build-docs + --disable-build-docs \ + --enable-debug=yes .include diff -urN /usr/ports/devel/libusb/patches/patch-bsd_c devel/libusb/patches/patch-bsd_c --- /usr/ports/devel/libusb/patches/patch-bsd_c Wed Nov 15 19:34:13 2006 +++ devel/libusb/patches/patch-bsd_c Sun Apr 5 18:58:39 2009 @@ -1,7 +1,16 @@ $OpenBSD: patch-bsd_c,v 1.7 2006/11/15 18:34:13 pvalchev Exp $ bsd.c.orig Fri Mar 3 19:52:46 2006 -+++ bsd.c Tue Nov 14 21:00:00 2006 -@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, i +--- bsd.c.orig Sat Mar 4 03:52:46 2006 bsd.c Sun Apr 5 18:58:36 2009 +@@ -325,7 +325,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + +- fd = ensure_ep_open(dev, ep, O_RDONLY); ++ fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (usb_debug >= 2) { + #ifdef __FreeBSD_kernel__ +@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) { @@ -10,7 +19,7 @@ /* Ensure the endpoint address is correct */ ep &= ~USB_ENDPOINT_IN; -@@ -383,8 +383,7 @@ int usb_interrupt_write(usb_dev_handle * +@@ -383,8 +383,7 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c USB_ERROR_STR(-errno, "error setting timeout: %s", strerror(errno)); @@ -20,7 +29,7 @@ if (ret < 0) #ifdef __FreeBSD_kernel__ USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%d: %s", -@@ -394,16 +393,13 @@ int usb_interrupt_write(usb_dev_handle * +@@ -394,16 +393,13 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); #endif @@ -39,7 +48,7 @@ /* Ensure the endpoint address is correct */ ep |= USB_ENDPOINT_IN; -@@ -428,8 +424,7 @@ int usb_interrupt_read(usb_dev_handle *d +@@ -428,8 +424,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch if (ret < 0) USB_ERROR_STR(-errno, "error setting short xfer: %s", strerror(errno)); @@ -49,7 +58,7 @@ if (ret < 0) #ifdef __FreeBSD_kernel__ USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%d: %s", -@@ -438,10 +433,7 @@ int usb_interrupt_read(usb_dev_handle *d +@@ -438,10 +433,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); #endif diff -urN /usr/ports/devel/libusb/patches/patch-usb_c devel/libusb/patches/patch-usb_c --- /usr/ports/devel/libusb/patches/patch-usb_c Thu Jan 1 01:00:00 1970 +++ devel/libusb/patches/patch-usb_c Fri Jul 11 20:14:36 2008 @@ -0,0 +1,46 @@ +$OpenBSD$ +--- usb.c.orig Fri Jul 11 20:11:38 2008 usb.c Fri Jul 11 20:13:40 2008 +@@ -219,12 +219,36 @@ usb_dev_handle *usb_open(struct usb_device *dev) + int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, + size_t buflen) + { +- /* +- * We can't use usb_get_descriptor() because it's lacking the index +- * parameter. This will be fixed in libusb 1.0 +- */ +- return usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, +- (USB_DT_STRING << 8) + index, langid, buf, buflen, 1000); ++ struct usb_string_descriptor *desc = (struct usb_string_descriptor *)buf; ++ int res; ++ ++ res = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, ++(USB_DT_STRING << 8) + index, langid, buf, 4, 1000); ++ if (res < 4) { ++if (usb_debug >= 1) { ++ if (res < 0) ++fprintf(stderr, "Unable to get descriptor (%d)\n", res); ++ else ++fprintf(stderr, "String descriptor too short (expected %d, got %d)\n", 8, res); ++} ++ ++return res; ++ } ++ ++ res = usb_control_msg(dev, USB_ENDPOINT_
Re: Differences between ./configure and CONFIGURE_STYLE=gnu
On Sunday 22 February 2009 01:32:38 Stuart Henderson wrote: > On 2009/02/22 00:43, Azwaw OUSADOU wrote: > > Hi, > > > > I have some problem with binutils. I'm trying to build binutils for psp > > but a make configure doesn't work : > > we copy in config.guess from /usr/ports/infrastructure/db, you will > need to adjust that file to take care of the machine name. Ok thanks, It's working now ! BSDManiak
Differences between ./configure and CONFIGURE_STYLE=gnu
Hi, I have some problem with binutils. I'm trying to build binutils for psp but a make configure doesn't work : - bash-3.2# make configure ===> Verifying specs: c c ===> found c.50.1 ===> Checking files for psp-binutils-2.16.1 `/usr/ports/distfiles/binutils-2.16.1.tar.gz' is up to date. >> (SHA256) binutils-2.16.1.tar.gz: OK ===> Extracting for psp-binutils-2.16.1 ===> Patching for psp-binutils-2.16.1 ===> Configuring for psp-binutils-2.16.1 loading site script /usr/ports/infrastructure/db/config.site creating cache ./config.cache checking host system type... i386-unknown-openbsd4.5 checking target system type... Invalid configuration `psp': machine `psp' not recognized checking build system type... i386-unknown-openbsd4.5 checking for a BSD compatible install... /usr/bin/install -c -o root -g bin checking whether ln works... yes checking whether ln -s works... yes checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... no checking for bison... bison checking for bison... bison -y checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for i386-unknown-openbsd4.5-ar... no checking for ar... ar checking for i386-unknown-openbsd4.5-as... no checking for as... as checking for i386-unknown-openbsd4.5-dlltool... no checking for dlltool... dlltool checking for i386-unknown-openbsd4.5-ld... no checking for ld... ld checking for i386-unknown-openbsd4.5-nm... no checking for nm... nm checking for i386-unknown-openbsd4.5-ranlib... no checking for ranlib... ranlib checking for i386-unknown-openbsd4.5-windres... no checking for windres... windres checking for i386-unknown-openbsd4.5-objcopy... no checking for objcopy... objcopy checking for i386-unknown-openbsd4.5-objdump... no checking for objdump... objdump checking for psp-ar... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4327]: test: =: missing second argument checking for psp-as... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4399]: test: =: missing second argument checking for psp-dlltool... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4471]: test: =: missing second argument checking for psp-ld... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4543]: test: =: missing second argument checking for psp-nm... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4615]: test: =: missing second argument checking for psp-ranlib... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4687]: test: =: missing second argument checking for psp-windres... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4759]: test: =: missing second argument checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... yes updating cache ./config.cache creating ./config.status creating Makefile - If I patch and then i do manually a configure it's work : - bash-3.2# make clean patch ===> Cleaning for psp-binutils-2.16.1 ===> Verifying specs: c c ===> found c.50.1 ===> Checking files for psp-binutils-2.16.1 `/usr/ports/distfiles/binutils-2.16.1.tar.gz' is up to date. >> (SHA256) binutils-2.16.1.tar.gz: OK ===> Extracting for psp-binutils-2.16.1 ===> Patching for psp-binutils-2.16.1 bash-3.2# cd w-psp-binutils-2.16.1/binutils-2.16.1/ bash-3.2# ./configure --target=psp --enable-install-libbfd creating cache ./config.cache checking host system type... i386-unknown-openbsd4.5 checking target system type... mipsallegrexel-psp-elf checking build system type... i386-unknown-openbsd4.5 checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... no checking for bison... bison checking for bison... bison -y checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for i386-unknown-openbsd4.5-ar... n
[PATCH] amsn-0.97.2p0
Hi, This patch correct bugs where have following to tcl/tk update. Tested ok with lastest snapshot on i386. Please test it, BSDManiak diff -urN /usr/ports/net/amsn/Makefile /usr/ports/mystuff/net/amsn/Makefile --- /usr/ports/net/amsn/Makefile Sun Aug 31 19:16:22 2008 +++ /usr/ports/mystuff/net/amsn/Makefile Wed Jan 14 19:25:34 2009 @@ -2,6 +2,7 @@ COMMENT= open source MSN Messenger clone +PKGNAME= ${DISTNAME}p0 DISTNAME= amsn-0.97.2 CATEGORIES= net diff -urN /usr/ports/net/amsn/patches/patch-autoupdate_tcl /usr/ports/mystuff/net/amsn/patches/patch-autoupdate_tcl --- /usr/ports/net/amsn/patches/patch-autoupdate_tcl Thu Jan 1 01:00:00 1970 +++ /usr/ports/mystuff/net/amsn/patches/patch-autoupdate_tcl Wed Jan 14 19:23:54 2009 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- autoupdate.tcl.orig Wed Jan 14 19:22:42 2009 autoupdate.tcl Wed Jan 14 19:23:02 2009 +@@ -540,7 +540,7 @@ namespace eval ::autoupdate { + } + + #/// +- package require http ++ package require -exact http 2.4.4 + + proc check_web_version { token } { + global version rcversion weburl diff -urN /usr/ports/net/amsn/patches/patch-proxy_tcl /usr/ports/mystuff/net/amsn/patches/patch-proxy_tcl --- /usr/ports/net/amsn/patches/patch-proxy_tcl Thu Jan 1 01:00:00 1970 +++ /usr/ports/mystuff/net/amsn/patches/patch-proxy_tcl Wed Jan 14 19:23:54 2009 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- proxy.tcl.orig Wed Jan 14 19:23:26 2009 proxy.tcl Wed Jan 14 19:23:42 2009 +@@ -9,7 +9,7 @@ + ::Version::setSubversionId {$Id: proxy.tcl 10035 2008-05-28 14:41:14Z baaazen $} + + package provide Proxy 0.1 +-package require http ++package require -exact http 2.4.4 + + # This should be converted to a proper package, to use with package require + source socks.tcl ;# SOCKS5 proxy support diff -urN /usr/ports/net/amsn/patches/patch-utils_TkCximage_src_TkCximage_cpp /usr/ports/mystuff/net/amsn/patches/patch-utils_TkCximage_src_TkCximage_cpp --- /usr/ports/net/amsn/patches/patch-utils_TkCximage_src_TkCximage_cpp Thu Jan 1 01:00:00 1970 +++ /usr/ports/mystuff/net/amsn/patches/patch-utils_TkCximage_src_TkCximage_cpp Wed Jan 14 19:08:48 2009 @@ -0,0 +1,114 @@ +$OpenBSD$ +--- utils/TkCximage/src/TkCximage.cpp.orig Fri Jan 4 17:08:26 2008 utils/TkCximage/src/TkCximage.cpp Wed Jan 14 19:08:46 2009 +@@ -13,6 +13,64 @@ + char currenttime[30]; + FILE * logfile; + ++#define AVAILABLE_FORMATS 6 ++ Tk_PhotoImageFormat cximageFormats[] = { ++ { ++ "cximage", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ }, ++ { ++ "cxgif", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ }, ++ { ++ "cxpng", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ }, ++ { ++ "cxjpg", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ }, ++ { ++ "cxtga", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ }, ++ { ++ "cxbmp", ++ (Tk_ImageFileMatchProc *) ChanMatch, ++ (Tk_ImageStringMatchProc *) ObjMatch, ++ (Tk_ImageFileReadProc *) ChanRead, ++ (Tk_ImageStringReadProc *) ObjRead, ++ (Tk_ImageFileWriteProc *) ChanWrite, ++ (Tk_ImageStringWriteProc *) StringWrite ++ } ++}; ++ + int RGB2BGR(Tk_PhotoImageBlock *data, BYTE * pixelPtr) { + int i; + int size = data->height * data->width * data->pixelSize; +@@ -254,10 +312,6 @@ int Tkcximage_Init (Tcl_Interp *interp ) { + INITLOGS(); // + LOG("-"); // + +- +- int AvailableFromats = 6; +- const char *KnownFormats[] = {"cximage", "cxgif", "cxpng", "cxjpg", "cxtga", "cxbmp"}; +- + //Check Tcl version is 8.3 or higher + if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) { + return TCL_ERROR; +@@ -272,16 +326,6 @@ int Tkcximage_Init (Tcl_Interp *interp ) { + + LOG("Tk stub initialized"); // + +- Tk_PhotoImageFormat cximageForma
Re: OBEX updates
For usb support you can test this patches. BSDManiak diff -urN /usr/ports/devel/libusb/Makefile devel/libusb/Makefile --- /usr/ports/devel/libusb/Makefile Sun Sep 16 04:53:01 2007 +++ devel/libusb/Makefile Sun Jul 13 01:20:59 2008 @@ -2,6 +2,7 @@ COMMENT= USB access library +PKGNAME= ${DISTNAME}p0 DISTNAME= libusb-0.1.12 SHARED_LIBS= usb 9.0 \ usbpp 10.0 @@ -26,6 +27,7 @@ SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ - --disable-build-docs + --disable-build-docs \ + --enable-debug=yes .include diff -urN /usr/ports/devel/libusb/patches/bsd_c devel/libusb/patches/bsd_c --- /usr/ports/devel/libusb/patches/bsd_c Thu Jan 1 01:00:00 1970 +++ devel/libusb/patches/bsd_c Sat Jul 5 03:01:08 2008 @@ -0,0 +1,87 @@ +$OpenBSD: patch-bsd_c,v 1.7 2006/11/15 18:34:13 pvalchev Exp $ +--- bsd.c.orig Sat Mar 4 03:52:46 2006 bsd.c Sat Jul 5 03:01:03 2008 +@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b + int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) + { +- int fd, ret, sent = 0; ++ int fd, ret; + + /* Ensure the endpoint address is correct */ + ep &= ~USB_ENDPOINT_IN; +@@ -383,8 +383,7 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c + USB_ERROR_STR(-errno, "error setting timeout: %s", + strerror(errno)); + +- do { +-ret = write(fd, bytes+sent, size-sent); ++ ret = write(fd, bytes, size); + if (ret < 0) + #ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%d: %s", +@@ -394,16 +393,13 @@ int usb_interrupt_write(usb_dev_handle *dev, int ep, c + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); + #endif + +-sent += ret; +- } while (ret > 0 && sent < size); +- +- return sent; ++ return ret; + } + + int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, +int timeout) + { +- int fd, ret, retrieved = 0, one = 1; ++ int fd, ret, one = 1; + + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; +@@ -428,8 +424,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch + if (ret < 0) + USB_ERROR_STR(-errno, "error setting short xfer: %s", strerror(errno)); + +- do { +-ret = read(fd, bytes+retrieved, size-retrieved); ++ret = read(fd, bytes, size); + if (ret < 0) + #ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%d: %s", +@@ -438,10 +433,7 @@ int usb_interrupt_read(usb_dev_handle *dev, int ep, ch + USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); + #endif +-retrieved += ret; +- } while (ret > 0 && retrieved < size); +- +- return retrieved; ++ return ret; + } + + int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, +@@ -527,12 +519,12 @@ int usb_os_find_devices(struct usb_bus *bus, struct us + int cfd, dfd; + int device; + +- cfd = open(bus->dirname, O_RDONLY); ++ cfd = open(bus->dirname, O_RDWR); + if (cfd < 0) + USB_ERROR_STR(-errno, "couldn't open(%s): %s", bus->dirname, + strerror(errno)); + +- for (device = 1; device < USB_MAX_DEVICES; device++) { ++ for (device = 0; device < USB_MAX_DEVICES; device++) { + struct usb_device_info di; + struct usb_device *dev; + unsigned char device_desc[DEVICE_DESC_LENGTH]; +@@ -555,7 +547,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct us + #endif + + /* Open its control endpoint */ +-dfd = open(buf, O_RDONLY); ++dfd = open(buf, O_RDWR); + if (dfd < 0) { + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: couldn't open device %s: %s\n", diff -urN /usr/ports/devel/libusb/patches/patch-bsd_c devel/libusb/patches/patch-bsd_c --- /usr/ports/devel/libusb/patches/patch-bsd_c Wed Nov 15 19:34:13 2006 +++ devel/libusb/patches/patch-bsd_c Fri Jul 11 23:37:59 2008 @@ -1,7 +1,16 @@ $OpenBSD: patch-bsd_c,v 1.7 2006/11/15 18:34:13 pvalchev Exp $ bsd.c.orig Fri Mar 3 19:52:46 2006 -+++ bsd.c Tue Nov 14 21:00:00 2006 -@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, i +--- bsd.c.orig Sat Mar 4 03:52:46 2006 bsd.c Fri Jul 11 23:37:56 2008 +@@ -325,7 +325,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + +- fd = ensure_ep_open(dev, ep, O_RDONLY); ++ fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (usb_debug >= 2) { + #ifdef __FreeBSD_kernel__ +@@ -361,7 +361,7 @@ int usb_bulk_read(usb_dev_handle *dev, int ep, char *b int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) { @@ -10,7 +19,7 @@ /* Ensure the endpoint address is correct */ ep
Re: pulseaudio anyone?
On Sunday 28 December 2008 13:42:31 you wrote: > On Sun, Dec 28, 2008 at 12:21:42PM +, Edd Barrett wrote: > > Hi, > > > > Is anyone working on pulseaudio ports? I wanted to try the newer > > version of swfdec, but it seems the oss backend has gone in favour of > > pulseaudio. > > I had a work-in-progress port at c2k8, jacob too.. if you dig the > archives, i think we decided to not bother with pulseaudio, which seems > heavily bloated and linux-oriented. better write an sndio backend for > swfdec... > > Landry I'm trying to write an sndio backend for swfdec. BSDManiak
[Update] AMSN-0.97
Hi all, I have updated the amsn ports to the last version. I have tested it on OpenBSD-current/i386 and it's work perfectly. If you can test the webcam support, I couldn't test. Thanks, BSDManiak diff -urN net/amsn/Makefile mystuff/net/amsn/Makefile --- net/amsn/Makefile Sat Dec 15 22:00:30 2007 +++ mystuff/net/amsn/Makefile Sun Jan 27 18:51:07 2008 @@ -2,8 +2,7 @@ COMMENT= open source MSN Messenger clone -DISTNAME= amsn-0.96 -PKGNAME= ${DISTNAME}p0 +DISTNAME= amsn-0.97 CATEGORIES= net HOMEPAGE= http://www.amsn-project.net/ @@ -30,7 +29,7 @@ USE_GMAKE= Yes MAKE_FLAGS= verbose=yes -CONFIGURE_STYLE=gnu dest +CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \ --with-tk=${LOCALBASE}/lib/tk8.4 diff -urN net/amsn/distinfo mystuff/net/amsn/distinfo --- net/amsn/distinfo Mon Oct 22 21:32:24 2007 +++ mystuff/net/amsn/distinfo Sun Jan 27 16:59:13 2008 @@ -1,4 +1,5 @@ -MD5 (amsn-0.96.tar.bz2) = 3df6b0d34ef1997a47c0b8af29b2547a -RMD160 (amsn-0.96.tar.bz2) = d4463ab9fb7ec565b5e3d2f0af75d68db8a24fcb -SHA1 (amsn-0.96.tar.bz2) = 90023bf0fe840f5aeb6b2e850042a816406072c0 -SIZE (amsn-0.96.tar.bz2) = 5036129 +MD5 (amsn-0.97.tar.bz2) = STYnr8LcONlFAEmensNEBA== +RMD160 (amsn-0.97.tar.bz2) = dUFsmJffFZYPYWoNPiM8gnDem4s= +SHA1 (amsn-0.97.tar.bz2) = ZzZMkKKxNHrr/1xNsOt0h3l+PM8= +SHA256 (amsn-0.97.tar.bz2) = hJPVCTZKw4JbEGs/OMax8JYobOh79OWHGsAaLEOw70g= +SIZE (amsn-0.97.tar.bz2) = 10131843 diff -urN net/amsn/patches/patch-Makefile_in mystuff/net/amsn/patches/patch-Makefile_in --- net/amsn/patches/patch-Makefile_in Mon Oct 22 21:32:24 2007 +++ mystuff/net/amsn/patches/patch-Makefile_in Sun Jan 27 18:38:02 2008 @@ -1,20 +1,20 @@ $OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/10/22 19:32:24 steven Exp $ Makefile.in.orig Wed Nov 1 18:05:49 2006 -+++ Makefile.in Mon Oct 22 20:47:10 2007 -@@ -10,10 +10,10 @@ STATIC := @STATIC@ +--- Makefile.in.orig Mon Dec 24 22:25:59 2007 Makefile.in Sun Jan 27 18:37:55 2008 +@@ -11,10 +11,10 @@ STATIC := @STATIC@ doc_files := docs INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help FILES_TO_INSTALL := *.tcl hotmlog.htm amsn amsn-remote amsn-remote-CLI amsn.desktop langlist -FILES_TO_INSTALL += $(doc_files) +FILES_TO_INSTALL += remote.help - FILES_TO_INSTALL += icons lang skins utils/base64 utils/drawboard utils/framec utils/http2.4 + FILES_TO_INSTALL += desktop-icons lang skins utils/base64 utils/drawboard utils/framec utils/http2.4 FILES_TO_INSTALL += utils/pixmapscroll utils/pixmapmenu utils/contentmanager --FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/BWidget-1.7.0 utils/dpbrowser +-FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/bwidget1.8.0 utils/dpbrowser +FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/dpbrowser - FILES_TO_INSTALL += plugins - FILES_TO_INSTALL += utils/tclsoap1.6.7 utils/log utils/uri utils/tcldom utils/Tclxml utils/combobox + FILES_TO_INSTALL += plugins utils/sexytile + FILES_TO_INSTALL += utils/log utils/uri utils/combobox -@@ -75,7 +75,7 @@ USE_MMX := @USE_MMX@ +@@ -77,7 +77,7 @@ USE_MMX := @USE_MMX@ # build final cflags CFLAGS := @CFLAGS@ ifeq (@DEBUG@,no) @@ -23,57 +23,55 @@ else CFLAGS += -g3 -DDEBUG endif -@@ -116,6 +116,13 @@ FILES_TO_INSTALL += utils/webcamsn/webcamsn.so utils/w - FILES_TO_EXCLUDE += AppMain.tcl utils/linux/capture/test.tcl - endif +@@ -124,11 +124,14 @@ ifeq ($(FOUND_OS),linux) + FILES_TO_INSTALL += utils/webcamsn/webcamsn.so utils/webcamsn/pkgIndex.tcl utils/TkCximage/TkCximage.so utils/TkCximage/pkgIndex.tcl utils/linux/capture/capture.so utils/linux/capture/pkgIndex.tcl utils/linux/linflash/flash.so utils/linux/linflash/pkgIndex.tcl utils/linux/traydock/libtray.so utils/linux/traydock/pkgIndex.tcl utils/linux/capture/libng/plugins/drv0-v4l2.so utils/linux/capture/libng/plugins/drv1-v4l.so utils/linux/capture/libng/plugins/conv-mjpeg.so utils/linux/capture/libng/plugins/sn9c10x.so utils/tcl_siren/tcl_siren.so utils/tcl_siren/pkgIndex.tcl + FILES_TO_EXCLUDE += AppMain.tcl +-else ifeq ($(FOUND_OS),bsd) +-FILES_TO_INSTALL += utils/webcamsn/webcamsn.so utils/webcamsn/pkgIndex.tcl utils/TkCximage/TkCximage.so utils/TkCximage/pkgIndex.tcl utils/linux/linflash/flash.so utils/linux/linflash/pkgIndex.tcl utils/linux/traydock/libtray.so utils/linux/traydock/pkgIndex.tcl utils/tcl_siren/tcl_siren.so utils/tcl_siren/pkgIndex.tcl ++endif + +ifeq ($(FOUND_OS),bsd) -+FILES_TO_INSTALL += utils/TkCximage/TkCximage.so utils/TkCximage/pkgIndex.tcl utils/linux/traydock/libtray.so utils/linux/traydock/pkgIndex.tcl utils/webcamsn/pkgIndex.tcl utils/webcamsn/webcamsn.so -+FILES_TO_EXCLUDE += AppMain.tcl utils/linux/capture/test.tcl ++FILES_TO_INSTALL += utils/webcamsn/webcamsn.so utils/webcamsn/pkgIndex.tcl utils/TkCximage/TkCximage.so utils/TkCximage/pkgIndex.tcl utils/linux/linflash/flash.so utils/linux/linflash/pkgIndex.tcl utils/linux/traydock/libtray.so utils/linux/traydock/pkgIndex.tcl utils/tcl_siren/tc
[UPDATE] xchat-2.8.4p1
Hi All, I was corrected xchat ports : * Fix WANTLIB * Fix PLIST * Add libsexy depend The diff: ### --- Makefile.oldSun Nov 11 20:08:41 2007 +++ MakefileFri Nov 16 22:24:39 2007 @@ -5,7 +5,7 @@ MAJOR= 2.8 VERSION= ${MAJOR}.4 DISTNAME= xchat-${VERSION} -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES=net x11 HOMEPAGE= http://www.xchat.org/ @@ -21,14 +21,16 @@ crypto expat fontconfig freetype glib-2.0 \ glitz gmodule-2.0 gobject-2.0 m \ pango-1.0 pangocairo-1.0 \ - pangoft2-1.0 png ssl z + pangoft2-1.0 png ssl z \ + Xcomposite Xdamage expat pcre xml2 MASTER_SITES= ${HOMEPAGE}files/source/${MAJOR}/ MASTER_SITES0= ${MASTER_SITE_SOURCEFORGE:=xchat/} EXTRACT_SUFX= .tar.bz2 -LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 +LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \ + sexy::x11/libsexy MODULES= devel/gettext --- pkg/PLIST.orig Sat Sep 15 22:01:00 2007 +++ pkg/PLIST Fri Nov 16 22:16:20 2007 @@ -1,5 +1,7 @@ @comment $OpenBSD: PLIST,v 1.22 2007/07/07 12:51:10 couderc Exp $ bin/xchat +man/cat3f/ +man/man3f/ share/applications/ share/applications/xchat.desktop share/locale/be/LC_MESSAGES/xchat.mo @@ -36,5 +38,6 @@ share/locale/vi/LC_MESSAGES/xchat.mo share/locale/zh_CN/LC_MESSAGES/xchat.mo share/locale/zh_TW/LC_MESSAGES/xchat.mo +share/nls/pl_PL.ISO_8859-2/ share/pixmaps/ share/pixmaps/xchat.png ### Work fine on i386. BSDManiak
Re: [NEW] amsn-0.97RC1
Hi all, I have corrected the ports: * Add CVS tags to patches * Correct Some Bugs * Remove Bash dependance A Bug Persists. If I check the case "Auto-connect when aMSN starts", aMSN don't arrive to connect. If you can help me. Thanks, BSDManiak amsn4.tar.gz Description: application/tgz
Re: [NEW] amsn-0.97RC1
Le Sunday 16 September 2007 18:39:45, vous avez écrit : > Hi all, > > I have ported amsn for OpenBSD. I have tested it on OpenBSD-current/i386. > > Thanks, > BSDManiak I Have corrected build depends. BSDManiak amsn2.tar.gz Description: application/tgz
[NEW] amsn-0.97RC1
Hi all, I have ported amsn for OpenBSD. I have tested it on OpenBSD-current/i386. Thanks, BSDManiak amsn.tar.gz Description: application/tgz