From owner-freebsd-multimedia Sat Oct 7 0:20:31 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id 9116137B502 for ; Sat, 7 Oct 2000 00:20:28 -0700 (PDT) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id AAA04450; Sat, 7 Oct 2000 00:20:28 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.11.0/8.11.0) id e977KRZ54827; Sat, 7 Oct 2000 00:20:27 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14814.52923.178705.68772@whale.home-net> Date: Sat, 7 Oct 2000 00:20:27 -0700 (MST) To: Richard Tobin Cc: multimedia@FreeBSD.ORG, usb-bsd@egroups.com, johannes@erdfelt.com Subject: Re: gPhoto2 / USB In-Reply-To: <200010061140.MAA21452@rhymer.cogsci.ed.ac.uk> References: <200010061140.MAA21452@rhymer.cogsci.ed.ac.uk> X-Mailer: VM 6.75 under Emacs 20.7.1 Cc: Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ On Friday, October 6, Richard Tobin wrote: ] > > I had to make a number of minor hacks to get things to compile, which > I unfortunately did not record in detail. Me too ... for whatever reason the "autogen.sh" script fails to create the proper files and 'autoconf' doesn't create the proper configure script. I resorted to getting 0.1.1's configure script and using that. Even still there was a Makefile problem with including the freebsd.c file as OS_SUPPORT. > I had no idea what was meant to happen here, so I just took out all > but the "OS_SUPPORT = freebsd.c" line. Perhaps some autoconf/gmake > expert can tell us what the right fix is. I sure wish we could get one to visit this project for a bit. I logged into a Linux machine that had identical automake, gm4, and autoconf binaries as I've got installed here and the "autogen.sh" script and ./configure got everything up and running there no problem. Beats me. After manually hacking the Makefile I ended up cutting and pasting "libtool" commands in order to get the freebsd objects created and the final .so and .a files created in .libs. But, IT WORKED! I recompiled my favorite program for the S10, s10sh http://www.kyuzz.org/antirez/s10sh/ for USB support and it worked like a charm (aside from the copious debugging printfs in the libusb code). MAJOR speed improvement over serial :) > I used the version from CVS, which seems to have changed since 0.1.1. > (That probably means you need to recompile libgpio if you already compiled > it with libusb 0.1.1 installed.) Yes, I figured as much and am now working off those sources as well. I did see that they already put your freebsd.c as version 1.2 in their repos. > I already did. In fact, if you check out the CVS version now you'll > see that they've merged in my changes. yup. > Yes, everything seems to be separate. I think you need gPhoto2, libusb, > libgpio, and gtkam. I used the current CVS versions of all of these. We gotta roll ports of all these suckers ... johannes@erdfelt.com: How does one gain developer access to your CVS repo? Hacking on this has been quite fun and I believe we could get things polished up a bit for FreeBSD. Are you open to more committers or would you rather get 'cvs diff' output to review and commit? -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message