Several new/updated ebuilds
This commit is contained in:
parent
3f032855b8
commit
cd6fdc5af3
@ -6,12 +6,15 @@ AUX arduino-1.6.9-build.xml.patch 29384 SHA256 9417ebed1e3f122eefbc8992b700f3865
|
||||
AUX arduino-1.6.9-platform.patch 1102 SHA256 4026317625b48b4f845b31655a3553417e62cfd96072ac3b9dc2166806e95838 SHA512 91300f146fac62c16e542536e780ade8e4a10f95dc0e254fd7de1504eedec3fccffe6ef137ab05b457c9c675007b4067d53736e409c7dab7711e590ede22e4e4 WHIRLPOOL 787bfa52278cc2cc443c346bac7e7f1f9a52be409e64fc04c9a77461d3770118bf0ae583316918190fdd12c975d59869a5dc19157739bc37b396ce92a0adb07c
|
||||
AUX arduino-1.6.9-script.patch 580 SHA256 553335d62134c9ca66e7b9f0b9496f187c76a3223438f2659e29d51cdd55776d SHA512 65b2868a18201f738a64377d965601dda77cee9713720e1d91de4378038083669370e3353b82f48f41c27d0ff65a859a8acc9b15bb20ba55bb7685daa98db173 WHIRLPOOL 2b9de5c030c05f48a52fd67f54d2ae1a25b1f95b1e02a69a172fe286d9b1c6912a652954b3e6d35b1c0cf252ba2ccaffa86e844e9f8075323ef1e413a0a988af
|
||||
AUX arduino-1.8.1-Do-Not-ThinkDifferent.patch 832 SHA256 f3be70a62f24a91ba5de4350772fe365983b23c1ff12dc4add555954d499b997 SHA512 cfcb1a7fb9ea89fb48b0795a64c80e22962a8db3417ab51aaef140e76d7d2d27f311ab9463d530e190e06b0ad4412460af71a263dd93115cb2cb89c21ba8107c WHIRLPOOL da06bde9ef309fb0a55ef0c94a1427410ce0aea875ee577fc00f9171905dffe6748bd1777639408f4e10e6d1f1fbc8beaf753379e8ad6ae64f4eb7d099585531
|
||||
AUX arduino-1.8.4-Do-Not-ThinkDifferent.patch 832 SHA256 f3be70a62f24a91ba5de4350772fe365983b23c1ff12dc4add555954d499b997 SHA512 cfcb1a7fb9ea89fb48b0795a64c80e22962a8db3417ab51aaef140e76d7d2d27f311ab9463d530e190e06b0ad4412460af71a263dd93115cb2cb89c21ba8107c WHIRLPOOL da06bde9ef309fb0a55ef0c94a1427410ce0aea875ee577fc00f9171905dffe6748bd1777639408f4e10e6d1f1fbc8beaf753379e8ad6ae64f4eb7d099585531
|
||||
AUX arduino.desktop 228 SHA256 3b89b4fe43d2a0d40e757be94859b6809bd49f85d2c47a92e78b286d7de0ae39 SHA512 8c8b8b3306eeaa8640716abba14c44e2886b6d23c3cf2b5503595cb89a59845bdd5a57800fd07cea777be20e27621427bbb6bad2a8fe9513f7dfac5a41f8bde4 WHIRLPOOL c2d2db0cf2c10448801a718adc4ab4b58b0e70e2c9cfd31115d5a0c79fc1f69de3ffb67e2560636239b6fd6b24f9bddbf6ece2f72a69d2e4e0c042a36a6b08f8
|
||||
AUX platform-1.6.9/platform.txt 1447 SHA256 1a971137ac7575b4a6cb5869f79158db8ab61c1e899a275900ae9cce9fd140ed SHA512 269be33d4a2f22f59f149037614eca87b062c4f41f71dd3576db395d67018954f855d79b370a0b88b823985b287e163bbd0bdc430546a5ed3f5316fd7a0f41cb WHIRLPOOL 0daa35b52af6f8a1e6a3a58d4db7bb63798ac656400bf4227e94c166a1e8c159ef01012f1a8ea0a3c9a2aa836e5e00e1e5c6e65c0d34f72f7465419caa2ddeb0
|
||||
DIST arduino-1.6.7.tar.gz 77578555 SHA256 ae524c19c3b6fcd00cbf709e693321a13e694316fea5642a54b02d4170213586 SHA512 2f76aedad6f8bb9c3e17c4b02ecf816f5fe628b4856a6bd9a3d7c0fe3d9999a39df60a4794d99b1e62c3ae41695350f27d148a0925f7f59b8071359d33be2b00 WHIRLPOOL c5bdf2a67ff37fc8bc4a002ea24f003d97f6ae04632d906fc4d37d2af64c113f698e26720c73b40afc39925f03206a41a4ec0faba0d80756427714102ad47f90
|
||||
DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049
|
||||
DIST arduino-1.8.1.tar.gz 86826305 SHA256 cc82bbb2979fbf53dc4775668de7e5eefcb61ab65f46507aa933107ad458d268 SHA512 1ca8c306d2bdee52fbc69ba7b933ac9a3a1154cfa2e5861e75b5eb2ca1cdfa7843b36b36eae68d8d932194be5ea938fbe3c2492b87d81d88d88edd9d0aeb1541 WHIRLPOOL 0ca152bbf1600e0f15ceb11130252fb353f2b7b74c461f8d8725ca9175295bc29a1609c847a1544df4053673b8e01207267c9e9a493fd08dc75cf05614c697b7
|
||||
DIST arduino-1.8.4.tar.gz 48215723 SHA256 aa17ae247091c0bf52e08be2bdf37a151bcda00de1017e097f7ee57274b3636b SHA512 e3bbc404eb842a65cba7e3905183daa83e3712b2926e6beeb443b2b61586852781b92ee3acd52e713cc4c3373cbf4be3849fac4c55513b0cc6936d4553f8935c WHIRLPOOL 455bba5b22b0685441477d09f3d04bff64414d432d0553194a2f9d8518a1509b7c6f9b39225e06b598740d2575d7202d5c7ca96ceaf77b9561496919500fa46f
|
||||
DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
|
||||
EBUILD arduino-1.6.7.ebuild 3617 SHA256 c078fd90e9d0eed48b0757dc1df7a1d078feef5abfcde907bd42317d1f146d9e SHA512 6f193f84325863969546350d6c10378aeaade1eb6f5207e824c9546ae500da3e93b003d52ef752a8c8e25371ba8838cc32659df0c9ef879a8956762dc24fa9eb WHIRLPOOL d67cc32dea2c31f3ed1dc130ea8a3e1c6d006d40e069c4efa00fdea46c40a00d92ab6c0b5205a03a5386ab6452cf040e03bc2e23dec0dfae302b2aeefd34b0ad
|
||||
EBUILD arduino-1.6.9.ebuild 4424 SHA256 415aeee47ac97eeab8a63450c88edaf18c24e40fcd24b00bb8b636eafb846346 SHA512 b7e8ffe93351b851415bde8d1c6c14df4b1a44944fd44837a09bc9c7acd969141286c0aaac0ab79c726e2ac85cdf4f84ef75db1d9b62bb366bbf4d6ca4190dfd WHIRLPOOL 1a4166c5400062930fe54ee725d17f5173d03bd053b750643ec8750143caf37624e35b041a15605a1d0b38487abb187bea19b29b7fbce64c714eacbf5a0ec219
|
||||
EBUILD arduino-1.8.1.ebuild 4336 SHA256 495a8f4bc548029c8dc9b85be15860d96db3588cd0a0d5b9784efad409e9e5e8 SHA512 9381e6cd272fb9fe4e1db91fd351d7420dc980b27b0451f415614f546d9ce8d4b267cd074bd2930383ef442cf75988671062010b58da90efd5f01f4b4f6c130e WHIRLPOOL 1fc492137bb3fb5ed834827d48e6229ef09967081bd33ee19da3e2cd4d951b1c69384e525f2bae8df4338424b6d20dcf65ff094796464f4c8fcd45a14f2efc25
|
||||
EBUILD arduino-1.8.4.ebuild 6285 SHA256 1b1f51a501f12d2b709cff9d2827556cfccc063f81afd24b79eca9d9372eb64e SHA512 8ab79bb0de2a2898d3bbd2b6ea2e1e65a22e03bc122eb101bf7dc26567806a29eea81ede793fecd779a65a071d50628fb9c674e52d122203c31325bb12bb31c8 WHIRLPOOL 643bb2aa829d236fd8576021215e885b079f760367f24e72088f0b0aab04afb2310e6985289c9b5f7a1ba356bdc4a76d13fd7730c8f2ac8d3d046b4bc016d7da
|
||||
|
170
dev-embedded/arduino/arduino-1.8.4.ebuild
Normal file
170
dev-embedded/arduino/arduino-1.8.4.ebuild
Normal file
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc +examples"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An open-source AVR electronics prototyping platform"
|
||||
HOMEPAGE="http://arduino.cc/ https://github.com/arduino/Arduino"
|
||||
SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
mirror://gentoo/arduino-icons.tar.bz2"
|
||||
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
RESTRICT="strip binchecks"
|
||||
IUSE=""
|
||||
|
||||
COMMONDEP="
|
||||
dev-embedded/listserialportsc
|
||||
dev-java/jna:0
|
||||
>dev-java/rxtx-2.1:2
|
||||
dev-util/astyle"
|
||||
|
||||
RDEPEND="${COMMONDEP}
|
||||
dev-embedded/avrdude
|
||||
dev-embedded/uisp
|
||||
sys-devel/crossdev
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="${COMMONDEP}
|
||||
>=virtual/jdk-1.8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV}"
|
||||
EANT_BUILD_TARGET="build"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
# cd ../"${S}"
|
||||
mv Arduino-${PV} arduino-${PV}
|
||||
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Remove the libraries to ensure the system
|
||||
# libraries are used
|
||||
# rm app/lib/* || die
|
||||
rm -rf app/src/processing/app/macosx || die
|
||||
# Patch build/build.xml - remove local jar files
|
||||
# for rxtx and ecj (use system wide versions)
|
||||
# epatch "${FILESDIR}"/${P}-build.xml.patch
|
||||
|
||||
# Patch launcher script to include rxtx class/ld paths
|
||||
# epatch "${FILESDIR}"/${P}-script.patch
|
||||
|
||||
# Some OS X ThinkDifferent stuff from processing library
|
||||
epatch "${FILESDIR}"/${P}-Do-Not-ThinkDifferent.patch
|
||||
|
||||
# Patch platform.txt for compiler paths
|
||||
# epatch "${FILESDIR}"/${P}-platform.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant -f arduino-core/build.xml
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="../arduino-core/arduino-core.jar"
|
||||
eant -f app/build.xml
|
||||
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/build/linux/work || die
|
||||
# java-pkg_dojar lib/arduino-core.jar lib/pde.jar
|
||||
java-pkg_dojar lib/*.jar
|
||||
java-pkg_dolauncher ${PN} --pwd /usr/share/${PN} --main processing.app.Base
|
||||
|
||||
# This doesn't seem to be optional, it just hangs when starting without
|
||||
# examples in correct place
|
||||
#if use examples; then
|
||||
#java-pkg_doexamples examples
|
||||
#docompress -x /usr/share/doc/${P}/examples/
|
||||
#fi
|
||||
|
||||
if use doc; then
|
||||
dodoc revisions.txt "${S}"/readme.txt
|
||||
dohtml -r reference
|
||||
java-pkg_dojavadoc "${S}"/build/javadoc/everything
|
||||
fi
|
||||
|
||||
insinto "/usr/share/${PN}/"
|
||||
doins -r examples hardware libraries
|
||||
fowners -R root:uucp "/usr/share/${PN}/hardware"
|
||||
|
||||
exeinto "/usr/share/${PN}/"
|
||||
doexe arduino-builder
|
||||
|
||||
insinto "/usr/share/${PN}/lib"
|
||||
doins -r lib/*.txt lib/theme lib/*.png lib/*.conf lib/*.key
|
||||
|
||||
# For TeensyDuino
|
||||
dosym /usr/bin/arduino "/usr/share/${PN}/arduino"
|
||||
|
||||
# use system avrdude
|
||||
# patching class files is too hard
|
||||
dosym /usr/bin/avrdude "/usr/share/${PN}/hardware/tools/avrdude"
|
||||
dodir "/usr/share/${PN}/hardware/tools/avr/etc/"
|
||||
dosym /etc/avrdude.conf "/usr/share/${PN}/hardware/tools/avr/etc/avrdude.conf"
|
||||
|
||||
dosym /usr/$(get_libdir)/libastylej.so.3 "/usr/share/${PN}/lib/libastylej.so"
|
||||
dosym /usr/$(get_libdir)/liblistSerialsj.so "/usr/share/${PN}/lib/liblistSerialsj.so"
|
||||
dodir "/usr/share/${PN}/hardware/tools/avr/bin/"
|
||||
dosym /usr/bin/avr-g++ "/usr/share/${PN}/hardware/tools/avr/bin/avr-addr2line"
|
||||
dosym /usr/bin/avr-ar "/usr/share/${PN}/hardware/tools/avr/bin/avr-ar"
|
||||
dosym /usr/bin/avr-as "/usr/share/${PN}/hardware/tools/avr/bin/avr-as"
|
||||
dosym /usr/bin/avr-c++ "/usr/share/${PN}/hardware/tools/avr/bin/avr-c++"
|
||||
dosym /usr/bin/avr-c++filt "/usr/share/${PN}/hardware/tools/avr/bin/avr-c++filt"
|
||||
dosym /usr/bin/avr-g++ "/usr/share/${PN}/hardware/tools/avr/bin/avr-cpp"
|
||||
dosym /usr/bin/avrdude "/usr/share/${PN}/hardware/tools/avr/bin/avrdude"
|
||||
dosym /usr/bin/avr-elfedit "/usr/share/${PN}/hardware/tools/avr/bin/avr-elfedit"
|
||||
dosym /usr/bin/avr-g++ "/usr/share/${PN}/hardware/tools/avr/bin/avr-g++"
|
||||
dosym /usr/bin/avr-gcc "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcc"
|
||||
dosym /usr/bin/avr-gcc-ar "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcc-ar"
|
||||
dosym /usr/bin/avr-gcc-nm "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcc-nm"
|
||||
dosym /usr/bin/avr-gcc-ranlib "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcc-ranlib"
|
||||
dosym /usr/bin/avr-gcov "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcov"
|
||||
dosym /usr/bin/avr-gdb "/usr/share/${PN}/hardware/tools/avr/bin/avr-gdb"
|
||||
dosym /usr/bin/avr-gprof "/usr/share/${PN}/hardware/tools/avr/bin/avr-gprof"
|
||||
dosym /usr/bin/avr-ld "/usr/share/${PN}/hardware/tools/avr/bin/avr-ld"
|
||||
dosym /usr/bin/avr-ld.bfd "/usr/share/${PN}/hardware/tools/avr/bin/avr-ld.bfd"
|
||||
dosym /usr/bin/avr-man "/usr/share/${PN}/hardware/tools/avr/bin/avr-man"
|
||||
dosym /usr/bin/avr-nm "/usr/share/${PN}/hardware/tools/avr/bin/avr-nm"
|
||||
dosym /usr/bin/avr-objcopy "/usr/share/${PN}/hardware/tools/avr/bin/avr-objcopy"
|
||||
dosym /usr/bin/avr-objdump "/usr/share/${PN}/hardware/tools/avr/bin/avr-objdump"
|
||||
dosym /usr/bin/avr-ranlib "/usr/share/${PN}/hardware/tools/avr/bin/avr-ranlib"
|
||||
dosym /usr/bin/avr-readelf "/usr/share/${PN}/hardware/tools/avr/bin/avr-readelf"
|
||||
dosym /usr/bin/avr-run "/usr/share/${PN}/hardware/tools/avr/bin/avr-run"
|
||||
dosym /usr/bin/avr-size "/usr/share/${PN}/hardware/tools/avr/bin/avr-size"
|
||||
dosym /usr/bin/avr-strings "/usr/share/${PN}/hardware/tools/avr/bin/avr-strings"
|
||||
dosym /usr/bin/avr-strip "/usr/share/${PN}/hardware/tools/avr/bin/avr-strip"
|
||||
dosym /usr/bin/ctags "/usr/share/${PN}/hardware/tools/avr/bin/ctags"
|
||||
dosym /usr/bin/libusb-config "/usr/share/${PN}/hardware/tools/avr/bin/libusb-config"
|
||||
|
||||
if [ -x /usr/bin/avr-ld ]; then
|
||||
BU_VER=$( avr-ld --version | head -1 | sed -e 's/^.*(.*) //' )
|
||||
dosym /usr/lib/binutils/avr/${BU_VER}/ldscripts "/usr/avr/lib/ldscripts"
|
||||
fi
|
||||
|
||||
# install menu and icons
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
for sz in 16 24 32 48 128 256; do
|
||||
newicon -s $sz \
|
||||
"${WORKDIR}/${PN}-icons/debian_icons_${sz}x${sz}_apps_${PN}.png" \
|
||||
"${PN}.png"
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ ! -x /usr/bin/avr-g++ ]; then
|
||||
ewarn "Install avr crosscompiler using:"
|
||||
ewarn " USE=\"-openmp -hardened -sanitize -vtv\" \\"
|
||||
ewarn " crossdev -s4 --ex-gdb -v -S --target avr"
|
||||
echo
|
||||
ewarn "Afterwards, create a symlink for ldscripts:"
|
||||
ewarn " BU_VER=$( avr-ld --version | head -1 | sed -e 's/^.*(.*) //' ) \\"
|
||||
ewarn " ln -s /usr/lib/binutils/avr/\$BU_VER/ldscripts /usr/avr/lib/ldscripts"
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
diff -uNr a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java
|
||||
--- a/app/src/processing/app/Base.java 2015-11-07 16:00:54.614383789 +0100
|
||||
+++ b/app/src/processing/app/Base.java 2015-11-07 16:01:09.486384112 +0100
|
||||
@@ -49,7 +49,6 @@
|
||||
import processing.app.helpers.filefilters.OnlyFilesWithExtension;
|
||||
import processing.app.javax.swing.filechooser.FileNameExtensionFilter;
|
||||
import processing.app.legacy.PApplet;
|
||||
-import processing.app.macosx.ThinkDifferent;
|
||||
import processing.app.packages.LibraryList;
|
||||
import processing.app.packages.UserLibrary;
|
||||
import processing.app.syntax.PdeKeywords;
|
||||
@@ -129,10 +128,6 @@
|
||||
|
||||
splashScreenHelper.splashText(_("Loading configuration..."));
|
||||
|
||||
- if (OSUtils.isMacOS()) {
|
||||
- ThinkDifferent.init();
|
||||
- }
|
||||
-
|
||||
try {
|
||||
guardedMain(args);
|
||||
} catch (Throwable e) {
|
32
dev-embedded/platformio/platformio-3.4.1.ebuild
Normal file
32
dev-embedded/platformio/platformio-3.4.1.ebuild
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An open source ecosystem for IoT development. Cross-platform build system and library manager. Continuous and IDE integration. Arduino, ESP8266 and ARM mbed compatible"
|
||||
HOMEPAGE="http://platformio.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/semantic_version-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyserial-3[${PYTHON_USEDEP}]
|
||||
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/lockfile-0.9.1[${PYTHON_USEDEP}]
|
||||
<dev-python/lockfile-0.13[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-5[${PYTHON_USEDEP}]
|
||||
<dev-python/click-6[${PYTHON_USEDEP}]
|
||||
<dev-python/bottle-0.13[${PYTHON_USEDEP}]
|
||||
<dev-python/arrow-1[${PYTHON_USEDEP}]"
|
@ -2,5 +2,5 @@ AUX pigpio-44-MakeRemote.patch 813 SHA256 c5a631132680c2aac91e662acba8ac57ffe8de
|
||||
AUX pigpio-44-Makefile.patch 1333 SHA256 266bccc58f04424a9066886e2c1dd87edb1d396892372d0fee6c76ba8ab3ff69 SHA512 ac1a299bfcce2325ceb01c803d93fae3da6c7daa1d6efd8878defe6c12ca493fea16d484434af6eb0eda8049033ad2631f9a5100026af4204274e877e7327696 WHIRLPOOL b4307963dd332af90b09b127114bfa1677c9019403c58f11bf45562a8c6893a397cdc332a532cd208754e943a942ea544fc7396da02aa91dc311db9877fefa70
|
||||
AUX pigpio-44-format-security.patch 511 SHA256 c2b0c606240e6c5b4e70289ee23f1b0fb3c9482951b99e1feee3d3dec02ca3a8 SHA512 02f025ca0c24fa08a52bc084c2c72c0a3a41ebc13299574e7de65ab81c0abb888d460dbac7592a856bc40110094a9bcf06072a0c5adb471dee28581bd08c2dd9 WHIRLPOOL 0b7850d8c42040bddb6027afa6ed93dc5c3e1de0565451a751b1bac354fa9243a5eb23a56a2739d502cf9fcd0a7ada8883027df0dd871cda5c8075be1380553c
|
||||
AUX pigpio-9999-Makefile.patch 1404 SHA256 41ba514f42199778221c3e715d36a675f519bfcd2da82c2cf6d670cff78a13b2 SHA512 7fb0c8e622dc7d01e9426fbb0d7e12e797cea3997726873636381f48b5ffc0754896eb94feb727084bc1d0087511c7096cbe9e189d658a4c33c9f2af56f2f402 WHIRLPOOL 3b0d62ccddeadef2093f3af48da038aac00b3bb2fa6b1d43e753aa7c8fc6888bb6ea080c3c876c5d19d650ae1b64fae3aeac83ec8cb8d33cee2de87a08b97afe
|
||||
EBUILD pigpio-9999.ebuild 1483 SHA256 cd2525c0b985276544d9eeccd59e37f41b4ee81890d674f43d7de06b3b42c371 SHA512 a524b22a27242e22d64c8fb4e9e1633cec6bd47a5ac5ceaea25427e2f48e2c31fe5c2eccfa8009bd89d8694cba7ef26924560729296d37c5c9d527501584df8e WHIRLPOOL 65937192d4c63feb03d0b7f0178db14aec52f1a19523f4da9b1d909a71564afdb88ae9c6c9a6a5ee666c7a164ac98dfc84ea9effebaeb37093e34f767d25f900
|
||||
EBUILD pigpio-9999.ebuild 1538 SHA256 c47156f4d265a7d01b52193f71f604cb3af4b2f7f3cbf233eebc3499c5717c52 SHA512 479004ecabf7c575c5ee0a286ad1cbf1dd156f8b1c7417c06b082bc8cde63ff09f06d7c5f48a3d64c908000c81f2b52ab43094d6a983d3b24819b58ac1aab7a3 WHIRLPOOL c4aa5c652879b1568d6c5e59ea4e21cb6523c5531436bc5e45bf379b2812189f66eb0cbf9f57c0b2491e46cdbe2407e8389cfa0850e0e5111b94275e8d0e609c
|
||||
MISC metadata.xml 297 SHA256 652f1fc58682353a3236a2b0105df49f49f4a523f74148f000864cc40f37affd SHA512 9284ce2486abe9a813147f1fc1d395fffd5f20f652281077ff39c823eb10a317fe5dd14413e39f3a6d25b8814535482105fcba8ba6af0988a2141e403d3b3d8b WHIRLPOOL ff34e1054d63ad80545588396d05c9106257620c3e1705b9851b6b52309a6f76cdfeba63217b8b2d6fb9fdcbe9f8e4b6d33ee520179bb17de7ba7dd3126e2b9a
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
@ -22,6 +22,7 @@ DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
epatch "${FILESDIR}"/${PN}-44-format-security.patch \
|
||||
"${FILESDIR}"/${P}-Makefile.patch \
|
||||
"${FILESDIR}"/${PN}-44-MakeRemote.patch
|
||||
@ -53,9 +54,9 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
if use remote ; then
|
||||
emake -f MakeRemote install prefix="${EROOT}"usr DESTDIR="${D}"
|
||||
emake -f MakeRemote install prefix="${EROOT}"usr libdir="$(get_libdir)" DESTDIR="${D}"
|
||||
else
|
||||
emake install prefix="${EROOT}"usr DESTDIR="${D}"
|
||||
emake install prefix="${EROOT}"usr libdir="$(get_libdir)" DESTDIR="${D}"
|
||||
fi
|
||||
|
||||
use python && distutils-r1_src_install
|
||||
|
103
eclass/palemoon-2.eclass
Normal file
103
eclass/palemoon-2.eclass
Normal file
@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit check-reqs gnome2-utils fdo-mime
|
||||
|
||||
EXPORT_FUNCTIONS pkg_pretend pkg_preinst pkg_postinst pkg_postrm pkg_setup
|
||||
|
||||
palemoon-2_pkg_pretend() {
|
||||
# Ensure we have enough disk space to compile:
|
||||
CHECKREQS_DISK_BUILD=${REQUIRED_BUILDSPACE}
|
||||
check-reqs_pkg_setup
|
||||
|
||||
# Ensure we are not on a gcc 5.* profile:
|
||||
if [ "$(cc --version | head -c 3)" == "gcc" ]; then
|
||||
einfo "Checking gcc version..."
|
||||
if [ "$(gcc -dumpversion | head -c 1)" -ge 5 ]; then
|
||||
if [ "$(gcc -dumpversion | head -c 1)" -eq 7 ]; then
|
||||
gcc-7_error
|
||||
die
|
||||
fi
|
||||
gcc-5_warning
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
palemoon-2_pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
palemoon-2_pkg_postinst() {
|
||||
# Update mimedb for the new .desktop file:
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
palemoon-2_pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
palemoon-2_pkg_setup() {
|
||||
# Nested configure scripts in mozilla products generate unrecognized
|
||||
# options false positives when toplevel configure passes downwards:
|
||||
export QA_CONFIGURE_OPTIONS=".*"
|
||||
}
|
||||
|
||||
official-branding_warning() {
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Moonchild Productions"
|
||||
elog "You can disable it by emerging ${PN} _without_ the official-branding USE-flag"
|
||||
}
|
||||
|
||||
gcc-5_warning() {
|
||||
eerror "Building Pale Moon with gcc >=5 may result in an unstable build."
|
||||
eerror "You can use gcc-config to change your compiler profile,"
|
||||
eerror "just remember to change it back afterwards."
|
||||
eerror "You need to have the appropriate versions of gcc installed"
|
||||
eerror "for them to be shown in gcc-config."
|
||||
}
|
||||
|
||||
gcc-7_error() {
|
||||
eerror "You are currently on a gcc 7.* compiler profile."
|
||||
eerror "Building Pale Moon with gcc 7 is risky and rarely possible."
|
||||
eerror "You can use gcc-config to change your compiler profile,"
|
||||
eerror "just remember to change it back afterwards."
|
||||
eerror "You need to have the appropriate versions of gcc installed"
|
||||
eerror "for them to be shown in gcc-config."
|
||||
}
|
||||
mozconfig_init() {
|
||||
cp -L "${S}/browser/config/mozconfig" "${S}/.mozconfig" || die
|
||||
}
|
||||
|
||||
mozconfig_enable() {
|
||||
for option in "$@"; do
|
||||
echo "ac_add_options --enable-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
mozconfig_disable() {
|
||||
for option in "$@"; do
|
||||
echo "ac_add_options --disable-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
mozconfig_with() {
|
||||
for option in "$@"; do
|
||||
echo "ac_add_options --with-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
mozconfig_var() {
|
||||
echo "mk_add_options $1=\"$2\"" >> "${S}/.mozconfig"
|
||||
}
|
||||
|
||||
load_default_prefs() {
|
||||
PREFS_FILE="${S}/${obj_dir}/dist/bin/browser/defaults/preferences/firefox.js"
|
||||
cat "${FILESDIR}"/default-prefs.js-0 >> $PREFS_FILE || die
|
||||
}
|
||||
|
||||
set_pref() {
|
||||
echo "pref(\"$1\", \"$2\");" >> $PREFS_FILE
|
||||
}
|
5
sci-electronics/fritzing/Manifest
Normal file
5
sci-electronics/fritzing/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX fritzing-0.9.3b-libgit2-compatibility.patch 1261 SHA256 e9f34bafb6171f25219f40a6fe5dbacb3ad144a0dedb85b5718a1dc2bc77ef77 SHA512 f184cd7bb2fa2649f9ea1f43b624bc77cada97176381b8eac264d45d4787c83941f04c35d3db526e1c6446eda49ec801d8f0878e24007396e9cd6fb3c80b7f7a WHIRLPOOL c4c98418578580139ca6832ecfccf328b380ef24838e8147990b15c38536ecadf30c277315f078df5e7fb0be4e92b18892027d1378983aaa28b14b841fc021db
|
||||
DIST fritzing-0.9.3b.tar.gz 13166592 SHA256 2475a95aad2c1536eef3fdb72665c5c16590644b45bd110a0cde223c916625b8 SHA512 1a91f5713d9f2a811c4e2d0570a95d2a003554d27bc0ec00b9e6a29b94112a5f9479c560dcbecd8b3a4125997100c4d6fec43fc8a5a4db63c009e607375b819a WHIRLPOOL 2aee718656d1ba0f0863fb892f00e7c595e5d59965ed7e01378477ecad4166b4926e82f497ca329a6addbe15a77bdcb918ff37eaaf664c8c6b19766860e074bc
|
||||
DIST fritzing-parts-0.9.3b.tar.gz 14961724 SHA256 c40a9a50df0af78905968792b2ce595896af1935633600d6136eca0cf9797fdb SHA512 560bf08ffc9a2f34d03f5ca135c4ab6bc6246f6515a7d5028c188462e0aac8083cbb3f4ab4bb9eee536a68143326ccd6e965d975c315c19ce8d067dfac85692c WHIRLPOOL f1c1fd1a4301f95b214b8e5ca78844690b2047f9b2e10c6e62ca7598ee0a07a16235a699f9ae830a25865fce2170ee4687d8ae969d375005ec8202bc60013637
|
||||
EBUILD fritzing-0.9.3b.ebuild 2436 SHA256 fbe8b3df8a5996276b2c5a7fccfbb84295ba5d61b55ffec35aefa2f1d96744f2 SHA512 19de801c28add281f1cfdc53ead2b05a756b87dc3dac814c4f33995809a691855e57448ed30e149948630c1ecc4f3440fc7ec596f52d23a500c8df8299ae6783 WHIRLPOOL 93c0f70065ede348920ef8abcc659d41e640dfd37a87034f1cb4cae60f747cc19969019afff91bcb09284c52bea60f6483dc0905405e4f4d8000b2eae97d83e5
|
||||
MISC metadata.xml 253 SHA256 310bb76c92e8001eb258e049f77a16df929c75570bedd6de49df734f6e9289db SHA512 2a945da80f439b52e18112fa5d1dea6a1bb2f7d39d46c7c4ab8a1a7722c954ff3d859bb7d4e12e6f682289c025350a1353af39a12a8bbb8aa2124834cf667028 WHIRLPOOL 97334f5505e17712ce029c92042367901035b0719d576a7b2e22a74b01b1e8ddab1ee37e20db8cc4f8afc90cda1387e9f609f2bc1c6004a600a9fff8d3e92ba3
|
@ -0,0 +1,29 @@
|
||||
From 4cb5185d464bf98e9da5ceca72d5af907ff824ef Mon Sep 17 00:00:00 2001
|
||||
From: Chris Mayo <aklhfex@gmail.com>
|
||||
Date: Sun, 12 Jun 2016 16:31:35 +0100
|
||||
Subject: [PATCH] make compatible with libgit2 >= 0.24.0
|
||||
|
||||
Based on:
|
||||
https://github.com/fritzing/fritzing-app/pull/3203/commits/1ffea750c05fda78c88b60b84545f6a3e1371159
|
||||
---
|
||||
src/version/partschecker.cpp | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/version/partschecker.cpp b/src/version/partschecker.cpp
|
||||
index a3e3967a..3d54c6bf 100644
|
||||
--- a/src/version/partschecker.cpp
|
||||
+++ b/src/version/partschecker.cpp
|
||||
@@ -121,7 +121,13 @@ bool PartsChecker::newPartsAvailable(const QString &repoPath, const QString & sh
|
||||
/**
|
||||
* Connect to the remote.
|
||||
*/
|
||||
+#if LIBGIT2_VER_MINOR > 24
|
||||
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL);
|
||||
+#elif LIBGIT2_VER_MINOR == 24
|
||||
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL);
|
||||
+#else
|
||||
error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks);
|
||||
+#endif
|
||||
if (error) {
|
||||
partsCheckerResult.partsCheckerError = PARTS_CHECKER_ERROR_REMOTE;
|
||||
partsCheckerResult.errorMessage = QObject::tr("Unable to access network site for '%1'. %2").arg(repoPath).arg(sBoilerPlate1);
|
89
sci-electronics/fritzing/fritzing-0.9.3b.ebuild
Normal file
89
sci-electronics/fritzing/fritzing-0.9.3b.ebuild
Normal file
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PARTS_P="${PN}-parts-${PV}"
|
||||
|
||||
inherit qmake-utils eutils
|
||||
|
||||
DESCRIPTION="Electronic Design Automation"
|
||||
HOMEPAGE="http://fritzing.org/"
|
||||
SRC_URI="https://github.com/fritzing/fritzing-app/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/fritzing/fritzing-parts/archive/${PV}.tar.gz -> ${PARTS_P}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0 GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtserialport:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
>=dev-libs/quazip-0.7.2[qt5]
|
||||
dev-libs/libgit2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/boost-1.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-app-${PV}"
|
||||
|
||||
DOCS="readme.md"
|
||||
|
||||
src_prepare() {
|
||||
local lang translations=
|
||||
|
||||
# fix build with newer quazip - bug #597988
|
||||
sed -i -e "s/#include <quazip/&5/" src/utils/folderutils.cpp || die
|
||||
sed -i -e "s|/usr/include/quazip|&5|" -e "s/-lquazip/&5/" phoenix.pro || die
|
||||
|
||||
# Get a rid of the bundled libs
|
||||
# Bug 412555 and
|
||||
# https://code.google.com/p/fritzing/issues/detail?id=1898
|
||||
rm -rf src/lib/quazip/ pri/quazip.pri src/lib/boost* || die
|
||||
|
||||
# Fritzing doesn't need zlib
|
||||
sed -i -e 's:LIBS += -lz::' -e 's:-lminizip::' phoenix.pro || die
|
||||
|
||||
# Fritzing >= 0.9.3 needs libgit2
|
||||
sed -i -e 's:LIBGIT2INCLUDE = ../libgit2/include:LIBGIT2INCLUDE = /usr/include:' phoenix.pro || die
|
||||
sed -i -e 's:LIBGIT2LIB = ../libgit2/build:LIBGIT2LIB = /usr/lib:' phoenix.pro || die
|
||||
|
||||
# Use latest boost
|
||||
sed -i -e 's:LATESTBOOST = 0:LATESTBOOST = installed:' pri/utils.pri || die
|
||||
|
||||
# Somewhat evil but IMHO the best solution
|
||||
for lang in $L10N; do
|
||||
lang=${lang/linguas_}
|
||||
[[ -f "translations/${PN}_${lang}.qm" ]] && translations+=" translations/${PN}_${lang}.qm"
|
||||
done
|
||||
if [[ -n "${translations}" ]]; then
|
||||
sed -i -e "s:\(translations.extra =\) .*:\1 cp -p ${translations} \$(INSTALL_ROOT)\$\$PKGDATADIR/translations\r:" phoenix.pro || die
|
||||
else
|
||||
sed -i -e "s:translations.extra = .*:\r:" phoenix.pro || die
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${P}-libgit2-compatibility.patch
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 DEFINES=QUAZIP_INSTALLED phoenix.pro
|
||||
|
||||
# Fix for gcc 6
|
||||
sed -i -e 's:-isystem :-I:' Makefile.Release || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
INSTALL_ROOT="${D}" default
|
||||
|
||||
insinto /usr/share/fritzing/parts
|
||||
doins -r "${WORKDIR}/${PARTS_P}"/*
|
||||
}
|
8
sci-electronics/fritzing/metadata.xml
Normal file
8
sci-electronics/fritzing/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">fritzing/fritzing-app</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
1
sci-electronics/pcb2gcodegui/Manifest
Normal file
1
sci-electronics/pcb2gcodegui/Manifest
Normal file
@ -0,0 +1 @@
|
||||
EBUILD pcb2gcodegui-9999.ebuild 835 SHA256 ab95b5abac1bd0c0f6bcb44bfde65b8c95d0c2b1f99693b0a80449a44bcf1cdb SHA512 465aa209bd053b2d22611af0815beb44abf7e5511421b17159d8005673edfa321b191d63bbed4c0cd076b1c713b4e98ca2fa77831520bea96ab12f9d0ac01cdc WHIRLPOOL 715db5e904c8c5aec1e64e7e89f58d1d55c65f34e90e231c2be63e0f7cf4a753280de9239334f5004211672417c906f15998532a8c46f562b9aabfdee80a3ab7
|
42
sci-electronics/pcb2gcodegui/pcb2gcodegui-9999.ebuild
Normal file
42
sci-electronics/pcb2gcodegui/pcb2gcodegui-9999.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="pcb2gcodeGUI"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit qmake-utils eutils
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/pcb2gcode/pcb2gcodeGUI.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/pcb2gcode/pcb2gcodeGUI/archive/v${PV} -> ${MY_P}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A GUI for pcb2gcode."
|
||||
HOMEPAGE="https://github.com/pcb2gcode/pcb2gcodeGUI"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtsvg:5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="LICENSE README.md"
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX=/usr ${MY_PN}.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
INSTALL_ROOT="${D}" default
|
||||
}
|
Loading…
Reference in New Issue
Block a user