[arch-commits] Commit in arduino-avr-core/trunk (PKGBUILD platform.patch)
Date: Saturday, July 11, 2020 @ 08:23:14 Author: nicohood Revision: 663233 Remove not required -fno-devirtualize patch Modified: arduino-avr-core/trunk/PKGBUILD arduino-avr-core/trunk/platform.patch + PKGBUILD |4 ++-- platform.patch |3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-10 23:32:30 UTC (rev 663232) +++ PKGBUILD2020-07-11 08:23:14 UTC (rev 663233) @@ -3,7 +3,7 @@ pkgname=arduino-avr-core pkgver=1.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" arch=('any') url="https://github.com/arduino/ArduinoCore-avr; @@ -15,7 +15,7 @@ "platform.patch") sha512sums=('e2d006f0b6540dba6623baac07d36078987fe8efdac39c6d160ab018a6c93a96369ece1ee92de0fae4a58fd4e93db108d2395de06c68d84ed2743739ed466aac' 'SKIP' - '34bdd71d8796682ddd1a57e4ef38b2dc4557656f32528af3caa96e6d6f803b6982b9edf044294c2af9478c5ca3dbb6567faa6d24aa97228173e38f7a139b3b68') + '916d76a1313fa9372e141eb132eb3d5d4db32e27f695d3b6b0e2894111bfdacd54feec2ba6ea89b10918b9ef904f9b3d4c105c37d5a6851ac92c5c1758679f00') validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages prepare() Modified: platform.patch === --- platform.patch 2020-07-10 23:32:30 UTC (rev 663232) +++ platform.patch 2020-07-11 08:23:14 UTC (rev 663233) @@ -22,8 +22,7 @@ compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ --compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -+compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -fno-devirtualize -fno-use-cxa-atexit + compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto compiler.ar.cmd=avr-gcc-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy
[arch-commits] Commit in arduino-avr-core/trunk (PKGBUILD platform.patch)
Date: Tuesday, October 9, 2018 @ 13:52:58 Author: nicohood Revision: 391554 upgpkg: arduino-avr-core 1.6.23-1 Modified: arduino-avr-core/trunk/PKGBUILD arduino-avr-core/trunk/platform.patch + PKGBUILD |8 platform.patch |6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-09 13:52:58 UTC (rev 391553) +++ PKGBUILD2018-10-09 13:52:58 UTC (rev 391554) @@ -2,11 +2,11 @@ # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 pkgname=arduino-avr-core -pkgver=1.6.20 +pkgver=1.6.23 pkgrel=1 pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" arch=('any') -url="https://github.com/arduino/Arduino; +url="https://github.com/arduino/ArduinoCore-avr; license=('GPL') depends=('avrdude' 'avr-gcc' 'avr-libc') options=(!strip !emptydirs) @@ -13,9 +13,9 @@ source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2; "https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2.asc; "platform.patch") -sha512sums=('a70b5cff026afcfe61e7e659eee469488da8e68eea1854546a84b6dda811c8f1af793c76ba3f9fc6ed9232837dd68f948455d8752ec66b3e9b16269fc9071a42' +sha512sums=('70ff70446bfc0f036f7a2927e8e53861e60225a0a6c1eb993557278ec79b8337f3a5ee6fd6f6d200744d80104efb1783332eb8d6d53c9f1b6ea6dc3054d78fd4' 'SKIP' - '306c121028a6e82f1b4e8a801776af14519741b1a657c23f755ad1e1b4c3b50db1e64b512c7e476f74f9331a2fbc31035134609e6af28b1beb4a75db5154b611') + '34bdd71d8796682ddd1a57e4ef38b2dc4557656f32528af3caa96e6d6f803b6982b9edf044294c2af9478c5ca3dbb6567faa6d24aa97228173e38f7a139b3b68') validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages prepare() Modified: platform.patch === --- platform.patch 2018-10-09 13:52:58 UTC (rev 391553) +++ platform.patch 2018-10-09 13:52:58 UTC (rev 391554) @@ -7,7 +7,7 @@ -name=Arduino AVR Boards +name=Arch Linux Arduino AVR Boards - version=1.6.16 + version=1.6.23 # AVR compile variables @@ -18,14 +18,14 @@ @@ -22,8 +22,8 @@ compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ --compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -+compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -fno-devirtualize -fno-use-cxa-atexit +-compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto ++compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -fno-devirtualize -fno-use-cxa-atexit compiler.ar.cmd=avr-gcc-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy
[arch-commits] Commit in arduino-avr-core/trunk (PKGBUILD platform.patch)
Date: Sunday, December 25, 2016 @ 15:34:08 Author: nicohood Revision: 201857 upgpkg: arduino-avr-core 1.6.16-1 Modified: arduino-avr-core/trunk/PKGBUILD arduino-avr-core/trunk/platform.patch + PKGBUILD |6 +++--- platform.patch |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-12-25 15:27:32 UTC (rev 201856) +++ PKGBUILD2016-12-25 15:34:08 UTC (rev 201857) @@ -2,7 +2,7 @@ # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 pkgname=arduino-avr-core -pkgver=1.6.15 +pkgver=1.6.16 pkgrel=1 pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" arch=('any') @@ -12,8 +12,8 @@ options=(!strip !emptydirs) source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2; "platform.patch") -sha512sums=('ed6abd7b36eb4b2613965e70ccbc978f37253bdbe20938e23259a48719aa013f474ab1949c900766faa02b5c2e28a5a073b372ea1f52060ad5c8c3ba3641756e' - 'fbf23d990addd7267da3d37639a21fbdb79be023e4e873181c6be731af1285a1755a38701615a38b5bdfb9436a55104bed1223c3e61cb4a9cdb261e8f3b6559e') +sha512sums=('3dd600f63d901c118de11cf996d2247497d254b353481bbf05ad860915fb0268956c575521680cfe8e4b8e14e4a3c0839b014986f27055c54128c83fbe1b8d51' + '306c121028a6e82f1b4e8a801776af14519741b1a657c23f755ad1e1b4c3b50db1e64b512c7e476f74f9331a2fbc31035134609e6af28b1beb4a75db5154b611') prepare() { Modified: platform.patch === --- platform.patch 2016-12-25 15:27:32 UTC (rev 201856) +++ platform.patch 2016-12-25 15:34:08 UTC (rev 201857) @@ -7,7 +7,7 @@ -name=Arduino AVR Boards +name=Arch Linux Arduino AVR Boards - version=1.6.14 + version=1.6.16 # AVR compile variables @@ -18,14 +18,14 @@ @@ -18,9 +18,9 @@ +compiler.path=/usr/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects - compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections + compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc - compiler.S.flags=-c -g -x assembler-with-cpp -flto + compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ -compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto +compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -fno-devirtualize -fno-use-cxa-atexit
[arch-commits] Commit in arduino-avr-core/trunk (PKGBUILD platform.patch)
Date: Tuesday, December 13, 2016 @ 10:42:25 Author: nicohood Revision: 199211 upgpkg: arduino-avr-core 1.6.15-1 Modified: arduino-avr-core/trunk/PKGBUILD arduino-avr-core/trunk/platform.patch + PKGBUILD | 17 + platform.patch |9 - 2 files changed, 13 insertions(+), 13 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-12-13 10:02:15 UTC (rev 199210) +++ PKGBUILD2016-12-13 10:42:25 UTC (rev 199211) @@ -2,25 +2,26 @@ # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 pkgname=arduino-avr-core -pkgver=1.6.14 -pkgrel=3 +pkgver=1.6.15 +pkgrel=1 pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" arch=('any') url="https://github.com/arduino/Arduino; license=('GPL') depends=('avrdude' 'avr-gcc' 'avr-libc') -makedepends=('') -optdepends=('arduino: Arduino IDE') -options=(!strip) -source=("https://downloads.arduino.cc/cores/avr-1.6.14.tar.bz2; +options=(!strip !emptydirs) +source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2; "platform.patch") -sha512sums=('06fff5e62ffa6d3d2b11c75fd54fafe689f8d3fbc6ea38ceb14389ace8f0720a6ba0bd29c6ee6096075fb287bb91fa635533e92904f098c55854be438f6f1514' - '8c1b21222bd65d7985a71f6ac037aa69a608e99fe633528f9161ac39d57329499fd32cd8ff0021e15dc2239612edde8cded1a22882f46dc6433388eabc9f24c2') +sha512sums=('ed6abd7b36eb4b2613965e70ccbc978f37253bdbe20938e23259a48719aa013f474ab1949c900766faa02b5c2e28a5a073b372ea1f52060ad5c8c3ba3641756e' + 'fbf23d990addd7267da3d37639a21fbdb79be023e4e873181c6be731af1285a1755a38701615a38b5bdfb9436a55104bed1223c3e61cb4a9cdb261e8f3b6559e') prepare() { # Prepare arduino avr core to be used with internal avr-gcc cd "${srcdir}/avr" + +# Update version in patchfile, then apply it +sed -i "s/^ version=.*/ version=${pkgver}/" "${srcdir}/platform.patch" patch -Np1 -i "${srcdir}/platform.patch" # Remove elf files Modified: platform.patch === --- platform.patch 2016-12-13 10:02:15 UTC (rev 199210) +++ platform.patch 2016-12-13 10:42:25 UTC (rev 199211) @@ -4,15 +4,15 @@ @@ -5,7 +5,7 @@ # For more info: # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification - + -name=Arduino AVR Boards +name=Arch Linux Arduino AVR Boards version=1.6.14 - + # AVR compile variables @@ -18,14 +18,14 @@ compiler.warning_flags.all=-Wall -Wextra - + # Default "compiler.path" is correct, change only if you want to override the initial value -compiler.path={runtime.tools.avr-gcc.path}/bin/ +compiler.path=/usr/bin/ @@ -30,9 +30,8 @@ @@ -91,7 +91,7 @@ # AVR Uploader/Programmers tools # -- - + -tools.avrdude.path={runtime.tools.avrdude.path} +tools.avrdude.path=/ tools.avrdude.cmd.path={path}/bin/avrdude tools.avrdude.config.path={path}/etc/avrdude.conf -
[arch-commits] Commit in arduino-avr-core/trunk (PKGBUILD platform.patch)
Date: Sunday, October 30, 2016 @ 22:34:11 Author: nicohood Revision: 194113 pkgrel: arduino-avr-core 1.6.14-3 Added: arduino-avr-core/trunk/platform.patch Modified: arduino-avr-core/trunk/PKGBUILD + PKGBUILD | 35 +++ platform.patch | 38 ++ 2 files changed, 73 insertions(+) Modified: PKGBUILD === --- PKGBUILD2016-10-30 22:18:16 UTC (rev 194112) +++ PKGBUILD2016-10-30 22:34:11 UTC (rev 194113) @@ -0,0 +1,35 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-avr-core +pkgver=1.6.14 +pkgrel=3 +pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" +arch=('any') +url="https://github.com/arduino/Arduino; +license=('GPL') +depends=('avrdude' 'avr-gcc' 'avr-libc') +makedepends=('') +optdepends=('arduino: Arduino IDE') +options=(!strip) +source=("https://downloads.arduino.cc/cores/avr-1.6.14.tar.bz2; +"platform.patch") +sha512sums=('06fff5e62ffa6d3d2b11c75fd54fafe689f8d3fbc6ea38ceb14389ace8f0720a6ba0bd29c6ee6096075fb287bb91fa635533e92904f098c55854be438f6f1514' + '8c1b21222bd65d7985a71f6ac037aa69a608e99fe633528f9161ac39d57329499fd32cd8ff0021e15dc2239612edde8cded1a22882f46dc6433388eabc9f24c2') + +prepare() +{ +# Prepare arduino avr core to be used with internal avr-gcc +cd "${srcdir}/avr" +patch -Np1 -i "${srcdir}/platform.patch" + +# Remove elf files +find . -name "*.elf" -type f -exec rm -f {} \; +find . -name "*.a" -type f -exec rm -f {} \; +} + +package() { +# Copy archlinux arduino avr core +install -dm755 "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" +cp -a "${srcdir}/avr" "${pkgdir}/usr/share/arduino/hardware/archlinux-arduino" +} Added: platform.patch === --- platform.patch (rev 0) +++ platform.patch 2016-10-30 22:34:11 UTC (rev 194113) @@ -0,0 +1,38 @@ +diff -aur avr/platform.txt avr.new/platform.txt +--- avr/platform.txt 2016-09-21 10:05:40.0 +0200 avr.new/platform.txt 2016-10-08 16:52:00.513630471 +0200 +@@ -5,7 +5,7 @@ + # For more info: + # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification + +-name=Arduino AVR Boards ++name=Arch Linux Arduino AVR Boards + version=1.6.14 + + # AVR compile variables +@@ -18,14 +18,14 @@ + compiler.warning_flags.all=-Wall -Wextra + + # Default "compiler.path" is correct, change only if you want to override the initial value +-compiler.path={runtime.tools.avr-gcc.path}/bin/ ++compiler.path=/usr/bin/ + compiler.c.cmd=avr-gcc + compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects + compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections + compiler.c.elf.cmd=avr-gcc + compiler.S.flags=-c -g -x assembler-with-cpp -flto + compiler.cpp.cmd=avr-g++ +-compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto ++compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -fno-devirtualize -fno-use-cxa-atexit + compiler.ar.cmd=avr-gcc-ar + compiler.ar.flags=rcs + compiler.objcopy.cmd=avr-objcopy +@@ -91,7 +91,7 @@ + # AVR Uploader/Programmers tools + # -- + +-tools.avrdude.path={runtime.tools.avrdude.path} ++tools.avrdude.path=/ + tools.avrdude.cmd.path={path}/bin/avrdude + tools.avrdude.config.path={path}/etc/avrdude.conf +