parent
758479967f
commit
1a1e20d763
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST at-spi2-core-2.32.1.tar.xz 188952 BLAKE2B a12e234b19a38b0fcffbabb8430ef49dc538b38831cc22bbafc7f5d499082007909a82e785184d052f3a62853474cbc4838125540026a6d0e2ac2181e98a6a4c SHA512 cec6ea1426b25d9738c5c401a1038b39e04b1e989b7ef8e02590d117b35cfb253b260cc6e41b09e10e007801fedcb7702c48ba7f3a0c7b6c1f16edd4e8ad0cca
|
DIST at-spi2-core-2.32.1.tar.xz 188952 BLAKE2B a12e234b19a38b0fcffbabb8430ef49dc538b38831cc22bbafc7f5d499082007909a82e785184d052f3a62853474cbc4838125540026a6d0e2ac2181e98a6a4c SHA512 cec6ea1426b25d9738c5c401a1038b39e04b1e989b7ef8e02590d117b35cfb253b260cc6e41b09e10e007801fedcb7702c48ba7f3a0c7b6c1f16edd4e8ad0cca
|
||||||
DIST at-spi2-core-2.34.0.tar.xz 186736 BLAKE2B 6210ef0254760f1ef6e9c9124680f604864e24228650d4be1026dc73ce0ec5d10eec5e9958a98f0970e1292e4fc3935c8379278b10c633c87da5eb3960b94670 SHA512 99f6773e29fb5fcb339cbe5b23133dab78bc52e3c46a1d5bd748788c48345223f1def5078ac48e58756a7692459b177b0e26dc8059898a5ccac56ceb495b7de8
|
DIST at-spi2-core-2.34.0.tar.xz 186736 BLAKE2B 6210ef0254760f1ef6e9c9124680f604864e24228650d4be1026dc73ce0ec5d10eec5e9958a98f0970e1292e4fc3935c8379278b10c633c87da5eb3960b94670 SHA512 99f6773e29fb5fcb339cbe5b23133dab78bc52e3c46a1d5bd748788c48345223f1def5078ac48e58756a7692459b177b0e26dc8059898a5ccac56ceb495b7de8
|
||||||
|
DIST at-spi2-core-2.36.0.tar.xz 186824 BLAKE2B a713d413c1ff291bf82107f6bedccd24d5e9e5312145ac7c4783fcf8366238c2d5cc4ba442fb0c71286abcd695b516861387f76c22ff9e427bd19b99bb7d5d3c SHA512 f45d7e68bfcd9b93cebc47e30febce1ae6a4d9df2fbc9d5bdc25babb123c922d0f9a229485770b2f6ed386178144c20486fa3e46195041ea65a54ab019b1cbb6
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit gnome.org meson multilib-minimal systemd virtualx xdg
|
||||||
|
|
||||||
|
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="2"
|
||||||
|
IUSE="X gtk-doc +introspection"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||||
|
X? (
|
||||||
|
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-util/meson-0.50.0
|
||||||
|
dev-util/glib-utils
|
||||||
|
gtk-doc? (
|
||||||
|
>=dev-util/gtk-doc-1.25
|
||||||
|
app-text/docbook-xml-dtd:4.3 )
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
|
||||||
|
"${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||||
|
-Ddocs=$(multilib_native_usex gtk-doc true false)
|
||||||
|
-Dintrospection=$(multilib_native_usex introspection)
|
||||||
|
-Dx11=$(usex X)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
virtx dbus-run-session meson test -C "${BUILD_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,287 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit go-module systemd user
|
||||||
|
GIT_COMMIT=58aa6c60
|
||||||
|
|
||||||
|
DESCRIPTION="Generic template rendering and notifications with Consul"
|
||||||
|
HOMEPAGE="https://github.com/hashicorp/consul-template"
|
||||||
|
|
||||||
|
EGO_SUM=(
|
||||||
|
"cloud.google.com/go v0.26.0/go.mod"
|
||||||
|
"github.com/BurntSushi/toml v0.3.1"
|
||||||
|
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||||
|
"github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod"
|
||||||
|
"github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod"
|
||||||
|
"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310"
|
||||||
|
"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod"
|
||||||
|
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||||
|
"github.com/bgentry/speakeasy v0.1.0/go.mod"
|
||||||
|
"github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod"
|
||||||
|
"github.com/circonus-labs/circonusllhist v0.1.3/go.mod"
|
||||||
|
"github.com/client9/misspell v0.3.4/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||||
|
"github.com/fatih/color v1.7.0/go.mod"
|
||||||
|
"github.com/fatih/structs v1.1.0/go.mod"
|
||||||
|
"github.com/frankban/quicktest v1.4.0"
|
||||||
|
"github.com/frankban/quicktest v1.4.0/go.mod"
|
||||||
|
"github.com/go-ldap/ldap v3.0.2+incompatible/go.mod"
|
||||||
|
"github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod"
|
||||||
|
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||||
|
"github.com/golang/mock v1.1.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||||
|
"github.com/golang/snappy v0.0.1"
|
||||||
|
"github.com/golang/snappy v0.0.1/go.mod"
|
||||||
|
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c"
|
||||||
|
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||||
|
"github.com/google/btree v1.0.0"
|
||||||
|
"github.com/google/btree v1.0.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.3.0"
|
||||||
|
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||||
|
"github.com/hashicorp/consul/api v1.2.0"
|
||||||
|
"github.com/hashicorp/consul/api v1.2.0/go.mod"
|
||||||
|
"github.com/hashicorp/consul/sdk v0.2.0"
|
||||||
|
"github.com/hashicorp/consul/sdk v0.2.0/go.mod"
|
||||||
|
"github.com/hashicorp/errwrap v1.0.0"
|
||||||
|
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.1"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-gatedio v0.5.0"
|
||||||
|
"github.com/hashicorp/go-gatedio v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod"
|
||||||
|
"github.com/hashicorp/go-hclog v0.8.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v1.0.0"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v1.1.0"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v1.1.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-msgpack v0.5.3/go.mod"
|
||||||
|
"github.com/hashicorp/go-msgpack v0.5.5"
|
||||||
|
"github.com/hashicorp/go-msgpack v0.5.5/go.mod"
|
||||||
|
"github.com/hashicorp/go-multierror v1.0.0"
|
||||||
|
"github.com/hashicorp/go-multierror v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-plugin v1.0.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-retryablehttp v0.5.3/go.mod"
|
||||||
|
"github.com/hashicorp/go-retryablehttp v0.5.4"
|
||||||
|
"github.com/hashicorp/go-retryablehttp v0.5.4/go.mod"
|
||||||
|
"github.com/hashicorp/go-rootcerts v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-rootcerts v1.0.1"
|
||||||
|
"github.com/hashicorp/go-rootcerts v1.0.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-sockaddr v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-sockaddr v1.0.2"
|
||||||
|
"github.com/hashicorp/go-sockaddr v1.0.2/go.mod"
|
||||||
|
"github.com/hashicorp/go-syslog v1.0.0"
|
||||||
|
"github.com/hashicorp/go-syslog v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.1"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-version v1.1.0/go.mod"
|
||||||
|
"github.com/hashicorp/go.net v0.0.1/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.1"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.3"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.3/go.mod"
|
||||||
|
"github.com/hashicorp/hcl v1.0.0"
|
||||||
|
"github.com/hashicorp/hcl v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/logutils v1.0.0"
|
||||||
|
"github.com/hashicorp/logutils v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/mdns v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/memberlist v0.1.3/go.mod"
|
||||||
|
"github.com/hashicorp/memberlist v0.1.4"
|
||||||
|
"github.com/hashicorp/memberlist v0.1.4/go.mod"
|
||||||
|
"github.com/hashicorp/serf v0.8.2/go.mod"
|
||||||
|
"github.com/hashicorp/serf v0.8.3"
|
||||||
|
"github.com/hashicorp/serf v0.8.3/go.mod"
|
||||||
|
"github.com/hashicorp/vault/api v1.0.5-0.20190730042357-746c0b111519"
|
||||||
|
"github.com/hashicorp/vault/api v1.0.5-0.20190730042357-746c0b111519/go.mod"
|
||||||
|
"github.com/hashicorp/vault/sdk v0.1.14-0.20190730042320-0dc007d98cc8"
|
||||||
|
"github.com/hashicorp/vault/sdk v0.1.14-0.20190730042320-0dc007d98cc8/go.mod"
|
||||||
|
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod"
|
||||||
|
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod"
|
||||||
|
"github.com/kr/pretty v0.1.0"
|
||||||
|
"github.com/kr/pretty v0.1.0/go.mod"
|
||||||
|
"github.com/kr/pty v1.1.1/go.mod"
|
||||||
|
"github.com/kr/text v0.1.0"
|
||||||
|
"github.com/kr/text v0.1.0/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.3/go.mod"
|
||||||
|
"github.com/mattn/go-shellwords v1.0.5"
|
||||||
|
"github.com/mattn/go-shellwords v1.0.5/go.mod"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||||
|
"github.com/miekg/dns v1.0.14"
|
||||||
|
"github.com/miekg/dns v1.0.14/go.mod"
|
||||||
|
"github.com/miekg/dns v1.1.15"
|
||||||
|
"github.com/miekg/dns v1.1.15/go.mod"
|
||||||
|
"github.com/mitchellh/cli v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/copystructure v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-homedir v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-homedir v1.1.0"
|
||||||
|
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod"
|
||||||
|
"github.com/mitchellh/go-testing-interface v1.0.0"
|
||||||
|
"github.com/mitchellh/go-testing-interface v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/gox v0.4.0/go.mod"
|
||||||
|
"github.com/mitchellh/hashstructure v1.0.0"
|
||||||
|
"github.com/mitchellh/hashstructure v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/iochan v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod"
|
||||||
|
"github.com/mitchellh/mapstructure v1.1.2"
|
||||||
|
"github.com/mitchellh/mapstructure v1.1.2/go.mod"
|
||||||
|
"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
|
||||||
|
"github.com/oklog/run v1.0.0/go.mod"
|
||||||
|
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod"
|
||||||
|
"github.com/pascaldekloe/goe v0.1.0"
|
||||||
|
"github.com/pascaldekloe/goe v0.1.0/go.mod"
|
||||||
|
"github.com/pierrec/lz4 v2.0.5+incompatible"
|
||||||
|
"github.com/pierrec/lz4 v2.0.5+incompatible/go.mod"
|
||||||
|
"github.com/pierrec/lz4 v2.2.5+incompatible"
|
||||||
|
"github.com/pierrec/lz4 v2.2.5+incompatible/go.mod"
|
||||||
|
"github.com/pkg/errors v0.8.1"
|
||||||
|
"github.com/pkg/errors v0.8.1/go.mod"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||||
|
"github.com/posener/complete v1.1.1/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v0.9.2/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||||
|
"github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod"
|
||||||
|
"github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod"
|
||||||
|
"github.com/ryanuber/columnize v2.1.0+incompatible/go.mod"
|
||||||
|
"github.com/ryanuber/go-glob v1.0.0"
|
||||||
|
"github.com/ryanuber/go-glob v1.0.0/go.mod"
|
||||||
|
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529"
|
||||||
|
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod"
|
||||||
|
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.3.0"
|
||||||
|
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||||
|
"github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859"
|
||||||
|
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80"
|
||||||
|
"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4"
|
||||||
|
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6"
|
||||||
|
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190423024810-112230192c58"
|
||||||
|
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e"
|
||||||
|
"golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190730183949-1393eb018365"
|
||||||
|
"golang.org/x/sys v0.0.0-20190730183949-1393eb018365/go.mod"
|
||||||
|
"golang.org/x/text v0.3.0"
|
||||||
|
"golang.org/x/text v0.3.0/go.mod"
|
||||||
|
"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db"
|
||||||
|
"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod"
|
||||||
|
"golang.org/x/text v0.3.2"
|
||||||
|
"golang.org/x/text v0.3.2/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4"
|
||||||
|
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||||
|
"google.golang.org/appengine v1.1.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.4.0/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod"
|
||||||
|
"google.golang.org/grpc v1.14.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.19.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.22.0/go.mod"
|
||||||
|
"gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod"
|
||||||
|
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||||
|
"gopkg.in/square/go-jose.v2 v2.3.1"
|
||||||
|
"gopkg.in/square/go-jose.v2 v2.3.1/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.2"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||||
|
)
|
||||||
|
go-module_set_globals
|
||||||
|
SRC_URI="https://github.com/hashicorp/consul-template/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_SUM_SRC_URI}"
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
# TODO: debug test failures
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 -1 -1 ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Avoid the need to have a git checkout
|
||||||
|
sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
|
||||||
|
-e '/-s \\/d' \
|
||||||
|
-i Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake GOBIN="${S}"/bin dev
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake GOBIN="${S}"/bin test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/${PN}
|
||||||
|
dodoc {CHANGELOG.md,README.md}
|
||||||
|
|
||||||
|
keepdir /var/log/${PN}
|
||||||
|
fowners ${PN}:${PN} /var/log/${PN}
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||||
|
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
|
||||||
|
keepdir /etc/${PN}.d
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=SysRqd Telnet Daemon
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
Restart=always
|
||||||
|
ExecStart=-/usr/sbin/sysrqd
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Daemon providing access to the kernel sysrq functions via network"
|
||||||
|
HOMEPAGE="https://github.com/jd/sysrqd"
|
||||||
|
SRC_URI="https://github.com/jd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-config.patch
|
||||||
|
"${FILESDIR}"/${P}-fix-build-system.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dosbin sysrqd
|
||||||
|
newinitd "${FILESDIR}/sysrqd.init" sysrqd
|
||||||
|
systemd_dounit "${FILESDIR}"/sysrqd.service
|
||||||
|
|
||||||
|
local bindip='127.0.0.1' secret
|
||||||
|
declare -i secret
|
||||||
|
let secret="${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}"
|
||||||
|
echo "${bindip}" > sysrqd.bind || die
|
||||||
|
echo "${secret}" > sysrqd.secret || die
|
||||||
|
|
||||||
|
diropts -m 0700 -o root -g root
|
||||||
|
insinto /etc/sysrqd
|
||||||
|
insopts -m 0600 -o root -g root
|
||||||
|
doins sysrqd.bind
|
||||||
|
doins sysrqd.secret
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog
|
||||||
|
elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !"
|
||||||
|
elog "As a security precaution, sysrqd is configured to only listen on"
|
||||||
|
elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind"
|
||||||
|
elog "to an IPv4 address you want it to listen on or remove the file"
|
||||||
|
elog "to make it listen on any IP address (0.0.0.0)."
|
||||||
|
elog
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a7143f87c581730797975303c1054003e41fd65ecf80df1dc053ba87c0e8449ec574ddcb158228b41ae57a23db18f SHA512 60d7198ffe6ea759c30ad82143b3107d41ce59224b853cb5a7beb79af0de6ba6a69414c365e6b3555a0a9c60e3cf9b543a3a448d80a734be38ccecb77ae963a9
|
DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a7143f87c581730797975303c1054003e41fd65ecf80df1dc053ba87c0e8449ec574ddcb158228b41ae57a23db18f SHA512 60d7198ffe6ea759c30ad82143b3107d41ce59224b853cb5a7beb79af0de6ba6a69414c365e6b3555a0a9c60e3cf9b543a3a448d80a734be38ccecb77ae963a9
|
||||||
DIST dpkg_1.19.6.tar.xz 4802832 BLAKE2B e35a805942e2b26a90cec80493a14697461cfb1c1352fa7fadce7171c8cca88785ff2590d34b8f0bd4763642cb21ee7bf449df86b01eef223554daba4604d1b1 SHA512 71981079835ea4bd5c4a381ca8702cf489c788034e29c129899eb288cfaf4ec55eb58c0aea13145dcde99f15a47d2de71fba7b5e7eb8e6b1b1d6f016de8a919d
|
DIST dpkg_1.19.6.tar.xz 4802832 BLAKE2B e35a805942e2b26a90cec80493a14697461cfb1c1352fa7fadce7171c8cca88785ff2590d34b8f0bd4763642cb21ee7bf449df86b01eef223554daba4604d1b1 SHA512 71981079835ea4bd5c4a381ca8702cf489c788034e29c129899eb288cfaf4ec55eb58c0aea13145dcde99f15a47d2de71fba7b5e7eb8e6b1b1d6f016de8a919d
|
||||||
DIST dpkg_1.19.7.tar.xz 4716724 BLAKE2B d65200fc5da986db8b66e31e1ea45b9757b87e0fa15f7fc0579f1c1c63de78829c1a10bbc72726fe3b75bf6c11cbe1fe3c9b62f8374c796f990835f9f0e79dd2 SHA512 9ca441dc265baf5359c71617aef1c57504a7097c26ea57108b88dadc511bfa9918fcc765d8c67cec9def9916c5df92d6cabe508446dbc7223a29b45260445e81
|
DIST dpkg_1.19.7.tar.xz 4716724 BLAKE2B d65200fc5da986db8b66e31e1ea45b9757b87e0fa15f7fc0579f1c1c63de78829c1a10bbc72726fe3b75bf6c11cbe1fe3c9b62f8374c796f990835f9f0e79dd2 SHA512 9ca441dc265baf5359c71617aef1c57504a7097c26ea57108b88dadc511bfa9918fcc765d8c67cec9def9916c5df92d6cabe508446dbc7223a29b45260445e81
|
||||||
|
DIST dpkg_1.20.0.tar.xz 4738556 BLAKE2B 2e58b3881abd46854416b05b0f9d2e972c3b545412a506b7bc18f1ebae5d82eac8bc2b55920d706fee0ca02239871c4f1c121e0c780aef31404e0408fbfa76e8 SHA512 5dd7961bde19ccc891fd5b77ca0085f7fc0308c20380e20b393397ff92e50d1c0f54e7b57676c05876021b44aa3788af8258c21ff2b672110ac92c7ce0b408f9
|
||||||
|
@ -0,0 +1,91 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit eutils multilib autotools ltprune toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Package maintenance system for Debian"
|
||||||
|
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
||||||
|
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/perl-5.14.2:=
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
libmd? ( app-crypt/libmd )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
sys-devel/flex
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? (
|
||||||
|
app-text/po4a
|
||||||
|
>=sys-devel/gettext-0.18.2
|
||||||
|
)
|
||||||
|
test? (
|
||||||
|
dev-perl/IO-String
|
||||||
|
dev-perl/Test-Pod
|
||||||
|
virtual/perl-Test-Harness
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DOCS=(
|
||||||
|
ChangeLog
|
||||||
|
THANKS
|
||||||
|
TODO
|
||||||
|
)
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use nls && strip-linguas -i po
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CC
|
||||||
|
econf \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
$(use_enable unicode) \
|
||||||
|
$(use_enable update-alternatives) \
|
||||||
|
$(use_with bzip2 libbz2) \
|
||||||
|
$(use_with libmd) \
|
||||||
|
$(use_with lzma liblzma) \
|
||||||
|
$(use_with selinux libselinux) \
|
||||||
|
$(use_with zlib libz) \
|
||||||
|
--disable-compiler-warnings \
|
||||||
|
--disable-dselect \
|
||||||
|
--disable-start-stop-daemon \
|
||||||
|
--localstatedir="${EPREFIX}"/var
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake AR=$(tc-getAR)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
keepdir \
|
||||||
|
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
||||||
|
/var/lib/dpkg/{alternatives,info,parts,updates}
|
||||||
|
# /usr/$(get_libdir)/db/{alternatives,info,parts,updates} \
|
||||||
|
|
||||||
|
prune_libtool_files
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST backupninja-1.0.1.tar.gz 167991 BLAKE2B 736ded9f562e894ec74e78afb9677f61889c18310b5aabe76dab7aafd550653281fc8641b416c022d49062261d67f8e6ed2aeef9c9b7054b3538c5be983bf424 SHA512 24b898526c1efa91cde6b1a0f0f7c0820c7db5b11ea36f458b45a91e94adfc77636421d7ad2245c196999886a06a3be43253e52654bc07423b1ac5571275c580
|
DIST backupninja-1.0.1.tar.gz 167991 BLAKE2B 736ded9f562e894ec74e78afb9677f61889c18310b5aabe76dab7aafd550653281fc8641b416c022d49062261d67f8e6ed2aeef9c9b7054b3538c5be983bf424 SHA512 24b898526c1efa91cde6b1a0f0f7c0820c7db5b11ea36f458b45a91e94adfc77636421d7ad2245c196999886a06a3be43253e52654bc07423b1ac5571275c580
|
||||||
|
DIST backupninja-backupninja_upstream-1.1.0.tar.gz 188991 BLAKE2B 0fb7b10b4a7e635ec29238590e1fae8778e3031cdcd906bb81c4fd97e3ddf083db0e063daadbdfd0c0efe6e2447a7704a25767f65f7229705dba8f8f64c2ee2b SHA512 bea1b024f5bb8d103618f942afa07a7677f0b1896cbef611c461ba586e98c4667112282aa57fdc195f899920072b9cde7cbf97dee7c332fff67df36bb5288f87
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
DESCRIPTION="lightweight, extensible meta-backup system"
|
||||||
|
HOMEPAGE="https://0xacab.org/riseuplabs/backupninja"
|
||||||
|
SRC_URI="https://0xacab.org/riseuplabs/backupninja/-/archive/backupninja_upstream/${PV}/backupninja-backupninja_upstream-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-util/dialog"
|
||||||
|
DEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${PN}_upstream-${PV}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --localstatedir=/var #578614
|
||||||
|
}
|
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>bkohler@gentoo.org</email>
|
||||||
|
<name>Ben Kohler</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
DIST nano-4.2.tar.gz 2928595 BLAKE2B 42bb0ccbf4961706c6c645eb2310a646a7decd3617117a079ffe9e3718c8054ab823a5aff3e543c06c4c398f83579a679267a9ad6f113ba451b76d67e14b07cc SHA512 a5dd9ce96cd09d12c65108ea6a18b2cf1c2b055929e58d3e84beb0725607b4b5a3f8ae3fda0ab658c853cc4cac70c089fee716e1bb5a700f2506a7a3e1bea1bd
|
DIST nano-4.2.tar.gz 2928595 BLAKE2B 42bb0ccbf4961706c6c645eb2310a646a7decd3617117a079ffe9e3718c8054ab823a5aff3e543c06c4c398f83579a679267a9ad6f113ba451b76d67e14b07cc SHA512 a5dd9ce96cd09d12c65108ea6a18b2cf1c2b055929e58d3e84beb0725607b4b5a3f8ae3fda0ab658c853cc4cac70c089fee716e1bb5a700f2506a7a3e1bea1bd
|
||||||
DIST nano-4.6.tar.gz 2970798 BLAKE2B d6dfc702d374d1cbcd61080c8e0082b7931dc8c593c97eb705d878d25487a78dc1ebcb8004f742f5ecc3af1b5a31abcf6577e87aba96fb95d16029ff55e7af58 SHA512 76fb43495ca1f88ee8864eee5d023b6cd86bc35fba00151b4c6af53ae06e6b3828379e7d52a16c7df0956e9e04602a86ff8e8a7c1997320507ca041195bf004b
|
DIST nano-4.6.tar.gz 2970798 BLAKE2B d6dfc702d374d1cbcd61080c8e0082b7931dc8c593c97eb705d878d25487a78dc1ebcb8004f742f5ecc3af1b5a31abcf6577e87aba96fb95d16029ff55e7af58 SHA512 76fb43495ca1f88ee8864eee5d023b6cd86bc35fba00151b4c6af53ae06e6b3828379e7d52a16c7df0956e9e04602a86ff8e8a7c1997320507ca041195bf004b
|
||||||
DIST nano-4.7.tar.gz 2977920 BLAKE2B 8373ebf3f4e98ba204ed00678ba1e8791c9ffc11226baa98b7dac9ff9389cc465dc6574833ce222570301232a97f87e1b8d505dcce617f6c8bd915f4a662df4d SHA512 2cbe2341bba46f57a692d6deb20003d992da0230fdec3a2dc485d3b03d2ec2a70e66d05299bbc719fca658c8a8060dd64d4b52e68aadfd73980b82445761615f
|
|
||||||
DIST nano-4.8.tar.gz 2995765 BLAKE2B 80acb19758c4bedfa1fa52ef9ede7125bdd3844df6932912899ba2f5c4471859ac6d044b2c67d43afcfc416d0b6bf0b5d023e79645c5d6207c5ed4a0857305a4 SHA512 3e6f8f2a7ce55df0eb2d96459a22f0a40808b4ffc67eb5a35937437f5c1cb193046b02d123597981066b872ffacf345bf0f4c72f546323324ebb66aa751d11f9
|
DIST nano-4.8.tar.gz 2995765 BLAKE2B 80acb19758c4bedfa1fa52ef9ede7125bdd3844df6932912899ba2f5c4471859ac6d044b2c67d43afcfc416d0b6bf0b5d023e79645c5d6207c5ed4a0857305a4 SHA512 3e6f8f2a7ce55df0eb2d96459a22f0a40808b4ffc67eb5a35937437f5c1cb193046b02d123597981066b872ffacf345bf0f4c72f546323324ebb66aa751d11f9
|
||||||
|
DIST nano-4.9.tar.gz 3000427 BLAKE2B 37ed08fa6b902951687ef26a527e1a0da3199946c73bed5d9fd0464a76af643b55a0900e7c1a1237af31867a7231f1b383dad423e780408560fa8246b18e30a4 SHA512 abce064a5cb55f730e41a7a8fbd8b2f9626fc6834b30cd05d62fe73b7f284d8cd80f44c6b84bb5370b980f00d3a71cf8c33408628229c2ee3b8a1670fa5e953c
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST remind-03.01.15.tar.gz 363101 BLAKE2B a5e27b83c20428991982c3cae22b32be6cc054bfd51a868ee3515f5ec4a37aa24f8ec476f566860ca0fbb6f29e7c9f3e6ed023714e52091ebca103162936877f SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84
|
DIST remind-03.01.15.tar.gz 363101 BLAKE2B a5e27b83c20428991982c3cae22b32be6cc054bfd51a868ee3515f5ec4a37aa24f8ec476f566860ca0fbb6f29e7c9f3e6ed023714e52091ebca103162936877f SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84
|
||||||
DIST remind-03.02.00.tar.gz 365896 BLAKE2B 3ee47e5c0093c56a2ed95d41eff815ebac26523b64dc09b91ee46d66bac6b2b017d73902ffac61dd12c2088dac8d445fb41d832e22692f47e6e125162f0d436e SHA512 978ee2e6a45756e02bc2de0495d95c4b4377d9af76cb1ea5070f8e2438a451d2bf44245b93018bcbf6ea217520b7b4c8766d5eab354f9a0bc4982b25e90bd278
|
DIST remind-03.02.00.tar.gz 365896 BLAKE2B 3ee47e5c0093c56a2ed95d41eff815ebac26523b64dc09b91ee46d66bac6b2b017d73902ffac61dd12c2088dac8d445fb41d832e22692f47e6e125162f0d436e SHA512 978ee2e6a45756e02bc2de0495d95c4b4377d9af76cb1ea5070f8e2438a451d2bf44245b93018bcbf6ea217520b7b4c8766d5eab354f9a0bc4982b25e90bd278
|
||||||
DIST remind-03.03.00.tar.gz 390762 BLAKE2B efb17d51f9b71c175f8ff79d8d77cca44ddaa79c4837842673530ea130daea864bacd9139c27233a5846708b4162cdb0851ed57ccecce4b59b58d0acc79aca51 SHA512 0ddd751e42e01a841f46eb21a1392d353efa4e4d63c15b7ba6d7874becb16af537df4e41683db5b1bc3749d5e334c972f8b708b92bbe6f0a9e5bb6a80756486c
|
DIST remind-03.03.00.tar.gz 390762 BLAKE2B efb17d51f9b71c175f8ff79d8d77cca44ddaa79c4837842673530ea130daea864bacd9139c27233a5846708b4162cdb0851ed57ccecce4b59b58d0acc79aca51 SHA512 0ddd751e42e01a841f46eb21a1392d353efa4e4d63c15b7ba6d7874becb16af537df4e41683db5b1bc3749d5e334c972f8b708b92bbe6f0a9e5bb6a80756486c
|
||||||
|
DIST remind-03.03.01.tar.gz 395920 BLAKE2B b3b69ef624a70efff5f262b1da0fdd7fba1ea60c6a1375d95e1de6b6b317a2abcafb2298779e4d989c51665633a552fbd0580949dc017a2ed80b331991a0093d SHA512 25b99027b303150af05a3dc971addac970cf1f8086441e9967cba56f51e710bcb7e8e3a1b31bc72ab5205aaefbcf9bac46757b4efb59d07a109ff7e2c8680b94
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Ridiculously functional reminder program"
|
||||||
|
HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
|
||||||
|
SRC_URI="https://dianne.skoll.ca/projects/remind/download/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="tk"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
tk? ( dev-lang/tk dev-tcltk/tcllib )
|
||||||
|
"
|
||||||
|
DOCS="docs/WHATSNEW examples/defs.rem www/README.*"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ ${EUID} -eq 0 ]] ; then
|
||||||
|
ewarn "Testing fails if run as root. Skipping tests"
|
||||||
|
else
|
||||||
|
emake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dobin www/rem2html
|
||||||
|
|
||||||
|
if ! use tk ; then
|
||||||
|
rm \
|
||||||
|
"${D}"/usr/bin/cm2rem* \
|
||||||
|
"${D}"/usr/bin/tkremind \
|
||||||
|
"${D}"/usr/share/man/man1/cm2rem* \
|
||||||
|
"${D}"/usr/share/man/man1/tkremind* \
|
||||||
|
|| die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r contrib/
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST poppler-0.82.0.tar.xz 1553336 BLAKE2B a83d476ce1174cb7789f857a52a8a9ed29dfe8863d082ef662508ad9957667349aa62b038fa1a52e9e7ae3ddf4701eb5fbd58545b041b6aebd69cb8b91376d8d SHA512 1631be30e398dd18a4e8c2cc893cf0d9469a98d93f02f2ffe3bc14857518b76674a10cafe89ee92b9886c3c6b03d50e214a6838c102f673a62789c9832cfa4a2
|
DIST poppler-0.82.0.tar.xz 1553336 BLAKE2B a83d476ce1174cb7789f857a52a8a9ed29dfe8863d082ef662508ad9957667349aa62b038fa1a52e9e7ae3ddf4701eb5fbd58545b041b6aebd69cb8b91376d8d SHA512 1631be30e398dd18a4e8c2cc893cf0d9469a98d93f02f2ffe3bc14857518b76674a10cafe89ee92b9886c3c6b03d50e214a6838c102f673a62789c9832cfa4a2
|
||||||
DIST poppler-0.85.0.tar.xz 1588616 BLAKE2B d30c16ff214d2b64fade28bb4099567150e99df6ab967702f48e18ed2191e444728f51d4c1ce1772567c31f9b87a8cf64993ebc383184e06f8b3707436c89143 SHA512 2311bde5ae52e065c12a6129f500469860f5ebefafc3f7be581393f08c2121f3eae57394ff54c1f83ee1b926f28c61530bcd8149d42de10a16b9ba7345f2604e
|
DIST poppler-0.85.0.tar.xz 1588616 BLAKE2B d30c16ff214d2b64fade28bb4099567150e99df6ab967702f48e18ed2191e444728f51d4c1ce1772567c31f9b87a8cf64993ebc383184e06f8b3707436c89143 SHA512 2311bde5ae52e065c12a6129f500469860f5ebefafc3f7be581393f08c2121f3eae57394ff54c1f83ee1b926f28c61530bcd8149d42de10a16b9ba7345f2604e
|
||||||
DIST poppler-0.86.0.tar.xz 1593992 BLAKE2B 7b09d3d173db31a3dc2965e7eb5dc80fe1e714a7f1319b5fce0719ea345f496313536da023da8f7793d7365210159b26ea23ae95bdef709efbe665abeb13fdb9 SHA512 58a8ee7bc0bae1dfbbd1bd8d2f66bbb77bd4b93637f500b7d69f4b57d20f7f14b2b23b74f2e34a3f00c7b7887c366379ed6d95f5e1e610eafb9cf7847ea7583a
|
|
||||||
DIST poppler-0.86.1.tar.xz 1593856 BLAKE2B f39a3113d8d33480b186173dade5305ad8157b38df579e18f6a05ae48e449259aeb9788e1c94ab3b43fae9bb027655e4e3072ddf8a6dc9ccdef93262def62160 SHA512 435fc1e7f3e8123e0adde9aa60c0d7dc17db367cde8908932abfef913cee6f27efeb1c4f2d6f316019a69a87f1fa5251be4216d0a81a681a24f24a70ac571670
|
DIST poppler-0.86.1.tar.xz 1593856 BLAKE2B f39a3113d8d33480b186173dade5305ad8157b38df579e18f6a05ae48e449259aeb9788e1c94ab3b43fae9bb027655e4e3072ddf8a6dc9ccdef93262def62160 SHA512 435fc1e7f3e8123e0adde9aa60c0d7dc17db367cde8908932abfef913cee6f27efeb1c4f2d6f316019a69a87f1fa5251be4216d0a81a681a24f24a70ac571670
|
||||||
|
@ -1,123 +0,0 @@
|
|||||||
# Copyright 2005-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
|
||||||
SLOT="0/9999"
|
|
||||||
else
|
|
||||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="0/96" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
|
||||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
|
||||||
|
|
||||||
# No test data provided
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/glib-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
sys-libs/zlib
|
|
||||||
cairo? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/cairo
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
)
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
jpeg? ( virtual/jpeg:0 )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
nss? ( >=dev-libs/nss-3.19:0 )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtxml:5
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
cjk? ( app-text/poppler-data )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.82.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
|
||||||
# cmake just uses it, so remove it if we use clang
|
|
||||||
if [[ ${CC} == clang ]] ; then
|
|
||||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
|
||||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
else
|
|
||||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_GTK_TESTS=OFF
|
|
||||||
-DBUILD_QT5_TESTS=OFF
|
|
||||||
-DBUILD_CPP_TESTS=OFF
|
|
||||||
-DRUN_GPERF_IF_PRESENT=OFF
|
|
||||||
-DENABLE_SPLASH=ON
|
|
||||||
-DENABLE_ZLIB=ON
|
|
||||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
|
||||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
|
||||||
-DUSE_FLOAT=OFF
|
|
||||||
-DWITH_Cairo=$(usex cairo)
|
|
||||||
-DENABLE_LIBCURL=$(usex curl)
|
|
||||||
-DENABLE_CPP=$(usex cxx)
|
|
||||||
-DWITH_JPEG=$(usex jpeg)
|
|
||||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
|
||||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
|
||||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
|
||||||
-DWITH_NSS3=$(usex nss)
|
|
||||||
-DWITH_PNG=$(usex png)
|
|
||||||
$(cmake_use_find_package qt5 Qt5Core)
|
|
||||||
-DWITH_TIFF=$(usex tiff)
|
|
||||||
-DENABLE_UTILS=$(usex utils)
|
|
||||||
)
|
|
||||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
# live version doesn't provide html documentation
|
|
||||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
|
||||||
# For now install gtk-doc there
|
|
||||||
insinto /usr/share/gtk-doc/html/poppler
|
|
||||||
doins -r "${S}"/glib/reference/html/*
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST phpMyAdmin-4.9.2-all-languages.tar.xz 6118472 BLAKE2B 07093982aebf83017a1773a1cd1acac8b7a4cc9bf666f7c62fdef4b3b46441f5ee1da37746610b0ed6b92a67296d908dbf24ba1ea546c1b573c3593a02b90088 SHA512 426689c31f963a9cbe34b2116888aa0264801aa5ef18fb0e4b89811b032d4018c770538e823bccb684fb066ed27fcf6dc6e0fb4198d1e082e7eea15595b67727
|
DIST phpMyAdmin-4.9.2-all-languages.tar.xz 6118472 BLAKE2B 07093982aebf83017a1773a1cd1acac8b7a4cc9bf666f7c62fdef4b3b46441f5ee1da37746610b0ed6b92a67296d908dbf24ba1ea546c1b573c3593a02b90088 SHA512 426689c31f963a9cbe34b2116888aa0264801aa5ef18fb0e4b89811b032d4018c770538e823bccb684fb066ed27fcf6dc6e0fb4198d1e082e7eea15595b67727
|
||||||
DIST phpMyAdmin-4.9.4-all-languages.tar.xz 6134852 BLAKE2B 4ba7d4a45a3fb7d84f6b227a2d2fc0ffc530498e74c1c412bbf631ca78ba5c874f9f21220d34e2179666253bde4fa222838962e6c9d48d514cf80c5c8370cee3 SHA512 3ddab59725d59bcbe99457a1717f12b53bbd251f0bfcea1582288abfbb4507e50351e3ed0e76961026b0ad351abc806deed4a97f0fa882b34ee095ef314aaf37
|
DIST phpMyAdmin-4.9.5-all-languages.tar.xz 6138948 BLAKE2B 63631e8207d1cfb71a2299752bb10ab55d13f630ee0d913a4ed6bdf0a16320fa72945bc7c8a63e0e705eb45a569c60fffd48c204eabe1b980a33ab93fac7c798 SHA512 555f07f087d8bcddd114df0b86fa21872f14f45c31e0f63eea499e76fdebdfd8abebcc88662887418e80ddebfea73d6aaac17856cf433d1855423b5145865d1a
|
||||||
DIST phpMyAdmin-5.0.1-all-languages.tar.xz 8130464 BLAKE2B a4b859c73ece7537db1bc4a14df8c5c8f0ab39106b9e3ccbbc30c1f97fa4dc40617db3b00c432b24aa9865ed45595805fa4b43db92b5794794621d0c7df54f3a SHA512 576323a5e63438fe9e57e6165697c5e03e5291346f3786c84d5d6c4cd6851713cb10b2eed4b0c7e9ab6445dad9b06cbded6c03711fcc2942e999f2b5e7ab446b
|
DIST phpMyAdmin-5.0.2-all-languages.tar.xz 8018752 BLAKE2B c7ceb9257cacae61a674b986fcdfacbcf8f77e2ec9f31dd0fc679f748d9042301d8a5d37803c0b1c796095c038e8ac9701b7c5e497ee92331aa672f5044de4d4 SHA512 242770cc468ebcb3ec9c57bce16607a258621014513568b1a96cfea1df4786506c3922250c69f87e058dbf0dd69cf37efda1a810ade88c05d5ef37591cc1b225
|
||||||
|
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
Allow using cross-compilers to bootstrap GHC.
|
||||||
|
|
||||||
|
In my case I'm using "cross"-compiler from
|
||||||
|
x86_64-unknown-linux to x86_64-HEAD-linux.
|
||||||
|
|
||||||
|
Those targets have the same ABI and can boot one another.
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -219,7 +219,7 @@ then
|
||||||
|
echo "This GHC (${WithGhc}) does not generate code for the build platform"
|
||||||
|
echo " GHC target platform : $bootstrap_target"
|
||||||
|
echo " Desired build platform : $BuildPlatform"
|
||||||
|
- exit 1
|
||||||
|
+ #exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Testing if we shall enable shared libs support on Solaris.
|
@ -0,0 +1,19 @@
|
|||||||
|
https://github.com/gentoo-haskell/gentoo-haskell/issues/704
|
||||||
|
|
||||||
|
Allow users to specify -W,--relax externally and pass
|
||||||
|
-Wl,-no-relax unconditonally on all arches.
|
||||||
|
|
||||||
|
Reported-by: wmyrda
|
||||||
|
--- a/compiler/main/DriverPipeline.hs
|
||||||
|
+++ b/compiler/main/DriverPipeline.hs
|
||||||
|
@@ -2144,9 +2144,7 @@ joinObjectFiles dflags o_files output_fn = do
|
||||||
|
-- gcc on sparc sets -Wl,--relax implicitly, but
|
||||||
|
-- -r and --relax are incompatible for ld, so
|
||||||
|
-- disable --relax explicitly.
|
||||||
|
- ++ (if platformArch (targetPlatform dflags)
|
||||||
|
- `elem` [ArchSPARC, ArchSPARC64]
|
||||||
|
- && ldIsGnuLd
|
||||||
|
+ ++ (if ldIsGnuLd
|
||||||
|
then [SysTools.Option "-Wl,-no-relax"]
|
||||||
|
else [])
|
||||||
|
-- See Note [Produce big objects on Windows]
|
@ -0,0 +1,794 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
||||||
|
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
||||||
|
export CBUILD=${CBUILD:-${CHOST}}
|
||||||
|
export CTARGET=${CTARGET:-${CHOST}}
|
||||||
|
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
||||||
|
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||||
|
export CTARGET=${CATEGORY/cross-}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
||||||
|
inherit multilib multiprocessing pax-utils toolchain-funcs prefix
|
||||||
|
inherit check-reqs
|
||||||
|
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||||
|
|
||||||
|
# we don't have any binaries yet
|
||||||
|
arch_binaries=""
|
||||||
|
|
||||||
|
BIN_PV=${PV}
|
||||||
|
# sorted!
|
||||||
|
#arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-armv7a-hardfloat-linux-gnueabi.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries arm64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-aarch64-unknown-linux-gnu.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc64? ( !big-endian? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-powerpc64le-unknown-linux-gnu.tbz2 ) )"
|
||||||
|
#arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )"
|
||||||
|
|
||||||
|
# various ports:
|
||||||
|
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||||
|
|
||||||
|
# 0 - yet
|
||||||
|
yet_binary() {
|
||||||
|
case "${ARCH}" in
|
||||||
|
#alpha) return 0 ;;
|
||||||
|
#arm64) return 0 ;;
|
||||||
|
#arm) return 0 ;;
|
||||||
|
#amd64) return 0 ;;
|
||||||
|
#ia64) return 0 ;;
|
||||||
|
#ppc) return 0 ;;
|
||||||
|
#ppc64)
|
||||||
|
# use big-endian && return 0
|
||||||
|
# return 0
|
||||||
|
# ;;
|
||||||
|
#sparc) return 0 ;;
|
||||||
|
#x86) return 0 ;;
|
||||||
|
*) return 1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
GHC_PV=${PV}
|
||||||
|
#GHC_PV=8.10.0.20200123 # uncomment only for -alpha, -beta, -rc ebuilds
|
||||||
|
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
||||||
|
|
||||||
|
SRC_URI="!binary? (
|
||||||
|
https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-src.tar.xz
|
||||||
|
test? ( https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-testsuite.tar.xz )
|
||||||
|
)"
|
||||||
|
S="${WORKDIR}"/${GHC_P}
|
||||||
|
|
||||||
|
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||||
|
|
||||||
|
BUMP_LIBRARIES=(
|
||||||
|
# "hackage-name hackage-version"
|
||||||
|
)
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE="big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test"
|
||||||
|
IUSE+=" binary"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/perl-5.6.1
|
||||||
|
dev-libs/gmp:0=
|
||||||
|
sys-libs/ncurses:0=[unicode]
|
||||||
|
elfutils? ( dev-libs/elfutils )
|
||||||
|
!ghcmakebinary? ( virtual/libffi:= )
|
||||||
|
numa? ( sys-process/numactl )
|
||||||
|
"
|
||||||
|
|
||||||
|
# This set of dependencies is needed to run
|
||||||
|
# prebuilt ghc. We specifically avoid ncurses
|
||||||
|
# dependency with:
|
||||||
|
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
||||||
|
PREBUILT_BINARY_DEPENDS="
|
||||||
|
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
||||||
|
"
|
||||||
|
# This set of dependencies is needed to install
|
||||||
|
# ghc[binary] in system. terminfo package is linked
|
||||||
|
# against ncurses.
|
||||||
|
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
||||||
|
sys-libs/ncurses:0/6
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-python/sphinx
|
||||||
|
>=dev-libs/libxslt-1.1.2 )
|
||||||
|
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
||||||
|
|
||||||
|
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
||||||
|
|
||||||
|
# haskell libraries built with cabal in configure mode, #515354
|
||||||
|
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
||||||
|
|
||||||
|
is_crosscompile() {
|
||||||
|
[[ ${CHOST} != ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
|
||||||
|
is_native() {
|
||||||
|
[[ ${CHOST} == ${CBUILD} ]] && [[ ${CHOST} == ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
PDEPEND="!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# returns tool prefix for crosscompiler.
|
||||||
|
# Example:
|
||||||
|
# CTARGET=armv7a-unknown-linux-gnueabi
|
||||||
|
# CHOST=x86_64-pc-linux-gnu
|
||||||
|
# "armv7a-unknown-linux-gnueabi-"
|
||||||
|
# CTARGET=${CHOST}
|
||||||
|
# ""
|
||||||
|
# Used in tools and library prefix:
|
||||||
|
# "${ED}"/usr/bin/$(cross)haddock
|
||||||
|
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
|
||||||
|
cross() {
|
||||||
|
if is_crosscompile; then
|
||||||
|
echo "${CTARGET}-"
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
append-ghc-cflags() {
|
||||||
|
local persistent compile assemble link
|
||||||
|
local flag ghcflag
|
||||||
|
|
||||||
|
for flag in $*; do
|
||||||
|
case ${flag} in
|
||||||
|
persistent) persistent="yes";;
|
||||||
|
compile) compile="yes";;
|
||||||
|
assemble) assemble="yes";;
|
||||||
|
link) link="yes";;
|
||||||
|
*)
|
||||||
|
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# $1 - lib name (under libraries/)
|
||||||
|
# $2 - lib version
|
||||||
|
# example: bump_lib "transformers" "0.4.2.0"
|
||||||
|
bump_lib() {
|
||||||
|
local pn=$1 pv=$2
|
||||||
|
local p=${pn}-${pv}
|
||||||
|
local f
|
||||||
|
|
||||||
|
einfo "Bumping ${pn} up to ${pv}"
|
||||||
|
|
||||||
|
for f in ghc.mk GNUmakefile; do
|
||||||
|
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
||||||
|
done
|
||||||
|
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
||||||
|
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
update_SRC_URI() {
|
||||||
|
local p pn pv
|
||||||
|
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||||
|
set -- $p
|
||||||
|
pn=$1 pv=$2
|
||||||
|
|
||||||
|
SRC_URI+=" https://hackage.haskell.org/package/${pn}-${pv}/${pn}-${pv}.tar.gz"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
update_SRC_URI
|
||||||
|
|
||||||
|
bump_libs() {
|
||||||
|
local p pn pv
|
||||||
|
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||||
|
set -- $p
|
||||||
|
pn=$1 pv=$2
|
||||||
|
|
||||||
|
bump_lib "${pn}" "${pv}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
ghc_setup_cflags() {
|
||||||
|
# TODO: plumb CFLAGS and BUILD_CFLAGS to respective CONF_CC_OPTS_STAGE<N>
|
||||||
|
if ! is_native; then
|
||||||
|
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
||||||
|
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
||||||
|
einfo "Crosscompiling mode:"
|
||||||
|
einfo " CHOST: ${CHOST}"
|
||||||
|
einfo " CTARGET: ${CTARGET}"
|
||||||
|
einfo " CFLAGS: ${CFLAGS}"
|
||||||
|
einfo " LDFLAGS: ${LDFLAGS}"
|
||||||
|
einfo " prefix: $(cross)"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||||
|
# gcc. There are plenty of flags which will make gcc produce output that
|
||||||
|
# breaks ghc in various ways. The main ones we want to pass through are
|
||||||
|
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||||
|
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||||
|
strip-flags
|
||||||
|
strip-unsupported-flags
|
||||||
|
|
||||||
|
# Cmm can't parse line numbers #482086
|
||||||
|
replace-flags -ggdb[3-9] -ggdb2
|
||||||
|
|
||||||
|
GHC_FLAGS=""
|
||||||
|
GHC_PERSISTENT_FLAGS=""
|
||||||
|
for flag in ${CFLAGS}; do
|
||||||
|
case ${flag} in
|
||||||
|
|
||||||
|
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||||
|
# -O2 and above break on too many systems
|
||||||
|
-O*) ;;
|
||||||
|
|
||||||
|
# Arch and ABI flags are what we're really after
|
||||||
|
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||||
|
|
||||||
|
# Sometimes it's handy to see backtrace of RTS
|
||||||
|
# to get an idea what happens there
|
||||||
|
-g*) append-ghc-cflags compile ${flag};;
|
||||||
|
|
||||||
|
# Ignore all other flags, including all -f* flags
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for flag in ${LDFLAGS}; do
|
||||||
|
append-ghc-cflags link ${flag}
|
||||||
|
done
|
||||||
|
|
||||||
|
# GHC uses ${CBUILD}-gcc, ${CHOST}-gcc and ${CTARGET}-gcc at a single build.
|
||||||
|
# Skip any gentoo-specific tweaks for cross-case to avoid passing unsupported
|
||||||
|
# options to gcc.
|
||||||
|
if is_native; then
|
||||||
|
# prevent from failing to build unregisterised ghc:
|
||||||
|
# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||||
|
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# substitutes string $1 to $2 in files $3 $4 ...
|
||||||
|
relocate_path() {
|
||||||
|
local from=$1
|
||||||
|
local to=$2
|
||||||
|
shift 2
|
||||||
|
local file=
|
||||||
|
for file in "$@"
|
||||||
|
do
|
||||||
|
sed -i -e "s|$from|$to|g" \
|
||||||
|
"$file" || die "path relocation failed for '$file'"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# changes hardcoded ghc paths and updates package index
|
||||||
|
# $1 - new absolute root path
|
||||||
|
relocate_ghc() {
|
||||||
|
local to=$1 ghc_v=${BIN_PV}
|
||||||
|
|
||||||
|
# libdir for prebuilt binary and for current system may mismatch
|
||||||
|
# It does for prefix installation for example: bug #476998
|
||||||
|
local bin_ghc_prefix=${WORKDIR}/usr
|
||||||
|
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
||||||
|
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
||||||
|
|
||||||
|
# backup original script to use it later after relocation
|
||||||
|
local gp_back="${T}/ghc-pkg-${ghc_v}-orig"
|
||||||
|
cp "${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||||
|
|
||||||
|
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
||||||
|
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
||||||
|
# moving the dir itself is not strictly needed
|
||||||
|
# but then USE=binary would result in installing
|
||||||
|
# in '${bin_libdir}'
|
||||||
|
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
||||||
|
|
||||||
|
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghci-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||||
|
"${WORKDIR}/usr/bin/runghc-${ghc_v}" \
|
||||||
|
"$gp_back" \
|
||||||
|
"${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"*
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Relocate from /usr to ${EPREFIX}/usr
|
||||||
|
relocate_path "/usr" "${to}/usr" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghci-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/haddock-ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/hp2ps" \
|
||||||
|
"${WORKDIR}/usr/bin/hpc" \
|
||||||
|
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||||
|
"${WORKDIR}/usr/bin/runghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"*
|
||||||
|
|
||||||
|
# this one we will use to regenerate cache
|
||||||
|
# so it should point to current tree location
|
||||||
|
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||||
|
|
||||||
|
if use prefix; then
|
||||||
|
hprefixify "${bin_libpath}"/${PN}*/settings
|
||||||
|
fi
|
||||||
|
|
||||||
|
# regenerate the binary package cache
|
||||||
|
"$gp_back" recache || die "failed to update cache after relocation"
|
||||||
|
rm "$gp_back"
|
||||||
|
}
|
||||||
|
|
||||||
|
ghc-check-reqs() {
|
||||||
|
# These are pessimistic values (slightly bigger than worst-case)
|
||||||
|
# Worst case is UNREG USE=profile ia64. See bug #611866 for some
|
||||||
|
# numbers on various arches.
|
||||||
|
CHECKREQS_DISK_BUILD=8G
|
||||||
|
CHECKREQS_DISK_USR=2G
|
||||||
|
# USE=binary roughly takes
|
||||||
|
use binary && CHECKREQS_DISK_BUILD=4G
|
||||||
|
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
ghc-check-reqs check-reqs_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
ghc-check-reqs check-reqs_pkg_setup
|
||||||
|
|
||||||
|
# quiet portage about prebuilt binaries
|
||||||
|
use binary && QA_PREBUILT="*"
|
||||||
|
|
||||||
|
[[ ${MERGE_TYPE} == binary ]] && return
|
||||||
|
|
||||||
|
if use ghcbootstrap; then
|
||||||
|
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||||
|
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
||||||
|
|
||||||
|
[[ -z $(type -P ghc) ]] && \
|
||||||
|
die "Could not find a ghc to bootstrap with."
|
||||||
|
else
|
||||||
|
if ! yet_binary; then
|
||||||
|
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||||
|
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||||
|
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
# Create the ${S} dir if we're using the binary version
|
||||||
|
use binary && mkdir "${S}"
|
||||||
|
|
||||||
|
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||||
|
# unpacked separately, so prevent them from being unpacked
|
||||||
|
local ONLYA=${A}
|
||||||
|
case ${CHOST} in
|
||||||
|
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;;
|
||||||
|
esac
|
||||||
|
unpack ${ONLYA}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
ghc_setup_cflags
|
||||||
|
|
||||||
|
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
||||||
|
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
||||||
|
# See bug #313635.
|
||||||
|
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${BIN_PV}"
|
||||||
|
|
||||||
|
# allow hardened users use vanilla binary to bootstrap ghc
|
||||||
|
# ghci uses mmap with rwx protection at it implements dynamic
|
||||||
|
# linking on it's own (bug #299709)
|
||||||
|
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${PN}-${BIN_PV}/bin/ghc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use binary; then
|
||||||
|
if use prefix; then
|
||||||
|
relocate_ghc "${EPREFIX}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Move unpacked files to the expected place
|
||||||
|
mv "${WORKDIR}/usr" "${S}"
|
||||||
|
eapply_user
|
||||||
|
else
|
||||||
|
if ! use ghcbootstrap; then
|
||||||
|
case ${CHOST} in
|
||||||
|
*-darwin* | *-solaris*)
|
||||||
|
# UPDATE ME for ghc-7
|
||||||
|
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||||
|
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||||
|
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||||
|
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
||||||
|
use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2
|
||||||
|
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
||||||
|
# fix the binaries so they run, on Solaris we need an
|
||||||
|
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||||
|
# Darwin we need to replace the frameworks with our libs
|
||||||
|
# from the prefix fix before installation, because some
|
||||||
|
# of the tools are actually used during configure/make
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||||
|
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
local readline_framework=GNUreadline.framework/GNUreadline
|
||||||
|
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
||||||
|
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||||
|
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||||
|
install_name_tool -change \
|
||||||
|
${readline_framework} \
|
||||||
|
"${EPREFIX}"/lib/libreadline.dylib \
|
||||||
|
${binary} || die
|
||||||
|
install_name_tool -change \
|
||||||
|
${gmp_framework} \
|
||||||
|
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||||
|
${binary} || die
|
||||||
|
install_name_tool -change \
|
||||||
|
${ncurses_file} \
|
||||||
|
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||||
|
${binary} || die
|
||||||
|
done
|
||||||
|
# we don't do frameworks!
|
||||||
|
sed -i \
|
||||||
|
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||||
|
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||||
|
rts/package.conf.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# it is autoconf, but we really don't want to give it too
|
||||||
|
# many arguments, in fact we do the make in-place anyway
|
||||||
|
./configure --prefix="${WORKDIR}"/usr || die
|
||||||
|
make install || die
|
||||||
|
popd > /dev/null
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
relocate_ghc "${WORKDIR}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||||
|
"${S}/ghc/ghc.wrapper"
|
||||||
|
|
||||||
|
cd "${S}" # otherwise eapply will break
|
||||||
|
|
||||||
|
eapply "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.2.1-darwin.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.8.1-revert-CPP.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.10.1-no-relax-everywhere.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.10.1-allow-cross-bootstrap.patch
|
||||||
|
|
||||||
|
# a bunch of crosscompiler patches
|
||||||
|
# needs newer version:
|
||||||
|
#eapply "${FILESDIR}"/${PN}-8.2.1_rc1-hp2ps-cross.patch
|
||||||
|
|
||||||
|
# mingw32 target
|
||||||
|
pushd "${S}/libraries/Win32"
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.2.1_rc1-win32-cross-2-hack.patch # bad workaround
|
||||||
|
popd
|
||||||
|
|
||||||
|
bump_libs
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
# as we have changed the build system
|
||||||
|
eautoreconf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if ! use binary; then
|
||||||
|
# initialize build.mk
|
||||||
|
echo '# Gentoo changes' > mk/build.mk
|
||||||
|
|
||||||
|
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
||||||
|
echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||||
|
echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||||
|
|
||||||
|
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||||
|
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
||||||
|
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||||
|
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
||||||
|
# Speed up initial Cabal bootstrap
|
||||||
|
echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk
|
||||||
|
|
||||||
|
# We can't depend on haddock except when bootstrapping when we
|
||||||
|
# must build docs and include them into the binary .tbz2 package
|
||||||
|
# app-text/dblatex is not in portage, can not build PDF or PS
|
||||||
|
echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
|
||||||
|
echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
|
||||||
|
|
||||||
|
# this controls presence on 'xhtml' and 'haddock' in final install
|
||||||
|
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||||
|
|
||||||
|
# not used outside of ghc's test
|
||||||
|
if [[ -n ${GHC_BUILD_DPH} ]]; then
|
||||||
|
echo "BUILD_DPH = YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_DPH = NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Any non-native build has to skip as it needs
|
||||||
|
# target haddock binary to be runnabine.
|
||||||
|
if ! is_native; then
|
||||||
|
# disable docs generation as it requires running stage2
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
if is_crosscompile; then
|
||||||
|
# Install ghc-stage1 crosscompiler instead of
|
||||||
|
# ghc-stage2 cross-built compiler.
|
||||||
|
echo "Stage1Only=YES" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
# allows overriding build flavours for libraries:
|
||||||
|
# v - vanilla (static libs)
|
||||||
|
# p - profiled
|
||||||
|
# dyn - shared libraries
|
||||||
|
# example: GHC_LIBRARY_WAYS="v dyn"
|
||||||
|
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
||||||
|
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk
|
||||||
|
|
||||||
|
# Get ghc from the unpacked binary .tbz2
|
||||||
|
# except when bootstrapping we just pick ghc up off the path
|
||||||
|
if ! use ghcbootstrap; then
|
||||||
|
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "INTEGER_LIBRARY = $(usex gmp integer-gmp integer-simple)" >> mk/build.mk
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
|
||||||
|
local econf_args=()
|
||||||
|
|
||||||
|
# GHC embeds toolchain it was built by and uses it later.
|
||||||
|
# Don't allow things like ccache or versioned binary slip.
|
||||||
|
# We use stable thing across gcc upgrades.
|
||||||
|
# User can use EXTRA_ECONF=CC=... to override this default.
|
||||||
|
econf_args+=(
|
||||||
|
AR=${CTARGET}-ar
|
||||||
|
CC=${CTARGET}-gcc
|
||||||
|
# these should be inferred by GHC but ghc defaults
|
||||||
|
# to using bundled tools on windows.
|
||||||
|
Windres=${CTARGET}-windres
|
||||||
|
DllWrap=${CTARGET}-dllwrap
|
||||||
|
# we set the linker explicitly below
|
||||||
|
--disable-ld-override
|
||||||
|
)
|
||||||
|
case ${CTARGET} in
|
||||||
|
arm*)
|
||||||
|
# ld.bfd-2.28 does not work for ghc. Force ld.gold
|
||||||
|
# instead. This should be removed once gentoo gets
|
||||||
|
# a fix for R_ARM_COPY bug: https://sourceware.org/PR16177
|
||||||
|
econf_args+=(LD=${CTARGET}-ld.gold)
|
||||||
|
;;
|
||||||
|
sparc*)
|
||||||
|
# ld.gold-2.28 does not work for ghc. Force ld.bfd
|
||||||
|
# instead. This should be removed once gentoo gets
|
||||||
|
# a fix for missing --no-relax support bug:
|
||||||
|
# https://sourceware.org/ml/binutils/2017-07/msg00183.html
|
||||||
|
econf_args+=(LD=${CTARGET}-ld.bfd)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
econf_args+=(LD=${CTARGET}-ld)
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ ${CBUILD} != ${CHOST} ]]; then
|
||||||
|
# GHC bug: ghc claims not to support cross-building.
|
||||||
|
# It does, but does not distinct --host= value
|
||||||
|
# for stage1 and stage2 compiler.
|
||||||
|
econf_args+=(--host=${CBUILD})
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ghcmakebinary; then
|
||||||
|
# When building booting libary we are trying to
|
||||||
|
# bundle or restrict most of external depends
|
||||||
|
# with unstable ABI:
|
||||||
|
# - embed libffi (default GHC behaviour)
|
||||||
|
# - disable ncurses support for ghci (via haskeline)
|
||||||
|
# https://bugs.gentoo.org/557478
|
||||||
|
# - disable ncurses support for ghc-pkg
|
||||||
|
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
||||||
|
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
||||||
|
elif is_native; then
|
||||||
|
# using ${GTARGET}'s libffi is not supported yet:
|
||||||
|
# GHC embeds full path for ffi includes without /usr/${CTARGET} account.
|
||||||
|
econf_args+=(--with-system-libffi)
|
||||||
|
econf_args+=(--with-ffi-includes=$(pkg-config libffi --cflags-only-I | sed -e 's@^-I@@'))
|
||||||
|
fi
|
||||||
|
|
||||||
|
einfo "Final mk/build.mk:"
|
||||||
|
cat mk/build.mk || die
|
||||||
|
|
||||||
|
econf ${econf_args[@]} \
|
||||||
|
--enable-bootstrap-with-devel-snapshot \
|
||||||
|
$(use_enable elfutils dwarf-unwind) \
|
||||||
|
$(use_enable numa)
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||||
|
GHC_P=${PN}-${GHC_PV}
|
||||||
|
fi
|
||||||
|
fi # ! use binary
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if ! use binary; then
|
||||||
|
# Stage1Only crosscompiler does not build stage2
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
# 1. build/pax-mark compiler binary first
|
||||||
|
emake ghc/stage2/build/tmp/ghc-stage2
|
||||||
|
# 2. pax-mark (bug #516430)
|
||||||
|
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
||||||
|
# 2. build/pax-mark haddock using ghc-stage2
|
||||||
|
if is_native; then
|
||||||
|
# non-native build does not build haddock
|
||||||
|
# due to HADDOCK_DOCS=NO, but it could.
|
||||||
|
emake utils/haddock/dist/build/tmp/haddock
|
||||||
|
pax-mark -m utils/haddock/dist/build/tmp/haddock
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# 3. and then all the rest
|
||||||
|
emake all
|
||||||
|
fi # ! use binary
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# TODO: deal with:
|
||||||
|
# - sandbox (pollutes environment)
|
||||||
|
# - extra packages (to extend testsuite coverage)
|
||||||
|
# bits are taken from 'validate'
|
||||||
|
local make_test_target='test' # can be fulltest
|
||||||
|
# not 'emake' as testsuite uses '$MAKE' without jobserver available
|
||||||
|
make $make_test_target stage=2 THREADS=$(makeopts_jobs)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use binary; then
|
||||||
|
use prefix && mkdir -p "${ED}"
|
||||||
|
mv "${S}/usr" "${ED}"
|
||||||
|
else
|
||||||
|
[[ -f VERSION ]] || emake VERSION
|
||||||
|
|
||||||
|
# -j1 due to a rare race in install script:
|
||||||
|
# make --no-print-directory -f ghc.mk phase=final install
|
||||||
|
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 755 \
|
||||||
|
# -d "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404/include"
|
||||||
|
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 utils/hsc2hs/template-hsc.h \
|
||||||
|
# "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404"
|
||||||
|
# /usr/bin/install: cannot create regular file \
|
||||||
|
# '/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404': No such file or directory
|
||||||
|
emake -j1 install DESTDIR="${D}"
|
||||||
|
|
||||||
|
# Skip for cross-targets as they all share target location:
|
||||||
|
# /usr/share/doc/ghc-9999/
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
dodoc "distrib/README" "LICENSE" "VERSION"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rename ghc-shipped files to avoid collision
|
||||||
|
# of external packages. Motivating example:
|
||||||
|
# user had installed:
|
||||||
|
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
||||||
|
# dev-haskell/transformers-0.4.2.0
|
||||||
|
# then user tried to update to
|
||||||
|
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
||||||
|
# this will lead to single .conf file collision.
|
||||||
|
local shipped_conf renamed_conf
|
||||||
|
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
for shipped_conf in "${package_confdir}"/*.conf; do
|
||||||
|
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
||||||
|
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
||||||
|
mv "${shipped_conf}" "${renamed_conf}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
# remove link, but leave 'haddock-${GHC_P}'
|
||||||
|
rm -f "${ED}"/usr/bin/$(cross)haddock
|
||||||
|
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
||||||
|
newbashcomp utils/completion/ghc.bash ghc
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# path to the package.cache
|
||||||
|
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
PKGCACHE="${package_confdir}"/package.cache
|
||||||
|
# copy the package.conf.d, including timestamp, save it so we can help
|
||||||
|
# users that have a broken package.conf.d
|
||||||
|
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
||||||
|
|
||||||
|
# copy the package.conf, including timestamp, save it so we later can put it
|
||||||
|
# back before uninstalling, or when upgrading.
|
||||||
|
cp -p "${PKGCACHE}"{,.shipped} \
|
||||||
|
|| die "failed to copy package.conf.d/package.cache"
|
||||||
|
|
||||||
|
if is_crosscompile; then
|
||||||
|
# When we build a cross-compiler the layout is the following:
|
||||||
|
# usr/lib/${CTARGET}-ghc-${VER}/ contains target libraries
|
||||||
|
# but
|
||||||
|
# usr/lib/${CTARGET}-ghc-${VER}/bin/ directory
|
||||||
|
# containst host binaries (modulo bugs).
|
||||||
|
|
||||||
|
# Portage's stripping mechanism does not skip stripping
|
||||||
|
# foreign binaries. This frequently causes binaries to be
|
||||||
|
# broken.
|
||||||
|
#
|
||||||
|
# Thus below we disable stripping of target libraries and allow
|
||||||
|
# stripping hosts executables.
|
||||||
|
dostrip -x "/usr/$(get_libdir)/$(cross)${GHC_P}"
|
||||||
|
dostrip "/usr/$(get_libdir)/$(cross)${GHC_P}/bin"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# have we got an earlier version of ghc installed?
|
||||||
|
if has_version "<${CATEGORY}/${PF}"; then
|
||||||
|
haskell_updater_warn="1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ghc-reregister
|
||||||
|
|
||||||
|
# path to the package.cache
|
||||||
|
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||||
|
|
||||||
|
# give the cache a new timestamp, it must be as recent as
|
||||||
|
# the package.conf.d directory.
|
||||||
|
touch "${PKGCACHE}"
|
||||||
|
|
||||||
|
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||||
|
ewarn
|
||||||
|
ewarn "You have just upgraded from an older version of GHC."
|
||||||
|
ewarn "You may have to run"
|
||||||
|
ewarn " 'haskell-updater'"
|
||||||
|
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||||
|
ewarn
|
||||||
|
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||||
|
rm -rf "${PKGCACHE}"
|
||||||
|
|
||||||
|
cp -p "${PKGCACHE}"{.shipped,}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
ghc-package_pkg_postrm
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST appstream-glib-0.7.15.tar.xz 2240040 BLAKE2B e1b58e0ce6523354490e529381302aa603e4ac1886c37e9c261ab612f76490ae4ea8fd22eff9c2bc1981d5ceb77ff8c4f8279e091dc62bd4df39d2c32623c1ea SHA512 bab0c73e54d90fbf22295f616d4a09332f94b90a3fa0cb38f1b654c6d9a459c9557dd81c677f486361dbf4f1dd23651306fe34b1cdd15254694269a8c9e8a927
|
DIST appstream-glib-0.7.15.tar.xz 2240040 BLAKE2B e1b58e0ce6523354490e529381302aa603e4ac1886c37e9c261ab612f76490ae4ea8fd22eff9c2bc1981d5ceb77ff8c4f8279e091dc62bd4df39d2c32623c1ea SHA512 bab0c73e54d90fbf22295f616d4a09332f94b90a3fa0cb38f1b654c6d9a459c9557dd81c677f486361dbf4f1dd23651306fe34b1cdd15254694269a8c9e8a927
|
||||||
DIST appstream-glib-0.7.16.tar.xz 2243684 BLAKE2B 101a964822cc2421608e04a342b89248d16fff006c1843433f5db11703533fb7d0b2cb390d1e2f85274c51d0bd989502fc453700dfb9c32005a7b7c64cb59348 SHA512 a2991dbd26deeb1fb1daef1811c38ff5b55b2fae0bf2d8cc612c2e370613cb6b0468cf287ab3b575f6e6e3203aabcca12dd95474f70a54d6052a34dcb27b951b
|
DIST appstream-glib-0.7.16.tar.xz 2243684 BLAKE2B 101a964822cc2421608e04a342b89248d16fff006c1843433f5db11703533fb7d0b2cb390d1e2f85274c51d0bd989502fc453700dfb9c32005a7b7c64cb59348 SHA512 a2991dbd26deeb1fb1daef1811c38ff5b55b2fae0bf2d8cc612c2e370613cb6b0468cf287ab3b575f6e6e3203aabcca12dd95474f70a54d6052a34dcb27b951b
|
||||||
|
DIST appstream-glib-0.7.17.tar.xz 2245372 BLAKE2B 88173b209b275962ecd4b0a5d3cc344b317dec39a57cb6ebcdbc1c4447017b69c8e68ae19e336b1780477120269deda28b7e53d935a057fac193f123d91013d0 SHA512 72eae6057a4b18b6eca34c795c2bfd982fd7a31500b70beb9553bdf8a7617a03319a2813eb93af20f2e39678ef6ee524dee48b2cbcccde0736f9d10a547ca223
|
||||||
|
@ -0,0 +1,64 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit xdg meson
|
||||||
|
|
||||||
|
DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata"
|
||||||
|
HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/"
|
||||||
|
SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0/8" # soname version
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="gtk-doc fonts +introspection stemmer"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.58.0:2
|
||||||
|
sys-apps/util-linux
|
||||||
|
app-arch/libarchive
|
||||||
|
>=net-libs/libsoup-2.51.92:2.4
|
||||||
|
>=dev-libs/json-glib-1.1.2
|
||||||
|
>=x11-libs/gdk-pixbuf-2.31.5:2[introspection?]
|
||||||
|
|
||||||
|
fonts? ( x11-libs/gtk+:3
|
||||||
|
>=media-libs/freetype-2.4:2 )
|
||||||
|
>=media-libs/fontconfig-2.11:1.0
|
||||||
|
dev-libs/libyaml
|
||||||
|
stemmer? ( dev-libs/snowball-stemmer )
|
||||||
|
x11-libs/pango
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||||
|
"
|
||||||
|
# libxml2 required for glib-compile-resources
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/gperf
|
||||||
|
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
dev-libs/libxslt
|
||||||
|
gtk-doc? (
|
||||||
|
>=dev-util/gtk-doc-1.9
|
||||||
|
app-text/docbook-xml-dtd:4.3
|
||||||
|
)
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
"
|
||||||
|
# ${PN} superseeds appdata-tools
|
||||||
|
RDEPEND="${RDEPEND}
|
||||||
|
!<dev-util/appdata-tools-0.1.8-r1
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddep11=true
|
||||||
|
-Dbuilder=true
|
||||||
|
-Drpm=false
|
||||||
|
-Dalpm=false
|
||||||
|
$(meson_use fonts)
|
||||||
|
$(meson_use stemmer)
|
||||||
|
-Dman=true
|
||||||
|
$(meson_use gtk-doc)
|
||||||
|
$(meson_use introspection)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST atk-2.32.0.tar.xz 292088 BLAKE2B 15f093db60cc54d1a5a18dc78cb9d64fa73e18dadb724fe5143956199f4ff1aa4ea9daf0796b14f228a1d91f1d44e88749c67fe5a6a84bd001916d78be4680f9 SHA512 8cd2a3ee006f21835f3e564f2e1de4ae61bd9529b4c0b4f2e3ece88e905e2dd36b67affb089f41582806a1397576602a526a4b8698303708894f20af97ecac22
|
DIST atk-2.32.0.tar.xz 292088 BLAKE2B 15f093db60cc54d1a5a18dc78cb9d64fa73e18dadb724fe5143956199f4ff1aa4ea9daf0796b14f228a1d91f1d44e88749c67fe5a6a84bd001916d78be4680f9 SHA512 8cd2a3ee006f21835f3e564f2e1de4ae61bd9529b4c0b4f2e3ece88e905e2dd36b67affb089f41582806a1397576602a526a4b8698303708894f20af97ecac22
|
||||||
DIST atk-2.34.1.tar.xz 293140 BLAKE2B 8ae280583867460734ca001eb01963eefcc519eb09658e2e793cd1a07831e8e5ade20a4d38bb5925a1103da206d9d6283a2b1892c671f12090b3eefac04b34e1 SHA512 a7c8ec7c2166bb8734b065402bf7700cdc69f56c0958663e88596b155a20063e4cfbf1754d8b8ed94a4e509db2e97e2603b0a8037e61028acc85930e631a633e
|
DIST atk-2.34.1.tar.xz 293140 BLAKE2B 8ae280583867460734ca001eb01963eefcc519eb09658e2e793cd1a07831e8e5ade20a4d38bb5925a1103da206d9d6283a2b1892c671f12090b3eefac04b34e1 SHA512 a7c8ec7c2166bb8734b065402bf7700cdc69f56c0958663e88596b155a20063e4cfbf1754d8b8ed94a4e509db2e97e2603b0a8037e61028acc85930e631a633e
|
||||||
|
DIST atk-2.35.1.tar.xz 294224 BLAKE2B e2e4d5768d8add243bb064e3ec43bd4665bf16f0211be721788a3a3bb96a93e402671e0bf5c7e2a1747ac673fee0b5022cb1798481a5ff0b1cc61f41dc0c8279 SHA512 da81cb4a6a5f2d8d83fa8a430b181b009e5407d906bb000a2d86481e7fea9fa6fb6e9dcd6790d4efdf513e5fe8fcb32ac3ec49d4ce3c76010145b8baacf2ae1b
|
||||||
|
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit gnome.org meson multilib-minimal xdg
|
||||||
|
|
||||||
|
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
|
IUSE="gtk-doc +introspection"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.38.0:2[${MULTILIB_USEDEP}]
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/glib-utils
|
||||||
|
gtk-doc? (
|
||||||
|
>=dev-util/gtk-doc-1.25
|
||||||
|
app-text/docbook-xml-dtd:4.3 )
|
||||||
|
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddocs=$(multilib_native_usex gtk-doc true false)
|
||||||
|
-Dintrospection=$(multilib_native_usex introspection true false)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST glib-2.60.7.tar.xz 4590568 BLAKE2B a3f2a3bd0443a27326e8359c2ad1e6022ca1634f5c7cb4502a8011fbe85df690fff7d67665cf160bf4ed426214b87f6501a69158fb1656bdb86cacdcf076ee15 SHA512 d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a
|
DIST glib-2.60.7.tar.xz 4590568 BLAKE2B a3f2a3bd0443a27326e8359c2ad1e6022ca1634f5c7cb4502a8011fbe85df690fff7d67665cf160bf4ed426214b87f6501a69158fb1656bdb86cacdcf076ee15 SHA512 d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a
|
||||||
DIST glib-2.62.5.tar.xz 4702492 BLAKE2B 03e04cb149b3301959013c5db20b1f3606951ed80105e0580d40177586a5834afb975ace0d25d5311fd63d29a48129128bdddf29a808e371f1400c00033be1a3 SHA512 2f99422ff8245524aabdb52f5d388ef4bde0fc075eab24499b4023f6ca143b80a74e265117b9e7a9de68a347b0c7eaa8655c836d7bbb63d54cad5c6dda630371
|
DIST glib-2.62.5.tar.xz 4702492 BLAKE2B 03e04cb149b3301959013c5db20b1f3606951ed80105e0580d40177586a5834afb975ace0d25d5311fd63d29a48129128bdddf29a808e371f1400c00033be1a3 SHA512 2f99422ff8245524aabdb52f5d388ef4bde0fc075eab24499b4023f6ca143b80a74e265117b9e7a9de68a347b0c7eaa8655c836d7bbb63d54cad5c6dda630371
|
||||||
DIST glib-2.62.6.tar.xz 4703424 BLAKE2B 0a27245be2575c574dcc730dd051a8c284f421dbc46579aadc5fbbacb8f934af4374b61bb26085e5c9ab78a868c567818f3fb9d67adddce37f5c4fec00e0d276 SHA512 8e3972a371f3c1a50b7d245b30e4f740583ad72ba4ab325e0e15e0732be44dfb69b603fb39dcf4989255a23a181e9ea5dd25982dd94c386cd9f21952243ad6f5
|
DIST glib-2.62.6.tar.xz 4703424 BLAKE2B 0a27245be2575c574dcc730dd051a8c284f421dbc46579aadc5fbbacb8f934af4374b61bb26085e5c9ab78a868c567818f3fb9d67adddce37f5c4fec00e0d276 SHA512 8e3972a371f3c1a50b7d245b30e4f740583ad72ba4ab325e0e15e0732be44dfb69b603fb39dcf4989255a23a181e9ea5dd25982dd94c386cd9f21952243ad6f5
|
||||||
|
DIST glib-2.64.1.tar.xz 4758548 BLAKE2B 5585d23fee28d7c32b1bb9e1defbc31ba469aa259e3c328760d1e702d98706cf251bfb50b5e2aed37b2cdfa6ab4319372ddcd0a9937c97a2614741b504af17a5 SHA512 1cefe49a42233f24ac6bd09c134ceea7119f4f74f42204a731be56100a180eec69c8224674f0b08d1538ad0859896ed08260a6af0fed469c7d10b4508116a6bc
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
From 95b22035f6151ab465c37fe5e3e340713cb74e23 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matt Turner <mattst88@gmail.com>
|
||||||
|
Date: Tue, 24 Mar 2020 18:44:54 -0700
|
||||||
|
Subject: [PATCH] Mark gdbus-server-auth test flaky
|
||||||
|
|
||||||
|
See https://gitlab.gnome.org/GNOME/glib/-/issues/1954
|
||||||
|
---
|
||||||
|
gio/tests/meson.build | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
|
||||||
|
index 788cf978b..7f45d0191 100644
|
||||||
|
--- a/gio/tests/meson.build
|
||||||
|
+++ b/gio/tests/meson.build
|
||||||
|
@@ -122,12 +122,13 @@ if dbus1_dep.found()
|
||||||
|
},
|
||||||
|
'gdbus-server-auth' : {
|
||||||
|
'dependencies' : [dbus1_dep],
|
||||||
|
+ 'suite' : ['flaky'],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
else
|
||||||
|
# We can build a cut-down version of this test without libdbus
|
||||||
|
gio_tests += {
|
||||||
|
- 'gdbus-server-auth' : {},
|
||||||
|
+ 'gdbus-server-auth' : {'suite' : ['flaky']},
|
||||||
|
}
|
||||||
|
endif
|
||||||
|
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -0,0 +1,278 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||||
|
|
||||||
|
inherit flag-o-matic gnome.org gnome2-utils linux-info meson multilib multilib-minimal python-any-r1 toolchain-funcs xdg
|
||||||
|
|
||||||
|
DESCRIPTION="The GLib library of C routines"
|
||||||
|
HOMEPAGE="https://www.gtk.org/"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="2"
|
||||||
|
IUSE="dbus debug elibc_glibc fam gtk-doc kernel_linux +mime selinux static-libs systemtap test utils xattr"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# * libelf isn't strictly necessary, but makes gresource tool more useful, and
|
||||||
|
# the check is automagic in gio/meson.build. gresource is not a multilib tool
|
||||||
|
# right now, thus it doesn't matter if non-native ABI libelf exists or not
|
||||||
|
# (non-native binary is overwritten, it doesn't matter if libelf was linked to).
|
||||||
|
# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
|
||||||
|
# these are used by GIO, which glib[static-libs] consumers don't really seem
|
||||||
|
# to need at all, thus not imposing the deps for now and once some consumers
|
||||||
|
# are actually found to static link libgio-2.0.a, we can revisit and either add
|
||||||
|
# them or just put the (build) deps in that rare consumer instead of recursive
|
||||||
|
# RDEPEND here (due to lack of recursive DEPEND).
|
||||||
|
RDEPEND="
|
||||||
|
!<dev-util/gdbus-codegen-${PV}
|
||||||
|
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/libpcre-8.31:3[${MULTILIB_USEDEP},static-libs?]
|
||||||
|
>=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
|
||||||
|
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||||
|
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
|
||||||
|
kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
|
||||||
|
selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
|
||||||
|
xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) )
|
||||||
|
virtual/libelf:0=
|
||||||
|
fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
# libxml2 used for optional tests that get automatically skipped
|
||||||
|
BDEPEND="
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
gtk-doc? ( >=dev-util/gtk-doc-1.20
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5 )
|
||||||
|
systemtap? ( >=dev-util/systemtap-1.3 )
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
test? ( >=sys-apps/dbus-1.2.14 )
|
||||||
|
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
||||||
|
"
|
||||||
|
# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify gio/tests/meson.build to use external gdbus-codegen
|
||||||
|
|
||||||
|
PDEPEND="
|
||||||
|
dbus? ( gnome-base/dconf )
|
||||||
|
mime? ( x11-misc/shared-mime-info )
|
||||||
|
"
|
||||||
|
# shared-mime-info needed for gio/xdgmime, bug #409481
|
||||||
|
# dconf is needed to be able to save settings, bug #498436
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/gio-querymodules$(get_exeext)
|
||||||
|
)
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-mark-gdbus-server-auth-test-flaky.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use kernel_linux ; then
|
||||||
|
CONFIG_CHECK="~INOTIFY_USER"
|
||||||
|
if use test ; then
|
||||||
|
CONFIG_CHECK="~IPV6"
|
||||||
|
WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them."
|
||||||
|
fi
|
||||||
|
linux-info_pkg_setup
|
||||||
|
fi
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use test; then
|
||||||
|
# TODO: Review the test exclusions, especially now with meson
|
||||||
|
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
|
||||||
|
if ! has_version dev-util/desktop-file-utils ; then
|
||||||
|
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
|
||||||
|
ewarn "think on installing it to get these tests run."
|
||||||
|
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
|
||||||
|
sed -i -e "/g_test_add_func/d" gio/tests/desktop-app-info.c || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# gdesktopappinfo requires existing terminal (gnome-terminal or any
|
||||||
|
# other), falling back to xterm if one doesn't exist
|
||||||
|
#if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then
|
||||||
|
# ewarn "Some tests will be skipped due to missing terminal program"
|
||||||
|
# These tests seem to sometimes fail even with a terminal; skip for now and reevulate with meson
|
||||||
|
# Also try https://gitlab.gnome.org/GNOME/glib/issues/1601 once ready for backport (or in a bump) and file new issue if still fails
|
||||||
|
sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die
|
||||||
|
# desktop-app-info/launch* might fail similarly
|
||||||
|
sed -i -e "/desktop-app-info\/launch-as-manager/d" gio/tests/desktop-app-info.c || die
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=722604
|
||||||
|
sed -i -e "/timer\/stop/d" glib/tests/timer.c || die
|
||||||
|
sed -i -e "/timer\/basic/d" glib/tests/timer.c || die
|
||||||
|
|
||||||
|
ewarn "Tests for search-utils have been skipped"
|
||||||
|
sed -i -e "/search-utils/d" glib/tests/meson.build || die
|
||||||
|
|
||||||
|
# Play nice with network-sandbox, but this approach would defeat the purpose of the test
|
||||||
|
#sed -i -e "s/localhost/127.0.0.1/g" gio/tests/gsocketclient-slow.c || die
|
||||||
|
else
|
||||||
|
# Don't build tests, also prevents extra deps, bug #512022
|
||||||
|
sed -i -e '/subdir.*tests/d' {.,gio,glib}/meson.build || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Don't build fuzzing binaries - not used
|
||||||
|
sed -i -e '/subdir.*fuzzing/d' meson.build || die
|
||||||
|
|
||||||
|
# gdbus-codegen is a separate package
|
||||||
|
sed -i -e '/install_dir/d' gio/gdbus-2.0/codegen/meson.build || die
|
||||||
|
|
||||||
|
# Same kind of meson-0.50 issue with some installed-tests files; will likely be fixed upstream soon
|
||||||
|
sed -i -e '/install_dir/d' gio/tests/meson.build || die
|
||||||
|
|
||||||
|
cat > "${T}/glib-test-ld-wrapper" <<-EOF
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
exec \${LD:-ld} "\$@"
|
||||||
|
EOF
|
||||||
|
chmod a+x "${T}/glib-test-ld-wrapper" || die
|
||||||
|
sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die
|
||||||
|
|
||||||
|
xdg_src_prepare
|
||||||
|
gnome2_environment_reset
|
||||||
|
# TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
if use debug; then
|
||||||
|
append-cflags -DG_ENABLE_DEBUG
|
||||||
|
else
|
||||||
|
append-cflags -DG_DISABLE_CAST_CHECKS # https://gitlab.gnome.org/GNOME/glib/issues/1833
|
||||||
|
fi
|
||||||
|
|
||||||
|
# TODO: figure a way to pass appropriate values for all cross properties that glib uses (search for get_cross_property)
|
||||||
|
#if tc-is-cross-compiler ; then
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=756473
|
||||||
|
# TODO-meson: This should be in meson cross file as 'growing_stack' property; and more, look at get_cross_property
|
||||||
|
#case ${CHOST} in
|
||||||
|
#hppa*|metag*) export glib_cv_stack_grows=yes ;;
|
||||||
|
#*) export glib_cv_stack_grows=no ;;
|
||||||
|
#esac
|
||||||
|
#fi
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddefault_library=$(usex static-libs both shared)
|
||||||
|
$(meson_feature selinux)
|
||||||
|
$(meson_use xattr)
|
||||||
|
-Dlibmount=enabled # only used if host_system == 'linux'
|
||||||
|
-Dinternal_pcre=false
|
||||||
|
-Dman=true
|
||||||
|
$(meson_use systemtap dtrace)
|
||||||
|
$(meson_use systemtap)
|
||||||
|
-Dgtk_doc=$(multilib_native_usex gtk-doc true false)
|
||||||
|
$(meson_use fam)
|
||||||
|
-Dinstalled_tests=false
|
||||||
|
-Dnls=enabled
|
||||||
|
-Doss_fuzz=disabled
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
export XDG_CONFIG_DIRS=/etc/xdg
|
||||||
|
export XDG_DATA_DIRS=/usr/local/share:/usr/share
|
||||||
|
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
|
||||||
|
export LC_TIME=C # bug #411967
|
||||||
|
unset GSETTINGS_BACKEND # bug #596380
|
||||||
|
python_setup
|
||||||
|
|
||||||
|
# Related test is a bit nitpicking
|
||||||
|
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||||
|
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||||
|
|
||||||
|
meson_src_test --timeout-multiplier 2 --no-suite flaky
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
keepdir /usr/$(get_libdir)/gio/modules
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
# These are installed by dev-util/glib-utils
|
||||||
|
# TODO: With patching we might be able to get rid of the python-any deps and removals, and test depend on glib-utils instead; revisit now with meson
|
||||||
|
rm "${ED}/usr/bin/glib-genmarshal" || die
|
||||||
|
rm "${ED}/usr/share/man/man1/glib-genmarshal.1" || die
|
||||||
|
rm "${ED}/usr/bin/glib-mkenums" || die
|
||||||
|
rm "${ED}/usr/share/man/man1/glib-mkenums.1" || die
|
||||||
|
rm "${ED}/usr/bin/gtester-report" || die
|
||||||
|
rm "${ED}/usr/share/man/man1/gtester-report.1" || die
|
||||||
|
# gdbus-codegen manpage installed by dev-util/gdbus-codegen
|
||||||
|
rm "${ED}/usr/share/man/man1/gdbus-codegen.1" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
xdg_pkg_preinst
|
||||||
|
|
||||||
|
# Make gschemas.compiled belong to glib alone
|
||||||
|
local cache="/usr/share/glib-2.0/schemas/gschemas.compiled"
|
||||||
|
|
||||||
|
if [[ -e ${EROOT}${cache} ]]; then
|
||||||
|
cp "${EROOT}"${cache} "${ED}"/${cache} || die
|
||||||
|
else
|
||||||
|
touch "${ED}"${cache} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
multilib_pkg_preinst() {
|
||||||
|
# Make giomodule.cache belong to glib alone
|
||||||
|
local cache="/usr/$(get_libdir)/gio/modules/giomodule.cache"
|
||||||
|
|
||||||
|
if [[ -e ${EROOT}${cache} ]]; then
|
||||||
|
cp "${EROOT}"${cache} "${ED}"${cache} || die
|
||||||
|
else
|
||||||
|
touch "${ED}"${cache} || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Don't run the cache ownership when cross-compiling, as it would end up with an empty cache
|
||||||
|
# file due to inability to create it and GIO might not look at any of the modules there
|
||||||
|
if ! tc-is-cross-compiler ; then
|
||||||
|
multilib_foreach_abi multilib_pkg_preinst
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
# glib installs no schemas itself, but we force update for fresh install in case
|
||||||
|
# something has dropped in a schemas file without direct glib dep; and for upgrades
|
||||||
|
# in case the compiled schema format could have changed
|
||||||
|
gnome2_schemas_update
|
||||||
|
|
||||||
|
multilib_pkg_postinst() {
|
||||||
|
gnome2_giomodule_cache_update \
|
||||||
|
|| die "Update GIO modules cache failed (for ${ABI})"
|
||||||
|
}
|
||||||
|
if ! tc-is-cross-compiler ; then
|
||||||
|
multilib_foreach_abi multilib_pkg_postinst
|
||||||
|
else
|
||||||
|
ewarn "Updating of GIO modules cache skipped due to cross-compilation."
|
||||||
|
ewarn "You might want to run gio-querymodules manually on the target for"
|
||||||
|
ewarn "your final image for performance reasons and re-run it when packages"
|
||||||
|
ewarn "installing GIO modules get upgraded or added to the image."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
|
||||||
|
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||||
|
multilib_pkg_postrm() {
|
||||||
|
rm -f "${EROOT}"/usr/$(get_libdir)/gio/modules/giomodule.cache
|
||||||
|
}
|
||||||
|
multilib_foreach_abi multilib_pkg_postrm
|
||||||
|
rm -f "${EROOT}"/usr/share/glib-2.0/schemas/gschemas.compiled
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST gobject-introspection-1.60.2.tar.xz 1285000 BLAKE2B 43d96bbac8dd6600726876277f945e7eb01dba2063907c21960cbf5f49d766ac156ed116641b69dfe28f3025c4b482ffd39e8e107aba9ee48010a500111a58e4 SHA512 8e8c1c3a025cb6c18933302ada8cce7c4826f22eef791c80a97abb28379239f8d99312e1237bcea1060f4d5cf65441909b9da434561982209bb4976b1f22529e
|
DIST gobject-introspection-1.60.2.tar.xz 1285000 BLAKE2B 43d96bbac8dd6600726876277f945e7eb01dba2063907c21960cbf5f49d766ac156ed116641b69dfe28f3025c4b482ffd39e8e107aba9ee48010a500111a58e4 SHA512 8e8c1c3a025cb6c18933302ada8cce7c4826f22eef791c80a97abb28379239f8d99312e1237bcea1060f4d5cf65441909b9da434561982209bb4976b1f22529e
|
||||||
DIST gobject-introspection-1.62.0.tar.xz 980732 BLAKE2B 96ecc98bea97b7cb24e2c0a0adb8158cfc8915ee8e3b980adf08ec3256d4d0f87bc92d33cce30f5b23c85c4b144d8da755e5313735091b27ff53fea45a80014e SHA512 b460a95fd7a323e9b0c9a45e680ebe98bbae7632abfa53b3e0b0ec050775cab17dde693314d6d4f8e93614c32b5587f8ce0b4a4c9ee9ba46c029ce029014e638
|
DIST gobject-introspection-1.62.0.tar.xz 980732 BLAKE2B 96ecc98bea97b7cb24e2c0a0adb8158cfc8915ee8e3b980adf08ec3256d4d0f87bc92d33cce30f5b23c85c4b144d8da755e5313735091b27ff53fea45a80014e SHA512 b460a95fd7a323e9b0c9a45e680ebe98bbae7632abfa53b3e0b0ec050775cab17dde693314d6d4f8e93614c32b5587f8ce0b4a4c9ee9ba46c029ce029014e638
|
||||||
|
DIST gobject-introspection-1.64.0.tar.xz 1000240 BLAKE2B 09e6dec65a53a107bee387cef9cb271345ae564f3520bd9a6485cf1796deaa47243c05f45a72f3243e811a2c1962a2ae123a6b344819187cbf36eae0ed58fbaa SHA512 d1960424d82dea1f1d36a7c3f9922029e751e77da8dc6904c24750babe7c3f4c11a6795eb218aab342ccbb6326d0ac3eac2c2c903e90b146f4e28c0f413da1ae
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
GNOME_ORG_MODULE="gobject-introspection"
|
||||||
|
|
||||||
|
inherit gnome.org
|
||||||
|
|
||||||
|
DESCRIPTION="Build infrastructure for GObject Introspection"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||||
|
|
||||||
|
LICENSE="HPND"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="!<${CATEGORY}/${GNOME_ORG_MODULE}-${PV}"
|
||||||
|
# Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like:
|
||||||
|
# https://forums.gentoo.org/viewtopic-p-7421930.html
|
||||||
|
|
||||||
|
src_configure() { :; }
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/aclocal
|
||||||
|
doins m4/introspection.m4
|
||||||
|
|
||||||
|
insinto /usr/share/gobject-introspection-1.0
|
||||||
|
doins Makefile.introspection
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST gobject-introspection-1.60.2.tar.xz 1285000 BLAKE2B 43d96bbac8dd6600726876277f945e7eb01dba2063907c21960cbf5f49d766ac156ed116641b69dfe28f3025c4b482ffd39e8e107aba9ee48010a500111a58e4 SHA512 8e8c1c3a025cb6c18933302ada8cce7c4826f22eef791c80a97abb28379239f8d99312e1237bcea1060f4d5cf65441909b9da434561982209bb4976b1f22529e
|
DIST gobject-introspection-1.60.2.tar.xz 1285000 BLAKE2B 43d96bbac8dd6600726876277f945e7eb01dba2063907c21960cbf5f49d766ac156ed116641b69dfe28f3025c4b482ffd39e8e107aba9ee48010a500111a58e4 SHA512 8e8c1c3a025cb6c18933302ada8cce7c4826f22eef791c80a97abb28379239f8d99312e1237bcea1060f4d5cf65441909b9da434561982209bb4976b1f22529e
|
||||||
DIST gobject-introspection-1.62.0.tar.xz 980732 BLAKE2B 96ecc98bea97b7cb24e2c0a0adb8158cfc8915ee8e3b980adf08ec3256d4d0f87bc92d33cce30f5b23c85c4b144d8da755e5313735091b27ff53fea45a80014e SHA512 b460a95fd7a323e9b0c9a45e680ebe98bbae7632abfa53b3e0b0ec050775cab17dde693314d6d4f8e93614c32b5587f8ce0b4a4c9ee9ba46c029ce029014e638
|
DIST gobject-introspection-1.62.0.tar.xz 980732 BLAKE2B 96ecc98bea97b7cb24e2c0a0adb8158cfc8915ee8e3b980adf08ec3256d4d0f87bc92d33cce30f5b23c85c4b144d8da755e5313735091b27ff53fea45a80014e SHA512 b460a95fd7a323e9b0c9a45e680ebe98bbae7632abfa53b3e0b0ec050775cab17dde693314d6d4f8e93614c32b5587f8ce0b4a4c9ee9ba46c029ce029014e638
|
||||||
|
DIST gobject-introspection-1.64.0.tar.xz 1000240 BLAKE2B 09e6dec65a53a107bee387cef9cb271345ae564f3520bd9a6485cf1796deaa47243c05f45a72f3243e811a2c1962a2ae123a6b344819187cbf36eae0ed58fbaa SHA512 d1960424d82dea1f1d36a7c3f9922029e751e77da8dc6904c24750babe7c3f4c11a6795eb218aab342ccbb6326d0ac3eac2c2c903e90b146f4e28c0f413da1ae
|
||||||
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
inherit gnome.org meson python-single-r1 toolchain-funcs xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Introspection system for GObject-based libraries"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2+ GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="doctool gtk-doc test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
# virtual/pkgconfig needed at runtime, bug #505408
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/gobject-introspection-common-${PV}
|
||||||
|
>=dev-libs/glib-2.58.0:2
|
||||||
|
dev-libs/libffi:=
|
||||||
|
doctool? (
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/mako[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/markdown[${PYTHON_MULTI_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
virtual/pkgconfig
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
# Wants real bison, not virtual/yacc
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
gtk-doc? ( >=dev-util/gtk-doc-1.19
|
||||||
|
app-text/docbook-xml-dtd:4.3
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
)
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
test? ( x11-libs/cairo[glib] )
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_feature test cairo)
|
||||||
|
$(meson_feature doctool)
|
||||||
|
#-Dglib_src_dir
|
||||||
|
$(meson_use gtk-doc gtk_doc)
|
||||||
|
#-Dcairo_libname
|
||||||
|
-Dpython="${EPYTHON}"
|
||||||
|
#-Dgir_dir_prefix
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
python_fix_shebang "${ED}"/usr/bin/
|
||||||
|
python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner
|
||||||
|
|
||||||
|
# Prevent collision with gobject-introspection-common
|
||||||
|
rm -v "${ED}"/usr/share/aclocal/introspection.m4 \
|
||||||
|
"${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||||
|
rmdir "${ED}"/usr/share/aclocal || die
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
VALA_USE_DEPEND="vapigen"
|
||||||
|
|
||||||
|
inherit meson multilib-minimal vala
|
||||||
|
|
||||||
|
DESCRIPTION="GObject wrapper for libusb"
|
||||||
|
HOMEPAGE="https://github.com/hughsie/libgusb"
|
||||||
|
SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
IUSE="gtk-doc +introspection static-libs test +vala"
|
||||||
|
REQUIRED_USE="vala? ( introspection )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}]
|
||||||
|
virtual/libusb:1[udev,${MULTILIB_USEDEP}]
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||||
|
sys-apps/hwids
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
gtk-doc? (
|
||||||
|
app-text/docbook-xml-dtd:4.1.2
|
||||||
|
app-text/docbook-xml-dtd:4.4
|
||||||
|
dev-util/gtk-doc
|
||||||
|
)
|
||||||
|
vala? ( $(vala_depend) )
|
||||||
|
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use vala && vala_src_prepare
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddefault_library=$(usex static-libs both shared)
|
||||||
|
$(meson_use test tests)
|
||||||
|
-Dvapi=$(multilib_native_usex vala true false)
|
||||||
|
-Dusb_ids="${EPREFIX}"/usr/share/misc/usb.ids
|
||||||
|
-Ddocs=$(multilib_native_usex gtk-doc true false)
|
||||||
|
-Dintrospection=$(multilib_native_usex introspection true false)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST ntl-10.5.0.tar.gz 1278729 BLAKE2B a061ac4e0989ea671c51a22904851e5b7919f3a7e55624048c576d6f48d2ba3d6f88baa6c656c9ef43ad2145a03df9d891372f8462a1c5b6b53bc1d05301d9f6 SHA512 b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
|
DIST ntl-10.5.0.tar.gz 1278729 BLAKE2B a061ac4e0989ea671c51a22904851e5b7919f3a7e55624048c576d6f48d2ba3d6f88baa6c656c9ef43ad2145a03df9d891372f8462a1c5b6b53bc1d05301d9f6 SHA512 b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
|
||||||
|
DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c SHA512 26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
|
||||||
DIST ntl-9.3.0.tar.gz 888710 BLAKE2B 153a6f1bd11f27ef2944e4df5e941c4ddbb1783449e2a72aa1a272fcf169997b01646cfac63ac3af5a85a7f9a4db99a664503615d323ba54784849e764316b0c SHA512 dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
|
DIST ntl-9.3.0.tar.gz 888710 BLAKE2B 153a6f1bd11f27ef2944e4df5e941c4ddbb1783449e2a72aa1a272fcf169997b01646cfac63ac3af5a85a7f9a4db99a664503615d323ba54784849e764316b0c SHA512 dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
|
||||||
DIST ntl-9.6.4.tar.gz 915256 BLAKE2B 78d8415bb1fe858881f997383ca9adcc8af2499251fc1b2e8e2211a8c7b8edc249ef28f3705e302d438c19cc07bd31d8b36681cb6b5a846d4f0b35ff09d310ff SHA512 ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868
|
DIST ntl-9.6.4.tar.gz 915256 BLAKE2B 78d8415bb1fe858881f997383ca9adcc8af2499251fc1b2e8e2211a8c7b8edc249ef28f3705e302d438c19cc07bd31d8b36681cb6b5a846d4f0b35ff09d310ff SHA512 ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="High-performance and portable C++ number theory library"
|
||||||
|
HOMEPAGE="https://www.shoup.net/ntl/"
|
||||||
|
SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0/43"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
|
||||||
|
|
||||||
|
BDEPEND="dev-lang/perl"
|
||||||
|
DEPEND="dev-libs/gmp:0=
|
||||||
|
dev-libs/gf2x
|
||||||
|
threads? ( >=dev-libs/gf2x-1.2 )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/src"
|
||||||
|
|
||||||
|
REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
|
||||||
|
|
||||||
|
DOCS=( "${WORKDIR}/${P}"/README )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Currently the build system can build a static library or both
|
||||||
|
# static and shared libraries, but not only shared libraries. The
|
||||||
|
# name NTL_GMP_LIP is *not* a typo.
|
||||||
|
perl DoConfig \
|
||||||
|
PREFIX="${EPREFIX}"/usr \
|
||||||
|
LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
|
||||||
|
CXXFLAGS="${CXXFLAGS}" \
|
||||||
|
CPPFLAGS="${CPPFLAGS}" \
|
||||||
|
LDFLAGS="${LDFLAGS}" \
|
||||||
|
CXX="$(tc-getCXX)" \
|
||||||
|
AR="$(tc-getAR)" \
|
||||||
|
RANLIB="$(tc-getRANLIB)" \
|
||||||
|
SHARED=on \
|
||||||
|
NTL_GMP_LIP=on \
|
||||||
|
NTL_GF2X_LIB=on \
|
||||||
|
NTL_THREADS=$(usex threads on off) \
|
||||||
|
NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
|
||||||
|
NATIVE=$(usex bindist off on) \
|
||||||
|
|| die "DoConfig failed"
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
|
||||||
|
HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html "${WORKDIR}/${P}"/doc/*.gif )
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
if ! use static-libs; then
|
||||||
|
rm "${ED}/usr/$(get_libdir)"/libntl.{la,a} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -r "${ED}"/usr/share/doc/NTL || die
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,125 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
inherit cmake-utils llvm llvm.org multiprocessing python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="OCaml bindings for LLVM"
|
||||||
|
HOMEPAGE="https://llvm.org/"
|
||||||
|
LLVM_COMPONENTS=( llvm )
|
||||||
|
llvm.org_set_globals
|
||||||
|
|
||||||
|
# Keep in sync with sys-devel/llvm
|
||||||
|
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR )
|
||||||
|
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
|
||||||
|
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||||
|
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||||
|
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||||
|
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||||
|
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/ocaml-4.00.0:0=
|
||||||
|
dev-ml/ocaml-ctypes:=
|
||||||
|
~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
|
||||||
|
!sys-devel/llvm[ocaml(-)]"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-lang/perl
|
||||||
|
dev-ml/findlib
|
||||||
|
test? ( dev-ml/ounit )
|
||||||
|
${PYTHON_DEPS}"
|
||||||
|
|
||||||
|
# least intrusive of all
|
||||||
|
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Python is needed to run tests using lit
|
||||||
|
python_setup
|
||||||
|
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local libdir=$(get_libdir)
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||||
|
|
||||||
|
-DBUILD_SHARED_LIBS=OFF
|
||||||
|
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||||
|
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||||
|
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||||
|
|
||||||
|
# cheap hack: LLVM combines both anyway, and the only difference
|
||||||
|
# is that the former list is explicitly verified at cmake time
|
||||||
|
-DLLVM_TARGETS_TO_BUILD=""
|
||||||
|
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||||
|
-DLLVM_BUILD_TESTS=$(usex test)
|
||||||
|
|
||||||
|
# disable various irrelevant deps and settings
|
||||||
|
-DLLVM_ENABLE_FFI=OFF
|
||||||
|
-DLLVM_ENABLE_TERMINFO=OFF
|
||||||
|
-DHAVE_HISTEDIT_H=NO
|
||||||
|
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||||
|
-DLLVM_ENABLE_EH=ON
|
||||||
|
-DLLVM_ENABLE_RTTI=ON
|
||||||
|
|
||||||
|
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||||
|
|
||||||
|
# disable go bindings
|
||||||
|
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||||
|
|
||||||
|
# TODO: ocamldoc
|
||||||
|
)
|
||||||
|
|
||||||
|
use test && mycmakeargs+=(
|
||||||
|
-DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
|
||||||
|
)
|
||||||
|
|
||||||
|
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||||
|
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||||
|
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||||
|
cmake-utils_src_configure
|
||||||
|
|
||||||
|
local llvm_libdir=$(llvm-config --libdir)
|
||||||
|
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||||
|
cd "${BUILD_DIR}/${libdir}" || die
|
||||||
|
ln -s "${llvm_libdir}"/*.so . || die
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
local llvm_bindir=$(llvm-config --bindir)
|
||||||
|
# Force using system-installed tools.
|
||||||
|
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||||
|
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile ocaml_all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# respect TMPDIR!
|
||||||
|
local -x LIT_PRESERVES_TMP=1
|
||||||
|
cmake-utils_src_make check-llvm-bindings-ocaml
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||||
|
|
||||||
|
dodoc bindings/ocaml/README.txt
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
--- a/Build.PL
|
||||||
|
+++ b/Build.PL
|
||||||
|
@@ -107,11 +107,17 @@
|
||||||
|
my $hts_include = $self->config_data('hts_include');
|
||||||
|
my $hts_lib = $self->config_data('hts_lib');
|
||||||
|
my $static = $self->args('static');
|
||||||
|
+
|
||||||
|
+ my @env_linker_flags;
|
||||||
|
+ if ( defined $ENV{LDFLAGS} ) {
|
||||||
|
+ @env_linker_flags = split qr{\s+}, $ENV{LDFLAGS};
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
$self->include_dirs([$hts_include]);
|
||||||
|
if($static){
|
||||||
|
- $self->extra_linker_flags("-L$hts_lib", '-lhts', '-lpthread', '-lz');
|
||||||
|
+ $self->extra_linker_flags(@env_linker_flags, "-L$hts_lib", '-lhts', '-lpthread', '-lz');
|
||||||
|
}else{
|
||||||
|
- $self->extra_linker_flags("-L$hts_lib", "-Wl,-rpath,$hts_lib", '-lhts', '-lpthread', '-lz');
|
||||||
|
+ $self->extra_linker_flags(@env_linker_flags, "-L$hts_lib", "-Wl,-rpath,$hts_lib", '-lhts', '-lpthread', '-lz');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
inherit llvm.org python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python bindings for sys-devel/clang"
|
||||||
|
HOMEPAGE="https://llvm.org/"
|
||||||
|
LLVM_COMPONENTS=( clang/bindings/python )
|
||||||
|
llvm.org_set_globals
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# The module is opening libclang.so directly, and doing some blasphemy
|
||||||
|
# on top of it.
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-devel/clang-${PV}:*
|
||||||
|
!sys-devel/llvm:0[clang(-),python(-)]
|
||||||
|
!sys-devel/clang:0[python(-)]
|
||||||
|
${PYTHON_DEPS}"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
python_foreach_impl python_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
python_foreach_impl python_domodule clang
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST CommonMark-0.5.4.tar.gz 120316 BLAKE2B 47904d101d9d0e3759f82c28a4b80edfc0ed12cf0888e4915339118e496322cf0791d8a46d2edddca0d1794e82a9647cc22cbcfcc2d385a740c7c31cb8251659 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad
|
DIST CommonMark-0.5.4.tar.gz 120316 BLAKE2B 47904d101d9d0e3759f82c28a4b80edfc0ed12cf0888e4915339118e496322cf0791d8a46d2edddca0d1794e82a9647cc22cbcfcc2d385a740c7c31cb8251659 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad
|
||||||
DIST CommonMark-0.7.5.tar.gz 88702 BLAKE2B fc80d9e739d27f7e5dbf539b624c2fc2e700e61b17d0335c3234fc0fa0d3738e9117a8ca29e7a6bbaa6cd0d58b112defb6e19a7efce3ca57ca25c8ce67b2d3d2 SHA512 b0e3c4fea6c99b51c541054ecfe887935c2cc517a82df86da1d9cb4914189652326ec5b543cbbcb40ec43e5e09c285c47f5304ca1907764692e659c540591bdd
|
DIST CommonMark-0.7.5.tar.gz 88702 BLAKE2B fc80d9e739d27f7e5dbf539b624c2fc2e700e61b17d0335c3234fc0fa0d3738e9117a8ca29e7a6bbaa6cd0d58b112defb6e19a7efce3ca57ca25c8ce67b2d3d2 SHA512 b0e3c4fea6c99b51c541054ecfe887935c2cc517a82df86da1d9cb4914189652326ec5b543cbbcb40ec43e5e09c285c47f5304ca1907764692e659c540591bdd
|
||||||
DIST commonmark-0.8.1.tar.gz 90795 BLAKE2B 718c2b1af035672d74e2c6b6f89ea0cd23f45d7b0e47b6dadeef742d772f5458e08ec5f69fd4f34df9ab2c491d9d7add4c4acc7018c4048649aa0d8244d7db91 SHA512 dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf
|
DIST commonmark-0.8.1.tar.gz 90795 BLAKE2B 718c2b1af035672d74e2c6b6f89ea0cd23f45d7b0e47b6dadeef742d772f5458e08ec5f69fd4f34df9ab2c491d9d7add4c4acc7018c4048649aa0d8244d7db91 SHA512 dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf
|
||||||
|
DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
|
||||||
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python parser for the CommonMark Markdown spec"
|
||||||
|
HOMEPAGE="https://github.com/readthedocs/commonmark.py"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
>=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests setup.py
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local -x PYTHONIOENCODING='utf8'
|
||||||
|
distutils-r1_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Fix file collision with app-text/cmark, see bug #627034
|
||||||
|
sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \
|
||||||
|
setup.py || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
|
||||||
|
ewarn "collision with app-text/cmark (see bug #627034)"
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST fudge-1.1.0.tar.gz 86418 BLAKE2B 3264b693bb8d4e8a0849c480b48ee79e4e99a88a819f94bfab9c098fd8ccef1171f3f0a8ca7632f29b2c22998d0847e53fcc613bbdf8ac4c1fe33aeae406997c SHA512 061d9303d28509d4e22eb2036d041359f872be85911dd85bb16e4d13bfc1cf27637f8206f215f4a37d63108ab2500d2af3f6a1a3e206fe461ead9163e0519417
|
DIST fudge-1.1.0.tar.gz 86418 BLAKE2B 3264b693bb8d4e8a0849c480b48ee79e4e99a88a819f94bfab9c098fd8ccef1171f3f0a8ca7632f29b2c22998d0847e53fcc613bbdf8ac4c1fe33aeae406997c SHA512 061d9303d28509d4e22eb2036d041359f872be85911dd85bb16e4d13bfc1cf27637f8206f215f4a37d63108ab2500d2af3f6a1a3e206fe461ead9163e0519417
|
||||||
|
DIST fudge-1.1.1.tar.gz 87604 BLAKE2B 2660022089ab50139fd4a63aa212c0f53d04557571fa444cc2fd74dd556475c04d3563359c49f0252d811b93a3d4215dddca32c7db91b81682adae2a7fb7f772 SHA512 4a5043048aef1bc4c7806b7a13e138810295f882739f728115a60f2b0157716d85a7bed8a3641b76213b788c74fe586f57854f96bf7a745d6006ad6e67dca136
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Replace real objects with fakes (mocks, stubs, etc) while testing"
|
||||||
|
HOMEPAGE="http://farmdev.com/projects/fudge/ https://pypi.org/project/fudge/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE="doc test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use doc && emake -C docs html
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A comprehensive HTTP client library"
|
||||||
|
HOMEPAGE="https://pypi.org/project/httplib2/ https://github.com/jcgregorio/httplib2"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="app-misc/ca-certificates"
|
||||||
|
|
||||||
|
# tests connect to random remote sites
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
chmod o+r */*egg*/* || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
if [[ ${EPYTHON} =~ ^(python2.7|pypy)$ ]] ; then
|
||||||
|
cd python2 || die
|
||||||
|
else
|
||||||
|
cd python3 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
"${PYTHON}" httplib2test.py || die
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit distutils-r1 llvm.org multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||||
|
HOMEPAGE="https://llvm.org/"
|
||||||
|
LLVM_COMPONENTS=( llvm/utils/lit )
|
||||||
|
llvm.org_set_globals
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/llvm )"
|
||||||
|
|
||||||
|
# TODO: move the manpage generation here (from sys-devel/llvm)
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x LIT_PRESERVES_TMP=1
|
||||||
|
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
|
||||||
|
-vv tests || die
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST pyatspi-2.32.1.tar.xz 310896 BLAKE2B acf4a0211015daf5a19a796de9e267637ae77b2f79f0c6af20bfa5eb5a0fa0d4a62cf23524348299daebd515cccb7a4a1c18226e8c04356ea6439840613242a7 SHA512 6cdddc4275770a4f89e66355e18518f5cbf1ceeee1f27298be1fb5bb8b67676eeeb81ce7f4fbb5ad617573f574e5fd5858d363c77a0e5727d637ae7275429b03
|
DIST pyatspi-2.32.1.tar.xz 310896 BLAKE2B acf4a0211015daf5a19a796de9e267637ae77b2f79f0c6af20bfa5eb5a0fa0d4a62cf23524348299daebd515cccb7a4a1c18226e8c04356ea6439840613242a7 SHA512 6cdddc4275770a4f89e66355e18518f5cbf1ceeee1f27298be1fb5bb8b67676eeeb81ce7f4fbb5ad617573f574e5fd5858d363c77a0e5727d637ae7275429b03
|
||||||
DIST pyatspi-2.34.0.tar.xz 314060 BLAKE2B 1d2c390c6f110a37e9553b1f1aeba75fa0585beabddb2d6db54aa8fddc671b844e7c670c7fdf9696e3833c8f9619dc8a2ecc364019f14703647e7996033c7dd7 SHA512 61b157f067e23b7a964cf8268f556ad059982f448e436ecb25c96915ecb53918c6ab7b29bfb4e7b85e25e6038e27678fbd3d0bfb61d14a038ab5eaeee1f682b4
|
DIST pyatspi-2.34.0.tar.xz 314060 BLAKE2B 1d2c390c6f110a37e9553b1f1aeba75fa0585beabddb2d6db54aa8fddc671b844e7c670c7fdf9696e3833c8f9619dc8a2ecc364019f14703647e7996033c7dd7 SHA512 61b157f067e23b7a964cf8268f556ad059982f448e436ecb25c96915ecb53918c6ab7b29bfb4e7b85e25e6038e27678fbd3d0bfb61d14a038ab5eaeee1f682b4
|
||||||
|
DIST pyatspi-2.36.0.tar.xz 315076 BLAKE2B f3f92dafab68ce003e9d63f8ebf901ef834eafb1fab3ddd2051dcfb308b79d7ce6fc4d9187ed51f3af8bebad5e6ef2296c19215ee209ad37fe717f332af8d8f7 SHA512 709236fd992f570426043e32b201bdfee06bb28faa3d1237778f4069d3548b88b8336e53c0951359f5c7e2914b90f6f682ac58e33c84e32f360bdc32662800af
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_6,3_7} )
|
||||||
|
|
||||||
|
inherit gnome2 python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python client bindings for D-Bus AT-SPI"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||||
|
|
||||||
|
# Note: only some of the tests are GPL-licensed, everything else is LGPL
|
||||||
|
LICENSE="LGPL-2 GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
IUSE="" # test
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
COMMON_DEPEND="${PYTHON_DEPS}
|
||||||
|
>=dev-libs/atk-2.11.2
|
||||||
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
>=sys-apps/dbus-1
|
||||||
|
>=app-accessibility/at-spi2-core-2.34[introspection]
|
||||||
|
!<gnome-extra/at-spi-1.32.0-r1
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
gnome2_src_prepare
|
||||||
|
python_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
installing() {
|
||||||
|
gnome2_src_install
|
||||||
|
python_optimize
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir installing
|
||||||
|
|
||||||
|
docinto examples
|
||||||
|
dodoc examples/*.py
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="HTML documentation for Python"
|
||||||
|
HOMEPAGE="https://www.python.org/doc/"
|
||||||
|
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||||
|
S="${WORKDIR}/python-${PV}-docs-html"
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="$(ver_cut 1-2)"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rm -r _sources || die
|
||||||
|
docinto html
|
||||||
|
dodoc -r .
|
||||||
|
|
||||||
|
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||||
|
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||||
|
EOF
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="HTML documentation for Python"
|
||||||
|
HOMEPAGE="https://www.python.org/doc/"
|
||||||
|
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||||
|
S="${WORKDIR}/python-${PV}-docs-html"
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="$(ver_cut 1-2)"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rm -r _sources || die
|
||||||
|
docinto html
|
||||||
|
dodoc -r .
|
||||||
|
|
||||||
|
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||||
|
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||||
|
EOF
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
DIST recommonmark-0.4.0.tar.gz 7112 BLAKE2B d0e0f95f251e859908523c90b012ef2b162823d72b87192651d08a9cb5217a8bf497caf0320cefd3e724f77d3ad4324db446ddb57de55fd308c7739b78f55c04 SHA512 30d900840093c9ee2c1a322aeaba64c06c6f236e4c86a8d7604edc7d9fb0e78d66387f844619364d9253585db3f38d212242d2798153f343bc01ad281c146c9c
|
DIST recommonmark-0.4.0.tar.gz 7112 BLAKE2B d0e0f95f251e859908523c90b012ef2b162823d72b87192651d08a9cb5217a8bf497caf0320cefd3e724f77d3ad4324db446ddb57de55fd308c7739b78f55c04 SHA512 30d900840093c9ee2c1a322aeaba64c06c6f236e4c86a8d7604edc7d9fb0e78d66387f844619364d9253585db3f38d212242d2798153f343bc01ad281c146c9c
|
||||||
DIST recommonmark-0.5.0.tar.gz 22356 BLAKE2B e22c6741e704b7017ff81282bd3297272f36396628b3a85e9e2ac5548b363a8b02f6aeb3db256b885a3a9a0ebe681da10f4f29c18f1bdb33490da55bf375b444 SHA512 e11a86961e477e9ae258df90c666fd0129a0ae858a8d5399b7f768b9e9ec5b4952ef5f9383ea91d8ccb1379e2753151387f7250588a98f43929bf3ebe78b7df9
|
DIST recommonmark-0.5.0.tar.gz 22356 BLAKE2B e22c6741e704b7017ff81282bd3297272f36396628b3a85e9e2ac5548b363a8b02f6aeb3db256b885a3a9a0ebe681da10f4f29c18f1bdb33490da55bf375b444 SHA512 e11a86961e477e9ae258df90c666fd0129a0ae858a8d5399b7f768b9e9ec5b4952ef5f9383ea91d8ccb1379e2753151387f7250588a98f43929bf3ebe78b7df9
|
||||||
|
DIST recommonmark-0.6.0.tar.gz 24537 BLAKE2B 47f667ca0799394dc88964709efc59d1e2a68973b1c00fb41abfb514166e939b8dd0b6a0827285cfa1bb60669e08868b7a0993b6a32880fc0dd22cfefa6cf273 SHA512 44005b3fd0052cd8d4fce8a64f9d66a1ac75dc3041a28c115e922254956b2143296cbfbc0a2396b9f95691145645c4242e3be68e695b2c62ae37964014511679
|
||||||
DIST recommonmark-33b5c2a4ec50d18d3f659aa119d3bd11452327da.tar.gz 22085 BLAKE2B 2225f8854eb92f9c905c5943c3d4db1cb56ccf22826f32101c9e8db6ac1a1658a543d58a71bfdd8650f225229be5c47658a6db9c6f535718eab5361589436d77 SHA512 4b4c3c9354c3de223c7d441b1665879d49a2f9f2328532901c69d10f4f8d90ff84e28aab3d1b4884edecd80071193ec69fbdbce735527ec2edc574b5a3d1fe88
|
DIST recommonmark-33b5c2a4ec50d18d3f659aa119d3bd11452327da.tar.gz 22085 BLAKE2B 2225f8854eb92f9c905c5943c3d4db1cb56ccf22826f32101c9e8db6ac1a1658a543d58a71bfdd8650f225229be5c47658a6db9c6f535718eab5361589436d77 SHA512 4b4c3c9354c3de223c7d441b1665879d49a2f9f2328532901c69d10f4f8d90ff84e28aab3d1b4884edecd80071193ec69fbdbce735527ec2edc574b5a3d1fe88
|
||||||
DIST recommonmark-fdeeda5f6fe3ed8905deb7a067cc5951a477d091.tar.gz 22249 BLAKE2B 7466fc1448b54c2fd6969fa06e10c11e7bf1f2d772d96d749de9023d60570387a5472c74d660e8bd0722d294dd2ac1dec8d7d6fc49b281eea14b1f9ce423cf94 SHA512 67fa0b13d49d1f6b08e2fa28cf127c6dadb6454329a35e1e1217ff3bc93aff1a1a040740478cfdcab1b72acd939e0a81d7d8638e7ecdcc76e2791ddc33b8f0ac
|
DIST recommonmark-fdeeda5f6fe3ed8905deb7a067cc5951a477d091.tar.gz 22249 BLAKE2B 7466fc1448b54c2fd6969fa06e10c11e7bf1f2d772d96d749de9023d60570387a5472c74d660e8bd0722d294dd2ac1dec8d7d6fc49b281eea14b1f9ce423cf94 SHA512 67fa0b13d49d1f6b08e2fa28cf127c6dadb6454329a35e1e1217ff3bc93aff1a1a040740478cfdcab1b72acd939e0a81d7d8638e7ecdcc76e2791ddc33b8f0ac
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python docutils-compatibility bridge to CommonMark"
|
||||||
|
HOMEPAGE="https://recommonmark.readthedocs.io/"
|
||||||
|
SRC_URI="https://github.com/rtfd/recommonmark/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/commonmark-0.8.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# known broken with new sphinx
|
||||||
|
# https://github.com/readthedocs/recommonmark/issues/164
|
||||||
|
sed -e 's:test_lists:_&:' \
|
||||||
|
-e '/CustomExtensionTests/s:SphinxIntegrationTests:object:' \
|
||||||
|
-i tests/test_sphinx.py || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST ujson-1.35.tar.gz 192027 BLAKE2B 320058e7142f2264bee8b02a411bedb3b32d1c2fc86157eb47272f75cb401e6c75ce7d9e3dba5092cd1db99dbded8804347d4c7be11eaedb47bc8b4b8125fbd3 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7
|
DIST ujson-1.35.tar.gz 192027 BLAKE2B 320058e7142f2264bee8b02a411bedb3b32d1c2fc86157eb47272f75cb401e6c75ce7d9e3dba5092cd1db99dbded8804347d4c7be11eaedb47bc8b4b8125fbd3 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7
|
||||||
DIST ujson-2.0.0.tar.gz 7126998 BLAKE2B 10524a96af35524e2a4390cec4d974874e5f8f9e4a60e369b24861afbfc8208961100cca73a2ceab4c03729013cbacc795b7ce80b9e3beccf0ec674cb24e097a SHA512 c6b4845b3ce05bdae62d3b231f3bb14cd8efccedd7e5bda8c45e524e8c91b5284e7dea7f92175e6ef21437a32b1bfb87588342d7685877418fd76a92ecef8f57
|
DIST ujson-2.0.0.tar.gz 7126998 BLAKE2B 10524a96af35524e2a4390cec4d974874e5f8f9e4a60e369b24861afbfc8208961100cca73a2ceab4c03729013cbacc795b7ce80b9e3beccf0ec674cb24e097a SHA512 c6b4845b3ce05bdae62d3b231f3bb14cd8efccedd7e5bda8c45e524e8c91b5284e7dea7f92175e6ef21437a32b1bfb87588342d7685877418fd76a92ecef8f57
|
||||||
DIST ujson-2.0.2.tar.gz 7127733 BLAKE2B 2d68da7a275e78e6470596d99ed4b315ac49f94a68246b6f30058ca99a8ec6119736650c241a19f1eeb6528dc1fd6db43f8dae8f955f3d43a9e293cf1a20852c SHA512 4c4442a397aa44cded47d37ea57a203338b53050d891aaed63958092cdecaa254dedae91c82e4c4be57542dcd4032dc572f315bb9c0107ff1469addfc114b56a
|
DIST ujson-2.0.2.tar.gz 7127733 BLAKE2B 2d68da7a275e78e6470596d99ed4b315ac49f94a68246b6f30058ca99a8ec6119736650c241a19f1eeb6528dc1fd6db43f8dae8f955f3d43a9e293cf1a20852c SHA512 4c4442a397aa44cded47d37ea57a203338b53050d891aaed63958092cdecaa254dedae91c82e4c4be57542dcd4032dc572f315bb9c0107ff1469addfc114b56a
|
||||||
|
DIST ujson-2.0.3.tar.gz 7127432 BLAKE2B 09fc3bdd127e5b54cfb26ffe56eced194d7c4aaab5717a396e06317de26f34815d04cce2b67ccb0157474165bdbdc62f0171b9485d7083dc1c01aa7252afeb5a SHA512 2c1879c372745966a00e064559dbf615f282ef192cbdbb29243c48169fc5f6e9344eba29988a1de3b5b0d1fe7699fcd88373d6dbb2e3fb59b1e8ef12b8a0375d
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Ultra fast JSON encoder and decoder for Python"
|
||||||
|
HOMEPAGE="https://pypi.org/project/ujson/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
test? ( dev-python/pytz[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST websockify-0.8.0.zip 319105 BLAKE2B 5c9a0e5f32239b35b5f41d5dd2b46b215cad6800e5752e8d9fa0c20fe77df2ae756cc74a527b50f545497abdc621ee402e02a9d2a788630a2cbfdeecb7b494df SHA512 625cecbf37149c82edd2ebb9cd1f1a20a35415f7c7696ebe88b2e86563a170573959f9ede2c7a1db82ace9edddfb9d2da6e2e20d29fd916ae238235880d9a943
|
DIST websockify-0.8.0.zip 319105 BLAKE2B 5c9a0e5f32239b35b5f41d5dd2b46b215cad6800e5752e8d9fa0c20fe77df2ae756cc74a527b50f545497abdc621ee402e02a9d2a788630a2cbfdeecb7b494df SHA512 625cecbf37149c82edd2ebb9cd1f1a20a35415f7c7696ebe88b2e86563a170573959f9ede2c7a1db82ace9edddfb9d2da6e2e20d29fd916ae238235880d9a943
|
||||||
|
DIST websockify-0.9.0.tar.gz 58493 BLAKE2B 622a36979ec083dd3ea747b43cd8fec0916f9eb6f1a2b8f9b7acabd38f41aec839b2101c5261fdf2474bc40ebbbef61c9ba51d2e57f749f1e1a1c46879fb5d65 SHA512 d2251f653a40dc6dca0e5541845565d968c60be96a20a9b70b0305c4b7578f7fe205d4b98a94bb77d7c9383a396833af90fe92a6ade7e1a6f2d9bf8513d372c8
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
DESCRIPTION="WebSockets support for any application/server"
|
||||||
|
HOMEPAGE="https://github.com/kanaka/websockify"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue