summaryrefslogtreecommitdiff
path: root/sys-devel/parity
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/parity')
-rw-r--r--sys-devel/parity/Manifest11
-rw-r--r--sys-devel/parity/files/parity-1.2.6-debugging.patch17
-rw-r--r--sys-devel/parity/metadata.xml12
-rw-r--r--sys-devel/parity/parity-1.2.4.ebuild57
-rw-r--r--sys-devel/parity/parity-1.2.5.ebuild57
-rw-r--r--sys-devel/parity/parity-1.2.6.ebuild62
-rw-r--r--sys-devel/parity/parity-9999.ebuild67
7 files changed, 283 insertions, 0 deletions
diff --git a/sys-devel/parity/Manifest b/sys-devel/parity/Manifest
new file mode 100644
index 000000000000..1f38629b519f
--- /dev/null
+++ b/sys-devel/parity/Manifest
@@ -0,0 +1,11 @@
+AUX parity-1.2.6-debugging.patch 431 SHA256 dc502d3650a887807afb52474fc682003d9c28afb1f6bdf91a66226884ef2a43 SHA512 da62fc499c5d9e25c3373d8f3529c8dfb0c26bfb08bba851b144d4f2f0b98e29fcf2d1e11022d10412b67afad84e70bcd5456842f4beccaaeab1bf1091e9ddb9 WHIRLPOOL b0cb5fe0e187521e3f6d503e8ffbac4238f7003119b1ff5e2e35a982e88d4dc25965b46dd050962a9ea205593353ba3b9d01d2cadf5d2f42d1a80374ac2410ca
+DIST parity-1.2.4.tar.gz 456408 SHA256 13d781a5f606244f53d980bdb362f30bbdb67d29e8d93075c893fc7ee13fc496 SHA512 236476c8fbf29e84363062722cb5092d07c86798584d0a17ea0406b2416e044fd2952f81e31b5a49b3f117592a7fbf496379ad065320d44fee8d33ebb86ec590 WHIRLPOOL 2fd4ef7d04bf0f8e69f8e892a2afdc1bef89f48e31ef7a1410e7f2e0b5df4de7ef84f87d633abbbece53ae9079a83fad67d734b2b46b37b3429c49a9512ed300
+DIST parity-1.2.5.tar.gz 559411 SHA256 950d7888c7bf0cd6ad8955b4781d2fafcbdae2b009d13f80929b12a1af9cc4df SHA512 daadf80582b7fa8914f7899e4055185885164210f9a970ff178c3846da83058e3bd70c1db10406e3bcaef05148e87226846cb39e30cbbd1e0821176a8f65c32b WHIRLPOOL 90f3803b0fd62b5a8d198a3c2c95eb23a7db62ad80b49ec71daf7eb834f51f5af37a1efaba9bcaa7d54170655c527d95b4e399c4038993f0b17a9dba3dbe2fe6
+DIST parity-1.2.6.tar.gz 559357 SHA256 a0b9fb69e6bbef5f2b4a6ef84910c23b8cac5649456ef1834d0517a06d2c3537 SHA512 fe043feef71db20cf759fd1b5eb8e855f5f78b278f48e9d4afdd2c06fc6c6ae861439cde3829728d3548e072cb065aea5d4048da7ad8bc49f5bc7fcebf7ad430 WHIRLPOOL 98662c7f37b3eb4040ac49e1135d4fa6bbea8a4473094ee5d9f12c79fa81886dbf4ccd3037d56f55ee707a0d749be6898b6826e8f7126b426608011d79a042fe
+EBUILD parity-1.2.4.ebuild 1840 SHA256 4afcbb269952d0399b03290e1d08e1d7e6f836c93e033b967a9390db724a0d2e SHA512 b9a729395449b6265357c134b56046bd3928dfb2c99a526e402be319c74f04ddfeca107ca15db3c405ec1d9a9ed2b512e24aa48f7d57db0ae485c6ce86ff1379 WHIRLPOOL ba7b95228b22ef9da429a5ed30521c2c285bfc4a5d45d1d2d90d231118bf5045ac918fa3c06e3afb46df481957ac2f0e4438d067ce9580012a068779956f5406
+EBUILD parity-1.2.5.ebuild 1840 SHA256 4afcbb269952d0399b03290e1d08e1d7e6f836c93e033b967a9390db724a0d2e SHA512 b9a729395449b6265357c134b56046bd3928dfb2c99a526e402be319c74f04ddfeca107ca15db3c405ec1d9a9ed2b512e24aa48f7d57db0ae485c6ce86ff1379 WHIRLPOOL ba7b95228b22ef9da429a5ed30521c2c285bfc4a5d45d1d2d90d231118bf5045ac918fa3c06e3afb46df481957ac2f0e4438d067ce9580012a068779956f5406
+EBUILD parity-1.2.6.ebuild 1912 SHA256 f1ac854292e512dacae6bcf032de298ff73a3f7e62c1f1064408d145e6950f21 SHA512 3472126d0cca7f23f207187fe648c48a31abfafb7440a815f1a7dae952b53a42732fa3d50dae3b3e3eb5f5b42c00bfcd847f108a9845ecd21ecc440245b47c99 WHIRLPOOL b7a51217ad6fbdeb6e132ed79cbd0637efd0c8867ba5d9f9275ab7188d2fcb5a6438600cc003e12484bea1e6597da3c062193dac418b793f4e9e41302544f616
+EBUILD parity-9999.ebuild 2042 SHA256 33ffd15f595ae362d9c0e738077c5a1379167cdf2decf00ccc5c67eddddd780f SHA512 29f58be9aea4f471ed75d73d4a217b295b8ea2f0c3f083f5ebb92c08cd04ea4ef79d22ba9ff557d636740a8704b4a8605496c126e6348f98cff02b0222d36250 WHIRLPOOL 1421a435fe58b766fb0f5ea78a67570e91fa5b06bad32c91c4ae406530eeceff9d8d54bbc0533b5bd3de31fe442aed4f82440f56378691e7a94e2fcc0f9f722d
+MISC ChangeLog 2562 SHA256 832220bb9822aa1e9fa8f6c260255c3376b8fdaf9c0162f33d42c764b8a429d2 SHA512 6db486bea5fc27cb95d4bc9fc3bd6c95d2096d7ac6ceb117ed838fdc1285e130213811d8a45eccdfa525976fa50758cdb46792b3cf93bdda0a09d4cea0cef826 WHIRLPOOL 031b2ca146cf78462b6c4ead7b0025c1c5fffa2debeccf68b5f93c73c4331332742acd923e672310d936ba6ae5ebadaed7692ba9c634f593da4de86389fd561f
+MISC ChangeLog-2015 4528 SHA256 a982a82513eaf4b84253bdf1c33310e7d382a28c96cf3582dd3beabc0d652f2f SHA512 ac131d0bfdd116ad4d9375c307c1f9e112cdc1dbb543abc07dced49e6fc4ab40f7260ec0b8aedb8b5be0dc6eb778c5edcee94625ad523f43a1d642d02f0d676b WHIRLPOOL 0eeb0e1875fde614cbcf4005acefaeb9b18839140a4ebd6d6d6d73da25bbbb53b9354b2725764bdbb6e9d7b8695b11d9e6ff67684b1a8cfe088c431d8bd70cca
+MISC metadata.xml 381 SHA256 092a74d1d829761febb8b7175e4eca79ac117065cae4ceba444cd60a1a4b5ae4 SHA512 6ba0a9716f0ac257e89c2a2ac1b35c9a39f8ced04260b74c4e8fce0906a9dbcad9844817aaeb8c3288e16cd3897c3617233d19634728f8e49a2e31e0d39e586e WHIRLPOOL 8ef56798abb047461dd9073b6ffe5c3b7d053a68026d4885a5214d6bcca761317e0d1c121633f60b53b265f42e9a6a591b3d1b81aea9fae5571d939581d435b8
diff --git a/sys-devel/parity/files/parity-1.2.6-debugging.patch b/sys-devel/parity/files/parity-1.2.6-debugging.patch
new file mode 100644
index 000000000000..709f46ee9734
--- /dev/null
+++ b/sys-devel/parity/files/parity-1.2.6-debugging.patch
@@ -0,0 +1,17 @@
+--- parity.runtime/diagnose.c.orig 2012-09-28 17:12:54 +0200
++++ parity.runtime/diagnose.c 2012-09-28 17:11:14 +0200
+@@ -745,9 +745,11 @@
+ CloseHandle(hCore);
+ }
+
+- // abort on fatal exceptions
+- TerminateProcess(GetCurrentProcess(), 1);
+- ExitProcess(1);
++ if (!IsDebuggerPresent()) {
++ // abort on fatal exceptions
++ TerminateProcess(GetCurrentProcess(), 1);
++ ExitProcess(1);
++ }
+ return EXCEPTION_CONTINUE_SEARCH;
+ }
+
diff --git a/sys-devel/parity/metadata.xml b/sys-devel/parity/metadata.xml
new file mode 100644
index 000000000000..c0714eac500c
--- /dev/null
+++ b/sys-devel/parity/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>haubi@gentoo.org</email>
+ <name>Michael Haubenwallner</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">parity</remote-id>
+ <remote-id type="github">haubi/parity</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-devel/parity/parity-1.2.4.ebuild b/sys-devel/parity/parity-1.2.4.ebuild
new file mode 100644
index 000000000000..a52cea9e6344
--- /dev/null
+++ b/sys-devel/parity/parity-1.2.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="An Interix to native Win32 Cross-Compiler Tool (requires Visual Studio)"
+HOMEPAGE="http://www.sourceforge.net/projects/parity/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit subversion
+ ESVN_REPO_URI="https://svn.code.sf.net/p/parity/code/trunk"
+ ESVN_BOOTSTRAP="confix --bootstrap"
+ ESVN_PROJECT="${PN}"
+ KEYWORDS=""
+
+ DEPEND="dev-util/confix"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS="~x86-winnt"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+ if [ -z "${MSSDK}" ]; then
+ einfo "NOTE: When using Visual Studio 2008, the Platform SDK is no longer"
+ einfo "installed alongside with the other components, but has it's own"
+ einfo "root directory, most likely something like this:"
+ einfo ""
+ einfo " C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A"
+ einfo ""
+ einfo "To make parity find it's paths correctly, please set MSSDK to the"
+ einfo "value correspoding to the above example for your system."
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # create i586-pc-winnt*-g[++|cc|..] links..
+ local exeext=
+
+ [[ -f ${ED}/usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
+
+ # create cross compiler syms
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-gcc
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-c++
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-g++
+ dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt$(uname -r)-ld
+
+ # we don't need the header files installed by parity... private
+ # header files are supported with a patch from 2.1.0-r1 onwards,
+ # so they won't be there anymore, but -f does the job in any case.
+ rm -f "${ED}"/usr/include/*.h
+}
diff --git a/sys-devel/parity/parity-1.2.5.ebuild b/sys-devel/parity/parity-1.2.5.ebuild
new file mode 100644
index 000000000000..a52cea9e6344
--- /dev/null
+++ b/sys-devel/parity/parity-1.2.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="An Interix to native Win32 Cross-Compiler Tool (requires Visual Studio)"
+HOMEPAGE="http://www.sourceforge.net/projects/parity/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit subversion
+ ESVN_REPO_URI="https://svn.code.sf.net/p/parity/code/trunk"
+ ESVN_BOOTSTRAP="confix --bootstrap"
+ ESVN_PROJECT="${PN}"
+ KEYWORDS=""
+
+ DEPEND="dev-util/confix"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS="~x86-winnt"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+ if [ -z "${MSSDK}" ]; then
+ einfo "NOTE: When using Visual Studio 2008, the Platform SDK is no longer"
+ einfo "installed alongside with the other components, but has it's own"
+ einfo "root directory, most likely something like this:"
+ einfo ""
+ einfo " C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A"
+ einfo ""
+ einfo "To make parity find it's paths correctly, please set MSSDK to the"
+ einfo "value correspoding to the above example for your system."
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # create i586-pc-winnt*-g[++|cc|..] links..
+ local exeext=
+
+ [[ -f ${ED}/usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
+
+ # create cross compiler syms
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-gcc
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-c++
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-g++
+ dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt$(uname -r)-ld
+
+ # we don't need the header files installed by parity... private
+ # header files are supported with a patch from 2.1.0-r1 onwards,
+ # so they won't be there anymore, but -f does the job in any case.
+ rm -f "${ED}"/usr/include/*.h
+}
diff --git a/sys-devel/parity/parity-1.2.6.ebuild b/sys-devel/parity/parity-1.2.6.ebuild
new file mode 100644
index 000000000000..f91ef988e4dc
--- /dev/null
+++ b/sys-devel/parity/parity-1.2.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+if [[ ${PV} == 9999 ]]; then
+ inherit subversion
+ ESVN_REPO_URI="https://svn.code.sf.net/p/parity/code/trunk"
+ ESVN_BOOTSTRAP="confix --bootstrap"
+ ESVN_PROJECT="${PN}"
+ : ${KEYWORDS=""}
+
+ DEPEND="dev-util/confix"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS=""
+fi
+DESCRIPTION="An Interix to native Win32 Cross-Compiler Tool (requires Visual Studio)"
+HOMEPAGE="http://www.sourceforge.net/projects/parity/"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+ if [ -z "${MSSDK}" ]; then
+ einfo "NOTE: When using Visual Studio 2008, the Platform SDK is no longer"
+ einfo "installed alongside with the other components, but has it's own"
+ einfo "root directory, most likely something like this:"
+ einfo ""
+ einfo " C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A"
+ einfo ""
+ einfo "To make parity find it's paths correctly, please set MSSDK to the"
+ einfo "value correspoding to the above example for your system."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-debugging.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # create i586-pc-winnt*-g[++|cc|..] links..
+ local exeext=
+
+ [[ -f ${ED}/usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
+
+ # create cross compiler syms
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-gcc
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-c++
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-g++
+ dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt$(uname -r)-ld
+
+ # we don't need the header files installed by parity... private
+ # header files are supported with a patch from 2.1.0-r1 onwards,
+ # so they won't be there anymore, but -f does the job in any case.
+ rm -f "${ED}"/usr/include/*.h
+}
diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild
new file mode 100644
index 000000000000..d6e19cd51a49
--- /dev/null
+++ b/sys-devel/parity/parity-9999.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git@github.com:haubi/parity.git https://github.com/haubi/parity.git"
+ DEPEND="dev-util/confix"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS=""
+fi
+DESCRIPTION="A POSIX to native Win32 Cross-Compiler Tool (requires Visual Studio)"
+HOMEPAGE="https://github.com/haubi/parity"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+ if [ -z "${MSSDK}" ]; then
+ einfo "NOTE: When using Visual Studio 2008, the Platform SDK is no longer"
+ einfo "installed alongside with the other components, but has it's own"
+ einfo "root directory, most likely something like this:"
+ einfo ""
+ einfo " C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A"
+ einfo ""
+ einfo "To make parity find it's paths correctly, please set MSSDK to the"
+ einfo "value correspoding to the above example for your system."
+ fi
+}
+
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ confix --bootstrap || die
+ default
+ }
+fi
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # create i586-pc-winnt-g[++|cc|..] links..
+ local exeext=
+
+ [[ -f ${ED}usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
+
+ # create cross compiler syms, also for former versioned winnt profiles
+ local v t
+ for v in "" 5.2 6.1; do
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-c++
+ dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-g++
+ for t in gcc ld windres ar nm ranlib strip; do
+ if [[ -e "${ED}"usr/bin/parity.gnu.${t}${exeext} ]]; then
+ dosym /usr/bin/parity.gnu.${t}${exeext} /usr/bin/i586-pc-winnt${v}-${t}
+ else
+ dosym /usr/bin/parity.gnu.${t} /usr/bin/i586-pc-winnt${v}-${t}
+ fi
+ done
+ done
+
+ # we don't need the header files installed by parity... private
+ # header files are supported with a patch from 2.1.0-r1 onwards,
+ # so they won't be there anymore, but -f does the job in any case.
+ rm -f "${ED}"/usr/include/*.h
+}