Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666146 - =dev-embedded/arduino-1.8.7 version bump
Summary: =dev-embedded/arduino-1.8.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-09-13 14:25 UTC by Manuel Rüger (RETIRED)
Modified: 2018-11-04 15:40 UTC (History)
3 users (show)

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


Attachments
Proposed ebuild (arduino-1.8.7.ebuild,5.66 KB, text/plain)
2018-10-27 19:06 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2018-09-13 14:25:24 UTC
Release notes:
https://github.com/arduino/Arduino/releases/1.8.6
https://github.com/arduino/Arduino/releases/1.8.7

arduino-builder-1.4.1 has been released as well.
Comment 1 Michael Perlov 2018-10-07 20:50:33 UTC
I have an ebuild for arduino-builder 1.4.1

https://github.com/Perlovka/portage-overlay/tree/master/dev-embedded/arduino-builder

But it depends on https://github.com/gentoo/gentoo/pull/10100

When/if this PR will be merged I could do a new PR with arduino-builder version bump.
Comment 2 Michael Perlov 2018-10-08 01:29:49 UTC
Arduino ebuild: https://github.com/Perlovka/portage-overlay/tree/master/dev-embedded/arduino
Comment 3 Michael Perlov 2018-10-08 12:29:58 UTC
How about to unbundle libraries from arduino?

I think it's a good idea, because library updates are being installed in user directory anyway. So there is no point to install them in system. Also this will remove a bunch of downloads upon install.
Comment 4 Virgil Dupras (RETIRED) gentoo-dev 2018-10-09 17:28:45 UTC
Michael: Thanks for your arduino-builder PR. It's looking good (I'm glad that this namespace hack can finally be removed!). I'm merging it.

As for arduino and library unbundling, you might be right. I bundled the libraries because I assumed that they were needed at build time and wanted to avoid breaking portage's network sandbox, but I tried your ebuild and it built well. It looks like these libraries are only downloaded at runtime...

I made the big bump from 1.0.5 to 1.8.5 to help, but I actually don't use Arduino IDE (although I'm an AVR enthusiast), so I'm not very well placed to maintain this collection of packages.

Would you be interested in proxy-maintaining this collection of packages? You seem to be doing a rather good job.
Comment 5 Larry the Git Cow gentoo-dev 2018-10-09 17:34:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b128d56fed349c13bdbf670b4cfe9c4e56b3284f

commit b128d56fed349c13bdbf670b4cfe9c4e56b3284f
Author:     Michael Perlov <perlovka@gmail.com>
AuthorDate: 2018-10-08 15:17:12 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-09 17:34:17 +0000

    dev-embedded/arduino-builder: version bump to 1.4.1
    
    Bug: https://bugs.gentoo.org/666146
    Signed-off-by: Michael Perlov <perlovka@gmail.com>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11
    Closes: https://github.com/gentoo/gentoo/pull/10105
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 dev-embedded/arduino-builder/Manifest              |  8 +++
 .../arduino-builder/arduino-builder-1.4.1.ebuild   | 68 ++++++++++++++++++++++
 .../arduino-builder-1.4.1-platform-paths.patch     | 19 ++++++
 3 files changed, 95 insertions(+)
Comment 6 Alex 2018-10-27 19:05:15 UTC
There is no need to bump arduino-builder version, everything works fine as is.
I propose my ebuild as a version bump (it has only minor differences with 1.8.5).
Comment 7 Alex 2018-10-27 19:06:00 UTC
Created attachment 553372 [details]
Proposed ebuild
Comment 8 Virgil Dupras (RETIRED) gentoo-dev 2018-10-28 14:14:31 UTC
Alex: your ebuild seems to need some cleanup. duplicate library entry, spurious commented out lines, x86 stable... Also, it's better to submit your work as a patch (git format-patch).

Also, if arduino really doesn't need those libraries to be present at install time and automatically fetches them as needed, Michael's approach seems better. But I don't use that app, so I don't really know.
Comment 9 Michael Perlov 2018-11-04 12:00:47 UTC
Virgil : I'm not using Arduino IDE on regular basis, just tried to build something for Mega2560 and noticed than there is a new arduino version, so I made an ebuild for it =)
Comment 10 Larry the Git Cow gentoo-dev 2018-11-04 15:40:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86d651379ae4a0e804d7c55a5350effceaac452

commit a86d651379ae4a0e804d7c55a5350effceaac452
Author:     Michael Perlov <perlovka@gmail.com>
AuthorDate: 2018-11-04 11:35:22 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-11-04 15:36:30 +0000

    dev-embedded/arduino: version bump to 1.8.7
    
    Closes: https://bugs.gentoo.org/666146
    Closes: https://github.com/gentoo/gentoo/pull/10334
    Signed-off-by: Michael Perlov <perlovka@gmail.com>
    Signed-off-by: Amy Liffey <amynka@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-embedded/arduino/Manifest              |   6 ++
 dev-embedded/arduino/arduino-1.8.7.ebuild  | 146 +++++++++++++++++++++++++++++
 dev-embedded/arduino/files/arduino.desktop |   2 +-
 3 files changed, 153 insertions(+), 1 deletion(-)