parent
5cdd9dcfed
commit
bc474d5485
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29469 BLAKE2B 98b821a95b378d5b22843b0b2715e329ba3bf098b34d57660e3c78533f4d1128ed073b96e5da10d8d110e890b26d7fb0188063adc2e388cfc49b9d51dc282da3 SHA512 666b41444c17b6809c5a93bdbe622d1e2ba947a6329b418b68c18fb208e58a1ca0d0eb35fe0e49f1f08dcc68647ccf92dda6a75b06dfb1ab6f93a6f7b60eccac
|
||||
TIMESTAMP 2020-05-21T07:08:21Z
|
||||
MANIFEST Manifest.files.gz 29451 BLAKE2B ca8876bf8fe7dcfcc58cb745939ec62a47b71bef76985c72c9c3da7d098ee68e86e0b4d29afaf7cca8d918ada5d64ff23116c3a66ea227aeeed238d51be71c70 SHA512 a5404b8ccbcb5c83a282bfebdd82fe8b406634727fb13add91eba7574c891b206ab6c31b1b42815c2e541bf4cf9526bfcc2c181d065cf712a9ac9bfbeede08ce
|
||||
TIMESTAMP 2020-05-21T21:08:22Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl7GKOVfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl7G7cZfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCL8hAAtIdTyMXyFtmSPoRYZN6Cmatg18YZfvKIO6dEqIf+KWNSKEOL2iW6qSDb
|
||||
UCCTBE+F9dkPoEZ7JDqdJckscYAM2EkjAZNIdwVcpRXPPBu828cu+FwqZ/qN29Je
|
||||
WNfxqkqX0GFP+bLh5GdXTGM0IkQrScg3NOxCjJFuz2xIW/4fzCyD+y4QldwlJRpm
|
||||
EslAzE/fcuD0fEFsULHtyvx7kgluzo5qa9G1xYLBYa3OMPOWO2PBIxMJ9GpcFkbU
|
||||
sESQcIr5n/Im09lBnuokumhfcRDOFVYuprVoB6YSHWJbN3JtmY0nsh/kyWYXerJo
|
||||
sTYfmzOPzZKJwWvYQqEosc55cvvHrJlmMNfdPI2ZBKyVvzdz0lNETxu0SGLNKPaJ
|
||||
rG+62kyuWx0VesswhDgWYJZLsEBQGrU8jhfz/vKUI/HLQ7dZ5s5yft5r7cTmhN82
|
||||
MGpjQUsIIfOfoj47vY0ajeAy+iMEyMyF8hAcyJg2vzfcbly32VE0d/ONj5Al1bbl
|
||||
ls9J0CLCO9xHw6xZOPSRpbQFe0+jBEI7Mk9LXRq+35RZiCy2HYa45S381uXYxdmH
|
||||
D/vso9ajMIygA179/wOf058FtgNyYSrr+IIDqxypDOIP1bosrD8cRi6YHCJk0scC
|
||||
uRKkMHiGwRpw6BGShNy86Gr/ke3TqVburS8iLSy9UPkgGUnN7EM=
|
||||
=jUs+
|
||||
klD44hAAtGo2QYD5/VLaLc0reO55h2+SKxR77wdpWQd61ZwFsMlR1WbBvcYDBvKf
|
||||
n9i39ZJXITnOEW207PpKfBEuYisRoqGyY8jTMnY6RMWIfESgA0U0tzdoxQXzYfDe
|
||||
7WLTL6g8qAow9Uw4sgmV240bXKvPpMKM98fIZ+GUdyyiE62SnhIvFhcne/jgFMLS
|
||||
w9cCBXDH7Sm2Ookt7aOAQ9JQZnvenKJptoAZTqiwqx7yc32IxEKEs1LTqYExM1sm
|
||||
X35wDHzgMbd5plfFiWXTVw1WY+Z6toOQYwBSraoirMGtVlkTh7t1NrvWmcRXy7WU
|
||||
pFOM1WaWYXsoJ1pwqgnNBFE11pXPiJ35qE6cLaWNtm65FxNiwnTDd95GgaqUUdBW
|
||||
NEv+gyGLTGFpGzLa+cZFQgiP0CNCnSyc1KUsL9XMgzzmSNRzWny7fgDBNsirttpL
|
||||
emwEJSbxce866up1NOYSE6G38XFMGcYx5pQxEkAjWokrbYSST1JjN4/5NgWpZQPu
|
||||
8DcJ1F1zViIHmYL4zOs/AKaKZYxuV7pHOizU0u7Wc/MzJEfd4p6kVSAfndVskBUb
|
||||
v4GXScs37aQVXRhffLZ197tA0NRB3IBXE3VunUilIuXhBisBIxB+iftcfuU/7o3D
|
||||
u65WVfIpcYPGM2gG9WKjaclZEz54WqAkQrzrOBSLjuzrtjX6jbU=
|
||||
=czyo
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,167 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="k8s.io/helm"
|
||||
|
||||
MY_PV=${PV/_rc/-rc.}
|
||||
|
||||
EGO_VENDOR=(
|
||||
"cloud.google.com/go 8c41231e01b2085512d98153bcffb847ff9b4b9f github.com/GoogleCloudPlatform/gcloud-golang"
|
||||
"github.com/asaskevich/govalidator 7664702784775e51966f0885f5cd27435916517b"
|
||||
"github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d058875b0371ff8109"
|
||||
"github.com/Azure/go-autorest 69b4126ece6b5257e2f9b0017007d2334153655f"
|
||||
"github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb"
|
||||
"github.com/BurntSushi/toml 3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"
|
||||
"github.com/chai2010/gettext-go c6fed771bfd517099caf0f7a961671fa8ed08723"
|
||||
"github.com/cpuguy83/go-md2man 7762f7e404f8416dfa1d9bb6a8c192aa9acb4d19"
|
||||
"github.com/cyphar/filepath-securejoin a261ee33d7a517f054effbf451841abaafe3e0fd"
|
||||
"github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73"
|
||||
"github.com/dgrijalva/jwt-go 06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"
|
||||
"github.com/docker/distribution 2461543d988979529609e8cb6fca9ca190dc48da"
|
||||
"github.com/docker/docker be7ac8be2ae072032a4005e8f232be3fc57e4127"
|
||||
"github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1"
|
||||
"github.com/docker/spdystream 449fdfce4d962303d702fec724ef0ad181c92528"
|
||||
"github.com/emicklei/go-restful ff4f55a206334ef123e4f79bbf348980da81ca46"
|
||||
"github.com/evanphx/json-patch 5858425f75500d40c52783dce87d085a483ce135"
|
||||
"github.com/exponent-io/jsonpath d6023ce2651d8eafb5c75bb0c7167536102ec9f5"
|
||||
"github.com/fatih/color 3f9d52f7176a6927daacff70a3e8d1dc2025c53e"
|
||||
"github.com/ghodss/yaml c7ce16629ff4cd059ed96ed06419dd3856fd3577"
|
||||
"github.com/gofrs/flock 392e7fae8f1b0bdbd67dad7237d23f618feb6dbb"
|
||||
"github.com/go-openapi/jsonpointer 46af16f9f7b149af66e5d1bd010e3574dc06de98"
|
||||
"github.com/go-openapi/jsonreference 13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272"
|
||||
"github.com/go-openapi/spec 6aced65f8501fe1217321abf0749d354824ba2ff"
|
||||
"github.com/go-openapi/swag 1d0bd113de87027671077d3c71eb3ac5d7dbba72"
|
||||
"github.com/gobwas/glob 5ccd90ef52e1e632236f7326478d4faa74f99438"
|
||||
"github.com/gogo/protobuf 65acae22fc9d1fe290b33faa2bd64cdc20a463a0"
|
||||
"github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed"
|
||||
"github.com/golang/groupcache 02826c3e79038b59d737d3b1c0a1d937f71a4433"
|
||||
"github.com/golang/protobuf 6c65a5562fc06764971b7c5d05c76c75e84bdbf7"
|
||||
"github.com/google/btree 4030bb1f1f0c35b30ca7009e9ebd06849dd45306"
|
||||
"github.com/google/go-cmp 6f77996f0c42f7b84e5a2b252227263f93432e9b"
|
||||
"github.com/google/gofuzz f140a6486e521aad38f5917de355cbf147cc0496"
|
||||
"github.com/google/uuid 0cd6bf5da1e1c83f8b45653022c74f71af0538a4"
|
||||
"github.com/googleapis/gnostic 0c5108395e2debce0d731cf0287ddf7242066aba"
|
||||
"github.com/gophercloud/gophercloud c2d73b246b48e239d3f03c455905e06fe26e33c3"
|
||||
"github.com/gosuri/uitable 2cf933346b8370a3a3d8867ef5cf54b2129d8ecf"
|
||||
"github.com/gregjones/httpcache 787624de3eb7bd915c329cba748687a3b22666a6"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus 6af20e3a5340d5e6bde20c8a7a78699efe19ac0a"
|
||||
"github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c"
|
||||
"github.com/huandu/xstrings f02667b379e2fb5916c3cda2cf31e0eb885d79f8"
|
||||
"github.com/imdario/mergo 9316a62528ac99aaecb4e47eadd6dc8aa6533d58"
|
||||
"github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
|
||||
"github.com/jmoiron/sqlx d161d7a76b5661016ad0b085869f77fd410f3e6a"
|
||||
"github.com/json-iterator/go 27518f6661eba504be5a7a9a9f6d9460d892ade3"
|
||||
"github.com/konsorten/go-windows-terminal-sequences 5c8c8bd35d3832f5d134ae1e1e375b69a4d25242"
|
||||
"github.com/lib/pq f91d3411e481ed313eeab65ebfe9076466c39d01"
|
||||
"github.com/liggitt/tabwriter 89fcab3d43de07060e4fd4c1547430ed57e87f24"
|
||||
"github.com/mailru/easyjson d5b7844b561a7bc640052f1b935f7b800330d7e0"
|
||||
"github.com/MakeNowJust/heredoc bb23615498cded5e105af4ce27de75b089cbe851"
|
||||
"github.com/Masterminds/goutils 41ac8693c5c10a92ea1ff5ac3a7f95646f6123b0"
|
||||
"github.com/Masterminds/semver 805c489aa98f412e79eb308a37996bf9d8b1c91e"
|
||||
"github.com/Masterminds/sprig e4c0945838d570720d876a6ad9b4568ed32317b4"
|
||||
"github.com/Masterminds/vcs f94282d8632a0620f79f0c6ff0e82604e8c5c85b"
|
||||
"github.com/mattn/go-colorable 98ec13f34aabf44cc914c65a1cfb7b9bc815aef1"
|
||||
"github.com/mattn/go-isatty 0e9ddb7c0c0aef74fa25eaba4141e6b5ab7aca2a"
|
||||
"github.com/mattn/go-runewidth 9d4e0701ab53d89eeb2f46b282d1cd71f458f0bf"
|
||||
"github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c"
|
||||
"github.com/mitchellh/copystructure 9a1b6f44e8da0e0e374624fb0a825a231b00c537"
|
||||
"github.com/mitchellh/go-wordwrap 9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c"
|
||||
"github.com/mitchellh/reflectwalk 3e2c75dfad4fbf904b58782a80fd595c760ad185"
|
||||
"github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94"
|
||||
"github.com/modern-go/reflect2 94122c33edd36123c84d5368cfb2b69df93a0ec8"
|
||||
"github.com/opencontainers/go-digest 279bed98673dd5bef374d3b6e4b09e2af76183bf"
|
||||
"github.com/peterbourgon/diskv 5f041e8faa004a95c88a202771f4cc3e991971e6"
|
||||
"github.com/pkg/errors 27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7"
|
||||
"github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50"
|
||||
"github.com/prometheus/client_model 5c3871d89910bfb32f5fcab2aa4b9ec68e65a99f"
|
||||
"github.com/prometheus/common 4724e9255275ce38f7179b2478abeae4e28c904f"
|
||||
"github.com/prometheus/procfs 1dc9a6cbc91aacc3e8b2d63db4d2e957a5394ac4"
|
||||
"github.com/PuerkitoBio/purell 8a290539e2e8629dbc4e6bad948158f790ec31f4"
|
||||
"github.com/PuerkitoBio/urlesc 5bd2802263f21d8788851d5305584c82a5c75d7e"
|
||||
"github.com/rubenv/sql-migrate 9355dd04f4b3dc9ed604623307307a3491a627bc"
|
||||
"github.com/russross/blackfriday 05f3235734ad95d0016f6a23902f06461fcf567a"
|
||||
"github.com/sirupsen/logrus 839c75faf7f98a33d445d181f3018b5c3409a45e"
|
||||
"github.com/spf13/cobra f2b07da1e2c38d5f12845a4f607e2e1018cbb1f5"
|
||||
"github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab"
|
||||
"github.com/technosophos/moniker a5dbd03a2245d554160e3ae6bfdcf969fe58b431"
|
||||
"golang.org/x/crypto e84da0312774c21d64ee2317962ef669b27ffb41 github.com/golang/crypto"
|
||||
"golang.org/x/net cdfb69ac37fc6fa907650654115ebebb3aae2087 github.com/golang/net"
|
||||
"golang.org/x/oauth2 9f3314589c9a9136388751d9adae6b0ed400978a github.com/golang/oauth2"
|
||||
"golang.org/x/sync 42b317875d0fa942474b76e1b46a6060d720ae6e github.com/golang/sync"
|
||||
"golang.org/x/sys b90733256f2e882e81d52f9126de08df5615afd9 github.com/golang/sys"
|
||||
"golang.org/x/text e6919f6577db79269a6443b9dc46d18f2238fb5d github.com/golang/text"
|
||||
"golang.org/x/time f51c12702a4d776e4c1fa9b0fabab841babae631 github.com/golang/time"
|
||||
"google.golang.org/appengine 54a98f90d1c46b7731eb8fb305d2a321c30ef610 github.com/golang/appengine"
|
||||
"google.golang.org/genproto 919d9bdd9fe6f1a5dd95ce5d5e4cdb8fd3c516d0 github.com/google/go-genproto"
|
||||
"google.golang.org/grpc a02b0774206b209466313a0b525d2c738fe407eb github.com/grpc/grpc-go"
|
||||
"gopkg.in/gorp.v1 6a667da9c028871f98598d85413e3fc4c6daa52e github.com/go-gorp/gorp"
|
||||
"gopkg.in/inf.v0 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4 github.com/go-inf/inf"
|
||||
"gopkg.in/square/go-jose.v2 e94fb177d3668d35ab39c61cbb2f311550557e83 github.com/square/go-jose"
|
||||
"gopkg.in/yaml.v2 f221b8435cfb71e54062f6c6e99e9ade30b124d5 github.com/go-yaml/yaml"
|
||||
"k8s.io/api 35e52d86657aba06859dd22099bfa14faf1effb2 github.com/kubernetes/api"
|
||||
"k8s.io/apiextensions-apiserver 5357c4baaf6562e4d37c9afc9fef99bd16d76a9f github.com/kubernetes/apiextensions-apiserver"
|
||||
"k8s.io/apimachinery a2eda9f80ab8a454a81bdde16d62a1afe5f931c0 github.com/kubernetes/apimachinery"
|
||||
"k8s.io/apiserver 5190913f932d82e562d4eb91d0f3d7a063bdbc07 github.com/kubernetes/apiserver"
|
||||
"k8s.io/client-go bec269661e48cb1e5fbb0d037f356ffe9e9978a0 github.com/kubernetes/client-go"
|
||||
"k8s.io/cli-runtime 74ad18325ed51ea6de9ee19bae59156bad18ecd2 github.com/kubernetes/cli-runtime"
|
||||
"k8s.io/component-base 039242c015a9f5eeaccea3ea17c6973b9c27166a github.com/kubernetes/component-base"
|
||||
"k8s.io/klog 3ca30a56d8a775276f9cdae009ba326fdc05af7f github.com/kubernetes/klog"
|
||||
"k8s.io/kube-openapi 743ec37842bffe49dd4221d9026f30fb1d5adbc4 github.com/kubernetes/kube-openapi"
|
||||
"k8s.io/kubectl 2ed914427d51f6fd865e0db43d72b2f22610cf32 github.com/kubernetes/kubectl"
|
||||
"k8s.io/kubernetes c97fe5036ef3df2967d086711e6c0c405941e14b github.com/kubernetes/kubernetes"
|
||||
"k8s.io/utils 581e00157fb1a0435d4fac54a52d1ca1e481d60e github.com/kubernetes/utils"
|
||||
"sigs.k8s.io/kustomize a6f65144121d1955266b0cd836ce954c04122dc8 github.com/kubernetes-sigs/kustomize"
|
||||
"sigs.k8s.io/yaml fd68e9863619f6ec2fdd8625fe1f02e7c877e480 github.com/kubernetes-sigs/yaml"
|
||||
"vbom.ml/util efcd4e0f97874370259c7d93e12aad57911dea81 github.com/fvbommel/util"
|
||||
)
|
||||
|
||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
GIT_COMMIT="bbdfe5e7803a12bbdf97e94cd847859890cf4050"
|
||||
|
||||
ARCHIVE_URI="https://github.com/kubernetes/helm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Kubernetes Package Manager"
|
||||
HOMEPAGE="https://github.com/kubernetes/helm https://helm.sh"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.12"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
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" ||//' src/${EGO_PN}/versioning.mk || die
|
||||
|
||||
rm -rf src/${EGO_PN}/vendor/*/*/vendor src/${EGO_PN}/vendor/*/*/*/vendor || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${S}" go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go || die
|
||||
GOBINDIR="$(pwd)/bin" GOPATH="${S}"\
|
||||
go install -v -ldflags "-X k8s.io/helm/pkg/version.Version=v${PV} -X k8s.io/helm/pkg/version.BuildMetadata= -X k8s.io/helm/pkg/version.GitCommit=${GIT_COMMIT} -X k8s.io/helm/pkg/version.GitTreeState=clean" k8s.io/helm/cmd/... || die
|
||||
popd || die
|
||||
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} bin/tiller
|
||||
dodoc src/${EGO_PN}/README.md
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,15 +1,3 @@
|
||||
DIST gnucash-docs-3.2.tar.gz 92387447 BLAKE2B dac502975f885b777c1e91a7ea574789947e1dddfd3239c05973ce57fec41a6d78e605ef37aaf721db4aa4d2bc8f2dda7ed76cc4dc97dd49e30618414e262f15 SHA512 a58a583a457377f529223ced083fb64460b3b0c75a423db08c7f9542711be98fd59bd776bf77309ff91d1c46f22a5ae882d8c0a8ec3fc834d7a8028a95028aad
|
||||
DIST gnucash-docs-3.3.tar.gz 92417386 BLAKE2B 200f9b8d3006589eac5f0d66300d658f69f5c55078371c5b416e34784835350de9bd40fc5d85e59116022874294f74e259a034d6ebcaf315b1ea9942b8350c7b SHA512 5887171cbe95f545eb6e647aee2d04a26ab9102643acd8d3e5754000613a7fb08e4470777f7dfbfd0d1ed7609de7a6241cd82f5c7d62f632b2e3751b005bc01e
|
||||
DIST gnucash-docs-3.4.tar.gz 92762652 BLAKE2B 1aad3f1e7fe5b6ec11b38dc778e8994544d50f9549450b4632e5fcbd370332f05c7c68f9f6bf0e274b654dee6304924d17089b61318e0e4356bf01133ad47508 SHA512 0a64c8fcc88988a08d5b2f7c472356c580dff17b1a2a37b66a6bed790fba9d7bb437955050656656a0be399b2ce1635902f4548f44b62233c1fcd1d75fbb38ec
|
||||
DIST gnucash-docs-3.5.tar.gz 97187415 BLAKE2B f35a3a25a120d3807771d74ee1c97713e21617f7ac7b4fdc1f58b9d12f7c0cc899a9af6abca21bd4f91a0978ebf5b93604deaae29f39c8ab86bd83ec93e32642 SHA512 aa832a1929ae91b9fe2a6a4ada0c7dbd8c1a4cf76086ec3ab0b82c7396d45aabbb6971f2db788bbdde71a68c8faca5f4621429819ef6c0d1156bcefdc5d289b5
|
||||
DIST gnucash-docs-3.6.tar.gz 96986567 BLAKE2B 753ee011cadec37320fafe3c0973bc5772c300dcf641ba34f05d03b9c13ec159c10f8571876adecfd7816956f2dfa9e83ad5879387536c15e7d1b138f7e38a47 SHA512 1fd36c74633ba699116914eaef245d4b84ab85a6e65578c602db8b2e3150f7fb97b549c12068a691e38b90ae0fa5cc22f8026b6d50de1ac967eb52b8296eb135
|
||||
DIST gnucash-docs-3.7.tar.gz 70634602 BLAKE2B bee0b328ab36409055ac4f681d4b09ff5e9aa28d17249491869836e8921700b495b46954465161ad06896ef9bc46c7ee8557ef2a3e8c4bbce2d600e6440bc1d9 SHA512 38f5828d3121ed76eb8a43fd91c1e3349c1f31cb95ee8fb8fa1b4c5223c68fc14627c78a5072a632aa0a228790918112a60269e6ee0211c705da6b4d5467a45d
|
||||
DIST gnucash-docs-3.8b.tar.gz 71058053 BLAKE2B 0a69db02faf6487f2ecc1b5f9a788fb50cec65ff7db53ca9ec6048510156f094c0ce457d1abb4a9a6694060f68780c0336de41dbd0736ad93055cce81b3a66ab SHA512 3c30e88412e17960006517fb7c341220159c45760ca28c79c27c66551451c8ec14e000757f4d9a78c923e10d437351e38dbedaf0a1f3b11bbf5b87d80cb230fe
|
||||
EBUILD gnucash-docs-3.2-r2.ebuild 1354 BLAKE2B 45ad3d01b5efbaf275c683ac241588f905e2b2c9f160f6d19f3b52c1df4e07f1a85a74ac012165221eb346c6f9f1b043b938ef7732831da68d7be92baa9ba8d4 SHA512 d27c795a9aabc2144683876e041fbfa7b611c61816b088c6684b690ca6b6c1ff3960a172d20e44b3d00c464a70a2231cd56ec4c1866717d664b141c7840dd49e
|
||||
EBUILD gnucash-docs-3.3-r1.ebuild 1355 BLAKE2B 673215f9ae0afe85d5ef6a1e4ae3e8ed48c938c0f7c464c47c554f1b1f7b9a70c2932ceb0a687610b1da1ab8329d7f565760d70a91055a69838b3a4f43327fa1 SHA512 c073fa70f59f709a5781744ffedf828001714a7e2d45700b1c0dec73378972616b181065012213db0115214145a1df0fa40f0fc9394942bb68cedee559dc5a7b
|
||||
EBUILD gnucash-docs-3.4-r1.ebuild 1356 BLAKE2B 9418701034637736617770b10ec22fd43fdfc1279bbcb84b6133e9d771bff7549ebaa8952ce3c711ee60591459a9fd55b9c846517663fe4e7bd9a3dc5c238129 SHA512 a9d616b073c443507d4bfbf59dfbaf56606f54e66f36bc9f4fec69b16303b89d22deb3d876f98d004f05dacf3b42ed54e91a9725990e59b1b3178674f22cc43a
|
||||
EBUILD gnucash-docs-3.5-r1.ebuild 1354 BLAKE2B 45ad3d01b5efbaf275c683ac241588f905e2b2c9f160f6d19f3b52c1df4e07f1a85a74ac012165221eb346c6f9f1b043b938ef7732831da68d7be92baa9ba8d4 SHA512 d27c795a9aabc2144683876e041fbfa7b611c61816b088c6684b690ca6b6c1ff3960a172d20e44b3d00c464a70a2231cd56ec4c1866717d664b141c7840dd49e
|
||||
EBUILD gnucash-docs-3.6-r1.ebuild 1356 BLAKE2B 9418701034637736617770b10ec22fd43fdfc1279bbcb84b6133e9d771bff7549ebaa8952ce3c711ee60591459a9fd55b9c846517663fe4e7bd9a3dc5c238129 SHA512 a9d616b073c443507d4bfbf59dfbaf56606f54e66f36bc9f4fec69b16303b89d22deb3d876f98d004f05dacf3b42ed54e91a9725990e59b1b3178674f22cc43a
|
||||
EBUILD gnucash-docs-3.7.ebuild 1356 BLAKE2B 9418701034637736617770b10ec22fd43fdfc1279bbcb84b6133e9d771bff7549ebaa8952ce3c711ee60591459a9fd55b9c846517663fe4e7bd9a3dc5c238129 SHA512 a9d616b073c443507d4bfbf59dfbaf56606f54e66f36bc9f4fec69b16303b89d22deb3d876f98d004f05dacf3b42ed54e91a9725990e59b1b3178674f22cc43a
|
||||
EBUILD gnucash-docs-3.8b.ebuild 1354 BLAKE2B 45ad3d01b5efbaf275c683ac241588f905e2b2c9f160f6d19f3b52c1df4e07f1a85a74ac012165221eb346c6f9f1b043b938ef7732831da68d7be92baa9ba8d4 SHA512 d27c795a9aabc2144683876e041fbfa7b611c61816b088c6684b690ca6b6c1ff3960a172d20e44b3d00c464a70a2231cd56ec4c1866717d664b141c7840dd49e
|
||||
MISC metadata.xml 330 BLAKE2B 17393892e962f0d868534c6908a6f6f09c4237cfdf81530b81e572f0fdac64495378d545ca214afc451a6323b97c71328aa1c6a8eda81773cb1d77c358e11bd1 SHA512 fa496247f2026343323b8ff8664fb8018316ebcbf14b88b1c99a649805cefe962d773c4d2aa35b266db2942b78d1fc450f200dc065fac48ebfb2113b5d6e8a98
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
LOCALES=( de it ja pt ru )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
AUX 0001-libs-enforce-static-linking-of-internal-libs.patch 2648 BLAKE2B e4293669e6744dab5d3eec08fbedc4b99474d74a54bbcaf5765f66e5360006b0ed48c0f3eb8dd1cf255a2f12740401a4cd2e57d886d71aa075b6830f1931b022 SHA512 f654f6df58ae04361efa8957c492c076e340623e8634dc95aae2a016f59d74f88b9fdfbf6b97197344c7d5767e33c79f0cee197fbc6bb383b14b494c2ba9c877
|
||||
AUX 0002-settings-disable-checking-for-updates-by-default.patch 1080 BLAKE2B 07b40bdd13fe6e7a4efa24a17a1b734be50ec8e289c74278ae3f718c05388a4b36b064922798c4ec2e4f69e9dd49f3cd24d39c98adb0274914b28fcd42016a36 SHA512 bd5e7369bc5878df9c6dff093d710e73b8ed1a4e2c3a6927a26f5fbf97725fd695a90f197bf46d229b38a16c40e19308f8e058fd9819177c62cd7fbaae7e370d
|
||||
DIST zeal-0.4.0.tar.gz 1049326 BLAKE2B b3007dad0ed280954b05464bc107fa51c603d79607acd42ab85bc745d0590bdaed740edac75dac91e0d0da34b5966eb96815e8250a3b68041cb5a8e0389676fc SHA512 fd1e7cd71469e40914b713c10057b3f3d1d2ae9808d296ca01ceb43941b6e7d6754a4f21edf43a594b1c3ebcab20728812db1bdffda6bc78ee49a1d4faaf9627
|
||||
DIST zeal-0.6.0.tar.gz 1062223 BLAKE2B 691525380dcefa03a1ed94cf0651f16e4e630aef820beed612a4412d8cdef39de25d2cacb84a76b5f7d03b9c3833fbcd60e463722bd7f9c3e147e5e72037211c SHA512 453841cdbab405a6c3842818b0d18b93d3ee8ad299386c25f63986e04674dbd437665e1913a03f0d94944004a619ea18d218de969c487e68e06a205e0edc1d3a
|
||||
DIST zeal-0.6.1.tar.gz 1063963 BLAKE2B 72f38aac8275cea8da214962b568ff3f634c6c8499a73f506a6b63d947f87bb0b13bf6a0821d7803ccf09689744a79ebf8659ebe1d6ae07863662cb6a017c5ee SHA512 5b1a129980000c0fc8516e2c7d6c4a8de4adde7054ff8d9635e3be35441ad3ef0539746bbe1ca8abce7e6fb3d20c825b57661c3f8cd059ef1480db65ff81f3d9
|
||||
EBUILD zeal-0.4.0.ebuild 972 BLAKE2B a0b722a1b8363dc232f391a1668296ae1eacd2a16fd2c71b2b7bb8d7a132761154df6db50ec5f8584ff625fde4e13b7e115ec85964e1fa18e6f1d2ec0b2897af SHA512 eb7359929d6cb99447648798a1c9173f5f8f542fb6dd34d625eba37183e9abdbcf275a73eec8f6ad9d6e2451cdbc68de9928f67150646e82edad13cc608df6da
|
||||
EBUILD zeal-0.6.0.ebuild 878 BLAKE2B 20ed7fe613344d7a610293d79ed1eeb2f794ebacc7dcedd9528e30e71daa352522bcb6fd7bd9c7dc0dacc279768ae3b26b9ae04965b160e7144ebed39274f70d SHA512 fdad30af08e4582138d4700d8dfdc1a1ea45d7ae5bad0108b1af41498198322115b61d724d043c7cbb01dc70f71cdb456c57022e65184cea64dae71af2631ea8
|
||||
EBUILD zeal-0.6.1.ebuild 1073 BLAKE2B b6128e325734c7cec4e6c7b553aab921d42092b18cbf341d30d8031cbcd9f28437c569f984847ec1c20e869b06fb4db64065de07fb36f6df50a84b20ef59fc0c SHA512 6b13b60ed2de52923012bcd186ad945781c1c6cf277aeb442f086995989c0f4112bf032ec8b2ac5dff9e2506346bf8e820650a5cb4f43e0aee640e7620de8c8f
|
||||
MISC metadata.xml 343 BLAKE2B eb010ce88edcf15d87348b5170ca84d46d96d975ff459b4467428af5b75a95bc9e6c6d1245119907b5833f9a2ad2060adf41ba9aa884a5b846c1441241eaf8ba SHA512 a51b0043a255567189cb7ba1247cd6e9427292e7dbb3bc4f33d6c00acb3bf158bce6a7db1262275899b2b55806cfcb71e53a365aa25f05e259d497d5f028074f
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils qmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Offline documentation browser inspired by Dash"
|
||||
HOMEPAGE="https://zealdocs.org/"
|
||||
SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/libarchive
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
>=x11-libs/xcb-util-keysyms-0.3.9
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils cmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Offline documentation browser inspired by Dash"
|
||||
HOMEPAGE="https://zealdocs.org/"
|
||||
SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/libarchive
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/extra-cmake-modules:5
|
||||
>=x11-libs/xcb-util-keysyms-0.3.9
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,9 +1,4 @@
|
||||
AUX qhexedit2-0.8.4-fixtest.patch 479 BLAKE2B 1359815f0c072a4f8a036b8168796e22f8522c5e311220d6dd76b12df5c138693582f26a9d09ab33ca5e10a1e9d8dd6bb7b668d6bee09785b163dee6048a39af SHA512 6f72dc45c91da43a27bb66f7a81f33f810eef45711e6d84675bf761dda3a296aca7931e955526504c53a173a6ef65ef4712f378f8d4a1fbdd2437829aa2f49e6
|
||||
AUX qhexedit2-0.8.4-setup.py.patch 596 BLAKE2B 15a801d87d9f690aa354162cb4966b1b691da95f7d64926f1b2ab66bd7d1db29b208cfab0f0bbe0f8fb272d67328f1a5ffd84ceb9d7af3d457ed6cd2a7d27ec0 SHA512 2cabb09c9c6e819a43d434a813ce9eb9614c72a3687758a35f338067d9e02add657ed1feee614486c9dbcbca823a848aedc69f9ab42aabd9ebe414b645b0d67e
|
||||
DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b9aaaa08bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff
|
||||
DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8
|
||||
DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d
|
||||
EBUILD qhexedit2-0.8.4.ebuild 1811 BLAKE2B d11fbd32ead08ad9590438bc2bebbcfee2df2be302a4cdc85fc47f0ff6a54b922cff1a5f2e5ed93eddea36750cce42c419ab959a0d21eed8123003fa1aa441f7 SHA512 9ed9080678cc5bd62c25c250bf62d151faf017871eb42041ddb5563bf2a2f9e89fdb5f67b08ebbab5586d3d635d5e1d7f93cb618d271ab9fe8e579e6d04a02dc
|
||||
EBUILD qhexedit2-0.8.4_p20170719.ebuild 1905 BLAKE2B c9f18cdea8959f5817154daf3fbe42e7b72c66246fa3158a8d5f8693a3ac7234fddaf337cc381e9da3ab31767b0e6798d184ec1cea1f79552ea4b03cfaf51078 SHA512 cdc702920e36f4f5b6ad145d40e166d140fe43f2745203b2442ee6d9ae37c36b1fccd58246596bde625ee22607fcfcd9046cb029ff9d60a74e6c07ca6c67ef58
|
||||
EBUILD qhexedit2-0.8.6_p20190316.ebuild 1868 BLAKE2B 6fd39f94f8a4d10f873548a66aac1095282a24ff3f21bd3350e590e9d3a5aa2e072418698862f56af77ea854cde02abd6a38f3047cc1f5ef3ec4a4f4f69016c7 SHA512 6db0ecc19a0255d17585233a144470941bbc6b4e9988fb36a3547fad95c7f333bf2bf04ef09292c17fe28f29cd9c79b5e69e9b3876f8640a438d37f9f69d0b08
|
||||
MISC metadata.xml 991 BLAKE2B 7faabbd43f1bdebee332845029ceef0824e380b70b7abe2adc9840391bba736941851433d58324886d4821f55ac83c67ff604b32d648acfd4c7e420662c5e155 SHA512 b079492a11df201b941d91991aef6161971ef15f80e7ca3ea71df2a0dbf2f193bc2514502e179321c7f688eb4f129401775bca9d9b657e3eec45e13c4c0948bb
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- qhexedit2-0.8.4/test/testchunks.cpp- 2017-01-17 02:32:54.000000000 +0300
|
||||
+++ qhexedit2-0.8.4/test/testchunks.cpp 2018-01-03 21:34:24.988555308 +0300
|
||||
@@ -1,8 +1,7 @@
|
||||
#include "testchunks.h"
|
||||
#include <cstdlib>
|
||||
|
||||
-
|
||||
-TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile)
|
||||
+TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile): _chunks(nullptr)
|
||||
{
|
||||
char hex[] = "0123456789abcdef";
|
||||
srand(0);
|
@ -1,83 +0,0 @@
|
||||
# Copyright 2017-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit distutils-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings"
|
||||
HOMEPAGE="https://github.com/lancos/qhexedit2/"
|
||||
SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +gui python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fixtest.patch"
|
||||
"${FILESDIR}/${P}-setup.py.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
python? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \
|
||||
-e "\$aINSTALLS += target" src/qhexedit.pro \
|
||||
|| die "src/qhexedit.pro: sed failed"
|
||||
use python && distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 src/qhexedit.pro
|
||||
if use gui; then
|
||||
cd example || die "can't cd example"
|
||||
eqmake5 qhexedit.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use python && distutils-r1_src_compile
|
||||
if use gui; then
|
||||
cd example || die "can't cd example"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
use python && distutils-r1_python_compile build_ext --library-dirs="${S}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test || die "can't cd test"
|
||||
mkdir logs || die "can't create logs dir"
|
||||
eqmake5 chunks.pro
|
||||
emake
|
||||
./chunks || die "test run failed"
|
||||
grep -q "^NOK" logs/Summary.log && die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
use python && distutils-r1_src_install
|
||||
use gui && dobin example/qhexedit
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
dodoc doc/release.txt
|
||||
fi
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit distutils-r1 qmake-utils
|
||||
|
||||
EGIT_COMMIT="5f3ca79dbe8c765b685636a1751d242a6bfabb7d"
|
||||
DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings"
|
||||
HOMEPAGE="https://github.com/lancos/qhexedit2/"
|
||||
SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +gui python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.8.4-fixtest.patch"
|
||||
"${FILESDIR}/${PN}-0.8.4-setup.py.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
python? (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \
|
||||
-e "\$aINSTALLS += target" src/qhexedit.pro \
|
||||
|| die "src/qhexedit.pro: sed failed"
|
||||
use python && distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 src/qhexedit.pro
|
||||
if use gui; then
|
||||
cd example || die "can't cd example"
|
||||
eqmake5 qhexedit.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use python && distutils-r1_src_compile
|
||||
use gui && emake -C example
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
use python && distutils-r1_python_compile build_ext --library-dirs="${S}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test || die "can't cd test"
|
||||
mkdir logs || die "can't create logs dir"
|
||||
eqmake5 chunks.pro
|
||||
emake
|
||||
./chunks || die "test run failed"
|
||||
grep -q "^NOK" logs/Summary.log && die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
doheader src/*.h
|
||||
use python && distutils-r1_src_install
|
||||
use gui && dobin example/qhexedit
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
dodoc doc/release.txt
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
AUX examiner-0.5-perl.patch 797 BLAKE2B 1971adb970bee9f15d55190af38a4be37bf07a54121d042134d6e14212a07bcaae9cdf41c959e9af10aafc053669270ca5d7cdcd43fb60c7234ca6df86ffd0a6 SHA512 2d96b8241e3b39d845a5a0a1631664067d95abb13bfca6f4a2a0cbf083a38e3b2a0b4b3fdb626dc4c462e0391b8e5734fc812e817c2b0d233416ae71048dd7b4
|
||||
DIST examiner-0.5.tar.gz 34286 BLAKE2B e3dff787385896379bef21101797ae8f95ef060d2533ef5582d77fa4624984048986785debc894423dd8a2b81d3130870df0cf69f581fe3a8b30b2dccb2a78df SHA512 d10866f654e19e1c69e28488e39828026af65201fadb56cbed01a7fbab51069fe93476c6108927d042322ac8d15bb249f911acc412aad94985b4030c6c7e6d6b
|
||||
EBUILD examiner-0.5-r2.ebuild 874 BLAKE2B 12b895fa9c0767f602fd5232ba9ab69b8b2363fff109dd4ee8a3e7cab4b3282efeb937b6f6b80db4cd4bf311fe1c6432be936400d1d5e90357084d4753876624 SHA512 7c6cfc6cdde4f51679e63051e605f0f95047480a10c1cf1e6b4e385e57be9ab36657bb4574b1276933b3f22bf56a33a0e54ba9d84654fe5d2229598e7a18ebae
|
||||
EBUILD examiner-0.5-r3.ebuild 851 BLAKE2B 85a76564ad451c3eab75a9b843cd9c86d93592162fe168162c87cd1c50aca6057572aa6ddd5a5476abb022ad951f5471c9e2339c96311db2a55c11079ce563d8 SHA512 e1af720e7610d7ce8e45a36946845e815880e31a9c999fba55fdf37992a4957a3eadcf7f4fd292d5b357ce4c17720002a3f47a04642bfdb269726b4cc8da3103
|
||||
EBUILD examiner-0.5-r3.ebuild 848 BLAKE2B 6e5b7d57ef318f54913495939e0f00b24200f9939923074ce178b8cba3a90d503e8354024c0c01fd04649e8e62d46d1e32fa8783c1f9165279bbfa4340ea642c SHA512 af796d7f360a27fde8a9ccee1d78fee4e5ba10cd508ed6626f47efdd322e48510eb9ff61fed1f4ec30ad1f0963545e7b3b3856258be1691273eccf0a0cb476fd
|
||||
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Utilizes the objdump command to disassemble and comment foreign binaries"
|
||||
HOMEPAGE="http://www.academicunderground.org/examiner/"
|
||||
SRC_URI="http://www.academicunderground.org/examiner/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
# Do not install docs through Makefile wrt bug #241256
|
||||
sed -i -e '/$(DOC)/d' Makefile || die 'sed failed'
|
||||
epatch "${FILESDIR}"/${P}-perl.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/${PN} /usr/share/man/man1
|
||||
|
||||
emake \
|
||||
MAN="${D}/usr/share/man/man1" \
|
||||
BIN="${D}/usr/bin" \
|
||||
SHARE="${D}/usr/share/examiner" \
|
||||
install
|
||||
|
||||
dodoc docs/{README*,BUGS,CHANGELOG,TODO,TUTORIAL}
|
||||
dodoc -r utils
|
||||
}
|
Binary file not shown.
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Dell Inspiron and Latitude utilities"
|
||||
HOMEPAGE="http://packages.debian.org/sid/i8kutils"
|
||||
SRC_URI="mirror://debian/pool/main/i/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="examples tk"
|
||||
|
||||
DEPEND="tk? ( dev-lang/tk )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.i8kutils )
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/^CC/d' \
|
||||
-e '/^CFLAGS/d' \
|
||||
-e 's: -g : $(LDFLAGS) :g' \
|
||||
-i Makefile || die
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin i8kbuttons i8kctl
|
||||
doman i8kbuttons.1 i8kctl.1
|
||||
dosym /usr/bin/i8kctl /usr/bin/i8kfan
|
||||
|
||||
use examples && dodoc -r examples
|
||||
|
||||
newinitd "${FILESDIR}"/i8k.init-r1 i8k
|
||||
newconfd "${FILESDIR}"/i8k.conf i8k
|
||||
|
||||
if use tk; then
|
||||
dobin i8kmon
|
||||
doman i8kmon.1
|
||||
dodoc i8kmon.conf
|
||||
systemd_dounit "${FILESDIR}"/i8kmon.service
|
||||
else
|
||||
cat >> "${ED}"/etc/conf.d/i8k <<- EOF
|
||||
# i8kmon disabled because the package was installed without USE=tk
|
||||
NOMON=1
|
||||
EOF
|
||||
fi
|
||||
|
||||
}
|
Binary file not shown.
@ -1,8 +1,5 @@
|
||||
AUX qlcplus-4.11.1-qt-5.11.patch 7589 BLAKE2B 30aeafe90d1013fabe5d2f059ad483a3ddef64edeb691bf7a21b818b946cdbe028d52e4a13e29b0c0c571504dc0cac215e93584bf5a71f6ccfbdd807a16faf3d SHA512 e9b1b160463356a7a9c7768a55435a50a9c7081b342807bdd83282bc500a186f81420402db321463bb2e2ad29db95c3b8b33a7621aa481e34668420c85213636
|
||||
DIST QLC+_4.12.2.tar.gz 10804401 BLAKE2B 95b005985da99d1d1f557b4ac5d6ae7d844ea4f69a7cfa63d79b288ce654b5a70f9e6168f6fd4144496d3cff59a721972acd3ba47fd1477ab4bfd0218f5aeeda SHA512 b274f0559ce15e045d653f4c034dc083922a13c6f9c5e7ba11026b3be9bb85fe447bb489d536dd24bb99bd4b08433f24f1713b73701afff99fa845fcef2547af
|
||||
DIST QLC+_5.0.0_alpha3.tar.gz 10016411 BLAKE2B 51c0885f6e2e286f9f63830bcd269db699946c0969cb0f0a0139f82a421a9a4957ab07612db7aa047fe6650a642479282f6cfe0d124a41a935dd853d09b7253f SHA512 e703747aa243bc4c6b2e9fc3cf1a4e67524fa13fa64a59054e66164e879073b1bd69756a42bb423ff05dcb7da946cbcd99bb9edc3fde9a70d75b8a9f164a71d0
|
||||
DIST qlcplus-4.11.1.tar.gz 9394093 BLAKE2B 0b91359217b723ed184f6a609ee0ef0a39f5f08aa8933abc7a3c429e4d5a3b2d1dc8ef454c00a172bc0e7b8f7fb0779d7fbba96ed5fafe403853f2a3bb8ce7b8 SHA512 14efdbe5cd53da592a58b48efb1daf7dda2a4e19d7d20792d34674af2aa1b9c287cfd58673db7838885642bb2ebfaf9b462be41d33f8d89497cb61dfab7246df
|
||||
EBUILD qlcplus-4.11.1.ebuild 1379 BLAKE2B 478a6065fde336dbd48725ec7a2c2dec1234dcc967ce8609bff6142c40c33c375a8895efc4583229de103f079bf4e12a5b1670e9fd4e0871ebc3c303cec6cd1c SHA512 4d94cb437c955f2b9531775a1afd63c918b7fc1115a10b0771b43b607de5603945a12ca15d4c326a1ce50c391f33078d09ff1f373e7800f81d79c7497c62859f
|
||||
EBUILD qlcplus-4.12.2.ebuild 1217 BLAKE2B bd8c0c256e255ff88eed2f6f9e9f5d9f6af0011f1a5b540f254e8b068dcc7246cc8b08ef8e5ef12b7bfd4f2d9275929701f6dbff946aa37e888f2c4bdf4d45ab SHA512 f31e8a8572b0a6bb49576aed423449e33d6ea8bda937cbee4f4456202eb5b5b96e26d21a061c925f04f8e2364119827bd707ba7a8bd3215c6c7b86375e523e3f
|
||||
EBUILD qlcplus-5.0.0_alpha3.ebuild 1509 BLAKE2B 4c3267f85207c1f763ad5c4d7be46df95845e5a30b6769df7dbafe0e9f65b80c4fdb75f3435ea5296934c3b355a79680c6dcdafb90ace5791d5c17b1a6cacfe8 SHA512 06284d1b8f216915031a6974de5070b0a266a1e3cc9ca80399bf377fa8bbb744d593d9427760dc614dccd64253a4d2474aff8cd9ae6b2d587b88a6e2fca30231
|
||||
MISC metadata.xml 455 BLAKE2B eb880143c2d81895284171757362efbbf7a7cf53b5e4802d45ee5a6032d6be87ac609c0d4b2e2e0f5a2b7da407ef425ca5e00f2f8d5acce281725fc2e71e988b SHA512 98b45a554c331f71371178ffd02eca17bb6ff4e3477534538223d5478fe49d8594e35c3986c27aaa17f0a413a0ddde4f07cc586ffdbd94842884c428379b9339
|
||||
|
@ -1,243 +0,0 @@
|
||||
From f8be095c95831ae6ffc8426a94901197c0dacc38 Mon Sep 17 00:00:00 2001
|
||||
From: Jano Svitok <jan.svitok@gmail.com>
|
||||
Date: Mon, 9 Apr 2018 23:54:50 +0200
|
||||
Subject: [PATCH] Fix compilation with QT 5.11.0 beta2
|
||||
|
||||
---
|
||||
fixtureeditor/capabilitywizard.cpp | 1 +
|
||||
fixtureeditor/editchannel.cpp | 1 +
|
||||
fixtureeditor/edithead.cpp | 1 +
|
||||
fixtureeditor/editmode.cpp | 1 +
|
||||
ui/src/aboutbox.cpp | 1 +
|
||||
ui/src/addfixture.cpp | 1 +
|
||||
ui/src/chasereditor.cpp | 1 +
|
||||
ui/src/fixtureselection.cpp | 1 +
|
||||
ui/src/functionwizard.cpp | 1 +
|
||||
ui/src/inputchanneleditor.cpp | 1 +
|
||||
ui/src/selectinputchannel.cpp | 1 +
|
||||
ui/src/virtualconsole/addvcbuttonmatrix.cpp | 1 +
|
||||
ui/src/virtualconsole/addvcslidermatrix.cpp | 1 +
|
||||
ui/src/virtualconsole/vcbuttonproperties.cpp | 1 +
|
||||
ui/src/virtualconsole/vccuelistproperties.cpp | 2 ++
|
||||
ui/src/virtualconsole/vcpropertieseditor.cpp | 1 +
|
||||
ui/src/virtualconsole/vcsliderproperties.cpp | 1 +
|
||||
ui/src/virtualconsole/vcxypadproperties.cpp | 1 +
|
||||
18 files changed, 19 insertions(+)
|
||||
|
||||
diff --git a/fixtureeditor/capabilitywizard.cpp b/fixtureeditor/capabilitywizard.cpp
|
||||
index d77c30fe1..ddb4c5b26 100644
|
||||
--- a/fixtureeditor/capabilitywizard.cpp
|
||||
+++ b/fixtureeditor/capabilitywizard.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QTextEdit>
|
||||
#include <QSpinBox>
|
||||
#include <QDialog>
|
||||
+#include <QAction>
|
||||
|
||||
#include "capabilitywizard.h"
|
||||
#include "qlccapability.h"
|
||||
diff --git a/fixtureeditor/editchannel.cpp b/fixtureeditor/editchannel.cpp
|
||||
index c44097783..9278c31b6 100644
|
||||
--- a/fixtureeditor/editchannel.cpp
|
||||
+++ b/fixtureeditor/editchannel.cpp
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <QPainter>
|
||||
#include <QPoint>
|
||||
#include <QSize>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlccapability.h"
|
||||
#include "qlcconfig.h"
|
||||
diff --git a/fixtureeditor/edithead.cpp b/fixtureeditor/edithead.cpp
|
||||
index a95ecf726..68025b70d 100644
|
||||
--- a/fixtureeditor/edithead.cpp
|
||||
+++ b/fixtureeditor/edithead.cpp
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QTreeWidget>
|
||||
#include <QDebug>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcfixturehead.h"
|
||||
#include "qlcfixturemode.h"
|
||||
diff --git a/fixtureeditor/editmode.cpp b/fixtureeditor/editmode.cpp
|
||||
index 440ab4956..5b8b1884f 100644
|
||||
--- a/fixtureeditor/editmode.cpp
|
||||
+++ b/fixtureeditor/editmode.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <QPoint>
|
||||
#include <QDebug>
|
||||
#include <QSize>
|
||||
+#include <QAction>
|
||||
|
||||
#include "addchannelsdialog.h"
|
||||
#include "qlcfixturemode.h"
|
||||
diff --git a/ui/src/aboutbox.cpp b/ui/src/aboutbox.cpp
|
||||
index 68ece2d54..9296e566b 100644
|
||||
--- a/ui/src/aboutbox.cpp
|
||||
+++ b/ui/src/aboutbox.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <QTimer>
|
||||
#include <QDesktopServices>
|
||||
#include <QUrl>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcconfig.h"
|
||||
#include "aboutbox.h"
|
||||
diff --git a/ui/src/addfixture.cpp b/ui/src/addfixture.cpp
|
||||
index dad12f4e6..ae6bc0efc 100644
|
||||
--- a/ui/src/addfixture.cpp
|
||||
+++ b/ui/src/addfixture.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <QSpinBox>
|
||||
#include <QLabel>
|
||||
#include <QDebug>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcfixturedefcache.h"
|
||||
#include "qlcfixturemode.h"
|
||||
diff --git a/ui/src/chasereditor.cpp b/ui/src/chasereditor.cpp
|
||||
index bd949dcf2..246b71606 100644
|
||||
--- a/ui/src/chasereditor.cpp
|
||||
+++ b/ui/src/chasereditor.cpp
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <QSettings>
|
||||
#include <QDebug>
|
||||
#include <QUrl>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcfixturedef.h"
|
||||
#include "qlcmacros.h"
|
||||
diff --git a/ui/src/fixtureselection.cpp b/ui/src/fixtureselection.cpp
|
||||
index 0954a00a1..30851fa21 100644
|
||||
--- a/ui/src/fixtureselection.cpp
|
||||
+++ b/ui/src/fixtureselection.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QTreeWidget>
|
||||
#include <QHeaderView>
|
||||
#include <QLabel>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcfixturedef.h"
|
||||
|
||||
diff --git a/ui/src/functionwizard.cpp b/ui/src/functionwizard.cpp
|
||||
index 00e7d5a4c..815b20e4c 100644
|
||||
--- a/ui/src/functionwizard.cpp
|
||||
+++ b/ui/src/functionwizard.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QString>
|
||||
#include <QDebug>
|
||||
#include <QHash>
|
||||
+#include <QAction>
|
||||
|
||||
#include "palettegenerator.h"
|
||||
#include "fixtureselection.h"
|
||||
diff --git a/ui/src/inputchanneleditor.cpp b/ui/src/inputchanneleditor.cpp
|
||||
index 6ad638c1f..69b9ca2ae 100644
|
||||
--- a/ui/src/inputchanneleditor.cpp
|
||||
+++ b/ui/src/inputchanneleditor.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QComboBox>
|
||||
#include <QSpinBox>
|
||||
#include <QIcon>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcchannel.h"
|
||||
#include "qlcinputprofile.h"
|
||||
diff --git a/ui/src/selectinputchannel.cpp b/ui/src/selectinputchannel.cpp
|
||||
index c07c617fe..72006f2ca 100644
|
||||
--- a/ui/src/selectinputchannel.cpp
|
||||
+++ b/ui/src/selectinputchannel.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QTreeWidget>
|
||||
#include <QDebug>
|
||||
+#include <QAction>
|
||||
|
||||
#include "selectinputchannel.h"
|
||||
#include "qlcinputchannel.h"
|
||||
diff --git a/ui/src/virtualconsole/addvcbuttonmatrix.cpp b/ui/src/virtualconsole/addvcbuttonmatrix.cpp
|
||||
index 7ad7160e8..09523bd04 100644
|
||||
--- a/ui/src/virtualconsole/addvcbuttonmatrix.cpp
|
||||
+++ b/ui/src/virtualconsole/addvcbuttonmatrix.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <QSettings>
|
||||
#include <QDebug>
|
||||
+#include <QAction>
|
||||
|
||||
#include "addvcbuttonmatrix.h"
|
||||
#include "functionselection.h"
|
||||
diff --git a/ui/src/virtualconsole/addvcslidermatrix.cpp b/ui/src/virtualconsole/addvcslidermatrix.cpp
|
||||
index 63aa9dcce..cd80b3fe3 100644
|
||||
--- a/ui/src/virtualconsole/addvcslidermatrix.cpp
|
||||
+++ b/ui/src/virtualconsole/addvcslidermatrix.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <QSettings>
|
||||
#include <QSpinBox>
|
||||
+#include <QAction>
|
||||
|
||||
#include "addvcslidermatrix.h"
|
||||
#include "vcpropertieseditor.h"
|
||||
diff --git a/ui/src/virtualconsole/vcbuttonproperties.cpp b/ui/src/virtualconsole/vcbuttonproperties.cpp
|
||||
index ef0bb24ee..8e6dbde72 100644
|
||||
--- a/ui/src/virtualconsole/vcbuttonproperties.cpp
|
||||
+++ b/ui/src/virtualconsole/vcbuttonproperties.cpp
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <QLineEdit>
|
||||
#include <QCheckBox>
|
||||
#include <QSpinBox>
|
||||
+#include <QAction>
|
||||
#include <qmath.h>
|
||||
|
||||
#include "qlcinputchannel.h"
|
||||
diff --git a/ui/src/virtualconsole/vccuelistproperties.cpp b/ui/src/virtualconsole/vccuelistproperties.cpp
|
||||
index efcb4dae8..d3a1b9118 100644
|
||||
--- a/ui/src/virtualconsole/vccuelistproperties.cpp
|
||||
+++ b/ui/src/virtualconsole/vccuelistproperties.cpp
|
||||
@@ -17,6 +17,8 @@
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
+#include <QAction>
|
||||
+
|
||||
#include "vccuelistproperties.h"
|
||||
#include "inputselectionwidget.h"
|
||||
#include "functionselection.h"
|
||||
diff --git a/ui/src/virtualconsole/vcpropertieseditor.cpp b/ui/src/virtualconsole/vcpropertieseditor.cpp
|
||||
index 11ea5cd7b..d1080b06b 100644
|
||||
--- a/ui/src/virtualconsole/vcpropertieseditor.cpp
|
||||
+++ b/ui/src/virtualconsole/vcpropertieseditor.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QSettings>
|
||||
#include <QCheckBox>
|
||||
#include <QSpinBox>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcinputprofile.h"
|
||||
#include "qlcinputchannel.h"
|
||||
diff --git a/ui/src/virtualconsole/vcsliderproperties.cpp b/ui/src/virtualconsole/vcsliderproperties.cpp
|
||||
index ff55b71b8..01fd60e9a 100644
|
||||
--- a/ui/src/virtualconsole/vcsliderproperties.cpp
|
||||
+++ b/ui/src/virtualconsole/vcsliderproperties.cpp
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <QLineEdit>
|
||||
#include <QSpinBox>
|
||||
#include <QLabel>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlccapability.h"
|
||||
#include "qlcchannel.h"
|
||||
diff --git a/ui/src/virtualconsole/vcxypadproperties.cpp b/ui/src/virtualconsole/vcxypadproperties.cpp
|
||||
index ed7ba7f64..60be83c49 100644
|
||||
--- a/ui/src/virtualconsole/vcxypadproperties.cpp
|
||||
+++ b/ui/src/virtualconsole/vcxypadproperties.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <QHeaderView>
|
||||
#include <QSettings>
|
||||
#include <QDebug>
|
||||
+#include <QAction>
|
||||
|
||||
#include "qlcfixturemode.h"
|
||||
#include "qlcinputchannel.h"
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils udev vcs-snapshot virtualx xdg
|
||||
|
||||
DESCRIPTION="A software to control DMX or analog lighting systems"
|
||||
HOMEPAGE="https://www.qlcplus.org/"
|
||||
SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5[widgets]
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/alsa-lib
|
||||
media-libs/libmad
|
||||
media-libs/libsndfile
|
||||
sci-libs/fftw:3.0
|
||||
virtual/libusb:0
|
||||
virtual/libusb:1
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
|
||||
plugins/hid/hid.pro \
|
||||
plugins/udmx/src/src.pro \
|
||||
plugins/dmxusb/src/src.pro \
|
||||
plugins/spi/spi.pro \
|
||||
plugins/peperoni/unix/unix.pro || die
|
||||
sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
|
||||
-i variables.pri || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
|
||||
# sandbox error "mkdir /usr/share/qlcplus"
|
||||
# see https://bugs.gentoo.org/621500#c2
|
||||
export INSTALL_ROOT="${D}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX socnetv-2.2-deps.patch 218 BLAKE2B 8f9900b1f9a6d6e9e4a116d3da75aa743d7a193dce8136582eabfa9c183209d4ead2fa782d7cefa5366eb98f1a5e29ac20c8f0b2350982856c05826130b63fc4 SHA512 30fa3fda847aee54452ebbbaea8ae2439dc99fd5b79bdd41517d12effaf2a8e1355257b00e80dabb40e1502a169a8b46bbb98af8ead5239731d35a75b847db03
|
||||
DIST SocNetV-2.2.tar.gz 745086 BLAKE2B 3b520df2bb29f1989f744ec7e424caecd722cf3f903cf494e0fba9c0e5c1def413411768f593a3f8c0eb3cc20d1071d54babbd76eb24aac9f6670b4f2623ceb7 SHA512 12f490fd1f7fc1a6b45f77d23d8825117def0b7720595cd203d171fd88c41d5a0194a70359f55cbe2dab9e545f300156b31bb0680e46d7ab584e070e128e457b
|
||||
EBUILD socnetv-2.2.ebuild 820 BLAKE2B 94f3edb120792ed47a24bf70b82ef0505ac1bbace4fd81e1e9598dab12a5e8756bf97b6fd40c5bfed5bac2fe0519d9b6d7f09ab1a8cd280e6ca4b385188b328f SHA512 0a441336e37567f1e1fa1311269067e7601a475c336186b5916dd39d387f1993667247c35abae9e9c673dab53451feb954c692d21fb3848fffa6b4bac4058158
|
||||
EBUILD socnetv-2.2.ebuild 774 BLAKE2B d85bb25ead5d9c6e31750b8c6dff9883ec1e3eff6a4413831e8a4319e719ca86691d9e38f377b17347dd00ec5989d3a2e6d4abfee0f28c0e1bce83d0272a1bfa SHA512 f2a3193ab0203b25bfe9f9f6c8f3afcbd79df1683aa5faf6bef58a49ea0612928ed204fde97d804c99aa5d2229467cbe00bab605b27f7a5d7b9c5d6c84e8e5cd
|
||||
MISC metadata.xml 788 BLAKE2B 6b43e5250ed70aeb8f600e3a8ff344ff547a803619b29294b7290b49cd38e8a96c9e7f4605d667536261028cac19f75f21a9691eabfcd883245c6a8bc5e9b3de SHA512 1054727f278eb6cbd492deac0fee36b79f9b34804956df0c6df0a16a25af3a626aacc0f3476b0cf0d3d8197973cddd4e589be4b70a17f534fbc80fd91bb1b2de
|
||||
|
Binary file not shown.
@ -1,24 +1,7 @@
|
||||
AUX gnucash-3.2-no-gui.patch 440 BLAKE2B 223d9527e0f290e73774b39ee25dae2c1740d4ed8b340d5d8cdfde74734ae30ebc391ca4ef8df6b162dd53cfd1b5ae3c7d5cd64446978a86969bb5fcc9ea6440 SHA512 628d38969abd7475f88ed9013d99691768abd11a751205092e04b92183551e0dce2e32f1212f66fde47e83730e1d26addbc47d990478e8a8968f9c9f0bc041bd
|
||||
AUX gnucash-3.4-test-stress-options.scm 14743 BLAKE2B f294001a1e888f72ca1fed616d62bd013d7b281ab1143e61ec61a595c2f0e51cfdfc1481a8a9992254fc430155e542138dfab284696ed7a6e0084bb3c81454f9 SHA512 3c8bc5c489c3de49ad940fb6dc99676d60fa0028f1014d2aaa519e8c6a76ceb7c91e2e97edc8e5e9b5c2f7d8a984f463f78ad3a10f49c4eb844e5d9e657b4030
|
||||
AUX gnucash-3.4-test-transaction.patch 1157 BLAKE2B 41e516e6cf6f29ea3c41b7dc464c38204b088575d7a9c66a355cf7e3eaaed0cfbfe8b7f30c816795ab84e4102e44475266119564c722ebd8f9401a6d462bec9f SHA512 fb4c578a35d85b12ecdf1a9b818225f410792e84f866573b7de97ce94890ddb22dcbf283baf1d0649a3f68ee83db9fb3aa0784ba9c4cec6b65d133d7e12793bf
|
||||
AUX gnucash-3.7-include-checksymbolexists.patch 394 BLAKE2B bc87d832f68f227eaf1dac3b351ed955eb4eddf36d1f17485bdd6fb437744662ed6ce0e82323ba46be16faf78182c7f56a70d27ce838978eabe23afc665baf36 SHA512 a53f80fd1f303b792e1974ad8aa3df159aa40cd235c853c21a346c8f9fe3c61782fda94a403061cd1eb9969c3dbbfdcea91fe62bb0d5a689f7f0fb6bdd45e3bc
|
||||
AUX gnucash-3.8-examples-subdir.patch 316 BLAKE2B 77779cebb75896e8d51981f5fc0cbc09aa51e83ea0823b1055d5e6bf9b420492f039e7e39985e405304819a46bbd178d10c2a55188e956c9b71b2c20842f947e SHA512 d4fc9a3e062ff25f65b82253c563c0d291d461b44d47f30c33a8041908a59fa23ce3e127b885690b1ec55d17222cac2c3679d49d962bb5be998f9611467e88f8
|
||||
AUX gnucash-3.8-exclude-license.patch 634 BLAKE2B d6b86102a4ced983684e75f4f4801b7da096923a65c7fca10f13e9da45adb70ac5c2c3c5af9151a14e6f1eb3a3711d6283840db232ee6113818e1f1b215be9dc SHA512 a9c43405226d2256c0b3c981e70a4fc79bd126c08089e68ac01edc86070a2936eaa3f77ac16bad94954addd2085ca0bf1c62bec3d31840559bbf213e1b530f2d
|
||||
DIST gnucash-3.2.tar.bz2 13383942 BLAKE2B ce4beb9eab290bbc85c4b3bf68b205a8ebb274056bf10ef1721bce48ec18e4df4b488ce885dc767b4f1e951dabcdc2ba702cb5fe239f249ec50c8d2d1d12a434 SHA512 ef74cbf396096a71316e14500a5b4e57670f9e9c0c5d46f3afe051ccbae2e46a5f14edd8dd805dfb61276b934db286d48ae044160699df82689e2718ed2f7573
|
||||
DIST gnucash-3.3.tar.bz2 13440713 BLAKE2B a308af90d8a8e50eb732d29c7eadac1fb75b63006da5bbaa9044039c43c1c17976c6b6fdb1706a08a527b75b1300df3a8ed469151370097b0308a173a170e41b SHA512 4bf0369ca9b3c91c98a0d916f0befc7e5675a246559a6a72dba6592b64f56f3cbd1885b0711e44e8d9cca290be742812763691ae2f639ea31ec534e52e17b3f9
|
||||
DIST gnucash-3.4.tar.bz2 13564432 BLAKE2B 478d8e2e4acbd0725ceaf997a1e62ba3875e9d4a003e8a3e69111a9d29118447fb2da8ef3e5dd5274d83a3adef1ee9f4a153cdfd17cabe69864b53bab8c7e813 SHA512 4cebef0ba70e59a82d3b2b7b0b138ddb22e8866dc761e156ff1f15920145d12923719effef21ad4c65ccd62fbd14a1529cf0bfcaab70c5b33d103761d08062e0
|
||||
DIST gnucash-3.5.tar.bz2 13766397 BLAKE2B b840fa6af719e1d21daabd8e26f7026a12ca9cefe8c0f644a8382b42c34a6dec2dfc67350645437c2f12792518f289f446824a8c99ea83453e69d976c3cd5c9c SHA512 76230d2fe1ba4cc605d0d58976ed3214b10a2549fc7eaa1e327bbf85c861baa082523c70ed088a59bb56deb6af9a7808752fc719eda0df3e9209cec05c9c8d13
|
||||
DIST gnucash-3.6.tar.bz2 13811045 BLAKE2B aa722755e168b6096a8ad0bb05d3c67be9525d5e9e6fcf076c0b6bdc3188815017c2b1bcb308a6f8a7581315f7d9ab67f85b24486214ebbe7ea5a0428e552ea7 SHA512 3d99235a6171e7189dbb15fed11e7f3acb4f49ef8dc6124b26807e74ce4326ac5ae6e23e693a34947604ecb0253ecbcd80f669803a629eb7d236fd3444dbfe82
|
||||
DIST gnucash-3.7.tar.bz2 13896595 BLAKE2B d0f0cc9d407677c8b09eab5c1613a0eec80bc54984aebd10915f2f2247ea30c26104cea57c87dd6e46ade9225c9df20c583da21de15f79d50509e63186b682fe SHA512 41275b8d6abba54e95c00d746a2d50305fb7a0490b5486af1472a5d50d2de5973d1ec4de98dd10991325062e61498de020496b59d8548b5a4de9db9d23dee159
|
||||
DIST gnucash-3.8b.tar.bz2 14285584 BLAKE2B 304d73b04883b61b8a4e174f458206769483ca0f6d28d284c760397e0bc4061dbdb379ff3cca35e80d6736516549a8733bf36895a11c2202fb9f8f25e591e1d9 SHA512 e0529934e9ccafbef2b724f5fca9a0e300c78cf21596f0dcd4b5c11ff300c06a963b68eff1efe00834dc488ced604b86011075bb22480488ddf31d2d4c94ddca
|
||||
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d
|
||||
EBUILD gnucash-3.2-r2.ebuild 3953 BLAKE2B 44c11659161f56cbd7a1627cf41fa1fc6cd14a593a80ef46a4e8237bb2f576687d24f694f7f4390dfab5273196fe0c418b4dbea692d7ac7c68bb0d905515dd33 SHA512 8ecb2613e1d807d3250e7c20db0c950986392c640b039cbb1c204fcf45dd2d3400978b6f3ad3db40b61435e06152352098b892efc37999913194a7719612cadf
|
||||
EBUILD gnucash-3.3-r1.ebuild 4079 BLAKE2B 6e1efbdf657be7d4e2330ef2280335e13ec9bb9909c933f356d910f2eeba290fad65387f144d8baab94815978c2193236b542192a59372b87b7f7963643f7d1d SHA512 fbb99a896649d8dce687ce35fe758b5bece71b8422cefd79a8a5c91ab859bc30eea9477361156b7e96305a7bba59b405136e7ddaec64a5d0a2bf76629177fbed
|
||||
EBUILD gnucash-3.3.ebuild 4021 BLAKE2B 540902434deeb19d5df9a7dc1caf9f1ccb6a8672be9d886bf12a9baf6c5288f0bb62daf92f95ab23f21736659fe041dcf1b5873c6fad2da0215aeec333f9cc96 SHA512 54ff093ed41794c3e55b784f26da292a9e2279a74c83d7f4609ec2b7ff8f64597658c23970a769fb5ad78c2eaad1d14eadaa2e1df053682f9b4ced7ddf5306c2
|
||||
EBUILD gnucash-3.4.ebuild 4343 BLAKE2B 4e107fc18bdf4c8a6f9cbd8505da89e0c9dfd272f2c2cabb601b2d68cfce7627b364ae4a2ceeae6ff15ef3e7368d119319f8f33697eb186444d8643a7608c4f3 SHA512 1d5e34d890d19ffc3124d9e6ae48038f9e9d4deefcb4fd6d115530c3f940738fd7894cd5edf864753adaa90896097b529dc129aa03cea9aa95d37312d3497eb0
|
||||
EBUILD gnucash-3.5.ebuild 4217 BLAKE2B b39b2ed2d34c57fcb48e62334ef7529c998f5df16e821b7a200440f752c428f1b3738706061d4d0f6a18a8d0c9499cf6ced8171deba91e6bcae174be18444524 SHA512 d2db11f9ce6dd6a39baf4eeda3ecc3ef97e5ecddf3cef2b5dbfca4ed82d91e0074d05745e919d6dbf6d405ac16bba3452e50bca20ae3b804d4b2bdedec6d93ba
|
||||
EBUILD gnucash-3.6.ebuild 4530 BLAKE2B c34168e4234c11d432137cc7f54fcf48e638bbcc864fe5391184a778f00af323d48a4606f614d3ca792acbfc9ca2f6d2e7a500741c4573cb0f82731f40640558 SHA512 603e4f00198c2d5996cd6d02f10d105d8a8ef9004fb584c2e1c3457c28c704629f9440eeb7fc267ebe8880695f87d00c166830dc59be20baeac154a041387b07
|
||||
EBUILD gnucash-3.7.ebuild 5172 BLAKE2B 1141dd2989b112d6c9299728776e6bad3b31462ba9067ee93676e6c15fe561da6199184a2c832dac285c50445a0491e2493f8e77a742f70520f15be5bc6ca55c SHA512 a2c3cdc939911484471f2d28ade547673a6106574e2fb45910cb9b7c3b311b1cae75d7e6cebb5bd4587c4727d98ef3c66e56b5fb2b62f2bf066ae4f819165eea
|
||||
EBUILD gnucash-3.8b-r1.ebuild 4990 BLAKE2B 7b7770b70f859016731a4e4f86ef50428b03a035d299c2fcde92fe14334725ac1d75025bc112c6878088311b4a8417552c07eb8603406fc1596738f1cc5a99eb SHA512 92d6a36a0a8bf6c498bb8e670c6bafcd24f1d18637310a6bce8afb0338073c320d28786eef703e1388c01139ea94af02f3d74f55cc1a87db4f3a6015644a1cab
|
||||
EBUILD gnucash-3.8b.ebuild 4885 BLAKE2B ccf9b8ce5d1a7bfacaf2100fec3ed8bfc866736860b05e66241758f8c9ead88ec89ba3ad5ed5227cd6ac81277bd7f9278f674faddf7dd74413ccb6995861e83c SHA512 ad13bf23ed4d1988c3eca3a10d1f7317f9fa92b0692a3e91185100f92dee9422091a0e9971626c7938c66730024fe2f4d9210c51b0442e48da4f736935f51a58
|
||||
MISC metadata.xml 652 BLAKE2B 2296dc67bece0a0dd284a52e7b241a408a947f778147750a9c18f98c4240e29dc94b6ca5a804a069c48b3daf86c2605d2642936ce0eaee93d49086207f873ba2 SHA512 309f75748b1063fa0a8a8d05f0db0fa243f775d289c3d8faaee46dd3ba6425ffd3f8faa35acf49d2748494dc04840ba77b438fd9da73825981f4d81641c5f4cc
|
||||
MISC metadata.xml 562 BLAKE2B 07fb70bae76794f49e852dc2840b13b811e3e8b28cd1f504d693662e6530591d337f993248fd80868c08b2c1cb9a648c7fcf8f964e74eeef70c5815946edad64 SHA512 659ded7048ced517f06d94952df08694ae5d2775aec8bb9adaf658d5151048ec1b612d6bf54af664a44b5510406b4ed02809ee0c150159eb6c2652186589c4a2
|
||||
|
@ -1,315 +0,0 @@
|
||||
(use-modules (ice-9 textual-ports))
|
||||
(use-modules (ice-9 popen))
|
||||
(use-modules (gnucash utilities))
|
||||
(use-modules (gnucash gnc-module))
|
||||
(gnc:module-begin-syntax (gnc:module-load "gnucash/app-utils" 0))
|
||||
(use-modules (gnucash engine test test-extras))
|
||||
(use-modules (gnucash report standard-reports))
|
||||
(use-modules (gnucash report business-reports))
|
||||
(use-modules (gnucash report view-column))
|
||||
(use-modules (gnucash report stylesheets))
|
||||
(use-modules (gnucash report taxinvoice))
|
||||
(use-modules (gnucash report report-system))
|
||||
(use-modules (gnucash report report-system test test-extras))
|
||||
(use-modules (srfi srfi-64))
|
||||
(use-modules (srfi srfi-98))
|
||||
(use-modules (gnucash engine test srfi64-extras))
|
||||
(use-modules (sxml simple))
|
||||
(use-modules (sxml xpath))
|
||||
|
||||
;; NOTE
|
||||
;; ----
|
||||
;; SIMPLE stress tests by default
|
||||
;;
|
||||
;; PAIRWISE COMBINATORICS are enabled by setting environment variable COMBINATORICS
|
||||
;; to the fullpath for the compiled jenny from http://burtleburtle.net/bob/math/jenny.html
|
||||
;;
|
||||
;; e.g. COMBINATORICS=/home/user/jenny/jenny ninja check
|
||||
|
||||
(define optionslist '())
|
||||
|
||||
(define (generate-optionslist)
|
||||
(gnc:report-templates-for-each
|
||||
(lambda (report-id template)
|
||||
(let* ((options-generator (gnc:report-template-options-generator template))
|
||||
(name (gnc:report-template-name template))
|
||||
(options (options-generator)))
|
||||
(set! optionslist
|
||||
(cons (list (cons 'report-id report-id)
|
||||
(cons 'report-name (gnc:report-template-name template))
|
||||
(cons 'options (let ((report-options-tested '()))
|
||||
(gnc:options-for-each
|
||||
(lambda (option)
|
||||
(when (memq (gnc:option-type option)
|
||||
'(multichoice boolean))
|
||||
(set! report-options-tested
|
||||
(cons (vector
|
||||
(gnc:option-section option)
|
||||
(gnc:option-name option)
|
||||
(gnc:option-type option)
|
||||
(case (gnc:option-type option)
|
||||
((multichoice) (map (lambda (d) (vector-ref d 0))
|
||||
(gnc:option-data option)))
|
||||
((boolean) (list #t #f))))
|
||||
report-options-tested))))
|
||||
options)
|
||||
report-options-tested)))
|
||||
optionslist))))))
|
||||
|
||||
;; Explicitly set locale to make the report output predictable
|
||||
(setlocale LC_ALL "C")
|
||||
|
||||
(define (run-test)
|
||||
(test-runner-factory gnc:test-runner)
|
||||
(test-begin "stress options")
|
||||
(generate-optionslist)
|
||||
(tests)
|
||||
(test-end "stress options"))
|
||||
|
||||
(define jennypath
|
||||
(get-environment-variable "COMBINATORICS"))
|
||||
|
||||
(define jenny-exists?
|
||||
;; this is a simple test for presence of jenny - will check
|
||||
;; COMBINATORICS env exists, and running it produces exit-code of
|
||||
;; zero, and tests the first few letters of its output.
|
||||
(and (string? jennypath)
|
||||
(zero? (system jennypath))
|
||||
(string=? (string-take (get-string-all (open-input-pipe jennypath)) 6)
|
||||
"jenny:")))
|
||||
|
||||
(define (set-option! options section name value)
|
||||
(let ((option (gnc:lookup-option options section name)))
|
||||
(if option
|
||||
(gnc:option-set-value option value))))
|
||||
|
||||
(define (mnemonic->commodity sym)
|
||||
(gnc-commodity-table-lookup
|
||||
(gnc-commodity-table-get-table (gnc-get-current-book))
|
||||
(gnc-commodity-get-namespace (gnc-default-report-currency))
|
||||
sym))
|
||||
|
||||
(define structure
|
||||
(list "Root" (list (cons 'type ACCT-TYPE-ASSET))
|
||||
(list "Asset"
|
||||
(list "Bank")
|
||||
(list "GBP Bank" (list (cons 'commodity (mnemonic->commodity "GBP"))))
|
||||
(list "Wallet"))
|
||||
(list "Income" (list (cons 'type ACCT-TYPE-INCOME)))
|
||||
(list "Income-GBP" (list (cons 'type ACCT-TYPE-INCOME)
|
||||
(cons 'commodity (mnemonic->commodity "GBP"))))
|
||||
(list "Expenses" (list (cons 'type ACCT-TYPE-EXPENSE)))
|
||||
(list "Liabilities" (list (cons 'type ACCT-TYPE-LIABILITY)))
|
||||
(list "Equity" (list (cons 'type ACCT-TYPE-EQUITY)))
|
||||
))
|
||||
|
||||
(define (simple-stress-test report-name uuid report-options)
|
||||
(let ((options (gnc:make-report-options uuid)))
|
||||
(test-assert (format #f "basic test ~a" report-name)
|
||||
(gnc:options->render uuid options (string-append "stress-" report-name) "test"))
|
||||
(format #t "Testing SIMPLE combinations for:\n~a" report-name)
|
||||
(for-each
|
||||
(lambda (option)
|
||||
(format #t ",~a/~a"
|
||||
(vector-ref option 0)
|
||||
(vector-ref option 1)))
|
||||
report-options)
|
||||
(newline)
|
||||
(for-each
|
||||
(lambda (idx)
|
||||
(display report-name)
|
||||
(for-each
|
||||
(lambda (option)
|
||||
(let* ((section (vector-ref option 0))
|
||||
(name (vector-ref option 1))
|
||||
(value (list-ref (vector-ref option 3)
|
||||
(modulo idx (length (vector-ref option 3))))))
|
||||
(set-option! options section name value)
|
||||
(format #t ",~a"
|
||||
(cond
|
||||
((boolean? value) (if value 't 'f))
|
||||
(else value)))))
|
||||
report-options)
|
||||
(catch #t
|
||||
(lambda ()
|
||||
(gnc:options->render uuid options "stress-test" "test")
|
||||
(display "[pass]\n"))
|
||||
(lambda (k . args)
|
||||
(format #t "[fail]... error: (~s . ~s) options-list are:\n~a"
|
||||
k args
|
||||
(gnc:html-render-options-changed options #t))
|
||||
(test-assert "logging test failure as above..."
|
||||
#f))))
|
||||
(iota
|
||||
(apply max
|
||||
(map (lambda (opt) (length (vector-ref opt 3)))
|
||||
report-options)))
|
||||
)))
|
||||
|
||||
(define (combinatorial-stress-test report-name uuid report-options)
|
||||
(let* ((options (gnc:make-report-options uuid))
|
||||
(render #f))
|
||||
(test-assert (format #f "basic test ~a" report-name)
|
||||
(set! render
|
||||
(gnc:options->render
|
||||
uuid options (string-append "stress-" report-name) "test")))
|
||||
(if render
|
||||
(begin
|
||||
(format #t "Testing n-tuple combinatorics for:\n~a" report-name)
|
||||
(for-each
|
||||
(lambda (option)
|
||||
(format #t ",~a/~a"
|
||||
(vector-ref option 0)
|
||||
(vector-ref option 1)))
|
||||
report-options)
|
||||
(newline)
|
||||
;; generate combinatorics
|
||||
(let* ((option-lengths (map (lambda (report-option)
|
||||
(length (vector-ref report-option 3)))
|
||||
report-options))
|
||||
(jennyargs (string-join (map number->string option-lengths) " "))
|
||||
(n-tuple (min
|
||||
;; the following is the n-tuple
|
||||
2
|
||||
(length report-options)))
|
||||
(cmdline (format #f "~a -n~a ~a"
|
||||
jennypath n-tuple jennyargs))
|
||||
(jennyout (get-string-all (open-input-pipe cmdline)))
|
||||
(test-cases (string-split jennyout #\newline)))
|
||||
(for-each
|
||||
(lambda (case)
|
||||
(unless (string-null? case)
|
||||
(let* ((choices-str (string-filter char-alphabetic? case))
|
||||
(choices-alpha (map char->integer (string->list choices-str)))
|
||||
(choices (map (lambda (n)
|
||||
(- n (if (> n 96) 97 39))) ; a-z -> 0-25, and A-Z -> 26-51
|
||||
choices-alpha)))
|
||||
(let loop ((option-idx (1- (length report-options)))
|
||||
(option-summary '()))
|
||||
(if (negative? option-idx)
|
||||
(catch #t
|
||||
(lambda ()
|
||||
(gnc:options->render uuid options "stress-test" "test")
|
||||
(format #t "[pass] ~a:~a \n"
|
||||
report-name
|
||||
(string-join option-summary ",")))
|
||||
(lambda (k . args)
|
||||
(format #t "[fail]... error (~s . ~s) options-list are:\n~a"
|
||||
k args
|
||||
(gnc:html-render-options-changed options #t))
|
||||
(test-assert "logging test failure as above..."
|
||||
#f)))
|
||||
(let* ((option (list-ref report-options option-idx))
|
||||
(section (vector-ref option 0))
|
||||
(name (vector-ref option 1))
|
||||
(value (list-ref (vector-ref option 3)
|
||||
(list-ref choices option-idx))))
|
||||
(set-option! options section name value)
|
||||
(loop (1- option-idx)
|
||||
(cons (format #f "~a"
|
||||
(cond
|
||||
((boolean? value) (if value 't 'f))
|
||||
(else value)))
|
||||
option-summary))))))))
|
||||
test-cases)))
|
||||
(display "...aborted due to basic test failure"))))
|
||||
|
||||
(define test
|
||||
;; what strategy are we using here? simple stress test (ie tests as
|
||||
;; many times as the maximum number of options) or combinatorial
|
||||
;; tests (using jenny)
|
||||
(if jenny-exists?
|
||||
combinatorial-stress-test
|
||||
simple-stress-test))
|
||||
|
||||
(define (create-test-data)
|
||||
(let* ((env (create-test-env))
|
||||
(account-alist (env-create-account-structure-alist env structure))
|
||||
(bank (cdr (assoc "Bank" account-alist)))
|
||||
(gbp-bank (cdr (assoc "GBP Bank" account-alist)))
|
||||
(wallet (cdr (assoc "Wallet" account-alist)))
|
||||
(income (cdr (assoc "Income" account-alist)))
|
||||
(gbp-income (cdr (assoc "Income-GBP" account-alist)))
|
||||
(expense (cdr (assoc "Expenses" account-alist)))
|
||||
(liability (cdr (assoc "Liabilities" account-alist)))
|
||||
(equity (cdr (assoc "Equity" account-alist))))
|
||||
;; populate datafile with old transactions
|
||||
(env-transfer env 01 01 1970 bank expense 5 #:description "desc-1" #:num "trn1" #:memo "memo-3")
|
||||
(env-transfer env 31 12 1969 income bank 10 #:description "desc-2" #:num "trn2" #:void-reason "void" #:notes "notes3")
|
||||
(env-transfer env 31 12 1969 income bank 29 #:description "desc-3" #:num "trn3"
|
||||
#:reconcile (cons #\c (gnc-dmy2time64 01 03 1970)))
|
||||
(env-transfer env 01 02 1970 bank expense 15 #:description "desc-4" #:num "trn4" #:notes "notes2" #:memo "memo-1")
|
||||
(env-transfer env 10 01 1970 liability expense 10 #:description "desc-5" #:num "trn5" #:void-reason "any")
|
||||
(env-transfer env 10 01 1970 liability expense 11 #:description "desc-6" #:num "trn6" #:notes "notes1")
|
||||
(env-transfer env 10 02 1970 bank liability 8 #:description "desc-7" #:num "trn7" #:notes "notes1" #:memo "memo-2"
|
||||
#:reconcile (cons #\y (gnc-dmy2time64 01 03 1970)))
|
||||
(let ((txn (xaccMallocTransaction (gnc-get-current-book)))
|
||||
(split-1 (xaccMallocSplit (gnc-get-current-book)))
|
||||
(split-2 (xaccMallocSplit (gnc-get-current-book)))
|
||||
(split-3 (xaccMallocSplit (gnc-get-current-book))))
|
||||
(xaccTransBeginEdit txn)
|
||||
(xaccTransSetDescription txn "$100bank -> $80expenses + $20wallet")
|
||||
(xaccTransSetCurrency txn (xaccAccountGetCommodity bank))
|
||||
(xaccTransSetDate txn 14 02 1971)
|
||||
(xaccSplitSetParent split-1 txn)
|
||||
(xaccSplitSetParent split-2 txn)
|
||||
(xaccSplitSetParent split-3 txn)
|
||||
(xaccSplitSetAccount split-1 bank)
|
||||
(xaccSplitSetAccount split-2 expense)
|
||||
(xaccSplitSetAccount split-3 wallet)
|
||||
(xaccSplitSetValue split-1 -100)
|
||||
(xaccSplitSetValue split-2 80)
|
||||
(xaccSplitSetValue split-3 20)
|
||||
(xaccSplitSetAmount split-1 -100)
|
||||
(xaccSplitSetAmount split-2 80)
|
||||
(xaccSplitSetAmount split-3 20)
|
||||
(xaccTransSetNotes txn "multisplit")
|
||||
(xaccTransCommitEdit txn))
|
||||
(let ((closing-txn (env-transfer env 31 12 1977 expense equity 111 #:description "Closing")))
|
||||
(xaccTransSetIsClosingTxn closing-txn #t))
|
||||
(env-transfer-foreign env 15 01 2000 gbp-bank bank 10 14 #:description "GBP 10 to USD 14")
|
||||
(env-transfer-foreign env 15 02 2000 bank gbp-bank 9 6 #:description "USD 9 to GBP 6")
|
||||
(for-each (lambda (m)
|
||||
(env-transfer env 08 (1+ m) 1978 gbp-income gbp-bank 51 #:description "#51 income")
|
||||
(env-transfer env 03 (1+ m) 1978 income bank 103 #:description "$103 income")
|
||||
(env-transfer env 15 (1+ m) 1978 bank expense 22 #:description "$22 expense")
|
||||
(env-transfer env 09 (1+ m) 1978 income bank 109 #:description "$109 income"))
|
||||
(iota 12))
|
||||
(let ((mid (floor (/ (+ (gnc-accounting-period-fiscal-start)
|
||||
(gnc-accounting-period-fiscal-end)) 2))))
|
||||
(env-create-transaction env mid bank income 200))))
|
||||
|
||||
(define (run-tests prefix)
|
||||
(for-each
|
||||
(lambda (option-set)
|
||||
(let ((report-name (assq-ref option-set 'report-name))
|
||||
(report-guid (assq-ref option-set 'report-id))
|
||||
(report-options (assq-ref option-set 'options)))
|
||||
(if (member report-name
|
||||
;; these reports seem to cause problems when running...
|
||||
'(
|
||||
;; eguile-based reports
|
||||
"Tax Invoice"
|
||||
"Receipt"
|
||||
"Australian Tax Invoice"
|
||||
"Balance Sheet (eguile)"
|
||||
|
||||
;; tax-schedule - locale-dependent?
|
||||
"Tax Schedule Report/TXF Export"
|
||||
|
||||
;; unusual reports
|
||||
"Welcome to GnuCash"
|
||||
"Hello, World"
|
||||
"Multicolumn View"
|
||||
"General Journal"
|
||||
))
|
||||
(format #t "\nSkipping ~a ~a...\n" report-name prefix)
|
||||
(begin
|
||||
(format #t "\nTesting ~a ~a...\n" report-name prefix)
|
||||
(test report-name report-guid report-options)))))
|
||||
optionslist))
|
||||
|
||||
(define (tests)
|
||||
(run-tests "with empty book")
|
||||
(create-test-data)
|
||||
(run-tests "on a populated book"))
|
@ -1,25 +0,0 @@
|
||||
From 95bee405cf5568f5899287ba62058cf894361676 Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Lam <christopher.lck@gmail.com>
|
||||
Date: Wed, 2 Jan 2019 00:00:56 +0800
|
||||
Subject: [PATCH] [test-transaction] fix a test which was hardcoded to 2018.
|
||||
|
||||
This test was hard-coded to pass in 2018. Fix.
|
||||
---
|
||||
gnucash/report/standard-reports/test/test-transaction.scm | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gnucash/report/standard-reports/test/test-transaction.scm b/gnucash/report/standard-reports/test/test-transaction.scm
|
||||
index 755aba2983..2f428e24e9 100644
|
||||
--- a/gnucash/report/standard-reports/test/test-transaction.scm
|
||||
+++ b/gnucash/report/standard-reports/test/test-transaction.scm
|
||||
@@ -652,8 +652,8 @@
|
||||
(list "Grand Total" "$2,280.00" "$2,280.00")
|
||||
(get-row-col sxml -1 #f))
|
||||
(test-equal "dual amount column, first transaction correct"
|
||||
- (list "01/03/18" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
|
||||
- (get-row-col sxml 1 #f)))
|
||||
+ (list "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
|
||||
+ (cdr (get-row-col sxml 1 #f))))
|
||||
)
|
||||
|
||||
(test-end "display options")
|
@ -1,12 +0,0 @@
|
||||
Bug: https://bugs.gentoo.org/690270
|
||||
|
||||
--- a/gnucash/register/register-gnome/CMakeLists.txt
|
||||
+++ b/gnucash/register/register-gnome/CMakeLists.txt
|
||||
@@ -1,5 +1,7 @@
|
||||
add_subdirectory(test)
|
||||
|
||||
+include(CheckSymbolExists)
|
||||
+
|
||||
#GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
|
||||
check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask)
|
||||
if (NOT have_mod_mask)
|
@ -1,169 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx postgres
|
||||
python quotes -register2 sqlite +gui"
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.0.0:12=[regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use gui ; then
|
||||
rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,169 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx postgres python quotes -register2 sqlite +gui"
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
# Disable fallback to guile-2.0
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
append-cflags -Wno-error
|
||||
append-cxxflags -Wno-error
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,171 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring mysql nls ofx postgres
|
||||
python quotes -register2 sqlite +gui"
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.0.0:12=[regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
append-cflags -Wno-error
|
||||
append-cxxflags -Wno-error
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use gui ; then
|
||||
rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,180 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
|
||||
postgres python quotes -register2 sqlite"
|
||||
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch
|
||||
# Fixed in 3.5
|
||||
"${FILESDIR}"/${PN}-3.4-test-transaction.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${FILESDIR}"/gnucash-3.4-test-stress-options.scm \
|
||||
${PN}-${PV}/${PN}/report/standard-reports/test/test-stress-options.scm \
|
||||
|| die "Failed copying scm"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
# Disable fallback to guile-2.0
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
append-cflags -Wno-error
|
||||
append-cxxflags -Wno-error
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
|
||||
postgres python quotes -register2 sqlite"
|
||||
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${FILESDIR}"/gnucash-3.4-test-stress-options.scm \
|
||||
${PN}-${PV}/${PN}/report/standard-reports/test/test-stress-options.scm \
|
||||
|| die "Failed copying scm"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
# Disable fallback to guile-2.0
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
|
||||
postgres python quotes -register2 sqlite test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
test? ( >=dev-cpp/gtest-1.8.0 )
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${FILESDIR}"/gnucash-3.4-test-stress-options.scm \
|
||||
${PN}-${PV}/${PN}/report/standard-reports/test/test-stress-options.scm \
|
||||
|| die "Failed copying scm"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
# Disable fallback to guile-2.0
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
LOCALE_TESTS=
|
||||
if type locale >/dev/null 2>&1; then
|
||||
MY_LOCALES="$(locale -a)"
|
||||
if [[ "${MY_LOCALES}" != *en_US* ||
|
||||
"${MY_LOCALES}" != *en_GB* ||
|
||||
"${MY_LOCALES}" != *fr_FR* ]] ; then
|
||||
ewarn "Missing one or more of en_US, en_GB, or fr_FR locales."
|
||||
else
|
||||
LOCALE_TESTS=true
|
||||
fi
|
||||
else
|
||||
ewarn "'locale' not found."
|
||||
fi
|
||||
|
||||
if [[ ! ${LOCALE_TESTS} ]]; then
|
||||
ewarn "Disabling test-qof and test-gnc-numeric."
|
||||
echo 'set(CTEST_CUSTOM_TESTS_IGNORE test-qof test-gnc-numeric)' \
|
||||
> "${BUILD_DIR}"/CTestCustom.cmake || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,213 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres
|
||||
python quotes -register2 smartcard sqlite test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
smartcard? ( aqbanking )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
>=sys-libs/zlib-1.1.4
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[ofx?]
|
||||
sys-libs/gwenhywfar
|
||||
smartcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
aqbanking? ( >=sys-libs/gwenhywfar-4.20.2[gtk] )
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
test? ( >=dev-cpp/gtest-1.8.0 )
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2-no-gui.patch
|
||||
"${FILESDIR}"/${PN}-3.7-include-checksymbolexists.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${FILESDIR}"/gnucash-3.4-test-stress-options.scm \
|
||||
${PN}-${PV}/${PN}/report/standard-reports/test/test-stress-options.scm \
|
||||
|| die "Failed copying scm"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
xdg_environment_reset
|
||||
|
||||
# Fix tests writing to /tmp
|
||||
local fixtestfiles=(
|
||||
"${S}"/gnucash/report/report-system/test/test-commodity-utils.scm
|
||||
"${S}"/gnucash/report/report-system/test/test-extras.scm
|
||||
"${S}"/gnucash/report/report-system/test/test-report-html.scm
|
||||
"${S}"/gnucash/report/report-system/test/test-report-system.scm
|
||||
"${S}"/libgnucash/backend/xml/test/test-xml-pricedb.cpp
|
||||
"${S}"/libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp
|
||||
)
|
||||
for x in "${fixtestfiles[@]}"; do
|
||||
sed -i -e "s|\"/tmp/|\"${T}/|g" "${x}" || die "sed of "${x}" failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export GUILE_AUTO_COMPILE=0
|
||||
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
LOCALE_TESTS=
|
||||
if type locale >/dev/null 2>&1; then
|
||||
MY_LOCALES="$(locale -a)"
|
||||
if [[ "${MY_LOCALES}" != *en_US* ||
|
||||
"${MY_LOCALES}" != *en_GB* ||
|
||||
"${MY_LOCALES}" != *fr_FR* ]] ; then
|
||||
ewarn "Missing one or more of en_US, en_GB, or fr_FR locales."
|
||||
else
|
||||
LOCALE_TESTS=true
|
||||
fi
|
||||
else
|
||||
ewarn "'locale' not found."
|
||||
fi
|
||||
|
||||
if [[ ! ${LOCALE_TESTS} ]]; then
|
||||
ewarn "Disabling test-qof and test-gnc-numeric."
|
||||
echo 'set(CTEST_CUSTOM_TESTS_IGNORE test-qof test-gnc-numeric)' \
|
||||
> "${BUILD_DIR}"/CTestCustom.cmake || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST eix-0.33.11.tar.xz 623256 BLAKE2B 756feed85cb4f40ef9228a03d2a8b8470eb6017b00d93b364d67e3d11ecaacce2bb9c6afed388d9f70dfcb7a0b9ece13ca6ee523f5839b7d9bf80cf3b2721524 SHA512 2829d1482abfe479ae71e8b00da07abe74ba3090ba2a3f9d9a93437cb2d4d64213968bcd6c082a6703ec1d9c36dfcfaa0850172f3ffd4d256f553b98eeaf29e6
|
||||
DIST eix-0.33.9.tar.xz 627944 BLAKE2B cb4add12301a4f08b6ca052df92be34c8a448b386aa700e8ac7e1fbe8563cd76047994007ac94d8989747d843f70a5e1731b401510f58badd9811b30c2ce3be8 SHA512 7539a91d5b5343532ceab1f4aeb82a95413c39b1a57b9e7922032acc937cc8b839494fc40f3510218349561c6d50e89e1861d2fce5e60eabed2465316b28a756
|
||||
DIST eix-0.34.1.tar.xz 626484 BLAKE2B 3f33df9d3f45abc073d7b80a7a6b3574ef6c1372042cb1ec4f0b0213842bc48d8d5a76c005ece2c060a39b1c8778764eb1f6808e75bc10af6e366e33e10aa6c7 SHA512 86289d8dcb0cf87ad48c739aae637626f9e63200a48d019fc96e74f2851b2791a61741d5db72ceaf3e5a375fb0dbf9302b04f766c3def69bcaabb393545dc767
|
||||
DIST eix-0.34.2.tar.xz 626492 BLAKE2B 984411e459b18f0ade77569b1e972a8c59588a31ce6af4b998a5fa27f9d5a2cc75fe647641f0651f17b5e9b4dc5706444dc49bd09e9e070e666beb989403e303 SHA512 422123108c841dd7e02296fa38276e72c61c8cab5e9ebba1fd2cd23d2a4b2c68e1dc530e47428f0bc41e89983196c7b8319ee548789199e4673c04687bbc5aec
|
||||
EBUILD eix-0.33.11.ebuild 2749 BLAKE2B dac326d96f83bb0f386c9ca28a73886d7a15e3b933c4237af307ded2e2a630232ea941ca5c4d14ca290fc03bcc317820d4debd3935786520cf9cf1682fcecba8 SHA512 c6eb8819f27226a211edf1dfd063877ea91f83b62cd8cffdc8b96d09cb290f4dabbc261ea0015f5faf4841792c39383ae041d5767299788419db0049c4f0c835
|
||||
EBUILD eix-0.33.9-r1.ebuild 2749 BLAKE2B dac326d96f83bb0f386c9ca28a73886d7a15e3b933c4237af307ded2e2a630232ea941ca5c4d14ca290fc03bcc317820d4debd3935786520cf9cf1682fcecba8 SHA512 c6eb8819f27226a211edf1dfd063877ea91f83b62cd8cffdc8b96d09cb290f4dabbc261ea0015f5faf4841792c39383ae041d5767299788419db0049c4f0c835
|
||||
EBUILD eix-0.34.1.ebuild 2777 BLAKE2B 9282e1de7b39cada16e82c27171d3dff9c6af9245c3e88edaaba299b6b4f92e789d184d7bb9e16cd0827013e9b385a9a26a1bf916530a6b4bc06f8559bc05bad SHA512 ce334fc3b64b656455cdd73076760b893bdd6b7487224e05197fb68efc0a76c39e046a4af22abc283f433051a8afe8e8149fcf7054380b4b11a4dcd482f69402
|
||||
EBUILD eix-0.34.1.ebuild 2907 BLAKE2B 96547286d1d02a4d5695dba21bdf9af4b247fb3510b5705c9c0c410ab10dcc750f5cebbc3df2306ba5798053c06fa28eae6e8431d521cc8c3e1315e58477d682 SHA512 42d66ce72344aad5ad0d3487b08b0621f4eec0ea3be2e88f4366b095d898ad12e6de3dac34cf68169c753c3f872c7f4b00eeb3ad203a6821c4f110f87235298d
|
||||
EBUILD eix-0.34.2.ebuild 2778 BLAKE2B c5c6f469bb658d97e4de9b81c7198af15b79e5c396b11b90ef227cf3b1515ec50dda2c1443809c2ca11a2303ee6ff0255879d9090614cee64a751d950a4cec40 SHA512 9ae426a79a06c44c8575f26fbcfb73b46d856d848986a70c1318814b58bfd5350c3bbf68364de48926f374de1906c431e51e200bfead1e1c6c7dd2c8a6a4e7e7
|
||||
MISC metadata.xml 1051 BLAKE2B b77439c3a8d8eab9fc711c96ce2b2ccaf307f2eca4cfee32bfb75279ff4da31fd05b3319136af38e70d274c28cb2f1c2567916390d81425b7b7daf956815c7e4 SHA512 208b3db2b2e5afb5667a29e6b18538f3cea5e3fb2758d3c9b30823d7b2a22f31f150d6a01abec6a6c8ca62486c975b47002de9e1bac89ded31eb7013bdbb38c6
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
BOTHDEPEND="nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoic-asserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
--without-protobuf
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
# https://github.com/vaeth/eix/issues/35
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
# work around https://github.com/vaeth/eix/issues/64, bug#687988
|
||||
local -x mv_fCXXFLAGS_cache='-mindirect-branch=thunk'
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
dotmpfiles tmpfiles.d/eix.conf
|
||||
|
||||
rm -r "${ED}"/usr/bin/eix-functions.sh || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process eix.conf
|
||||
|
||||
local obs=${EROOT}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX djview-4.10.6-hidpi.patch 2313 BLAKE2B 4d3356baa36cf830a8e01314f6fbf081c0b8fe8b6a43b2e14e4966fab2d07932088c66e1f68802282537d490503586a528c2a4b86eea26615fc8eefbf6b7d058 SHA512 922b0c321edaeed3a76ee206fa4353366e3d744dd30612d034070c251ecfca6bc18a2ddaf110cfbc811ea47426f2d9e370d5a58cce41b396b793ba27223bb881
|
||||
DIST djview-4.10.6.tar.gz 1113072 BLAKE2B db965ad7dc3b8191855e9c5f23af3cd963901ca649a937e6f85bad8f9f924e0636b30a9a5350c114dcfecea570f013ba395508eb6cf1d45afda674892bcd196e SHA512 c06b9c4c7addd9dededdc9d441094bca685c4d23744e3d1208eab33d9d341a85f120176bf9f1b879ac6620f591eefe05ac774870b1ba3215c43baf1eaf9d14f8
|
||||
EBUILD djview-4.10.6-r1.ebuild 2021 BLAKE2B 18c0d3eec5f44dd1edafad3bfe8e6bcacde52f66ce787f5aafabdebf222226e616caf73de8c3f52b7b44138aca62682ccfba4773bfd2f8c126bd13ffdf7f5dbd SHA512 b5506c48337df899c2f16d40bde11f9f50acf5ee6548f4e9e0b1f60da6a2404fd8883057236e5dbaa853f972a840a2f2ea02fecccb3026e2ac0d5998f3c107e5
|
||||
EBUILD djview-4.10.6-r1.ebuild 2087 BLAKE2B 742ec6af8b08b40bf5951e79bbfcb4ac5ecd6a6f1727d57f700166e9a47d00f0c40add3c29e7fe79290fe7b4179cbdf7dd5b526936ee5e5d67bc92512867553e SHA512 b3745bd57c512a6926b90266fce1281971209bb853c4ef2ccbb4a8286f9b21977b3482381a8e69782fdf04efd45f599c2867c6ff8c61031580679a8dc9077278
|
||||
MISC metadata.xml 323 BLAKE2B c8498cdd0e1820eb610a9e2ede4e10287977c2eb71dd1b6b9862e3d11a34760cf8dcb5e9e59535ab0ceed04f3be2b00aa4942657a25fffc87b23966c2b2c1caf SHA512 53a7a7290a2286fd31248db31160697a3b2693275013a1ea453258f9ac52fa3ea7111718ca35a5eb1652050699e5be1111c7ebb73b2a3c699383d8305509a5c4
|
||||
|
@ -1,3 +1,6 @@
|
||||
AUX pdfsandwich-0.1.7-gentoo.patch 1211 BLAKE2B 47461d33a0ecea51de9db0cda447f13c74094b7bf630abfa0ca0b5a72357e20b9adfc86b2035b89af8addbec9ee9ebdac9751490afe7166005c2ebad2b9333bb SHA512 d9865439ea2ed6ffec6c30abe9da1042b5b12a28d266131d421e1d459ff8f0bd60f8d6c2e68017464341f26215a04b4a537cf3f445cebeec55723831a9dee454
|
||||
DIST pdfsandwich-0.1.4.tar.bz2 16401 BLAKE2B cb431f35b199e3e6290c60a3f6c7b2621dd3652a29346092869d8e5f86f5664079de1ef431f9b5e8b9f7cc044d64006295a8176d6a28b2ea5fb820db8c952000 SHA512 ee03aea13c72cc5a02136b5d16d2425f685f0b7a9d6fa6cff6c792bd24e6316720dff321b5e8237b949c98c713f39cb8b08b855b76e2a77350927b1ee7943171
|
||||
DIST pdfsandwich-0.1.7.tar.bz2 17461 BLAKE2B edeb08ab55df89ef2d1f3e43446e831c66e57273b36ecd56a4cc5f910ca5b59a03e2a66b13e7150f06f8f3eb26ed14cd1c80d02cd38d6bd6cfe923c30c801577 SHA512 ac315aeba2cc753fddc380e2522d0c41d65ea80372a23c2cd5371ebc239ac104ab5a5a1386378b9e026b2935a767128224f7617a5eb8f5ef9d6874cc18ef83ff
|
||||
EBUILD pdfsandwich-0.1.4-r1.ebuild 970 BLAKE2B 416b43bc2a95175aabde4379e23207fa524bb882e4b40c7c61c1fff87fb6b016721bff23720b2bf7712892b4eb7d5786edf7c5500dadb9a5ec1646eb7612c8b7 SHA512 3505739fec5f3d76a7d51c0c9f4f4cf992faa59e23779dfd0ebf677246da0a794ca18af304a5631e7fc0984bd698bfe69f6c3a012389cdc943a543ac0fe4b263
|
||||
MISC metadata.xml 937 BLAKE2B 7e13ea95d5add452b52f7223411d798148e6bac03aa636237ad3e5c0677d0bdedf4a5f5a2c63caf0e84ab92626e0f8de5b1dc3df0f5d8747163d626dbe632f00 SHA512 595e3fdd841667046ae3064ee12aa288586cb1db3f8cd902aaf5c7c1bfb1c1776c641c400593b273dad83bf4f3a4c98f1f031125b8d65af3e836d6c2abdbc531
|
||||
EBUILD pdfsandwich-0.1.7.ebuild 1033 BLAKE2B 70f0ff7985e661d47bc04da70098694b3731e4d52a04822c512bdaf1f5056cd3c1e1598429d84016b54afe8c61048cb4ea8fbf501c9a489f58c55faa0e2a5514 SHA512 c5a679faf7f14b35865839805eff258f7dc11ef28580acd6ac78312cc046a6430bf94f5b2f9c7bb0e126d59e2a4ca1a714dd2bec2854ee6cff42fe60c7985e79
|
||||
MISC metadata.xml 1017 BLAKE2B 1b7e6580f0ddbae3b4cfe2fa25ef9570c671e28badd08dd119eec6c800f6335b52d15ab37aa4aac52afd9c4936e515563b4f741df674617073d856193267aadd SHA512 a499b3db4337dbc74617e0aac5a0ce735403bdc812f3a681bd3b2ef285d98d31addb9500a3ca19296e7bb693ee9c7231055a22268845cfec8ab190b6732205cc
|
||||
|
@ -0,0 +1,43 @@
|
||||
--- a/Makefile 2020-05-21 20:46:14.961927486 +0200
|
||||
+++ b/Makefile 2020-05-21 20:49:16.203121793 +0200
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
SOURCE = pdfsandwich.ml
|
||||
TARGET = pdfsandwich
|
||||
-MANUAL = $(TARGET).1.gz
|
||||
+MANUAL = $(TARGET).1
|
||||
|
||||
VERSION := $(shell cat pdfsandwich_version)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
$(MANUAL): manual.txt
|
||||
# you need gawk for this:
|
||||
- ./txt2man -t PDFSANDWICH manual.txt | gzip -9 > $(MANUAL)
|
||||
+ ./txt2man -t PDFSANDWICH manual.txt > $(MANUAL)
|
||||
|
||||
# Canceling pathological implicit rule:
|
||||
%: %.o
|
||||
@@ -40,7 +40,7 @@
|
||||
include makefile.installprefix
|
||||
|
||||
PREF = $(DESTDIR)$(PREFIX)
|
||||
-INSTALL = install -s
|
||||
+INSTALL = install
|
||||
CP = cp
|
||||
INSTALLBINDIR = $(PREF)/bin
|
||||
INSTALLMANDIR = $(PREF)/share/man/man1
|
||||
@@ -47,12 +47,8 @@
|
||||
INSTALLDOCDIR = $(PREF)/share/doc/$(TARGET)
|
||||
|
||||
install: $(DOCFILES) $(ADDITIONAL)
|
||||
- (umask 0022; mkdir -p $(INSTALLBINDIR) $(INSTALLDOCDIR) $(INSTALLMANDIR))
|
||||
+ (umask 0022; mkdir -p $(INSTALLBINDIR))
|
||||
$(INSTALL) $(TARGET) $(INSTALLBINDIR)
|
||||
- $(CP) $(DOCFILES) $(INSTALLDOCDIR)
|
||||
- gzip -9 $(INSTALLDOCDIR)/changelog
|
||||
- $(CP) $(MANUAL) $(INSTALLMANDIR)
|
||||
- chmod 644 $(INSTALLDOCDIR)/* $(INSTALLMANDIR)/*
|
||||
|
||||
uninstall:
|
||||
rm -rf $(INSTALLBINDIR)/$(TARGET) $(INSTALLDOCDIR) $(INSTALLMANDIR)/$(MANUAL)
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="generator of sandwich OCR pdf files"
|
||||
HOMEPAGE="http://www.tobias-elze.de/pdfsandwich"
|
||||
SRC_URI="mirror://sourceforge/pdfsandwich/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="png"
|
||||
|
||||
RDEPEND=">=app-text/tesseract-3.00
|
||||
media-gfx/exact-image
|
||||
app-text/unpaper
|
||||
app-text/ghostscript-gpl
|
||||
virtual/imagemagick-tools[png?]"
|
||||
DEPEND="sys-apps/gawk
|
||||
>=dev-lang/ocaml-3.10[ocamlopt]"
|
||||
|
||||
DOCS=( changelog )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/^OCAMLOPTFLAGS/s/$/ -ccopt \"\$(CFLAGS) \$(LDFLAGS)\"/" \
|
||||
Makefile || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman ${PN}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "pdfsandwich relies on the tesseract library for OCR."
|
||||
elog "Consequently language support is determined by tesseract's"
|
||||
elog "language support which in turn is controlled via the LINGUAS"
|
||||
elog "variable in make.conf."
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX aunit-2016-gentoo.patch 374 BLAKE2B 00d34a835afdc4a1a80f8c4dad23ae4a30a89eb801c3aeb8177a4d0cb838b3edf0c8463c774da212a9be56378f493ddd41aa4a26d976a38f1800999903dd2263 SHA512 0ea27e0d8783788c83a3916071ea0dd5361f21a4fc67727b735986dfc624c9f1bd6aa471229c389f5453001577ca1eec0ecdd0865952a0aa5fe1453787dac33b
|
||||
DIST aunit-2019-20190429-18B77-src.tar.gz 624683 BLAKE2B 455c3566ed46138116f258b175e883a59102dc334b41040cd6a332175fc4138d7ccdab1357c5b8886f14e551e3a6f4f4aa73eb755ade4a7a1663ac2d999973ca SHA512 9b1834ebacb9dbaa7a01f702455a44921a26a8d8d00f55ecc2fc8ddf2d884ef2ef2bba0f62551421f5a47d558d0fba88cbd57671459bba0c9f90c6310d714b19
|
||||
DIST aunit-2020-20200429-19B6C-src.tar.gz 615443 BLAKE2B b7d31dc8e198b3ceb94d043d701dceadbc1e20596a71a4f25a140bdd3f9ad54f7d7e4d4bfb587fbc31b9a6a046407c2d0dbd77dd2d045878e9aa2da3954d2964 SHA512 2d61db882cd7eaf66be101ffabafafdab1834578df162f0ef1947b517265033285cef3d84a76a3b0f1cb05d0adf12a1910b652bfbaeb56fc022157f44b34de86
|
||||
EBUILD aunit-2019-r1.ebuild 1114 BLAKE2B e3e407ab3a5d1ba65b3c66c974f3b5e9f465db9016a5e1b6fba6f32d0c03e6f8e6c0a3e180080746900fe02564ba4b051bff770c88413bd68c401563530c44c1 SHA512 a157a9e1dddc297fdb1f5e40174316775f8ea9fde182b255afa5d843b76646076060c5c1ceb32467eb63869b69aea5a6b9140136ccd49a0f24461d1e90315627
|
||||
EBUILD aunit-2020.ebuild 1161 BLAKE2B 628b06634f15cf20bb0e81c42b1346e92f83e385f7588fb78a9fcee6415f90fae94661207a877053baff88993cd385417c543f5261fe728d1249cd8645d9683e SHA512 9d0e8a40be1f0066d311500d860ec10365cbe4bfee9e34c6581efa6e2bc0db50a4fd1f30fa3eeeab2d50b5499a15f37f0ee5ed06e1c2f15366d93a70b012d336
|
||||
MISC metadata.xml 764 BLAKE2B fa5a767e7539d5fa8d2ce44240495fe471f8221897273a6c73748b0065a5239afaf99d4c28172a877b47611aa7d568a439cf47d172bee4a3f2878d4bd778ef9d SHA512 211f0200353e3573a700d1cbacb421e53e817617bbc5b74dbfb668194eae397b34193ad743acf70287b66d3fcb4c366214822b2e97a15bcfa80f9252b7f5faa9
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_201{6,7,8,9} )
|
||||
inherit ada multiprocessing
|
||||
|
||||
MYP=${P}-20200429-19B6C-src
|
||||
|
||||
DESCRIPTION="Ada unit testing framework"
|
||||
HOMEPAGE="http://libre.adacore.com/tools/aunit/"
|
||||
SRC_URI="https://community.download.adacore.com/v1/6c8702d4a3c4a39f5da077716e44bef980377ba8?filename=$MYP}.tar.gz
|
||||
-> ${MYP}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${ADA_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
|
||||
|
||||
src_compile() {
|
||||
emake GPRBUILD="gprbuild -j$(makeopts_jobs) -v"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL="${D}"/usr install
|
||||
einstalldocs
|
||||
mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/ || die
|
||||
rmdir "${D}"/usr/share/doc/${PN} || die
|
||||
mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die
|
||||
rmdir "${D}"/usr/share/examples || die
|
||||
rm -r "${D}"/usr/share/gpr/manifests || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test
|
||||
}
|
Binary file not shown.
@ -0,0 +1,458 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit flag-o-matic linux-info multilib pam prefix python-single-r1 systemd
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
SLOT=$(ver_cut 1)
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap libressl llvm nls pam
|
||||
perl python +readline selinux +server systemd ssl static-libs tcl
|
||||
threads uuid xml zlib"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-2.0
|
||||
acct-group/postgres
|
||||
acct-user/postgres
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
icu? ( dev-libs/icu:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
llvm? (
|
||||
sys-devel/llvm:=
|
||||
sys-devel/clang:=
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
perl? ( >=dev-lang/perl-5.8:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Rely on $PATH being in the proper order so that the correct
|
||||
# install program is used for modules utilizing PGXS in both
|
||||
# hardened and non-hardened environments. (Bug #528786)
|
||||
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
|
||||
|
||||
use server || eapply "${FILESDIR}/${PN}-12.1-no-server.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !alpha spinlocks) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with icu) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with llvm) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(usex server "$(use_with systemd)" '--without-systemd') \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
serverman=(
|
||||
initdb
|
||||
pg_{archivecleanup,controldata,ctl,resetwal,rewind,standby}
|
||||
pg_{test_{fsync,timing},upgrade,waldump}
|
||||
post{gres,master}
|
||||
)
|
||||
for m in ${serverman[@]} ; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
# Create slot specific man pages
|
||||
local bn f mansec slotted_name
|
||||
for mansec in 1 3 7 ; do
|
||||
local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}"
|
||||
|
||||
mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir"
|
||||
pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed"
|
||||
|
||||
for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do
|
||||
bn=$(basename "${f}")
|
||||
slotted_name=${bn%.${mansec}}${SLOT}.${mansec}
|
||||
case ${bn} in
|
||||
TABLE.7|WITH.7)
|
||||
echo ".so ${rel_manpath}/SELECT.7" > ${slotted_name}
|
||||
;;
|
||||
*)
|
||||
echo ".so ${rel_manpath}/${bn}" > ${slotted_name}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
popd > /dev/null
|
||||
done
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
# Don't delete libpg{port,common}.a (Bug #571046). They're always
|
||||
# needed by extensions utilizing PGXS.
|
||||
use static-libs || \
|
||||
find "${ED}" -name '*.a' ! -name libpgport.a ! -name libpgcommon.a \
|
||||
-delete
|
||||
|
||||
# Make slot specific links to programs
|
||||
local f bn
|
||||
for f in $(find "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/bin" \
|
||||
-mindepth 1 -maxdepth 1)
|
||||
do
|
||||
bn=$(basename "${f}")
|
||||
dosym "../$(get_libdir)/postgresql-${SLOT}/bin/${bn}" \
|
||||
"/usr/bin/${bn}${SLOT/.}"
|
||||
done
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd-9.3" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3-r1" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
if use systemd; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service-9.6-r1" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfiles ${PN}-${SLOT}.conf
|
||||
fi
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 1775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use server && use systemd && systemd_tmpfiles_create ${PN}-${SLOT}.conf
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] ; then
|
||||
ewarn "If your system is using 'pg_stat_statements' and you are running a"
|
||||
ewarn "version of PostgreSQL ${SLOT}, we advise that you execute"
|
||||
ewarn "the following command after upgrading:"
|
||||
ewarn
|
||||
ewarn "ALTER EXTENSION pg_stat_statements UPDATE;"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
|
||||
ebegin "Continuing initialization in 5 seconds (Control-C to cancel)"
|
||||
sleep 5
|
||||
eend 0
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "$(dirname ${DATA_DIR%/})" || die "Couldn't parent dirs"
|
||||
mkdir -m 0700 "${DATA_DIR%/}" || die "Couldn't make DATA_DIR"
|
||||
chown -h postgres:postgres "${DATA_DIR%/}" || die "Couldn't chown"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
# unix_socket_directory has no effect in postgresql.conf as it's
|
||||
# overridden in the initscript
|
||||
sed '/^#unix_socket_directories/,+1d' -i "${PGDATA%/}"/postgresql.conf
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
if ! use systemd; then
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
fi
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
elif use systemd; then
|
||||
einfo "You should use the 'postgresql-${SLOT}.service' unit to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
else
|
||||
einfo "You should use the '${EROOT}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="u-boot-${PV/_/-}"
|
||||
DESCRIPTION="utilities for working with Das U-Boot"
|
||||
HOMEPAGE="https://www.denx.de/wiki/U-Boot/WebHome"
|
||||
SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's:\bpkg-config\b:${PKG_CONFIG}:g' \
|
||||
scripts/kconfig/lxdialog/check-lxdialog.sh \
|
||||
scripts/kconfig/Makefile \
|
||||
tools/Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC PKG_CONFIG
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Unset a few KBUILD variables. Bug #540476
|
||||
unset KBUILD_OUTPUT KBUILD_SRC
|
||||
|
||||
emake \
|
||||
V=1 \
|
||||
CC="${CC}" \
|
||||
HOSTCC="${CC}" \
|
||||
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
|
||||
HOSTLDFLAGS="${LDFLAGS}" \
|
||||
tools-only_defconfig
|
||||
|
||||
emake \
|
||||
V=1 \
|
||||
NO_SDL=1 \
|
||||
HOSTSTRIP=: \
|
||||
STRIP=: \
|
||||
CC="${CC}" \
|
||||
HOSTCC="${CC}" \
|
||||
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
|
||||
HOSTLDFLAGS="${LDFLAGS}" \
|
||||
CONFIG_ENV_OVERWRITE=y \
|
||||
tools-all
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
cd tools || die
|
||||
dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage
|
||||
dobin env/fw_printenv
|
||||
dosym fw_printenv /usr/bin/fw_setenv
|
||||
insinto /etc
|
||||
doins env/fw_env.config
|
||||
doman "${S}"/doc/mkimage.1
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST get-ego-vendor-0.2.0.tar.gz 2027 BLAKE2B 41803e088f86775cdf93759580722b5dad6b9d0a2d70a0f57540f2a578a97df399ed7ba8b0c0a2a61d53841b4aca470189fd3b24523c044d15fd542b33e600cb SHA512 32cd123b5782399fc7b51fef5a2fe5115a6c473e8d62c5a0ad354efdd72d89c291c1cc4b8eb9034a1f3fef1e9ce39a8fcc989fe5ee21c852058655ed7e0dc57a
|
||||
EBUILD get-ego-vendor-0.2.0.ebuild 467 BLAKE2B aa2747e75c006c7c4c7e55b7de0a0919366d25ecd9f75d14955302f8703fdae9f68f68b49824e08397c08d4ca21e39bdd100c03b00eb3672eb19a2c87f34c81a SHA512 e4ee584eed081a711bc271ab30c00417af2ea051d392361e9675f74d0db13ddca1b82e29dadfb1de03077298f4482f18eefe36b0ab4c82798dea157f557083b8
|
||||
EBUILD get-ego-vendor-0.2.0.ebuild 466 BLAKE2B 3e157926b6f6dc2badbb1a0bb8789d3f6e8f40ecab9a341e45f45330efdda8200b89bcdaaea29696f50c8d985c2514a1beab397e785f1f881cbbef406df99493 SHA512 ee56676423067b389b1cbb33e95543a00f6cfbb4c8d0d2f67e15aeb0392cb9f6eae976644783d9a2a18d4a23be59d7f24adb3b934b50ea07f9087915b8857bf3
|
||||
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX bglibs-2.04-stack-buffers.patch 1676 BLAKE2B 356ef239c23178b5f07d80776279c0e91a35af07623c977d051217317496e796a337dd81df5bffa828296e78a007bdb043d73d195a3bfb74116b7751b1c2f42d SHA512 0000b26a5c781b3e68253b6aa8642f1b8d0fe99d4c6cef4a776a33b83272c1ea218ae91845ccd7ba291be6a17b719513317dba32fbeedcba42f469ea65b85b85
|
||||
DIST bglibs-2.04.tar.gz 713673 BLAKE2B 9e1353b3221ef6a8cfb256ec8616d1e208777b20ecade3e6ae17faca6b42222e18aa601a948e6201139378bf6f8131a2b7a053d77b198176776d42a1af611186 SHA512 094268cad7d4bacf65c0dd3d42fde2e6bac34da0fd6193b1c8202c018e752b3ef80a86c38e687467fb3a4e97130126fe74ee4a86063e4b25ee291de573984a6f
|
||||
EBUILD bglibs-2.04-r1.ebuild 1686 BLAKE2B e54a329c71f42760d20e7b1b0327b99030ef144472eeca6a167154bf8e9ac1e53f5601ef1499b5a91d85ecf68265a6462202ad1b5aae7ff6e28672caac0387e1 SHA512 466298718dfff3cb09a1bd18100ebe97eb4db210988e798c126dac0c2f3107fcdc8ba1c47c80957bd2f4d3dbdcb35f124a371d43e1385d457bd8785200162916
|
||||
EBUILD bglibs-2.04-r2.ebuild 1747 BLAKE2B 15669efef55687f638022fc9dbaf1b1939644a5870e2215c3b93e8ff25a596b9b0f257db0d41c4894575dd353c3ca04271f89a402ca1865b608180882333a98e SHA512 bc9f3fd975e25031ed01e7a9185f952c7ba9329740dda40485ed330c1023e6e2f349ee4d2cdf9220d9164cef32bb5d8a1ca08f9894063930922781204f3d5413
|
||||
EBUILD bglibs-2.04-r2.ebuild 1802 BLAKE2B 97ca0f1bc6f622fe26f9f15ac46af422ee5130466d0db6a867a5a58dd4f101ab2464f86591a5c3ad40769007dedea63a96a099e5afeb49bac6e660f3f2413859 SHA512 ee4d7a9b135e22acea601a28b8722673e4c82020fc1bf3a40d9a5480591545642bc7929f9f836d56762a0672076060b0c7de540721d090f568b378fafdb6b6d7
|
||||
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
||||
|
@ -1,37 +0,0 @@
|
||||
https://bugs.gentoo.org/666954
|
||||
https://github.com/rpm-software-management/rpm/issues/423
|
||||
https://sourceware.org/ml/elfutils-devel/2019-q2/msg00077.html
|
||||
|
||||
From: Mark Wielaard <mark at klomp dot org>
|
||||
Subject: [PATCH] libelf: Mark shdr_flags dirty if offset or size changes during update.
|
||||
Date: Mon, 13 May 2019 00:13:42 +0200
|
||||
Message-Id: <20190512221342.23383-1-mark@klomp.org>
|
||||
|
||||
We forgot to mark the shdr_flags dirty when only the sh_size or
|
||||
sh_offset changed during elf_update (). This meant that if there were
|
||||
no other shdr changes we only wrote out the section data, but didn't
|
||||
write out the shdr table to the file.
|
||||
|
||||
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||
---
|
||||
libelf/elf32_updatenull.c | 5 +-
|
||||
|
||||
--- a/libelf/elf32_updatenull.c
|
||||
+++ b/libelf/elf32_updatenull.c
|
||||
@@ -366,12 +366,15 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
|
||||
}
|
||||
|
||||
/* See whether the section size is correct. */
|
||||
+ int size_changed = 0;
|
||||
update_if_changed (shdr->sh_size, (GElf_Word) offset,
|
||||
- changed);
|
||||
+ size_changed);
|
||||
+ changed |= size_changed;
|
||||
|
||||
if (shdr->sh_type != SHT_NOBITS)
|
||||
size += offset;
|
||||
|
||||
+ scn->shdr_flags |= (offset_changed | size_changed);
|
||||
scn->flags |= changed;
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
fixed executable stack
|
||||
|
||||
http://bugs.gentoo.org/115038
|
||||
|
||||
--- gmp-4.1.4/configure
|
||||
+++ gmp-4.1.4/configure
|
||||
@@ -21689,6 +21689,13 @@
|
||||
fi
|
||||
echo "')" >> $gmp_configm4
|
||||
echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
|
||||
+# Gentoo hack
|
||||
+case $host_os in
|
||||
+ *linux*)
|
||||
+ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4
|
||||
+ echo '.previous' >> $gmp_configm4
|
||||
+ ;;
|
||||
+esac
|
||||
|
||||
# Create Makefiles
|
||||
# FIXME: Upcoming version of autoconf/automake may not like broken lines.
|
@ -1,68 +0,0 @@
|
||||
stolen from SuSE
|
||||
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -1050,6 +1050,9 @@
|
||||
;;
|
||||
|
||||
|
||||
+ s390x-*-*)
|
||||
+ path="s390x" ;;
|
||||
+
|
||||
# IBM s/370 and similar
|
||||
[s3[6-9]0*-*-*])
|
||||
gcc_cflags="-O2 $fomit_frame_pointer"
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -1050,6 +1050,9 @@
|
||||
;;
|
||||
|
||||
|
||||
+ s390x-*-*)
|
||||
+ path="s390x" ;;
|
||||
+
|
||||
# IBM s/370 and similar
|
||||
s3[6-9]0*-*-*)
|
||||
gcc_cflags="-O2 $fomit_frame_pointer"
|
||||
--- mpn/s390/gmp-mparam.h
|
||||
+++ mpn/s390/gmp-mparam.h
|
||||
@@ -20,7 +20,8 @@
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
|
||||
-/* BITS_PER_MP_LIMB etc generated by configure */
|
||||
+#define BITS_PER_MP_LIMB 32
|
||||
+#define BYTES_PER_MP_LIMB 4
|
||||
|
||||
|
||||
/* Generated by tuneup.c, 2001-12-03, gcc 2.95 */
|
||||
--- mpn/s390x/gmp-mparam.h
|
||||
+++ mpn/s390x/gmp-mparam.h
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* gmp-mparam.h -- Compiler/machine parameter header file.
|
||||
+
|
||||
+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
+
|
||||
+This file is part of the GNU MP Library.
|
||||
+
|
||||
+The GNU MP Library is free software; you can redistribute it and/or modify
|
||||
+it under the terms of the GNU Library General Public License as published by
|
||||
+the Free Software Foundation; either version 2 of the License, or (at your
|
||||
+option) any later version.
|
||||
+
|
||||
+The GNU MP Library is distributed in the hope that it will be useful, but
|
||||
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
|
||||
+License for more details.
|
||||
+
|
||||
+You should have received a copy of the GNU Library General Public License
|
||||
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
|
||||
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
||||
+MA 02111-1307, USA. */
|
||||
+
|
||||
+#define BITS_PER_MP_LIMB 64
|
||||
+#define BYTES_PER_MP_LIMB 8
|
||||
+#define BITS_PER_LONGINT 64
|
||||
+#define BITS_PER_INT 32
|
||||
+#define BITS_PER_SHORTINT 16
|
||||
+#define BITS_PER_CHAR 8
|
@ -1,3 +1,3 @@
|
||||
DIST icu-le-hb-1.0.3.tar.gz 39352 BLAKE2B 7cc2e56b6ac334e0f9c259d4f9d0356480c1ae4eb647610ebfb81ee9b1bc0326f1dba68991e2893cc9b029ea53705cc0936cbbf29e74ab4ef336f58f5e8b47ab SHA512 06dff69bc17c39c13bd5bc801dbe09e2dc2f0cdf1acd774fa863e09f4a65820b2f330d4836da6748c077365f685fa74452ec1924785e3191cc2925036803cbb4
|
||||
EBUILD icu-le-hb-1.0.3.ebuild 848 BLAKE2B 18456898b19e3b1849e3d08e70aa59f1ce76b7556d55db4febef31557f56ab09f0af785adc7af05e44d30f86fd022790541f5daca3a9a92a6d53c9563f64582a SHA512 a3f99b8eb392d028cfe7c1ec241cd82c1c95e741d563c8c464cf6c6babc95a8b54527574bc55fc76112b423bb232400140df41865971e9b73feffae56e46b973
|
||||
EBUILD icu-le-hb-1.0.3-r1.ebuild 956 BLAKE2B eebef476b3b8355bda7a40712743362efeb2bf313506a7716f8c23dbf474bcdcbdaae8231184386ffbc7c9c7f907125cefef41daa07ae7f0085fa9acb8c4c994 SHA512 c2a45cf4bcf8ba1de7e43e88e9e683b896552c63c545517336fd573f7fbb350bb32f08f19634e1b3c16bbd8f1b0dc3d8070cfa97a9da3bbaa4f0ec4ab89ef841
|
||||
MISC metadata.xml 464 BLAKE2B 326f9087cfc3c08145ed5ef2dd2c109fcf1c81ca3a8a4394504045361243c4e9db69fee1f47d67bb7aa9a91e3d6e62cc61f45a74b611d62c389a70e1a1829058 SHA512 40aeb13c0ee32afb9b58e3412bf26806bbf724deebd6b966477412df1889cfc62c90755820381d3622a535ce83ec7bf4e051f85dea84138b84bf553ecc7b84fb
|
||||
|
@ -1,34 +0,0 @@
|
||||
https://groups.google.com/forum/#!original/isl-development/Otz1QKZDpzA/71GkTvqkCAAJ
|
||||
https://bugs.gentoo.org/702968
|
||||
|
||||
Subject: [MAINT PATCH] isl_basic_map_underlying_set: fix error handling
|
||||
Date: Tue, 7 Jan 2020 23:02:42 +0100
|
||||
Message-Id: <20200107220242...@kotnet.org>
|
||||
X-Mailer: git-send-email 2.24.1.591.g12029dc57d
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 8bit
|
||||
From: Sven Verdoolaege <sven.ve...@gmail.com>
|
||||
|
||||
The check for a valid bmap before accessing its n_div field
|
||||
was inadvertently removed in isl-0.21-230-g6a4c4bbf31 (isl_map.c:
|
||||
extract out shared isl_basic_map_{take,restore}_space,
|
||||
Thu Aug 11 10:27:49 2016 +0200).
|
||||
|
||||
Reported-by: Richard Biener <rgue...@suse.de>
|
||||
Signed-off-by: Sven Verdoolaege <sven.ve...@gmail.com>
|
||||
---
|
||||
isl_map.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
--- a/isl_map.c
|
||||
+++ b/isl_map.c
|
||||
@@ -5511,6 +5511,8 @@ __isl_give isl_basic_set *isl_basic_map_underlying_set(
|
||||
!isl_space_is_named_or_nested(bmap->dim, isl_dim_out))
|
||||
return bset_from_bmap(bmap);
|
||||
bmap = isl_basic_map_cow(bmap);
|
||||
+ if (!bmap)
|
||||
+ return NULL;
|
||||
space = isl_basic_map_take_space(bmap);
|
||||
space = isl_space_underlying(space, bmap->n_div);
|
||||
bmap = isl_basic_map_restore_space(bmap, space);
|
||||
--
|
||||
2.24.1.591.g12029dc57d
|
@ -1,3 +1,3 @@
|
||||
DIST kqoauth-0.98.tar.gz 37059 BLAKE2B d1214ac22cb52e7ead1be3ce7af2af9c4b2e1cb74e2b4bf3891300099c0a0abb0c7295fb4616adcb59cb4405eb52bec4097b48d39563ac407bfe692ce94492a2 SHA512 f89e0f046fb7fd7812548f94c460d7c18d4881972e155a99e07503e97fd46b6eada0de9f2c3a94af33ef5b1b3b489bbd5dc6738cee104fe2d11ed62e681c7979
|
||||
EBUILD kqoauth-0.98-r2.ebuild 980 BLAKE2B 4ae4037f10861ebe48c087b7d1f67179123b49dea9833aba9d47842c8845714a1481822a0b9f2a5da14a6ba668b69e70f426101ef491cd6ae3716da10d1a75d2 SHA512 e21769ccb5b3c837a57421ead31d67cbb9890aadda59544254ed08f3647b7fab53d8f7ff635706a8d43d1485a3f19813b3cd7275c904f618061dafcc66b4a5bc
|
||||
EBUILD kqoauth-0.98-r2.ebuild 976 BLAKE2B 611fdf2cf91b9a2f3d6ad640c30b2eeb3fb1ebb6b0b2f59233edf33153f660d4d329aeef7d2ca3f3d05a50c3670402a07635e8957b798f5f0c65cf731afe04dd SHA512 9b6dd2ed8de3c89573548149fdcceaf2e3ada6cf8d005c4085f80a59040c83593c4c46abcd5a69904cf9ccf58a21feba4d5f775207662bdec6f05c67f2656095
|
||||
MISC metadata.xml 443 BLAKE2B e38dcf6daed9ac5a23061075de0f992b2e3a879ca35450617ce70dc3a007ea989ffce209a4ac150a98cfe37c6bd013484a3dca219934479128ad11bc493a7b93 SHA512 56182d7d36d0d01d2a64393e60cefb440650b46dbc45e102cfa7f3fe6431552dd4dfa03eb4f34a284fb8dfafa14ef711fb8586a7beaf6aed71f6048401c89aaf
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST kuserfeedback-1.0.0.tar.xz 187784 BLAKE2B 24acb6c1f143a0811a84c7d4f5ffe923df2fe94b0d13e361870d308b65ee8be747cef1a2ab719c6023b4f5885fb9970620a2a5da0d073e70b1e4912c6f64c5d1 SHA512 d45c45b3f7b50f7ff3e5e5ae7e6a4cd68c0aa444553d0c44a969ae17e51ef5114ab6401c8ce65744ec3d635cb2edc7a127187547f01f4954faa55087c702dea7
|
||||
EBUILD kuserfeedback-1.0.0.ebuild 1272 BLAKE2B 6f520f8ad36234a10c6b1e08f3246b9dccd62c6e88c4518794817ce8ee79187bfb355e883965fc1db955030fafd3c973eed6d718c61acba86bc96683ab2c35d0 SHA512 47cdef6a923c4d53ab12cac1a70c9759ec465b9bbbc51fc03ffc441362b46cbb9d11959f6a37a708bc5597d44c1b3c3b78a9d601a027f6b576d22200aa48ad7a
|
||||
EBUILD kuserfeedback-1.0.0.ebuild 1271 BLAKE2B e9ca9132a28a5f82b2fd996a5e6a571ce14fb1e9d49b1f29759505c20765462d3386ba8bd54b984b38f01d35009f9f2a4a1da0aa51429ce57dad605b692c334e SHA512 340ba6917f2db07cfd0ccef5cccf8c67aa3d2a6014c529f6fafc134e86cefa0b3a83d6b50b0529ec6972cbed318652da804f939a5fc2d83f2f88bee148cc5380
|
||||
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue