Afficher un message
Vieux 16/11/2006, 19h13   #2
julien Touche
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OpenBSD] OpenObex et obexftp

salut

Antoine wrote on 10/11/2006 00:30:
> Ce qui m'amène à me demander s'il faut préalablement installer des
> packages pour l'USB ?


pourquoi ne pas contacter le maintainer pour savoir si un upgrade est en
attente ou si c'est un problème déjà rencontré/résolu ?

correction, il n'y a plus de maintainer officiel ...
http://www.openbsd.org/cgi-bin/cvswe...e?annotate=1.8

donc ports@ ?

sinon, en faisant qq tests, recherches
1- dependance à libusb (pas très documenté sur le site d'openobex) mais
visible ici par ex:
http://packages.debian.org/testing/l...bopenobex1-dev
2- en customisant le Makefile du port, j'ai ca

checking for BLUEZ... no
checking for USB... no
checking for usb_get_busses in -lusb... yes
checking for usb_interrupt_read in -lusb... yes
configure: creating ./config.status
config.status: creating Makefile

avec:
--- Makefile.orig Thu Nov 16 19:37:05 2006
+++ Makefile Thu Nov 16 20:08:23 2006
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2006/07/19 13:41:02 steven Exp $

COMMENT= "OBEX protocol implementation"
-DISTNAME= openobex-1.0.1
+DISTNAME= openobex-1.3
PKGNAME= ${DISTNAME}p1
-SHARED_LIBS= openobex 1.0
+SHARED_LIBS= openobex 1.3

CATEGORIES= comms
HOMEPAGE= http://openobex.triq.net/
@@ -14,12 +14,15 @@
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= c
+WANTLIB= c usb.8.2

MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}

USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
+CONFIGURE_ENV= CFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/local/lib"
+
+BUILD_DEPENDS= libusb.8.2::devel/libusb

.include <bsd.port.mk>


je ne sais pas si c'est suffisant, sinon à voir avec ports@

@+
  Réponse avec citation
 
Page generated in 0,16121 seconds with 9 queries