Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185116

Summary: New ebuild: player-2.0.4.ebuild - Player is a network server for robot control.
Product: Gentoo Linux Reporter: Angelo Arrifano (RETIRED) <miknix>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED DUPLICATE    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 185470    
Attachments: The ebuild.
The patch needed by ebuild.
The rev2 of the ebuild.
The CORRECT rev2 ebuild. (sorry)
player-2.0.4.ebuild
player-2.0.4.ebuild
player-2.0.4.ebuild

Description Angelo Arrifano (RETIRED) gentoo-dev 2007-07-12 22:04:36 UTC
http://playerstage.sourceforge.net/index.php?src=player

"Player is a network server for robot control. Running on your robot, Player provides a clean and simple interface to the robot's sensors and actuators over the IP network. Your client program talks to Player over a TCP socket, reading data from sensors, writing commmands to actuators, and configuring devices on the fly."

Player supports a lot of drivers. I think would be useful to have a new USE_EXPAND: PLAYER_DRIVERS
This ebuild already uses that.

I also patched libdc1394 detection in the configure script since it was searching in a wrong dir.

This is a big package with lots of dependencies, I didn't test them all.
There are some drivers that have their own dependencies whose this ebuild is not checking. Although I hope this ebuild would be a good starting point.

Cheers,
Ângelo Arrifano

PS: Gazebo and Stage ebuilds (from the same project) are coming too..

Reproducible: Always
Comment 1 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-12 22:05:25 UTC
Created attachment 124707 [details]
The ebuild.
Comment 2 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-12 22:06:00 UTC
Created attachment 124709 [details, diff]
The patch needed by ebuild.
Comment 3 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-14 19:48:28 UTC
After stumbling across every driver of player package I thought that will be better to use already existing global use flags instead of a use expand.

In this new ebuild the drivers are compiled (or not) depending on the user chosen use flags. I think this is the wanted and default behavior of packages in portage.

For instance, if use flag gtk and ieee1394 are enabled. All drivers that need gtk and ieee1394 all built.

The patch isn't needed anymore.. I guess I was confused about the two libdc1394 APIs.

I also added the package doxygen dependency when use flag doc is enabled, since doxygen is needed to build documentation.

There were drivers that depended on packages that are not in portage. I have them commented out in ebuild. They are never compiled.

I hope this helps whoever will be the future package maintainer.

Greetings,
Ângelo Arrifano

PS: See #185298 for stage package ebuild that make part of same project.
Comment 4 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-14 19:49:47 UTC
Created attachment 124864 [details]
The rev2 of the ebuild.
Comment 5 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-14 20:03:28 UTC
Created attachment 124866 [details]
The CORRECT rev2 ebuild. (sorry)
Comment 6 Angelo Arrifano (RETIRED) gentoo-dev 2007-07-15 22:21:36 UTC
The last package from stageplayer project is completed: gazebo ebuild see #185470
Comment 7 Angelo Arrifano (RETIRED) gentoo-dev 2007-09-14 15:34:27 UTC
Created attachment 130919 [details]
player-2.0.4.ebuild

* Fixed invalid DEPEND syntax.
* Removed redundant src_unpack function.
* Fixed the way some dependencies were handled.
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2007-10-12 16:53:08 UTC
Created attachment 133261 [details]
player-2.0.4.ebuild

* Fixed unused USE flags.
* Added included test suite support.
* Removed non required packages from RDEPEND.
Comment 9 Angelo Arrifano (RETIRED) gentoo-dev 2007-11-23 15:44:00 UTC
Created attachment 136775 [details]
player-2.0.4.ebuild

* Added header.
* Removed redundant USE flags.
Comment 10 Angelo Arrifano (RETIRED) gentoo-dev 2007-11-23 15:45:53 UTC

*** This bug has been marked as a duplicate of bug 26373 ***