diff --git a/srcpkgs/arduino/patches/disable-dependency-build.patch b/srcpkgs/arduino/patches/disable-dependency-build.patch index da2c2695d79..ac27de7601e 100644 --- a/srcpkgs/arduino/patches/disable-dependency-build.patch +++ b/srcpkgs/arduino/patches/disable-dependency-build.patch @@ -1,51 +1,12 @@ ---- build/build.xml.orig 2017-06-26 21:25:28.372389852 +0000 -+++ build/build.xml 2017-06-26 21:36:00.450346631 +0000 -@@ -456,17 +456,6 @@ - - - -- -- -- -- -- -- -- -- -- -- -- - - - -@@ -484,20 +473,6 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- - - - -@@ -641,15 +616,6 @@ +--- build/build.xml.orig 2019-02-26 02:16:33.845398910 +0100 ++++ build/build.xml 2019-02-26 02:22:56.667235290 +0100 +@@ -649,15 +649,6 @@ - -- -- +- +- - - - @@ -55,13 +16,13 @@ -@@ -666,15 +632,6 @@ +@@ -674,15 +665,6 @@ - -- -- +- +- - - - @@ -71,7 +32,7 @@ -@@ -696,16 +653,6 @@ +@@ -704,28 +686,9 @@ @@ -87,8 +48,37 @@ - + +- +- +- +- +- +- +- +- +- + + + +@@ -746,16 +709,6 @@ + + + +- +- +- +- +- +- +- +- +- +- + + -@@ -714,16 +661,6 @@ +@@ -764,16 +717,6 @@ @@ -105,7 +95,7 @@ -@@ -732,16 +669,6 @@ +@@ -782,16 +725,6 @@ @@ -122,36 +112,3 @@ -@@ -982,16 +909,6 @@ - - - -- -- -- -- -- -- -- -- -- -- - - - -@@ -1112,15 +1029,6 @@ - - - -- -- -- -- -- -- -- -- -- - - - diff --git a/srcpkgs/arduino/patches/ignore-touchbar.patch b/srcpkgs/arduino/patches/ignore-touchbar.patch new file mode 100644 index 00000000000..6111db23096 --- /dev/null +++ b/srcpkgs/arduino/patches/ignore-touchbar.patch @@ -0,0 +1,21 @@ +--- app/src/processing/app/EditorToolbar.java.orig 2019-02-26 02:26:15.309593724 +0100 ++++ app/src/processing/app/EditorToolbar.java 2019-02-26 02:26:57.512244968 +0100 +@@ -149,18 +149,6 @@ + statusFont = Theme.getFont("buttons.status.font"); + statusColor = Theme.getColor("buttons.status.color"); + +- if (OSUtils.isMacOS()) { +- editor.addWindowListener(new WindowAdapter() { +- public void windowActivated(WindowEvent e) { +- if (touchBar == null) { +- buildTouchBar(); +- +- touchBar.show(editor); +- } +- } +- }); +- } +- + addMouseListener(this); + addMouseMotionListener(this); + KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(this); diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index 50b29317a29..336d3c2c7ba 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -1,20 +1,20 @@ # Template file for 'arduino' pkgname=arduino -version=1.8.5 -revision=2 +version=1.8.8 +revision=1 +wrksrc=Arduino-$version hostmakedepends="apache-ant unzip ImageMagick openjdk" depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude" short_desc="IDE for the arduino open-source electronics prototyping platform" maintainer="Enno Boland " -license="GPL-2, LGPL-2" +license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="http://arduino.cc/" distfiles=" https://github.com/arduino/Arduino/archive/${version}.tar.gz ${SOURCEFORGE_SITE}/astyle/astyle_3.0.1_linux.tar.gz" -checksum="57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69 +checksum="01bf72e54165a522fe80ae5454b7073994fd4139a326f2edc0bb61b1d226179a 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd" nostrip=yes -wrksrc=Arduino-$version do_build() { . /etc/profile.d/apache-ant.sh