Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233806 - new ebuild: dev-embedded/dfu-programmer
Summary: new ebuild: dev-embedded/dfu-programmer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 14:41 UTC by Håvard Wall
Modified: 2015-01-20 17:48 UTC (History)
2 users (show)

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


Attachments
dfu-programmer-0.4.4.ebuild (dfu-programmer-0.4.4.ebuild,603 bytes, text/plain)
2008-08-03 14:42 UTC, Håvard Wall
Details
files/99-dfu-programmer.rules (99-dfu-programmer.rules,241 bytes, text/plain)
2008-08-03 14:44 UTC, Håvard Wall
Details
dfu-programmer-0.4.4.ebuild (dfu-programmer-0.4.4.ebuild,498 bytes, text/plain)
2008-08-04 14:31 UTC, Håvard Wall
Details
dev-embedded/dfu-pgrogrammer-0.5.1.ebuild (dfu-programmer-0.5.1.ebuild,485 bytes, text/plain)
2009-05-24 17:56 UTC, Håvard Wall
Details
version 0.5.2 ebuild (dfu-programmer-0.5.2.ebuild,518 bytes, text/plain)
2010-09-29 02:35 UTC, Michael Mathurin
Details
Version bump (dfu-programmer-0.5.4.ebuild,1.10 KB, application/octet-stream)
2011-06-14 20:41 UTC, Mark James
Details
Patch to fix compile problem caused by --as-needed (fix_as_needed.patch,486 bytes, patch)
2011-06-14 20:42 UTC, Mark James
Details | Diff
dfu-programmer-0.5.4.ebuild (dfu-programmer-0.5.4.ebuild,1.08 KB, text/plain)
2012-11-15 12:05 UTC, Tony Vroon (RETIRED)
Details
0.5.4-as-needed.patch (0.5.4-as-needed.patch,540 bytes, patch)
2012-11-15 12:06 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Håvard Wall 2008-08-03 14:41:21 UTC
I'll be able to maintain the ebuild if nobody else wants to.
Comment 1 Håvard Wall 2008-08-03 14:42:36 UTC
Created attachment 162099 [details]
dfu-programmer-0.4.4.ebuild
Comment 2 Håvard Wall 2008-08-03 14:44:30 UTC
Created attachment 162100 [details]
files/99-dfu-programmer.rules
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-04 13:50:34 UTC
It's Gentoo policy that the copyright goes to the Gentoo Foundation, license is GPL 2. Please reopen, if you're fine with it. The current header is unaccetable, I'm afraid.

Apart from that:

- GPL2 does not reference a valid license file, /see /usr/portage/licenses
- src_unpack() and src_compile() are superfluous, Portage does thisby default.
Comment 4 Håvard Wall 2008-08-04 14:31:04 UTC
Created attachment 162202 [details]
dfu-programmer-0.4.4.ebuild

Thanks for the feedback.

I'm attaching a new ebuild with the Copyright assigned to the Gentoo Foundation as well as fixing the other issues you mentioned.
Comment 5 Håvard Wall 2008-08-04 14:32:30 UTC
Reopening. New ebuild should fix previously raised concerns.
Comment 6 Håvard Wall 2009-05-24 17:56:01 UTC
Created attachment 192326 [details]
dev-embedded/dfu-pgrogrammer-0.5.1.ebuild

Version bump
Comment 7 Michael Mathurin 2010-09-29 02:35:51 UTC
Created attachment 248940 [details]
version 0.5.2 ebuild
Comment 8 Mark James 2011-06-14 20:41:41 UTC
Created attachment 277065 [details]
Version bump

Update to 0.5.4
Comment 9 Mark James 2011-06-14 20:42:11 UTC
Created attachment 277067 [details, diff]
Patch to fix compile problem caused by --as-needed
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2012-11-15 12:05:59 UTC
Created attachment 329602 [details]
dfu-programmer-0.5.4.ebuild

Thank you all for taking the time to write an ebuild and patches. I have made some minor changes and will be committing this to CVS shortly. Expect the ebuild to appear on your local rsync mirror within the next two hours.
As you see I have created an EAPI=4 ebuild and used the "base" eclass, so that I could use a PATCHES bash array. I patched configure.ac instead of the resulting configure script, so I am calling eautoreconf to rebuild that. The progress indication has been done with ebegin and eend, so that a nice little green "OK" appears. Obviously full credit will be given in the change log, as they are just little tweaks to your work.
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2012-11-15 12:06:18 UTC
Created attachment 329604 [details, diff]
0.5.4-as-needed.patch
Comment 12 Tony Vroon (RETIRED) gentoo-dev 2012-11-15 12:12:18 UTC
+*dfu-programmer-0.5.4 (15 Nov 2012)
+
+  15 Nov 2012; Tony Vroon <chainsaw@gentoo.org> +files/0.5.4-as-needed.patch,
+  +dfu-programmer-0.5.4.ebuild, +metadata.xml:
+  Initial commit. Ebuild & patches were developed by Håvard Wall, Michael
+  Mathurin & Mark James in bug #233806. Some minor tweaks by me.

Obviously I can only apologise for how long this bug report lingered. However, I have a use for this now and will be happy to maintain this. Thank you all for your contribution to Gentoo Linux, and I look forward to receiving more of your bug reports later.
Comment 13 Roman Gruber 2015-01-20 17:22:59 UTC
Do you mind updating the portage version please?

dfu-programmer 0.7.1 released (03 Jan 2015)
This is a minor release adding one experimental feature and mopping up a few bug fixes
Add experimental support for autocomplete on Ubuntu
Fix exit status of help-related options and improve start sequence
Fix infinite loop in rpl_malloc
Fix filenames in distribution tarball
dfu-programmer 0.7.0 released (02 Aug 2014)
This release contains a major internal reworking in several areas
More reliable writing of eeprom and user flash areas
Blank memory check
Hex dump facility
New 'launch' command replaces start and reset commands
Status output shows progress while programming
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-20 17:48:06 UTC
(In reply to Roman Gruber from comment #13)
> Do you mind updating the portage version please?

You should file a new bug report.