parent
3c171a0676
commit
cc2cee8b8c
Binary file not shown.
Binary file not shown.
@ -1,8 +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 type="project">
|
<maintainer type="person">
|
||||||
<email>python@gentoo.org</email>
|
<email>johu@gentoo.org</email>
|
||||||
<name>Python</name>
|
<name>Johannes Huber</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=472
|
@ -1,8 +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 type="project">
|
<maintainer type="person">
|
||||||
<email>python@gentoo.org</email>
|
<email>zlogene@gentoo.org</email>
|
||||||
<name>Python</name>
|
<name>Mikle Kolyada</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=85
|
Binary file not shown.
@ -1,8 +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 type="project">
|
<maintainer type="person">
|
||||||
<email>python@gentoo.org</email>
|
<email>johu@gentoo.org</email>
|
||||||
<name>Python</name>
|
<name>Johannes Huber</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
ACCT_USER_ID=472
|
||||||
|
ACCT_USER_HOME=/var/lib/quassel
|
||||||
|
ACCT_USER_GROUPS=( quassel )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST exo-1.6.0.tar.gz 3754205 BLAKE2B 9dc109ec33e9a11199f49adc45b388e1c3c62ebc060b300568fd42c5b6457b1c0373939b325c0b0be462dfacf3d842a7eca66a01efd8685d6f621401423448ed SHA512 8d00dd24ef8098c156e756d082c039e9753fefc11b415435725f536faa5fa8e4eb652ff8c0c82452ab84512f7491aee970d425910bfcb2529568589e5dc9c6d2
|
DIST exo-1.9.0.tar.gz 3805146 BLAKE2B d2626270b6caa31a3c6853a0676a70d05a8165da0d229d44a6245840c76b91dcee0f44361373ff9e36138963cae0bb29245287ed49d155073a957f74049e2d08 SHA512 4c0e909ad86b9c6920e6a7ccd165fe126402399ff751add52720a44def6b43498a3bbaf2c70efaf966dbeb5bf3c41f8b8f73e40b70d3b58b732ec7e701e76871
|
||||||
|
@ -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
|
@ -1,3 +1 @@
|
|||||||
DIST hcloud-1.12.0.tar.xz 436432 BLAKE2B b1263bfa89cb52d197d51c181b1166db84ae10613e448aea16b7b8a5399214a82025f3282d39ac359712b3ddac2decaeda148d9b392fdcb1f5d4d7dc6aa6a598 SHA512 f557ba4515ed158e9c153db4c6de97fba17123c7128b6fcc2bb58472a54f32e342df44f634c42af06a3160b45af4f1f9c28df001a0922bfdca10ade3b1640368
|
|
||||||
DIST hcloud-1.13.0.tar.xz 442896 BLAKE2B 8bf43da9a4db336a1a313cc6a3b10897c18af57a36d9d02cc35e0edd22e0d1f711963056edf8e5b2eb2ee32e4c5d7e3f9685963b0d438e61d338ab27a1641b27 SHA512 1352e688c2c96995539a8f2a30b4893d6ccc3e8f092ff94ceca086ff67f2e6bb26ed3bdf6fa3bb3c9d02d93264f48ff0fac2bfff649ddcc0bc94143fea5c4da6
|
|
||||||
DIST hcloud-1.14.0.tar.xz 643088 BLAKE2B e360b06796e718df31b1640d78153a843a17a8d70a27a1771fc264b01b5649aa7b6344feba1d2856348070a74df6731d462f178cb23fdd1ada051c5695e237f2 SHA512 1fc9a776d89ee8c4f00ad71994a55151f1758ddff1083b0bdd24e569200ec996b4502ae7f8ba0fe9700a35c082385fafc817abe04aa0a7e9980b225b92ab8c6b
|
DIST hcloud-1.14.0.tar.xz 643088 BLAKE2B e360b06796e718df31b1640d78153a843a17a8d70a27a1771fc264b01b5649aa7b6344feba1d2856348070a74df6731d462f178cb23fdd1ada051c5695e237f2 SHA512 1fc9a776d89ee8c4f00ad71994a55151f1758ddff1083b0bdd24e569200ec996b4502ae7f8ba0fe9700a35c082385fafc817abe04aa0a7e9980b225b92ab8c6b
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="A command-line interface for Hetzner Cloud"
|
|
||||||
HOMEPAGE="https://github.com/hetznercloud/cli"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
DEPEND="dev-lang/go:="
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="A command-line interface for Hetzner Cloud"
|
|
||||||
HOMEPAGE="https://github.com/hetznercloud/cli"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
DEPEND="dev-lang/go:="
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
}
|
|
@ -0,0 +1,175 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module bash-completion-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Kubernetes Package Manager"
|
||||||
|
HOMEPAGE="https://github.com/helm/helm https://helm.sh"
|
||||||
|
|
||||||
|
EGO_VENDOR=(
|
||||||
|
"github.com/Nvveen/Gotty a8b993ba6abdb0e0c12b0125c603323a71c7790c github.com/ijc25/Gotty"
|
||||||
|
"cloud.google.com/go v0.38.0 github.com/GoogleCloudPlatform/gcloud-golang"
|
||||||
|
"github.com/Azure/go-ansiterm d6e3b3328b78"
|
||||||
|
"github.com/Azure/go-autorest v13.0.0"
|
||||||
|
"github.com/BurntSushi/toml v0.3.1"
|
||||||
|
"github.com/MakeNowJust/heredoc e9091a26100e"
|
||||||
|
"github.com/Masterminds/goutils v1.1.0"
|
||||||
|
"github.com/Masterminds/semver/v3 v3.0.3 github.com/Masterminds/semver"
|
||||||
|
"github.com/Masterminds/sprig/v3 v3.0.2 github.com/Masterminds/sprig"
|
||||||
|
"github.com/Masterminds/vcs v1.13.0"
|
||||||
|
"github.com/Microsoft/go-winio v0.4.12"
|
||||||
|
"github.com/Microsoft/hcsshim v0.8.6"
|
||||||
|
"github.com/PuerkitoBio/purell v1.1.1"
|
||||||
|
"github.com/PuerkitoBio/urlesc de5bf2ad4578"
|
||||||
|
"github.com/Shopify/logrus-bugsnag 577dee27f20d"
|
||||||
|
"github.com/asaskevich/govalidator f61b66f89f4a"
|
||||||
|
"github.com/beorn7/perks v1.0.1"
|
||||||
|
"github.com/bshuster-repo/logrus-logstash-hook v0.4.1"
|
||||||
|
"github.com/bugsnag/bugsnag-go v1.5.0"
|
||||||
|
"github.com/bugsnag/panicwrap v1.2.0"
|
||||||
|
"github.com/cespare/xxhash/v2 v2.1.0 github.com/cespare/xxhash"
|
||||||
|
"github.com/containerd/containerd v1.3.0"
|
||||||
|
"github.com/containerd/continuity 004b46473808"
|
||||||
|
"github.com/cpuguy83/go-md2man v1.0.10"
|
||||||
|
"github.com/cyphar/filepath-securejoin v0.2.2"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1"
|
||||||
|
"github.com/deislabs/oras v0.7.0"
|
||||||
|
"github.com/dgrijalva/jwt-go v3.2.0"
|
||||||
|
"github.com/docker/cli d88565df0c2d"
|
||||||
|
"github.com/docker/distribution v2.7.1"
|
||||||
|
"github.com/docker/docker 2cb26cfe9cbf"
|
||||||
|
"github.com/docker/docker-credential-helpers v0.6.1"
|
||||||
|
"github.com/docker/go-connections v0.4.0"
|
||||||
|
"github.com/docker/go-metrics b84716841b82"
|
||||||
|
"github.com/docker/go-units v0.4.0"
|
||||||
|
"github.com/docker/libtrust aabc10ec26b7"
|
||||||
|
"github.com/docker/spdystream 6480d4af844c"
|
||||||
|
"github.com/emicklei/go-restful v2.11.1"
|
||||||
|
"github.com/evanphx/json-patch v4.5.0"
|
||||||
|
"github.com/exponent-io/jsonpath d6023ce2651d"
|
||||||
|
"github.com/garyburd/redigo v1.6.0"
|
||||||
|
"github.com/ghodss/yaml v1.0.0"
|
||||||
|
"github.com/go-openapi/jsonpointer v0.19.3"
|
||||||
|
"github.com/go-openapi/jsonreference v0.19.3"
|
||||||
|
"github.com/go-openapi/spec v0.19.4"
|
||||||
|
"github.com/go-openapi/swag v0.19.5"
|
||||||
|
"github.com/gobwas/glob v0.2.3"
|
||||||
|
"github.com/gofrs/flock v0.7.1"
|
||||||
|
"github.com/gofrs/uuid v3.2.0"
|
||||||
|
"github.com/gogo/protobuf v1.3.1"
|
||||||
|
"github.com/golang/protobuf v1.3.2"
|
||||||
|
"github.com/google/btree v1.0.0"
|
||||||
|
"github.com/google/go-cmp v0.3.1"
|
||||||
|
"github.com/google/gofuzz v1.0.0"
|
||||||
|
"github.com/google/uuid v1.1.1"
|
||||||
|
"github.com/googleapis/gnostic v0.3.1"
|
||||||
|
"github.com/gophercloud/gophercloud v0.1.0"
|
||||||
|
"github.com/gorilla/handlers v1.4.0"
|
||||||
|
"github.com/gorilla/mux v1.7.0"
|
||||||
|
"github.com/gosuri/uitable v0.0.1"
|
||||||
|
"github.com/gregjones/httpcache c63ab54fda8f"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.3"
|
||||||
|
"github.com/huandu/xstrings v1.2.0"
|
||||||
|
"github.com/imdario/mergo v0.3.8"
|
||||||
|
"github.com/inconshreveable/mousetrap v1.0.0"
|
||||||
|
"github.com/json-iterator/go v1.1.7"
|
||||||
|
"github.com/kardianos/osext ae77be60afb1"
|
||||||
|
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
||||||
|
"github.com/mailru/easyjson v0.7.0"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.4"
|
||||||
|
"github.com/mattn/go-shellwords v1.0.5"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||||
|
"github.com/miekg/dns 0d29b283ac0f"
|
||||||
|
"github.com/mitchellh/copystructure v1.0.0"
|
||||||
|
"github.com/mitchellh/go-wordwrap v1.0.0"
|
||||||
|
"github.com/mitchellh/reflectwalk v1.0.0"
|
||||||
|
"github.com/modern-go/concurrent bacd9c7ef1dd"
|
||||||
|
"github.com/modern-go/reflect2 v1.0.1"
|
||||||
|
"github.com/morikuni/aec 39771216ff4c"
|
||||||
|
"github.com/opencontainers/go-digest v1.0.0-rc1"
|
||||||
|
"github.com/opencontainers/image-spec v1.0.1"
|
||||||
|
"github.com/opencontainers/runc v0.1.1"
|
||||||
|
"github.com/peterbourgon/diskv v2.0.1"
|
||||||
|
"github.com/pkg/errors v0.8.1"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0"
|
||||||
|
"github.com/prometheus/client_golang v1.2.1"
|
||||||
|
"github.com/prometheus/client_model 14fe0d1b01d4"
|
||||||
|
"github.com/prometheus/common v0.7.0"
|
||||||
|
"github.com/prometheus/procfs v0.0.5"
|
||||||
|
"github.com/russross/blackfriday v1.5.2"
|
||||||
|
"github.com/sirupsen/logrus v1.4.2"
|
||||||
|
"github.com/spf13/cast v1.3.0"
|
||||||
|
"github.com/spf13/cobra v0.0.5"
|
||||||
|
"github.com/spf13/pflag v1.0.5"
|
||||||
|
"github.com/stretchr/testify v1.4.0"
|
||||||
|
"github.com/xeipuuv/gojsonpointer 4e3ac2762d5f"
|
||||||
|
"github.com/xeipuuv/gojsonreference bd5ef7bd5415"
|
||||||
|
"github.com/xeipuuv/gojsonschema v1.1.0"
|
||||||
|
"github.com/xenolf/lego a9d8cec0e656"
|
||||||
|
"github.com/yvasiyarov/go-metrics c25f46c4b940"
|
||||||
|
"github.com/yvasiyarov/gorelic v0.0.6"
|
||||||
|
"github.com/yvasiyarov/newrelic_platform_go b21fdbd4370f"
|
||||||
|
"golang.org/x/crypto f83a4685e152 github.com/golang/crypto"
|
||||||
|
"golang.org/x/net fe3aa8a45271 github.com/golang/net"
|
||||||
|
"golang.org/x/oauth2 0f29369cfe45 github.com/golang/oauth2"
|
||||||
|
"golang.org/x/sync 112230192c58 github.com/golang/sync"
|
||||||
|
"golang.org/x/sys 195ce5e7f934 github.com/golang/sys"
|
||||||
|
"golang.org/x/text v0.3.2 github.com/golang/text"
|
||||||
|
"golang.org/x/time 555d28b269f0 github.com/golang/time"
|
||||||
|
"google.golang.org/appengine v1.6.5 github.com/golang/appengine"
|
||||||
|
"google.golang.org/genproto 919d9bdd9fe6 github.com/google/go-genproto"
|
||||||
|
"google.golang.org/grpc v1.24.0 github.com/grpc/grpc-go"
|
||||||
|
"gopkg.in/inf.v0 v0.9.1 github.com/go-inf/inf"
|
||||||
|
"gopkg.in/square/go-jose.v1 v1.1.2 github.com/square/go-jose"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.4 github.com/go-yaml/yaml"
|
||||||
|
"k8s.io/api 35e52d86657a github.com/kubernetes/api"
|
||||||
|
"k8s.io/apiextensions-apiserver 5357c4baaf65 github.com/kubernetes/apiextensions-apiserver"
|
||||||
|
"k8s.io/apimachinery a2eda9f80ab8 github.com/kubernetes/apimachinery"
|
||||||
|
"k8s.io/cli-runtime 74ad18325ed5 github.com/kubernetes/cli-runtime"
|
||||||
|
"k8s.io/client-go bec269661e48 github.com/kubernetes/client-go"
|
||||||
|
"k8s.io/klog v1.0.0 github.com/kubernetes/klog"
|
||||||
|
"k8s.io/kube-openapi 0270cf2f1c1d github.com/kubernetes/kube-openapi"
|
||||||
|
"k8s.io/kubectl 2ed914427d51 github.com/kubernetes/kubectl"
|
||||||
|
"k8s.io/utils 8d271d903fe4 github.com/kubernetes/utils"
|
||||||
|
"rsc.io/letsencrypt v0.0.1 github.com/rsc/letsencrypt"
|
||||||
|
"sigs.k8s.io/kustomize v2.0.3 github.com/kubernetes-sigs/kustomize"
|
||||||
|
"sigs.k8s.io/yaml v1.1.0 github.com/kubernetes-sigs/yaml"
|
||||||
|
)
|
||||||
|
|
||||||
|
MY_PV=${PV/_rc/-rc.}
|
||||||
|
SRC_URI="https://github.com/helm/helm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
$(go-module_vendor_uris)"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RESTRICT="strip test"
|
||||||
|
|
||||||
|
GIT_COMMIT=19e47ee3283ae98139d98460de796c1be1e3975f
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e "s/git rev-parse HEAD/echo ${GIT_COMMIT}/"\
|
||||||
|
-e "s/git rev-parse --short HEAD/echo ${GIT_COMMIT:0:7}/"\
|
||||||
|
-e "s#git describe --tags --abbrev=0 --exact-match 2>/dev/null#echo v${PV}#"\
|
||||||
|
-e 's/test -n "`git status --porcelain`" && echo "dirty" || //' \
|
||||||
|
-e "/GOFLAGS :=/d" \
|
||||||
|
Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake LDFLAGS= build
|
||||||
|
bin/${PN} completion bash > ${PN}.bash || die
|
||||||
|
bin/${PN} completion zsh > ${PN}.zsh || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbashcomp ${PN}.bash ${PN}
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins ${PN}.zsh _${PN}
|
||||||
|
|
||||||
|
dobin bin/${PN}
|
||||||
|
dodoc README.md
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
DIST mcelog-162.tar.gz 308347 BLAKE2B bd438e85ea793c6c5ce4d561f0400e91b101a010cce7f937751a11a0a974fec49db7e9d768fc50db68a91c973c90c8ab1b4ffa80964cb6fde860b9f2ac217435 SHA512 d61a0b7ad3974098963edde1e9e9acdf4dbd1a025577b7044bafc17302abd19080c8145a2700c691400af0768ff4b6833d47697e1478c5bef8831f7f8b61ae48
|
DIST mcelog-162.tar.gz 308347 BLAKE2B bd438e85ea793c6c5ce4d561f0400e91b101a010cce7f937751a11a0a974fec49db7e9d768fc50db68a91c973c90c8ab1b4ffa80964cb6fde860b9f2ac217435 SHA512 d61a0b7ad3974098963edde1e9e9acdf4dbd1a025577b7044bafc17302abd19080c8145a2700c691400af0768ff4b6833d47697e1478c5bef8831f7f8b61ae48
|
||||||
DIST mcelog-164.tar.gz 308393 BLAKE2B da1f425faa88eb8377eb11c3e13aa6fd4c0b4f4d3b02afc2fba8e4137979bb5619b075b0d0ecd80ec6059c9eb912376291e56e667bf7b838bd2f641c4a6c175f SHA512 10c8c580b10caa6d40c2a4887cb9e9ec07eb81a353d24a4d1a89ad8ec5cc29f7976c26335f077393794b060e62b5cbbe348c64567a3cf3fabc3ec5c3fe59da5a
|
|
||||||
DIST mcelog-165.tar.gz 308405 BLAKE2B 8e6cf59bfa3a5c667c1b709f9c0c5c82f8710ff1aa7c5758c1573a2c832030bb31735f8dd5a53fab26745739cdfac3001cb7a752df579cf452874d19e9e7da65 SHA512 466a07a90679380783524854934d6d66cbc53474616de9141cd36dd2a3b757cacccf1db50c8d4cd54763cea63ac9c09daf6e27ccf3bcf17d62da7fc3396281eb
|
|
||||||
DIST mcelog-166.tar.gz 312451 BLAKE2B 430630f6f693ae22961bae2381117dbb6d3bca228d6bdcbbe007d2a2681cda53f8c29cf18b98a47a88d36fd059e3e08aff5b9ad22243d7ce5083f5643768b0e6 SHA512 35514188cf4932b4ecffb8d8149534367a424adb76f03833d53d3c2a0dae2ca89de90d071e48ed67a17a8a70a67efc14aa186280e9145b7572887dccdf9a01af
|
|
||||||
DIST mcelog-167.tar.gz 312512 BLAKE2B 5642a421149847bddc46e776932c0fcaab1e281904a6be4ff8a3254d9e292d5fb77e6fbd5097c7afe0b39eca2f2db1752cdf67714a8a3d2f836785ebde3c0c90 SHA512 0229df9a4772e916af79aa35cdbc644feff76870d87a8c3c6ce5d132cf8c98bc48ec48ba564496071cb803537d3504c84963639370d9aed11d23833b65b3b306
|
DIST mcelog-167.tar.gz 312512 BLAKE2B 5642a421149847bddc46e776932c0fcaab1e281904a6be4ff8a3254d9e292d5fb77e6fbd5097c7afe0b39eca2f2db1752cdf67714a8a3d2f836785ebde3c0c90 SHA512 0229df9a4772e916af79aa35cdbc644feff76870d87a8c3c6ce5d132cf8c98bc48ec48ba564496071cb803537d3504c84963639370d9aed11d23833b65b3b306
|
||||||
|
DIST mcelog-168.tar.gz 312580 BLAKE2B 1a97869cc183c4263bf9868ccdc24b15658de0e863bd03ecdf61b0c6a03f5737dceec1b5237a8dfdf2f889cab9d55d3b5274bde5533841fc1aa56ed2189f5ffc SHA512 81f4ccb2632e5c34c52aea430a682e44d6b9850fbee2e9180a493025bbea660a7a4eaff3ee1e2f6e3d3700d3c951c09c4534b733cca5c809ad9c5a1ff8b07295
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit linux-info systemd toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
|
||||||
HOMEPAGE="http://mcelog.org/"
|
|
||||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="selinux"
|
|
||||||
|
|
||||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
|
||||||
|
|
||||||
# TODO: add mce-inject to the tree to support test phase
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
|
||||||
local CONFIG_CHECK="~X86_MCE"
|
|
||||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
|
||||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
|
||||||
eapply_user
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
insinto /etc/cron.daily
|
|
||||||
newins ${PN}.cron ${PN}
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins ${PN}.logrotate ${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
|
||||||
|
|
||||||
dodoc *.pdf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
|
||||||
einfo "you might want to edit those files."
|
|
||||||
einfo
|
|
||||||
einfo "A sample cronjob is installed into /etc/cron.daily"
|
|
||||||
einfo "without executable bit (system service is the preferred method now)"
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit linux-info systemd toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
|
||||||
HOMEPAGE="http://mcelog.org/"
|
|
||||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="selinux"
|
|
||||||
|
|
||||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
|
||||||
|
|
||||||
# TODO: add mce-inject to the tree to support test phase
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
|
||||||
local CONFIG_CHECK="~X86_MCE"
|
|
||||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
|
||||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
|
||||||
eapply_user
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
insinto /etc/cron.daily
|
|
||||||
newins ${PN}.cron ${PN}
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins ${PN}.logrotate ${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
|
||||||
|
|
||||||
dodoc *.pdf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
|
||||||
einfo "you might want to edit those files."
|
|
||||||
einfo
|
|
||||||
einfo "A sample cronjob is installed into /etc/cron.daily"
|
|
||||||
einfo "without executable bit (system service is the preferred method now)"
|
|
||||||
}
|
|
@ -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=6
|
EAPI=6
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST gcab-0.8.tar.xz 337016 BLAKE2B 6f9ccf6d33c4bd32b6cda09083c98ee9b24ffc3b42be9019493a864011a4d3f1e2d1fa766bbdd0a5de29eb04608d91a2ad5c17aa25302e3d94d2ef6ca659d764 SHA512 044b1cbe71b08946031161ca97379df8500be5569d6f4989b8fd8f1d8c48ba0fe757306955de9137958eb870cd4024e4c56f833ce847e5a972339883b39454f2
|
|
||||||
DIST gcab-1.3.tar.xz 77900 BLAKE2B 9ab61c1ab36561cd0bce075c8d491c8e28651c26ff5943a2ddc294a369f7627c300ed698363980dd839b64d512b678d7b3903addeea05657551af308b6e0c5ed SHA512 fd34722bc57a75e9a2aaec354af4629a35936928eb6db5646659c8dd51c8c6fd7fc6786c23f7e91a33a727bf8548327f50725081a8c7b1e0facb877341887b22
|
DIST gcab-1.3.tar.xz 77900 BLAKE2B 9ab61c1ab36561cd0bce075c8d491c8e28651c26ff5943a2ddc294a369f7627c300ed698363980dd839b64d512b678d7b3903addeea05657551af308b6e0c5ed SHA512 fd34722bc57a75e9a2aaec354af4629a35936928eb6db5646659c8dd51c8c6fd7fc6786c23f7e91a33a727bf8548327f50725081a8c7b1e0facb877341887b22
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome2 vala
|
|
||||||
|
|
||||||
DESCRIPTION="Library and tool for working with Microsoft Cabinet (CAB) files"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/msitools"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86"
|
|
||||||
|
|
||||||
IUSE="+introspection vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.32:2
|
|
||||||
sys-libs/zlib
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.4:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-util/gtk-doc-am-1.14
|
|
||||||
>=dev-util/intltool-0.40
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
gnome2_src_prepare
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
use vala || myconf="VAPIGEN=no"
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST stress-ng-0.10.14.tar.xz 410204 BLAKE2B 347a8e5eed70b23022de7bf6af53547e25e704647f6d37f328a60e3023b40a44f627f146199d847641ef5493e167cdcce11d1b945b851bbc4c84cf67b449d1f8 SHA512 f2c2f46c72f7d5a10f2522be775821d6f199253eac4e9a1f0ecdb3c7007a0ab4eb0c671b35abbff34601fcf71f4c8ea60c8bdca9a5a7986c9e9c0e2e009f462a
|
DIST stress-ng-0.10.16.tar.xz 415740 BLAKE2B c2a169455c3c975757d811148cf564f937d2109c4551e1308e92b6422e843d2b7e764de75e2ba54523802bbae7fe944f7d19eb44c36d5821af60fd047a999330 SHA512 b61ffff1dec7a2d2b2c3dc12a5e6c4945955777d2e218b5bbe291872911e982eed1df2d2b98dd3068f99ec920a070dd3287caa376feeca41d6cee2ff56d552d5
|
||||||
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST gcr-3.20.0.tar.xz 1324216 BLAKE2B dca283d1bde4994ee60666b2d5fdc4f0861df453355dcf20cea22a87808da0b9284506460ecdfe779ab9ecdf4ce17e231bd1d9426d677511684c35e43da19550 SHA512 0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7
|
DIST gcr-3.20.0.tar.xz 1324216 BLAKE2B dca283d1bde4994ee60666b2d5fdc4f0861df453355dcf20cea22a87808da0b9284506460ecdfe779ab9ecdf4ce17e231bd1d9426d677511684c35e43da19550 SHA512 0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7
|
||||||
DIST gcr-3.28.0.tar.xz 1329044 BLAKE2B b35bca9b62605c4e0c3d71604ea5e6b7cdd97bb3257aabb26b8834622abdeec29798429b84f88254a1f8b04894f5cac2ef63c2a0bfd47ad32761d8d73cd0b189 SHA512 8d5e650cb369fa889b0adfdc1dc1cb5f8b184881256e6c0a2ed456074a54ceb61d64c0929c093bec66c0d5a15c1718f6e3736a1b25b6d7076081df93b49419e0
|
|
||||||
DIST gcr-3.28.1.tar.xz 1334896 BLAKE2B e7035dd0ac5ef9e9b0898e3e4512768ec7cb548cf0ec4ace5a4f0f9a63d3015f8a041bc6f0a0c990c1666eb92c047eab4c19338a8ccf2d8aa9b11830dbd9d5c5 SHA512 ae36c39584d6bc2ba9d86de8bc71eac21fb3251b966ab1eddf467d01ed5789ba6e6597c83ea2ed9403e632893e7c7cb6c17e04878d726b72528af9199bebb3da
|
DIST gcr-3.28.1.tar.xz 1334896 BLAKE2B e7035dd0ac5ef9e9b0898e3e4512768ec7cb548cf0ec4ace5a4f0f9a63d3015f8a041bc6f0a0c990c1666eb92c047eab4c19338a8ccf2d8aa9b11830dbd9d5c5 SHA512 ae36c39584d6bc2ba9d86de8bc71eac21fb3251b966ab1eddf467d01ed5789ba6e6597c83ea2ed9403e632893e7c7cb6c17e04878d726b72528af9199bebb3da
|
||||||
DIST gcr-3.34.0.tar.xz 1454244 BLAKE2B fc84e5eaa3b2822d1c04fff3b8b343de2655cce34317327a3594b506172c703a9d4b1d5562ed213bc1ae7df5d31ac1c5ab3c5733cfe8e5edf85e334ce7ff85f4 SHA512 9314b531ed46a42b2c8c1531c7d95003db04f2c8065e46f4e6a84ec26400ce6302ea71c4db42a8c7b98884a0b84d75a0ca65d988aa0fe6de6d897d772b070093
|
DIST gcr-3.34.0.tar.xz 1454244 BLAKE2B fc84e5eaa3b2822d1c04fff3b8b343de2655cce34317327a3594b506172c703a9d4b1d5562ed213bc1ae7df5d31ac1c5ab3c5733cfe8e5edf85e334ce7ff85f4 SHA512 9314b531ed46a42b2c8c1531c7d95003db04f2c8065e46f4e6a84ec26400ce6302ea71c4db42a8c7b98884a0b84d75a0ca65d988aa0fe6de6d897d772b070093
|
||||||
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit gnome2 python-any-r1 vala virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
|
|
||||||
HOMEPAGE="https://git.gnome.org/browse/gcr"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ LGPL-2+"
|
|
||||||
SLOT="0/1" # subslot = suffix of libgcr-3
|
|
||||||
|
|
||||||
IUSE="debug gtk +introspection vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=app-crypt/p11-kit-0.19
|
|
||||||
>=dev-libs/glib-2.38:2
|
|
||||||
>=dev-libs/libgcrypt-1.2.2:0=
|
|
||||||
>=dev-libs/libtasn1-1:=
|
|
||||||
>=sys-apps/dbus-1
|
|
||||||
gtk? ( >=x11-libs/gtk+-3.12:3[X,introspection?] )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.34:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<gnome-base/gnome-keyring-3.3
|
|
||||||
"
|
|
||||||
# gcr was part of gnome-keyring until 3.3
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-libs/gobject-introspection-common
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/vala-common
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
dev-util/glib-utils
|
|
||||||
>=dev-util/gtk-doc-am-1.9
|
|
||||||
>=dev-util/intltool-0.35
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
# eautoreconf needs:
|
|
||||||
# dev-libs/gobject-introspection-common
|
|
||||||
# dev-libs/vala-common
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Disable stupid flag changes
|
|
||||||
sed -e 's/CFLAGS="$CFLAGS -g"//' \
|
|
||||||
-e 's/CFLAGS="$CFLAGS -O0"//' \
|
|
||||||
-i configure.ac configure || die
|
|
||||||
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
$(use_with gtk) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable vala) \
|
|
||||||
$(usex debug --enable-debug=yes --enable-debug=default) \
|
|
||||||
--disable-update-icon-cache \
|
|
||||||
--disable-update-mime
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx emake check
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
|
|
||||||
HOMEPAGE="https://github.com/BLAKE2/libb2"
|
|
||||||
GITHASH="0d7015f6a640a63bc6c68562328e112445ea9d5c"
|
|
||||||
SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="CC0-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x64-macos ~sparc-solaris ~x64-solaris"
|
|
||||||
IUSE="static native-cflags"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-${GITHASH}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# fix bashism
|
|
||||||
sed -i -e 's/ == / = /' configure.ac || die
|
|
||||||
eautoreconf # upstream doesn't make releases
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable static) \
|
|
||||||
$(use_enable native-cflags native)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# respect our CFLAGS when native-cflags is not in effect
|
|
||||||
emake $(use native-cflags && echo no)CFLAGS="${CFLAGS}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
use static || find "${ED}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST libsecret-0.18.6.tar.xz 487836 BLAKE2B d38a41743142d33e634d77bbf55ccab044def9658b3f50bd3f8cec9be6372ad1a56dcc4de58126cba1246c16da2863c003bf14ea6c8a90d8667658cf492f4b9a SHA512 4997519762f1470cfc0a4b3a791362d030af3c9b6ce6f58f8f8073b3a8adeea9b8caacedc884163997081dc39f395f9172330dbb41fed45d6c43ac5809de48e3
|
|
||||||
DIST libsecret-0.18.8.tar.xz 509432 BLAKE2B 3e3995d2c44367e31f3914087494764acfe82fb597b524c4982b4fca4e16612509c675f545191ee3cdae59698614395bef54ad82ae88a7e4e19898ba0be7828f SHA512 9e2ec8d458af6ed078bf3c6d956599f73f2cc7720332c424e9aede1f77f3d969c5122cf7b70899bc07ad96a3a628bf79bc5fffa88274d1ef2bcaaca6719f90d4
|
DIST libsecret-0.18.8.tar.xz 509432 BLAKE2B 3e3995d2c44367e31f3914087494764acfe82fb597b524c4982b4fca4e16612509c675f545191ee3cdae59698614395bef54ad82ae88a7e4e19898ba0be7828f SHA512 9e2ec8d458af6ed078bf3c6d956599f73f2cc7720332c424e9aede1f77f3d969c5122cf7b70899bc07ad96a3a628bf79bc5fffa88274d1ef2bcaaca6719f90d4
|
||||||
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python3_6 )
|
|
||||||
VALA_USE_DEPEND=vapigen
|
|
||||||
|
|
||||||
inherit gnome2 multilib-minimal python-any-r1 vala virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="+crypt +introspection test vala"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
# Tests fail with USE=-introspection, https://bugs.gentoo.org/655482
|
|
||||||
REQUIRED_USE="test? ( introspection )
|
|
||||||
vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}]
|
|
||||||
crypt? ( >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.29:= )
|
|
||||||
"
|
|
||||||
PDEPEND=">=gnome-base/gnome-keyring-3
|
|
||||||
"
|
|
||||||
# PDEPEND to avoid circular dep (bug #547456)
|
|
||||||
# gnome-keyring needed at runtime as explained at https://bugs.gentoo.org/475182#c2
|
|
||||||
# Add ksecrets to PDEPEND when it's added to portage
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
>=dev-util/gtk-doc-am-1.9
|
|
||||||
>=dev-util/intltool-0.35.0
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
|
||||||
test? (
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
|
||||||
introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )')
|
|
||||||
introspection? ( >=dev-libs/gjs-1.32 )
|
|
||||||
)
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
if use introspection; then
|
|
||||||
has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
|
|
||||||
fi
|
|
||||||
has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" &&
|
|
||||||
has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use test && python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
gnome2_src_prepare
|
|
||||||
|
|
||||||
# Drop unwanted CFLAGS modifications
|
|
||||||
sed -e 's/CFLAGS="$CFLAGS -\(g\|O0\|O2\)"//' -i configure || die
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local ECONF_SOURCE=${S}
|
|
||||||
gnome2_src_configure \
|
|
||||||
--enable-manpages \
|
|
||||||
--disable-strict \
|
|
||||||
--disable-coverage \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable crypt gcrypt) \
|
|
||||||
$(multilib_native_use_enable introspection) \
|
|
||||||
$(multilib_native_use_enable vala) \
|
|
||||||
LIBGCRYPT_CONFIG="${EPREFIX}/usr/bin/${CHOST}-libgcrypt-config"
|
|
||||||
|
|
||||||
if multilib_is_native_abi; then
|
|
||||||
ln -s "${S}"/docs/reference/libsecret/html docs/reference/libsecret/html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
# tests fail without gobject-introspection
|
|
||||||
multilib_is_native_abi && virtx emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,246 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Note: xemacs currently does not work with position independent code
|
||||||
|
# so the build forces the use of the -no-pie option
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
WANT_AUTOCONF="2.1"
|
||||||
|
inherit autotools eutils flag-o-matic toolchain-funcs xdg-utils desktop
|
||||||
|
|
||||||
|
DESCRIPTION="highly customizable open source text editor and application development system"
|
||||||
|
HOMEPAGE="http://www.xemacs.org/"
|
||||||
|
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
|
||||||
|
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
|
||||||
|
|
||||||
|
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
berkdb? ( sys-libs/db:= )
|
||||||
|
gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb] )
|
||||||
|
>=sys-libs/zlib-1.1.4
|
||||||
|
>=dev-libs/openssl-0.9.6:0
|
||||||
|
>=media-libs/audiofile-0.2.3
|
||||||
|
gpm? ( >=sys-libs/gpm-1.19.6 )
|
||||||
|
postgres? ( dev-db/postgresql:= )
|
||||||
|
ldap? ( net-nds/openldap )
|
||||||
|
nas? ( media-libs/nas )
|
||||||
|
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
|
||||||
|
dnd? ( x11-libs/dnd )
|
||||||
|
motif? ( >=x11-libs/motif-2.3:0 )
|
||||||
|
athena? ( x11-libs/libXaw )
|
||||||
|
Xaw3d? ( x11-libs/libXaw3d )
|
||||||
|
neXt? ( x11-libs/neXtaw )
|
||||||
|
xface? ( media-libs/compface )
|
||||||
|
tiff? ( media-libs/tiff:0 )
|
||||||
|
png? ( >=media-libs/libpng-1.2:0 )
|
||||||
|
jpeg? ( virtual/jpeg:0 )
|
||||||
|
canna? ( app-i18n/canna )
|
||||||
|
!amd64? ( freewnn? ( app-i18n/freewnn ) )
|
||||||
|
>=sys-libs/ncurses-5.2:=
|
||||||
|
>=app-eselect/eselect-emacs-1.15"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=sys-apps/texinfo-5"
|
||||||
|
|
||||||
|
PDEPEND="app-xemacs/xemacs-base
|
||||||
|
mule? ( app-xemacs/mule-base )"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
use neXt && unpack NeXT_XEmacs.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# see bug 58350, 102540 and 143580
|
||||||
|
eapply "${FILESDIR}"/xemacs-21.4.19-db.patch
|
||||||
|
# see bug 576512
|
||||||
|
eapply "${FILESDIR}"/xemacs-21.4.24-gcc5.patch
|
||||||
|
eapply "${FILESDIR}"/xemacs-21.4.24-glibc-macro.patch
|
||||||
|
# see bug 615544
|
||||||
|
eapply "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch
|
||||||
|
eapply "${FILESDIR}"/xemacs-21.4.24-makeinfo.patch
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# Some binaries and man pages are installed under suffixed names
|
||||||
|
# to avoid collions with their GNU Emacs counterparts (see below).
|
||||||
|
# Fix internal filename references.
|
||||||
|
sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
|
||||||
|
sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
|
||||||
|
sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
|
||||||
|
|
||||||
|
# Run autoconf. XEmacs tries to be smart by providing a stub
|
||||||
|
# configure.ac file for autoconf 2.59 but this throws our
|
||||||
|
# autotools eclass so it must be removed first.
|
||||||
|
rm "${S}"/configure.ac || die
|
||||||
|
eautoconf
|
||||||
|
|
||||||
|
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=""
|
||||||
|
|
||||||
|
# Can't build with pie. See bug #75028
|
||||||
|
test-flags -no-pie >/dev/null && append-flags -no-pie
|
||||||
|
filter-flags -pie
|
||||||
|
|
||||||
|
if use X; then
|
||||||
|
|
||||||
|
myconf="${myconf} --with-widgets=athena"
|
||||||
|
myconf="${myconf} --with-dialogs=athena"
|
||||||
|
myconf="${myconf} --with-menubars=lucid"
|
||||||
|
myconf="${myconf} --with-scrollbars=lucid"
|
||||||
|
if use motif ; then
|
||||||
|
myconf="--with-widgets=motif"
|
||||||
|
myconf="${myconf} --with-dialogs=motif"
|
||||||
|
myconf="${myconf} --with-scrollbars=motif"
|
||||||
|
myconf="${myconf} --with-menubars=lucid"
|
||||||
|
fi
|
||||||
|
if use athena ; then
|
||||||
|
myconf="--with-scrollbars=athena"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use Xaw3d; then
|
||||||
|
myconf="${myconf} --with-athena=3d"
|
||||||
|
elif use neXt; then
|
||||||
|
myconf="${myconf} --with-athena=next"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-athena=xaw"
|
||||||
|
fi
|
||||||
|
|
||||||
|
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
|
||||||
|
|
||||||
|
myconf="${myconf} $(use_with tiff ) $(use_with png )"
|
||||||
|
myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
|
||||||
|
else
|
||||||
|
myconf="${myconf}
|
||||||
|
--without-x
|
||||||
|
--without-xpm
|
||||||
|
--without-dragndrop
|
||||||
|
--with-gif=no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use mule ; then
|
||||||
|
myconf="${myconf} --with-mule"
|
||||||
|
|
||||||
|
if use xim ; then
|
||||||
|
if use motif ; then
|
||||||
|
myconf="${myconf} --with-xim=motif"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-xim=xlib"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-xim=no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This determines the type of sounds we are playing
|
||||||
|
local soundconf="native"
|
||||||
|
|
||||||
|
# This determines how these sounds should be played
|
||||||
|
use nas && soundconf="${soundconf},nas"
|
||||||
|
|
||||||
|
myconf="${myconf} --with-sound=${soundconf}"
|
||||||
|
|
||||||
|
if use gdbm || use berkdb ; then
|
||||||
|
use gdbm && mydb="gdbm"
|
||||||
|
|
||||||
|
use berkdb && mydb="${mydb},berkdb"
|
||||||
|
|
||||||
|
myconf="${myconf} --with-database=${mydb}"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --without-database"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enabling modules will cause segfaults outside the XEmacs build directory
|
||||||
|
use ia64 && myconf="${myconf} --without-modules"
|
||||||
|
|
||||||
|
einfo "${myconf}"
|
||||||
|
|
||||||
|
# see bug 576512
|
||||||
|
append-cflags -fgnu89-inline
|
||||||
|
|
||||||
|
# Don't use econf because it uses options which this configure
|
||||||
|
# script does not understand (like --host).
|
||||||
|
./configure ${myconf} ${EXTRA_ECONF} \
|
||||||
|
$(use_with gif ) \
|
||||||
|
$(use_with gpm ) \
|
||||||
|
$(use_with postgres postgresql ) \
|
||||||
|
$(use_with ldap ) \
|
||||||
|
$(use_with eolconv file-coding ) \
|
||||||
|
$(use_with pop ) \
|
||||||
|
--compiler=$(tc-getCC) \
|
||||||
|
--prefix=/usr \
|
||||||
|
--with-ncurses \
|
||||||
|
--with-system-malloc \
|
||||||
|
--with-msw=no \
|
||||||
|
--mail-locking=flock \
|
||||||
|
--with-site-lisp=yes \
|
||||||
|
--with-site-modules=yes \
|
||||||
|
|| die "The configure script failed to run properly"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake prefix="${D}"/usr \
|
||||||
|
mandir="${D}"/usr/share/man/man1 \
|
||||||
|
infodir="${D}"/usr/share/info \
|
||||||
|
install gzip-el || die "emake install failed"
|
||||||
|
|
||||||
|
# Rename some applications installed in bin so that it is clear
|
||||||
|
# which application installed them and so that conflicting
|
||||||
|
# packages (emacs) can't clobber the actual applications.
|
||||||
|
# Addresses bug #62991.
|
||||||
|
for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do
|
||||||
|
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
# rename man pages
|
||||||
|
for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
|
||||||
|
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
# install base packages directories
|
||||||
|
dodir /usr/lib/xemacs/xemacs-packages/
|
||||||
|
dodir /usr/lib/xemacs/site-packages/
|
||||||
|
dodir /usr/lib/xemacs/site-modules/
|
||||||
|
dodir /usr/lib/xemacs/site-lisp/
|
||||||
|
|
||||||
|
if use mule;
|
||||||
|
then
|
||||||
|
dodir /usr/lib/xemacs/mule-packages
|
||||||
|
fi
|
||||||
|
|
||||||
|
# remove extraneous info files
|
||||||
|
cd "${D}"/usr/share/info
|
||||||
|
rm -f dir info.info texinfo* termcap* standards*
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
|
||||||
|
dodoc "${FILESDIR}"/README.Gentoo
|
||||||
|
|
||||||
|
newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
|
||||||
|
|
||||||
|
domenu "${FILESDIR}"/${PN}.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect emacs update ifunset
|
||||||
|
eselect gnuclient update ifunset
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect emacs update ifunset
|
||||||
|
eselect gnuclient update ifunset
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST eselect-rails-0.23.tar.xz 1596 BLAKE2B d958e870c63d32517d681d5e815616506cf318004e5d4f00d0ff6db4e0927a405b295bb0ede5e13664fe510f7cf9324eb63042abe283f0386bc9600552a32193 SHA512 34a2d8a2b613eb3a3e20515fdf916c4b7e862322816d78a32a9243fcc56bea1c154892df7f27eb5e640560b1e63b273b02807669155184ad28f085d2f84dd3b8
|
|
||||||
DIST eselect-rails-0.24.tar.xz 1600 BLAKE2B 84ef0f6d9ba78b652567cb36a6835ef0a793122864b46afe9643a73d98300466a6c81845bd36ff834967ba7ad0ae99fc3b4a6327298f28f29ebfc273b40155aa SHA512 df36b71865e41d61a9e5e497402cc819b5c7266a5df3fa6b960ae7a4d2fe4ddaa686d6971968b41e8a0c65bcb229a4d3a953d30c9f8a54b271478730e88a8dd3
|
DIST eselect-rails-0.24.tar.xz 1600 BLAKE2B 84ef0f6d9ba78b652567cb36a6835ef0a793122864b46afe9643a73d98300466a6c81845bd36ff834967ba7ad0ae99fc3b4a6327298f28f29ebfc273b40155aa SHA512 df36b71865e41d61a9e5e497402cc819b5c7266a5df3fa6b960ae7a4d2fe4ddaa686d6971968b41e8a0c65bcb229a4d3a953d30c9f8a54b271478730e88a8dd3
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Manages Ruby on Rails symlinks"
|
|
||||||
HOMEPAGE="https://www.gentoo.org/"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=app-admin/eselect-1.2.0"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Fix/Add Prefix support
|
|
||||||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/share/eselect/modules
|
|
||||||
doins *.eselect
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST portage-utils-0.74.tar.xz 1587792 BLAKE2B 7c4588e3d44266a5260df42cc685aa03c584248e9970956033e4191a7a842a4b2162110ac99c2bb18645aaafc6ae6ee960e9b26ba0a8863497911eef1e943f64 SHA512 cd3f44c135b3d44e15a95eed41281fce62f225a9d05d5d5bb1be230b2d59cdb87755f011b313a9ec32e4cafdf3b3979c4ef423365edd7dcc472ca2e38c09c83e
|
DIST portage-utils-0.74.tar.xz 1587792 BLAKE2B 7c4588e3d44266a5260df42cc685aa03c584248e9970956033e4191a7a842a4b2162110ac99c2bb18645aaafc6ae6ee960e9b26ba0a8863497911eef1e943f64 SHA512 cd3f44c135b3d44e15a95eed41281fce62f225a9d05d5d5bb1be230b2d59cdb87755f011b313a9ec32e4cafdf3b3979c4ef423365edd7dcc472ca2e38c09c83e
|
||||||
DIST portage-utils-0.80.tar.xz 1762692 BLAKE2B 32e4502d517ec088eadf17a4a348b9b9bc33348380b65f93ac7c043150732ba3ff0d18ee96f8877c697a91000fdc036de392d6e6711d62248bb7c57e25d4433f SHA512 cca86877e87e5bd2e9423822db4b7afa15e8f291717c808ef0455b121db0778b2364552e9f1d5e1a8bad3f1f8880ae2b5dbd586bf1dd74d7c4f4e72fa990c78c
|
DIST portage-utils-0.80.tar.xz 1762692 BLAKE2B 32e4502d517ec088eadf17a4a348b9b9bc33348380b65f93ac7c043150732ba3ff0d18ee96f8877c697a91000fdc036de392d6e6711d62248bb7c57e25d4433f SHA512 cca86877e87e5bd2e9423822db4b7afa15e8f291717c808ef0455b121db0778b2364552e9f1d5e1a8bad3f1f8880ae2b5dbd586bf1dd74d7c4f4e72fa990c78c
|
||||||
DIST portage-utils-0.83.tar.xz 1770648 BLAKE2B ba545782afd17e4a250ac9fb7fe621bfdbc236976cc1e186a05bf73d8aa443590e2e17bb2894b4944a19014bce6304140739f94566c52da6c0200260f7c57f36 SHA512 80e127e20f495a805ed1857edadc9ef695031c76a626aa0c52647e342216a8a91a5f473428eb1c760c1af961d62e433f0819c48eeb03f8f7e5a6057374253ec7
|
DIST portage-utils-0.84.tar.xz 1774396 BLAKE2B 964711e1d2277dbde814e86f9717381ea0b87fb2d8ae639c6134974cc141bdc88b4ee6a37c932495fb9b6153003d78832c34237a5c7076d4a0f7b7d9cfd3151a SHA512 90abe61dc30af4de34f57ff603afe4982d5951e7e0d702444ee7ab5e265976d03cda53518004b9ae1aa19c85eb235a732ea3fcf19705ac86977a42d49fe3b22e
|
||||||
|
Binary file not shown.
@ -1,7 +1,4 @@
|
|||||||
DIST calibre-3.47.1.tar.xz 38710008 BLAKE2B 60915345dd756d085386af61128e92569304be64aadbc21b69973e93adf3fb5cc88f7250153c238ecf423546f408bfc094b5bce329a54e7f080f831c4a8c23c1 SHA512 010796b3ac3fc6adcdf26dbc7966946be0f48b2684e1317da11d77fa55151d1f6ad2b86adf3c8eced5559823567e6672bfdfd953c17e6cc978894544131fb6bd
|
DIST calibre-3.47.1.tar.xz 38710008 BLAKE2B 60915345dd756d085386af61128e92569304be64aadbc21b69973e93adf3fb5cc88f7250153c238ecf423546f408bfc094b5bce329a54e7f080f831c4a8c23c1 SHA512 010796b3ac3fc6adcdf26dbc7966946be0f48b2684e1317da11d77fa55151d1f6ad2b86adf3c8eced5559823567e6672bfdfd953c17e6cc978894544131fb6bd
|
||||||
DIST calibre-3.48.0.tar.xz 38777408 BLAKE2B 9a7fae20487ae93120cfdc06a312a42d54d68935fdd2bc18dc41be5f8d359c79eae24e0409ba8e7f4df85e2f073f80ce6bab56cba0638cead6693600fa93cb41 SHA512 6cee28fb560e2e00b8ac2f32756f094146c6fe744cfc343d68f1fb54b3f8b0ca16129a5b35018af54a103790faa2eb03ac186c01003f21c874d2ed5218441220
|
DIST calibre-3.48.0.tar.xz 38777408 BLAKE2B 9a7fae20487ae93120cfdc06a312a42d54d68935fdd2bc18dc41be5f8d359c79eae24e0409ba8e7f4df85e2f073f80ce6bab56cba0638cead6693600fa93cb41 SHA512 6cee28fb560e2e00b8ac2f32756f094146c6fe744cfc343d68f1fb54b3f8b0ca16129a5b35018af54a103790faa2eb03ac186c01003f21c874d2ed5218441220
|
||||||
DIST calibre-4.4.0.tar.xz 36389440 BLAKE2B d6f6bfb98dd95012a7d145d7700a2818974b2d2e9f8faf1d98b931283305c92ec7e136c9569ef2074d748cc39819e53186ab250b8331d60253d23fddaa1f8a41 SHA512 0204f47db53bc3d649f43276460152423f994cf321661db315904916997121592e0edfb0b9212fbb593d50d3faef0762a2dddd4a7568d1f72c7eecb6b952d278
|
|
||||||
DIST calibre-4.5.0.tar.xz 36472092 BLAKE2B b742f897b45e3832e5d8ebec93d8223973b6f5b6d6b3074a07e529eb4b823fa63cbf55c2d6b46ee7e0b5868dc45a858d0a841ce6b9a071ebc27a8977c44b00c6 SHA512 0d024ca7bda1ba9f2bb20fd02af1c4225d63c1a1e1bd71bf7760c214cec9ccf821fe31859cf389c6e45ba7fca21c706e5619f2066b600571f17660c52d84bd09
|
|
||||||
DIST calibre-4.6.0.tar.xz 37397188 BLAKE2B 145f329bb4dfeaffcc1a1dec741cf7f0d2bb943bc343f83828ad3755452c6313e59cc2e1518d8b05120746928080bc2c0de52827202c6a45733495bddf9995ed SHA512 4a057ffa6a77dfcec99a7ac89caf98045e2884af5a2833aed232620bd668ce92f542c903ea3817cfc05bbdbf10d89be029a459924d889fc83c8151100779a70d
|
|
||||||
DIST calibre-4.7.0.tar.xz 37432756 BLAKE2B 5030bee02506c2051949c248a941289da7b4e6b48aa638abcf14ab9c56f6552b1043f85bc6fbae644e33843711ad11d03da4ac3a320cb7cf4590bc1d0bf92ed8 SHA512 852f3ff45cbf055571c47754b55b51607ede63865fe04263a9c8d5d59973eaa8c5da718f589d2b830567796f59d5bd5189c8e5e9455e3f98e879a37acb7174e3
|
DIST calibre-4.7.0.tar.xz 37432756 BLAKE2B 5030bee02506c2051949c248a941289da7b4e6b48aa638abcf14ab9c56f6552b1043f85bc6fbae644e33843711ad11d03da4ac3a320cb7cf4590bc1d0bf92ed8 SHA512 852f3ff45cbf055571c47754b55b51607ede63865fe04263a9c8d5d59973eaa8c5da718f589d2b830567796f59d5bd5189c8e5e9455e3f98e879a37acb7174e3
|
||||||
DIST calibre-4.8.0.tar.xz 37448552 BLAKE2B 416500da33c5a7e0bb84e521db757c1ba5c6e38f04c2b92ad08c2039c64a7c7cc6daddf379cffe120e966e856468cb99da6d80feab75c518a3218a2e07c9cfd9 SHA512 5ab2340d9f4a8e4592aa5929827513127830bca5830f4861db97699fe491845dd17018158dc7c143255ce57730bc9e5ba556ddebb033d18086d0e1901388f840
|
DIST calibre-4.8.0.tar.xz 37448552 BLAKE2B 416500da33c5a7e0bb84e521db757c1ba5c6e38f04c2b92ad08c2039c64a7c7cc6daddf379cffe120e966e856468cb99da6d80feab75c518a3218a2e07c9cfd9 SHA512 5ab2340d9f4a8e4592aa5929827513127830bca5830f4861db97699fe491845dd17018158dc7c143255ce57730bc9e5ba556ddebb033d18086d0e1901388f840
|
||||||
|
@ -1,272 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
>=dev-libs/chmlib-0.40:=
|
|
||||||
dev-libs/glib:2=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sip[${PYTHON_USEDEP}]
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# no_updates: do not annoy user with "new version is availible all the time
|
|
||||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
|
||||||
eapply \
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
|
||||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', 'Makefile'])" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
|
|
||||||
# use system beautifulsoup, instead of bundled
|
|
||||||
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
|
|
||||||
|| die "could not remove bundled beautifulsoup"
|
|
||||||
find "${S}" -type f -name \*.py -exec \
|
|
||||||
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|
|
||||||
|| die "could not sed bundled beautifulsoup out of the source tree"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C #684484
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
rm "${ED}/usr/share/applications/defaults.list" || die
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/lib/calibre
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
|
|
||||||
bashcomp_alias calibre \
|
|
||||||
lrfviewer \
|
|
||||||
calibre-debug \
|
|
||||||
ebook-meta \
|
|
||||||
calibre-server \
|
|
||||||
ebook-viewer \
|
|
||||||
ebook-polish \
|
|
||||||
fetch-ebook-metadata \
|
|
||||||
lrf2lrs \
|
|
||||||
ebook-convert \
|
|
||||||
ebook-edit \
|
|
||||||
calibre-smtp \
|
|
||||||
ebook-device
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,272 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
>=dev-libs/chmlib-0.40:=
|
|
||||||
dev-libs/glib:2=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sip[${PYTHON_USEDEP}]
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# no_updates: do not annoy user with "new version is availible all the time
|
|
||||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
|
||||||
eapply \
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
|
||||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', 'Makefile'])" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
|
|
||||||
# use system beautifulsoup, instead of bundled
|
|
||||||
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
|
|
||||||
|| die "could not remove bundled beautifulsoup"
|
|
||||||
find "${S}" -type f -name \*.py -exec \
|
|
||||||
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|
|
||||||
|| die "could not sed bundled beautifulsoup out of the source tree"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C #684484
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
rm "${ED}/usr/share/applications/defaults.list" || die
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/lib/calibre
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
|
|
||||||
bashcomp_alias calibre \
|
|
||||||
lrfviewer \
|
|
||||||
calibre-debug \
|
|
||||||
ebook-meta \
|
|
||||||
calibre-server \
|
|
||||||
ebook-viewer \
|
|
||||||
ebook-polish \
|
|
||||||
fetch-ebook-metadata \
|
|
||||||
lrf2lrs \
|
|
||||||
ebook-convert \
|
|
||||||
ebook-edit \
|
|
||||||
calibre-smtp \
|
|
||||||
ebook-device
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,273 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
>=dev-libs/chmlib-0.40:=
|
|
||||||
dev-libs/glib:2=
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sip[${PYTHON_USEDEP}]
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# no_updates: do not annoy user with "new version is availible all the time
|
|
||||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
|
||||||
eapply \
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
|
||||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', 'Makefile'])" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
|
|
||||||
# use system beautifulsoup, instead of bundled
|
|
||||||
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
|
|
||||||
|| die "could not remove bundled beautifulsoup"
|
|
||||||
find "${S}" -type f -name \*.py -exec \
|
|
||||||
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|
|
||||||
|| die "could not sed bundled beautifulsoup out of the source tree"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C #684484
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
rm "${ED}/usr/share/applications/defaults.list" || die
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/lib/calibre
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
|
|
||||||
bashcomp_alias calibre \
|
|
||||||
lrfviewer \
|
|
||||||
calibre-debug \
|
|
||||||
ebook-meta \
|
|
||||||
calibre-server \
|
|
||||||
ebook-viewer \
|
|
||||||
ebook-polish \
|
|
||||||
fetch-ebook-metadata \
|
|
||||||
lrf2lrs \
|
|
||||||
ebook-convert \
|
|
||||||
ebook-edit \
|
|
||||||
calibre-smtp \
|
|
||||||
ebook-device
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
KDE_HANDBOOK="optional"
|
|
||||||
KDE_TEST="true"
|
|
||||||
inherit kde5
|
|
||||||
|
|
||||||
DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
|
|
||||||
HOMEPAGE="https://userbase.kde.org/KBibTeX"
|
|
||||||
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
|
||||||
SRC_URI="mirror://kde/stable/KBibTeX/${PV}/${P}.tar.xz"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
IUSE="webengine zotero"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
$(add_frameworks_dep kcompletion)
|
|
||||||
$(add_frameworks_dep kconfig)
|
|
||||||
$(add_frameworks_dep kconfigwidgets)
|
|
||||||
$(add_frameworks_dep kcoreaddons)
|
|
||||||
$(add_frameworks_dep kcrash)
|
|
||||||
$(add_frameworks_dep ki18n)
|
|
||||||
$(add_frameworks_dep kiconthemes)
|
|
||||||
$(add_frameworks_dep kio)
|
|
||||||
$(add_frameworks_dep kitemviews)
|
|
||||||
$(add_frameworks_dep kjobwidgets)
|
|
||||||
$(add_frameworks_dep kparts)
|
|
||||||
$(add_frameworks_dep kservice)
|
|
||||||
$(add_frameworks_dep ktexteditor)
|
|
||||||
$(add_frameworks_dep ktextwidgets)
|
|
||||||
$(add_frameworks_dep kwallet)
|
|
||||||
$(add_frameworks_dep kwidgetsaddons)
|
|
||||||
$(add_frameworks_dep kxmlgui)
|
|
||||||
$(add_qt_dep qtconcurrent)
|
|
||||||
$(add_qt_dep qtdbus)
|
|
||||||
$(add_qt_dep qtgui)
|
|
||||||
$(add_qt_dep qtnetwork)
|
|
||||||
$(add_qt_dep qtwidgets)
|
|
||||||
$(add_qt_dep qtxml)
|
|
||||||
$(add_qt_dep qtxmlpatterns)
|
|
||||||
app-text/poppler[qt5]
|
|
||||||
dev-libs/icu:=
|
|
||||||
virtual/tex-base
|
|
||||||
webengine? ( $(add_qt_dep qtwebengine 'widgets') )
|
|
||||||
zotero? (
|
|
||||||
app-crypt/qca[qt5(+)]
|
|
||||||
dev-libs/qoauth:5
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
!app-text/kbibtex:4
|
|
||||||
dev-tex/bibtex2html
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P/_/-}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON
|
|
||||||
$(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
|
|
||||||
$(cmake-utils_use_find_package zotero Qca-qt5)
|
|
||||||
)
|
|
||||||
|
|
||||||
kde5_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
kde5_pkg_postinst
|
|
||||||
|
|
||||||
if ! has_version "kde-apps/okular:${SLOT}" ; then
|
|
||||||
elog "For PDF or PostScript document preview support, please install kde-apps/okular:${SLOT}"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST libgxps-0.3.0.tar.xz 93000 BLAKE2B 8e04ae281aa8ee637d597265992a5bf6df3592b7d251d657dae3833c8cca848f7142f926964d96586f50ce9987dee94841be15554a733816a3b4f0acef282f12 SHA512 283ce3041f0238ef1dcae30ce2adbc3f843677e00ae22f20ed3459828f3edaab6d05d87c20dddb613925ab248ed0b29855a94198b982606c3dcb2e59f800b013
|
|
||||||
DIST libgxps-0.3.1.tar.xz 93132 BLAKE2B 63af298ef1dc345ef7c40fae4006ba73aa7529381cc6cbc8cf86f4d5b69c8c5617b902bef833ed7d3fa968d927b441e888889179f598b06e2ca13084d3b199af SHA512 80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239
|
DIST libgxps-0.3.1.tar.xz 93132 BLAKE2B 63af298ef1dc345ef7c40fae4006ba73aa7529381cc6cbc8cf86f4d5b69c8c5617b902bef833ed7d3fa968d927b441e888889179f598b06e2ca13084d3b199af SHA512 80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239
|
||||||
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit gnome.org meson xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Library for handling and rendering XPS documents"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/libgxps"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86"
|
|
||||||
IUSE="+introspection jpeg lcms tiff"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-arch/libarchive-2.8
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
media-libs/freetype:2
|
|
||||||
media-libs/libpng:0
|
|
||||||
>=x11-libs/cairo-1.10[svg]
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.10.1:= )
|
|
||||||
jpeg? ( virtual/jpeg:0 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
tiff? ( media-libs/tiff:0[zlib] )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-text/docbook-xsl-stylesheets
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
# There is no automatic test suite, only an interactive test application
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
-Denable-test=false
|
|
||||||
-Denable-gtk-doc=false
|
|
||||||
-Denable-man=true
|
|
||||||
-Ddisable-introspection=$(usex introspection false true)
|
|
||||||
-Dwith-liblcms2=$(usex lcms true false)
|
|
||||||
-Dwith-libjpeg=$(usex jpeg true false)
|
|
||||||
-Dwith-libtiff=$(usex tiff true false)
|
|
||||||
)
|
|
||||||
|
|
||||||
xdg_environment_reset
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,4 +1,3 @@
|
|||||||
DIST Sigil-0.9.13.tar.gz 18235134 BLAKE2B 4afe0f0258a8c1056029534ec696372e40343b9a398b612ee32fe95a3d417594bcc6782a4e6447323d67e84db5193756ff7c8756e160c432678ebc59ddeab706 SHA512 cafc6b075827239b73e80d3efa02e4e77d5903fed1faf8b600f70b178fb0c248c38d43e115f249124859edc12ddd8caf199ef0b0d05f20852eb060b27e5a3578
|
|
||||||
DIST sigil-0.9.16.tar.gz 21241424 BLAKE2B 1e784768cfe98e08ac01f5a9c11ec8254f9a0211f69ee1eb479643cc83677f6fea43745bcb158ea178ac64eec87c2e0062e783af2fe7477e2e5e8faf4db24c46 SHA512 45358912527484a7c580db34733d30927938443096fbf23e969d966e140a20607a4d98e086149a5eeb620f2462efc9abd531988c1b5cd93c373e747d5e5cd20a
|
DIST sigil-0.9.16.tar.gz 21241424 BLAKE2B 1e784768cfe98e08ac01f5a9c11ec8254f9a0211f69ee1eb479643cc83677f6fea43745bcb158ea178ac64eec87c2e0062e783af2fe7477e2e5e8faf4db24c46 SHA512 45358912527484a7c580db34733d30927938443096fbf23e969d966e140a20607a4d98e086149a5eeb620f2462efc9abd531988c1b5cd93c373e747d5e5cd20a
|
||||||
DIST sigil-0.9.18.tar.gz 21396185 BLAKE2B a20a1465032371f9d7e567fff03c859adf4bd2264e9d803efeb3bdeb3b097eca826daa36824370848aea50fffb2b2b74b28568f7dca926565dfd0948d7ade030 SHA512 a8f669ffb76554268aae8aa0f85c6861f80def71e429b44b20ac9b231f3f7584839a82e7b6991f57ca1f2d1f023e24d1f37897bd048379e30565e9bdd7ee188a
|
DIST sigil-0.9.18.tar.gz 21396185 BLAKE2B a20a1465032371f9d7e567fff03c859adf4bd2264e9d803efeb3bdeb3b097eca826daa36824370848aea50fffb2b2b74b28568f7dca926565dfd0948d7ade030 SHA512 a8f669ffb76554268aae8aa0f85c6861f80def71e429b44b20ac9b231f3f7584839a82e7b6991f57ca1f2d1f023e24d1f37897bd048379e30565e9bdd7ee188a
|
||||||
DIST sigil-1.0.0.tar.gz 21623303 BLAKE2B 5772316d3ffc78387f7fb9db1e88397756bf82c25513246033fe71f288d619844e9316f43b7f08b914e4f59912e42eea061079cd4b468de77087bf7a8ea46be0 SHA512 7fc440131fcdd9af60b10f703dcdaf946ac6c667cabbfc842addd68c6c9af35fc8808630a6cfee6db465e7faeec6a6b4f2c6bbe185426a0f845e47c16b02d7d1
|
DIST sigil-1.0.0.tar.gz 21623303 BLAKE2B 5772316d3ffc78387f7fb9db1e88397756bf82c25513246033fe71f288d619844e9316f43b7f08b914e4f59912e42eea061079cd4b468de77087bf7a8ea46be0 SHA512 7fc440131fcdd9af60b10f703dcdaf946ac6c667cabbfc842addd68c6c9af35fc8808630a6cfee6db465e7faeec6a6b4f2c6bbe185426a0f845e47c16b02d7d1
|
||||||
|
@ -1,97 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
|
||||||
|
|
||||||
inherit cmake-utils python-single-r1 readme.gentoo-r1 xdg-utils
|
|
||||||
|
|
||||||
MY_P="Sigil-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
|
||||||
HOMEPAGE="https://sigil-ebook.com/"
|
|
||||||
SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-text/hunspell:=
|
|
||||||
dev-libs/boost:=[threads]
|
|
||||||
dev-libs/libpcre:3=[pcre16]
|
|
||||||
dev-libs/mathjax
|
|
||||||
dev-libs/xerces-c[icu]
|
|
||||||
dev-python/chardet[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
>=dev-qt/qtconcurrent-5.4:5
|
|
||||||
>=dev-qt/qtcore-5.4:5
|
|
||||||
>=dev-qt/qtgui-5.4:5
|
|
||||||
>=dev-qt/qtprintsupport-5.4:5
|
|
||||||
>=dev-qt/qtwebkit-5.4:5
|
|
||||||
>=dev-qt/qtwidgets-5.4:5
|
|
||||||
>=dev-qt/qtxmlpatterns-5.4:5
|
|
||||||
sys-libs/zlib[minizip]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-qt/linguist-tools:5
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog.txt README.md )
|
|
||||||
|
|
||||||
DOC_CONTENTS="From Sigil's release notes:
|
|
||||||
When you fire up Sigil for the very first time:
|
|
||||||
navigate to the new General Preferences and select the default
|
|
||||||
epub version you plan to work with (epub 2 or epub3) so that new
|
|
||||||
empty ebooks start with the correct code.
|
|
||||||
if you plan to work with epub3 epubs, you should change your
|
|
||||||
PreserveEntities setting to use ONLY NUMERIC entities.
|
|
||||||
|
|
||||||
For example use & # 1 6 0 ; for non-breaking spaces and etc.
|
|
||||||
|
|
||||||
We strongly recommend enabling Mend On Open in your settings
|
|
||||||
for best performance with Sigil."
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
python_export PYTHON_LIBPATH PYTHON_INCLUDEDIR
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DINSTALL_BUNDLED_DICTS=0
|
|
||||||
-DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax
|
|
||||||
-DUSE_SYSTEM_LIBS=1
|
|
||||||
-DSYSTEM_LIBS_REQUIRED=1
|
|
||||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
|
||||||
-DPYTHON_LIBRARY="${PYTHON_LIBPATH}"
|
|
||||||
-DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
python_fix_shebang "${ED}"/usr/share/sigil/
|
|
||||||
python_optimize "${ED}"/usr/share/sigil/
|
|
||||||
DISABLE_AUTOFORMATTING=true readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST yelp-tools-3.18.0.tar.xz 210712 BLAKE2B 8b9af089bc2d337d5474525f369b5ff5773391dac4deba7610545625a8550cb2735f9295282cd490b176ba9648f3b91e3865fedba27c4c0b4155b2e99bf8db8e SHA512 75957b06bdade966a33a41ecc68dfa3eb3b3e3550dc8c6664ee694c4b043c8b45a2403dd23c9810347ed7234ceb5389a34133554de012a7e0afc5db891525fb8
|
|
||||||
DIST yelp-tools-3.32.2.tar.xz 211668 BLAKE2B b45aef4d03f1954ac33bb05a9c788af40a74d76b54c2a0bcc466098e18435e02eb40004465dda399eb74e986caf404e51a393974d37ef1abeff6d76289840ecc SHA512 c9383426b854ae46ff4587bef07955541de3026f845025f9e99ba095cce11ff307e23d00d07a2da8763bcb6f9f061fc610351170e2abd99b5669912463729a85
|
DIST yelp-tools-3.32.2.tar.xz 211668 BLAKE2B b45aef4d03f1954ac33bb05a9c788af40a74d76b54c2a0bcc466098e18435e02eb40004465dda399eb74e986caf404e51a393974d37ef1abeff6d76289840ecc SHA512 c9383426b854ae46ff4587bef07955541de3026f845025f9e99ba095cce11ff307e23d00d07a2da8763bcb6f9f061fc610351170e2abd99b5669912463729a85
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
|
|
||||||
inherit gnome2
|
|
||||||
|
|
||||||
DESCRIPTION="Collection of tools for building and converting documentation"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Apps/Yelp/Tools"
|
|
||||||
|
|
||||||
LICENSE="|| ( GPL-2+ freedist ) GPL-2+" # yelp.m4 is GPL2 || freely distributable
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libxml2-2.6.12
|
|
||||||
>=dev-libs/libxslt-1.1.8
|
|
||||||
dev-util/itstool
|
|
||||||
>=gnome-extra/yelp-xsl-3.17.3
|
|
||||||
virtual/awk
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST atkmm-2.24.2.tar.xz 849784 BLAKE2B 2cd96268cf727de1ebe83428e98f1d21f8dbd1a72ef01be80ec28d169ff0ae9ac375bbbd1a530f3c47b60b49a40e317fe39645d74f6be3c017edcb9735bc0236 SHA512 427714cdf3b10e3f9bc36df09c4b05608d295f5895fb1e079b9bd84afdf7bf1cfdec6794ced7f1e35bd430b76f87792df4ee63c515071a2ea6e3e51e672cdbe2
|
|
||||||
DIST atkmm-2.28.0.tar.xz 891904 BLAKE2B 8172effa5f4dc542020b58d7e3d3bea66b0affa98db977e94249dfd8fa6c4fdea88cabb385dcfdb2d79874017c4e648a737413bae021121d1423d62e335d2737 SHA512 8457cff58648c3d3944d6a9fb400062985c70a714856a5d84d4553cb6b1202bdc47aa48c612851fea1cc1b7ab59381116c65d2a22212907e3c4b7090601946bc
|
DIST atkmm-2.28.0.tar.xz 891904 BLAKE2B 8172effa5f4dc542020b58d7e3d3bea66b0affa98db977e94249dfd8fa6c4fdea88cabb385dcfdb2d79874017c4e648a737413bae021121d1423d62e335d2737 SHA512 8457cff58648c3d3944d6a9fb400062985c70a714856a5d84d4553cb6b1202bdc47aa48c612851fea1cc1b7ab59381116c65d2a22212907e3c4b7090601946bc
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
|
|
||||||
inherit gnome2 multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="C++ interface for the ATK library"
|
|
||||||
HOMEPAGE="https://www.gtkmm.org"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=dev-cpp/glibmm-2.46.2:2[doc?,${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/atk-2.18.0[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<dev-cpp/gtkmm-2.22.0
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE="${S}" gnome2_src_configure \
|
|
||||||
$(multilib_native_use_enable doc documentation)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
}
|
|
@ -1,4 +1,3 @@
|
|||||||
DIST gtkmm-2.24.5.tar.xz 12022024 BLAKE2B 6b2bca9fe6ad81cd956e1f3cc3140bc503b78386cf3931c8eeac08c8b2a08c73450bdbb703d1febaee67cdf834093ff5e89790f866357190822613a68a596ad3 SHA512 c50e52830977c37181439f4b82a30ac8bead0cf9022d2bec8225f8dc33e08414f863bf67056e1938fae8f888c09a5a6d757acc011fa9331a78caa6bb626dd51e
|
DIST gtkmm-2.24.5.tar.xz 12022024 BLAKE2B 6b2bca9fe6ad81cd956e1f3cc3140bc503b78386cf3931c8eeac08c8b2a08c73450bdbb703d1febaee67cdf834093ff5e89790f866357190822613a68a596ad3 SHA512 c50e52830977c37181439f4b82a30ac8bead0cf9022d2bec8225f8dc33e08414f863bf67056e1938fae8f888c09a5a6d757acc011fa9331a78caa6bb626dd51e
|
||||||
DIST gtkmm-3.24.0.tar.xz 12515792 BLAKE2B d1150019b28ecffbf1e2f561e8b691d584dfc893dbc1ef46f1dd33e2c9050ea77e00a1cb7ce1f3832568fd9865c977dbc71a461923c285331372371a5f235369 SHA512 94658fbf7eebbac2a864d6c7d3cd0e6ffd4ac213fd1d9986d721d4906c7a43a45d8757df475879ee37ef54ec5e3fac7d9a8e4a194b97b2be72a10743bf2e13ac
|
|
||||||
DIST gtkmm-3.24.1.tar.xz 12482756 BLAKE2B 238b9224a57b929cf75617de326f47ff15da07a4a68e6ae10903b29f5e1e29f4fbbaab82f7b483fcdb4c27aa25908bf9e80c4362ba3df298073c73530b79bcb0 SHA512 be7144edb0d5d68f761c9e92c197c3b84de045072443222694c1595faebf3390623a390dbec9f7232a70231aca138b1cb4343ab273333b2a6a418af7ec1586ed
|
DIST gtkmm-3.24.1.tar.xz 12482756 BLAKE2B 238b9224a57b929cf75617de326f47ff15da07a4a68e6ae10903b29f5e1e29f4fbbaab82f7b483fcdb4c27aa25908bf9e80c4362ba3df298073c73530b79bcb0 SHA512 be7144edb0d5d68f761c9e92c197c3b84de045072443222694c1595faebf3390623a390dbec9f7232a70231aca138b1cb4343ab273333b2a6a418af7ec1586ed
|
||||||
DIST gtkmm-3.24.2.tar.xz 13336236 BLAKE2B 93f3a04b8a2f02323bf6a1161c10eaae2ad9c26d0e235b1658fc7abbb8d48f67abc42739726c4b6657fa59b033b3708ad1428e629538ab5a6fd27590f5311f30 SHA512 c8f9f03d54006a729fdad7563d3be37aa180f9153c222314c1b8cfddc5ab417d184422a1d44f780574248ea52e679f1e360eac67e03f67d29ecf847c0ab19689
|
DIST gtkmm-3.24.2.tar.xz 13336236 BLAKE2B 93f3a04b8a2f02323bf6a1161c10eaae2ad9c26d0e235b1658fc7abbb8d48f67abc42739726c4b6657fa59b033b3708ad1428e629538ab5a6fd27590f5311f30 SHA512 c8f9f03d54006a729fdad7563d3be37aa180f9153c222314c1b8cfddc5ab417d184422a1d44f780574248ea52e679f1e360eac67e03f67d29ecf847c0ab19689
|
||||||
|
@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit gnome2 multilib-minimal virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="C++ interface for GTK+"
|
|
||||||
HOMEPAGE="https://www.gtkmm.org"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="3.0"
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
IUSE="aqua doc test wayland X"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="|| ( aqua wayland X )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-cpp/glibmm-2.54.0:2[${MULTILIB_USEDEP}]
|
|
||||||
>=x11-libs/gtk+-3.24.0:3[aqua?,wayland?,X?,${MULTILIB_USEDEP}]
|
|
||||||
>=x11-libs/gdk-pixbuf-2.35.5:2[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-cpp/atkmm-2.24.2[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-cpp/cairomm-1.12.0[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-cpp/pangomm-2.38.2:1.4[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? (
|
|
||||||
media-gfx/graphviz
|
|
||||||
dev-libs/libxslt
|
|
||||||
app-doc/doxygen )
|
|
||||||
"
|
|
||||||
# eautoreconf needs mm-common
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if ! use test; then
|
|
||||||
# don't waste time building tests
|
|
||||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
|
||||||
|| die "sed 1 failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't waste time building examples
|
|
||||||
sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
|
||||||
|| die "sed 2 failed"
|
|
||||||
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE="${S}" gnome2_src_configure \
|
|
||||||
--enable-api-atkmm \
|
|
||||||
$(multilib_native_use_enable doc documentation) \
|
|
||||||
$(use_enable aqua quartz-backend) \
|
|
||||||
$(use_enable wayland wayland-backend) \
|
|
||||||
$(use_enable X x11-backend)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
virtx emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
find demos -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
|
|
||||||
find demos -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null
|
|
||||||
dodoc -r demos
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,35 @@
|
|||||||
|
From 40cdaea4d7824cc1b0d26e6ad2dcb61fa2077911 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pino Toscano <pino@kde.org>
|
||||||
|
Date: Tue, 29 Oct 2019 07:52:32 +0100
|
||||||
|
Subject: PgSQL driver: fix build with PostgreSQL 12+
|
||||||
|
|
||||||
|
ABSTIMEOID and RELTIMEOID were removed, as their data types were dropped.
|
||||||
|
---
|
||||||
|
src/drivers/postgresql/PostgresqlTypes.cpp | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/drivers/postgresql/PostgresqlTypes.cpp b/src/drivers/postgresql/PostgresqlTypes.cpp
|
||||||
|
index ea576d6..0697129 100644
|
||||||
|
--- a/src/drivers/postgresql/PostgresqlTypes.cpp
|
||||||
|
+++ b/src/drivers/postgresql/PostgresqlTypes.cpp
|
||||||
|
@@ -36,6 +36,7 @@
|
||||||
|
#endif
|
||||||
|
#include <libpq-fe.h>
|
||||||
|
#include <catalog/pg_type.h> // needed for BOOLOID, etc.
|
||||||
|
+#include <pg_config.h> // needed for PG_VERSION_NUM
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning( pop )
|
||||||
|
@@ -70,8 +71,10 @@ void PostgresqlDriver::initPgsqlToKDbMap()
|
||||||
|
//! @todo POLYGONOID geometric polygon '(pt1,...)'
|
||||||
|
m_pgsqlToKDbTypes.insert(FLOAT4OID, KDbField::Double);
|
||||||
|
m_pgsqlToKDbTypes.insert(FLOAT8OID, KDbField::Double);
|
||||||
|
+#if PG_VERSION_NUM < 120000
|
||||||
|
m_pgsqlToKDbTypes.insert(ABSTIMEOID, KDbField::Date);
|
||||||
|
m_pgsqlToKDbTypes.insert(RELTIMEOID, KDbField::Date);
|
||||||
|
+#endif
|
||||||
|
//! @todo TINTERVALOID (abstime,abstime), time interval
|
||||||
|
//! @todo CIRCLEOID geometric circle '(center,radius)'
|
||||||
|
//! @todo CASHOID monetary amounts, $d,ddd.cc
|
||||||
|
--
|
||||||
|
cgit v1.1
|
@ -0,0 +1,24 @@
|
|||||||
|
From 6bba3130f8968abb2e904bda1e8b59f83dd43bdc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pino Toscano <pino@kde.org>
|
||||||
|
Date: Sat, 25 May 2019 06:59:44 +0200
|
||||||
|
Subject: cmake: find PostgreSQL 12
|
||||||
|
|
||||||
|
---
|
||||||
|
cmake/modules/FindPostgreSQL.cmake | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/cmake/modules/FindPostgreSQL.cmake b/cmake/modules/FindPostgreSQL.cmake
|
||||||
|
index 8ec30db..74e6f6b 100644
|
||||||
|
--- a/cmake/modules/FindPostgreSQL.cmake
|
||||||
|
+++ b/cmake/modules/FindPostgreSQL.cmake
|
||||||
|
@@ -86,7 +86,7 @@ set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache e
|
||||||
|
set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4")
|
||||||
|
|
||||||
|
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||||
|
- "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||||
|
+ "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||||
|
|
||||||
|
# Define additional search paths for root directories.
|
||||||
|
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
||||||
|
--
|
||||||
|
cgit v1.1
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue