I wrote this simple ebuild for libwiimote, a library that provides a framework to interact with the Nintendo Wii's remote
Created attachment 133814 [details] ebuild
Created attachment 133816 [details, diff] patch to the Makefile, to use portage's CFLAGS and adds -fPIC
Created attachment 135838 [details] svn snapshot ebuild I have joined the project and started a new svn branch with improved autotools support. That's what the new ebuild is for. Compiles fine on my machine(amd64). Anyone's interested to try it?
Created attachment 138437 [details] dev-libs/libwiimote-0.4 Cleaned up the 0.4 ebuild to be a bit more gentoo-like and made it work with "--as-needed" (by disabling the tests). Autotools in this lib are heavily broken!
Created attachment 138438 [details, diff] libwiimote-as-needed.patch necessary patch
Created attachment 138439 [details] libwiimote-pkgconfig.patch Simple support for pkgconfig in libwiimote-9999
Created attachment 138441 [details, diff] libwiimote-pkgconfig.patch Updated version
(In reply to comment #4) > Created an attachment (id=138437) [edit] > dev-libs/libwiimote-0.4 > > Cleaned up the 0.4 ebuild to be a bit more gentoo-like and made it work with > "--as-needed" (by disabling the tests). > > Autotools in this lib are heavily broken! > ehm... my first try... sorry but I wrote the autotools stuff with works-for-me(tm) enabled...
(In reply to comment #8) > (In reply to comment #4) > > Created an attachment (id=138437) [edit] > > dev-libs/libwiimote-0.4 > > > > Cleaned up the 0.4 ebuild to be a bit more gentoo-like and made it work with > > "--as-needed" (by disabling the tests). > > > > Autotools in this lib are heavily broken! > > > > ehm... my first try... sorry but I wrote the autotools stuff with > works-for-me(tm) enabled... > uhm you were speaking about the "other" version... whoa, I feel better now. does the svn code work for you?
The SVN stuff works great! (Expect the missing pkgconfig support ;-) )
(In reply to comment #10) > The SVN stuff works great! (Expect the missing pkgconfig support ;-) ) > I'm merging your pkgconfig patch into the svn code
Created attachment 143625 [details] libwiimote-9999-ldflags.patch This patch is against r80 of SVN and fixes the build against LDFLAGS="-wl,--as-needed". The libwiimote-pkgconfig.patch has been merged upstream.
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/dev-libs/libwiimote
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 201187 [details] dev-libs/libwiimote-0.4-r1.ebuild make it compile with bluez4
Created attachment 201189 [details] patch to use bluez4 patch that changes the configure check ind wiimote_link.c to use the renamed function in bluez4
Does it make sense to punt this in favor of xwiimote?
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/