Summary: | dev-embedded/openocd-9999 - refactor and improve device support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Edwin Peer <edwin> |
Component: | New packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-embedded+disabled, peter, rainhead |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=441856 https://bugs.gentoo.org/show_bug.cgi?id=469592 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
the ebuild
new USE flag descriptions the ebuild diff |
Description
Edwin Peer
2012-02-15 08:39:58 UTC
Created attachment 302013 [details]
new USE flag descriptions
Created attachment 302015 [details]
the ebuild diff
No please do not commit this as-is! Both ebuild and metadata need significant cleanup. The metadata is full of typos and many USE flags are very poorly named. The ebuild has incorrect dependencies in particular for libusb because the OpenOCD libusb situation is a mess. I'm the maintainer of libusb as well as one of the maintainers of OpenOCD. *** Bug 403789 has been marked as a duplicate of this bug. *** (In reply to comment #3) > No please do not commit this as-is! > > Both ebuild and metadata need significant cleanup. The metadata is full of > typos and many USE flags are very poorly named. > > The ebuild has incorrect dependencies in particular for libusb because the > OpenOCD libusb situation is a mess. I'm the maintainer of libusb as well as one > of the maintainers of OpenOCD. ACK. Feel free to submit a better patch (In reply to comment #4) > *** Bug 403789 has been marked as a duplicate of this bug. *** Since this patch isn't going to be accepted without a lot more work, could you commit the ebuild in bug #403789? The changes in that one are non-intrusive and are certainly no worse that what's currently in the repository, but at least it solves my problem (and anyone else who's trying to use an ST-LINK adapter). (In reply to comment #5) > (In reply to comment #3) > > No please do not commit this as-is! > > > > Both ebuild and metadata need significant cleanup. The metadata is full of > > typos and many USE flags are very poorly named. > > > > The ebuild has incorrect dependencies in particular for libusb because the > > OpenOCD libusb situation is a mess. I'm the maintainer of libusb as well as one > > of the maintainers of OpenOCD. > > ACK. Feel free to submit a better patch I don't know a lot about OpenOCD internals, so I'm not able to do much better. I'd argue that what I've submitted is better than what was there to start with so why can't we take an incremental path to get there and commit it as is? Regarding the naming of the USE flags, I'd agree. I was just trying to follow the trend that had already been established in the existing ebuild. (In reply to comment #7) > I don't know a lot about OpenOCD internals, so I'm not able to do much better. That is, I don't know what the issues with OpenOCD and libusb are. I simply assumed that if it was a USB adapter that it had a dependency on libusb. If someone can explain where the issues are, perhaps I can fix the ebuild accordingly. I just bumped 0.6.0_rc1 so let me have a look at this patch again So is anyone willing to submit a better patch? *** Bug 305805 has been marked as a duplicate of this bug. *** (In reply to comment #10) > So is anyone willing to submit a better patch? Sure, in principle I am, but I have not found time to do it yet and I don't know when I will. I hope that's not a reason to commit the proposed ebuild though; as I wrote the dependencies are plain incorrect. Edwin, even if you don't know OpenOCD internals you can still look at configure.ac to find out what the actual dependencies are for each respective programmer. IMO it's not so cool to ask that someone else does that for you. (In reply to comment #12) > (In reply to comment #10) > > So is anyone willing to submit a better patch? > > Sure, in principle I am, but I have not found time to do it yet and I don't > know when I will. > > I hope that's not a reason to commit the proposed ebuild though; as I wrote > the dependencies are plain incorrect. > > Edwin, even if you don't know OpenOCD internals you can still look at > configure.ac to find out what the actual dependencies are for each > respective programmer. IMO it's not so cool to ask that someone else does > that for you. No I won't commit the attached patch. I was kinda hoping to apply these fixes to the upcoming 0.6.0 ebuild but I guess I can do that in a future revision. 0.6.1 is out so I will probably commit one based on the latest 0.5.X ebuild for now I committed an updated 9999 ebuild that should enable most of the adapters by default. I need to do some more testing before I close this bug. Lets mark this as fixed now |