Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140087 - new ebuild: phidget20-1.0.6.ebuild
Summary: new ebuild: phidget20-1.0.6.ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.phidgets.com
Whiteboard:
Keywords: EBUILD
: 99576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-12 01:08 UTC by Colonel Paneek
Modified: 2009-05-10 13:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial phidget20-1.0.6.ebuild (phidget20-1.0.6.ebuild,447 bytes, text/plain)
2006-07-12 01:10 UTC, Colonel Paneek
Details
ebuild for version 2.1.0 of the interface library (phidget-2.1.0.ebuild,545 bytes, text/plain)
2006-07-23 20:32 UTC, Colonel Paneek
Details
A working ebuild for a the more current phidget library (phidget-2.1.4.20080924.ebuild,1.23 KB, text/plain)
2008-10-13 02:04 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
This patch allows the makefile to call gcc and binutils tools prefixed by a tuple. (phidget21-crosscompile.patch,709 bytes, patch)
2008-10-13 02:07 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
makes phidget's makefile willing to use a directory other than /usr/lib (phidget21-libdir.patch,562 bytes, patch)
2008-10-13 02:10 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
allows the Makefile to find the javahome path for JNI (phidget21-java.patch,785 bytes, patch)
2008-10-13 02:15 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
ebuild for the current release of phidget (phidget-2.1.5.20090105.ebuild,1.47 KB, text/plain)
2009-01-07 00:29 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
replaces the other crosscompile patch, allows crosscompiling (phidget21-2.1.5.20090105-crosscompile.patch,777 bytes, patch)
2009-01-07 00:30 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
ebuild for current version of phidget (phidget-2.1.5.20090105.ebuild,1.46 KB, text/plain)
2009-01-07 00:45 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
updated ebuild for current libphidget21 version (phidget-2.1.6.20090430.ebuild,1.47 KB, text/plain)
2009-05-10 13:13 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colonel Paneek 2006-07-12 01:08:36 UTC
The phidget20 library builds and tests O.K. with the Phidget interface key hardware.
Comment 1 Colonel Paneek 2006-07-12 01:10:38 UTC
Created attachment 91543 [details]
Initial phidget20-1.0.6.ebuild

Initial ebuild.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-12 02:13:31 UTC
1/ Missing header - we can't include ebuilds w/o a standard header
2/ Only put keywords you have yourself tested into the ebuild.
3/ Use dodir, not mkdir -p
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-12 02:14:14 UTC
*** Bug 99576 has been marked as a duplicate of this bug. ***
Comment 4 Colonel Paneek 2006-07-23 20:32:46 UTC
Created attachment 92591 [details]
ebuild for version 2.1.0 of the interface library

This ebuild is for a later version of the library, which had problems addressing InterfaceKit inputs.

The PhidgetManager code in the examples directory is reccomended for getting started as opening phidgets by id seems to have broken in the new library.
Comment 5 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2008-10-13 02:04:03 UTC
Created attachment 168230 [details]
A working ebuild for a the more current phidget library

This is the current version of the phidget library. The previously posted ebuilds did not work.
This ebuild refers to three patches written by me to make phidget21's Makefile behave. However, some of the fixes were a little ugly. One of them causes the Makefile to require an argument (via a variable).
This ebuild also recognizes phidget21's support for JNI. However, I am unable/willing to test the Java interface.
Comment 6 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2008-10-13 02:07:47 UTC
Created attachment 168232 [details, diff]
This patch allows the makefile to call gcc and binutils tools prefixed by a tuple.

The amount of testing I did with this patch was to see that x86_64-pc-linux-gcc was being called rather than plain gcc. I did not actually test crosscompiling - x86_64-pc-linux is the "tuple" for my system.
Comment 7 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2008-10-13 02:10:24 UTC
Created attachment 168234 [details, diff]
makes phidget's makefile willing to use a directory other than /usr/lib

This patch against the Makefile makes the Makefile :-) require a the variable LIBDIR to be set to something reasonable, like "lib64" or "lib32" or "lib". This is for systems like mine, which have /usr/lib64.
Comment 8 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2008-10-13 02:15:49 UTC
Created attachment 168240 [details, diff]
allows the Makefile to find the javahome path for JNI
Comment 9 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2008-10-13 02:26:54 UTC
(In reply to comment #5)
> Created an attachment (id=168230) [edit]
> A working ebuild for a the more current phidget library
> 
> This is the current version of the phidget library. The previously posted
> ebuilds did not work.
Oops, the LICENSE should be set to LGPL. Please see http://www.phidgets.com/information_display.php?info_var=1 .
Also, there should probably be a "dodoc PhidgetLinux/README" and copying of "${S}/examples" into /usr/share/phidget*.
The phidgets tarball also comes with a udev rules file which makes all phidgets devices world read/writable, which probably shouldn't be installed. It also has some folders named avahi* with random header files. It even has its own copy of an old libusb, but the libphidget can't easily be made to use the system's libusb.
Comment 10 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-01-07 00:29:44 UTC
Created attachment 177617 [details]
ebuild for the current release of phidget

The current phidgets release requires a new version of the files/phiget21-crosscompile.patch. I also reverted the license to ``as-is'' because I think I was mistaken about the LGPL - except that http://www.phidgets.com/downloads.php?os_id=3 states you agree to the LGPL by downloading it ? OK, I rereverted to saying LICENSE="LGPL".

I also fixed some logic in the ebuild: make=>emake, added some || die "some message", and fixed calling the java-pkg_regso function when the java useflag is disabled.
Comment 11 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-01-07 00:30:50 UTC
Created attachment 177618 [details, diff]
replaces the other crosscompile patch, allows crosscompiling

This patch had to be changed to reflect a superficial changes in the Makefile layout from the phidget package.
Comment 12 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-01-07 00:31:43 UTC
Comment on attachment 168232 [details, diff]
This patch allows the makefile to call gcc and binutils tools prefixed by a tuple.

forgot to depcrecate the first crosscompile patch when adding the new one.
Comment 13 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-01-07 00:45:16 UTC
Created attachment 177620 [details]
ebuild for current version of phidget

I fixed lacking calls to dodir. I missed the earlier comment about dodir vs. mkdir -p.
I hope that the ebuilds available in this bug are of a better quality, now.
Comment 14 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-05-10 13:13:58 UTC
Created attachment 190835 [details]
updated ebuild for current libphidget21 version