parent
c932ba1e8f
commit
50ffa2b03b
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29621 BLAKE2B 899153334c08ce24d540a4a8227fc3ee48d8dee1fb90b50b001261291d66a5758c70808d63b6e9548ff019d4127a5ff4a3080a85b4018024154476a869acc3c6 SHA512 c5ed018234dc81a3bbb8db7a10f794ec1cfbedd7b877dffbdbd70eed0a65cae3feb4b95bdfa57689c2a16361c49051c03317af60ac5f9143678e1213d0ad2b8c
|
||||
TIMESTAMP 2022-08-28T20:39:44Z
|
||||
MANIFEST Manifest.files.gz 29586 BLAKE2B 334bfd778670e83843a4d9314b19768efce6e5c037dcb23591fa2e3920be9218ed46da55d1ff5f65fecc4b7078ccb1f1b7e882bb092ea9bf5372c70a261a7e6f SHA512 270432bd32b9ab09cfcc9a4f15929594fe2d0aeab83d9c2dce2dcaa87840afd81c3a6b137ccb35c4dc011ac723ee0b5c3531266f73d862285f23ed0a1fc0dc6a
|
||||
TIMESTAMP 2022-08-30T07:09:38Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmML0pBfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmMNt7JfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAeBg/9EQD+MVln1BM4DxGW6WQAm2q/pNl9Zv9ENJv+8motuIoIbc7BVxs5ELvt
|
||||
OVfCF96Oh1O4HT9WKKow960k2hwxMuHiiXy5mfg0G/lpWMRnh4LdYyJzYfYm2hWr
|
||||
7TDtagckuJ5XgkfWbUNxUrIBOgOCW+ayaIdSxDE09Kid6FaY9/QSSE946UF4QcBA
|
||||
G6xLm2/zZ0y2lNoImjeNU+IxKPO1CH0guV5Gr7h8L/t03tdg9Ls81IJpLHzKW2Yd
|
||||
rmb1y2XtSOJZy1Uq3IUdQQwjzxPPmxRfewzd03yqw1OI37CQUPnBM94sZkMFgffW
|
||||
kO0/yXDlehbUYpAvivQiZVJjpXH77OrGJ/XsaHjWlBGf7qwjUCBNZ6xbycLbMHGh
|
||||
ujBzVJneS0InvWfXPvHT9mtI//d+0tjgkSaDQjDihvMp0fKnVgWd+w6T8KAJd1DY
|
||||
f+aaxW+lNJsBee2cUjBv5LhTEAKvHDLJ8VaXPB+t/9QcxR6bXvnsFXbkRtX/TNam
|
||||
JH/cLv3s7GrAwhhYW3P7rKomtTx9mFqBW72BGH3JiFkFV35RRq1T8uOkO28wjxng
|
||||
dB792jMGPivd4HvPpyImZJCfcGjax+qHnPEbMTiAK4SJ7CPpXMUxPK9fQP3lsmb4
|
||||
BB7bhgecf5rP03gTNoRd5v2Bbh+N0WRwzSqnzCwmz5BT5ssZBU8=
|
||||
=PdxU
|
||||
klDnUw/+MaLTHTWHOOnoJSXXLKH8U6FlziBZ4H5xqqNnj6sxdZaTjrC9uAJbwdWw
|
||||
n+p3RwNbd2MI5JTRNRpd/CHB2SiJO1ho4uYikL549gOT2dCo7sHLIzwtYg92czB5
|
||||
NsZ2wOsXXEHE3abaE4OwikAnE/UwyJVDdxxFKmZpZNu/IhsGnEFSuIvDR2ZOP9eU
|
||||
dEJYEqWk37pMZanq3sl/5qwHmW2ABRTVk1LY+RxkNguzrkdyPVib3b/FaRxMDP1w
|
||||
ryfY2FHQRb0iBBvFEXf1f3TZAvwa5Bf0ViqWdrv7g2uVrj1qeNAvxgxD+jH5RcYV
|
||||
+x79AOhe+gxMEm55DgWPSo1PRmOWPv3E0L5v2b6YD08I7pQ7XHz3eW+K4iowUzYy
|
||||
AwaWO7/u5NYYk/oyVzDdL3CYN5S/rMdoddGMV1Rjlzh5agqXbTCbJYNMHPHs/kZx
|
||||
IgJ2gAwXhImaDYEA+R0DYniD47TXenzFFWYClwNaabY/u91RI5UfatVaeCHn/WIC
|
||||
Fqhpw8ZBZCZTlD3L1au/+f063axfkFit6Zgq5Y9NqDEMaiZx1DRW8GTvxAtRHCDP
|
||||
xNt8ztYOWVo9C4X93HAY63MbfbTevs4MMEfrJni2CMtg7FeEefzFqZrOux1Bi2tT
|
||||
Cc9h6FDGXFfq0FsCm1kDlO6H0b3PwkQtcC4Lw8NgjjVNRLPSCsM=
|
||||
=Oro5
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,6 @@
|
||||
AUX espeakup.confd 256 BLAKE2B 1fc5aed1a603d19a7dcddaae05eb00dfe8651993c1f31dfb5a7db0737c24cc75f284dd313b7e1abd2c2841d408f7a719124aac91eb974a5b1e9ae00be4abf6a3 SHA512 aebd97c63dbeae5025bf54f39bb3e7d97822a2b1b369e40b013c5c7da2eba968adf48800f62ef14541ca22ed3f3dfcbdb63b2a3d7f45975ae8bddfea0a42d931
|
||||
AUX espeakup.initd 399 BLAKE2B 5fbc9c7f723519493829cd853232f959488dda14f1807344b20b424cc81aa5fda17b3431e8ef760c5011ad1bad78bffa87d861e45b8e008d4972ceb2087ae452 SHA512 034d880dc58523f4185137181109e4331549689ddcb271a0a307cc4a71987c1a8878287bb6da547d0e0c53c7559a5f14d6e61a16db8e893e7da2781f1cab73dd
|
||||
AUX espeakup.rc 284 BLAKE2B 9cbc247d542afa3ed7cc8be816a96cca7673b5af0f30f91c91ecde838b31311371b69ad02d195fbc41973d58844eefd997b83aa5f329bd3f1ec9d74ada55e05a SHA512 411e984074260d1a5e7cbf80ff4db7e16d7b5cca48a5e82491bc775c962636da1cefc79527921d8546056b969b8368a6c157833e27bb0e4e6aae48596225b747
|
||||
DIST espeakup-0.80.tar.gz 39626 BLAKE2B f36d9776b954e73fd2bc33c7ba97dd323184480549b667ac2afc4dc40a8b98089b8ced16e8b1cb33e6b4c586df27a8d6f782236ef8770bc98a530665e257edcf SHA512 1b7e2bd46c3c13a5305746d2d2810ec94a8660f561e4f679ee4779be1b22178f8ac7de42d626d649710509f7b087b9a2f94608bde203d1bcd6d353229ed9ff83
|
||||
DIST espeakup-0.90.tar.gz 25170 BLAKE2B f91a70bad0d985d313852b9e5f72dea4330ab23050ca6904ae5895d513088031f34d878cd64d97dcf2cf02dddc3e9fdabd0826cac98634829019ed3267e27bd8 SHA512 0731835a04063c5eac8ed0ed37cd92cc5d2dd1c58cbd94e158b7dfbb7bc0e2f84a6484fffd9009bf2920652a36fb737044b2e1fb67fb1679ee7150855bc9a15e
|
||||
EBUILD espeakup-0.80.ebuild 1788 BLAKE2B 104c80fd5c5ce820a4d4a467ef86c05f4e38d21753837d29812e8c2c7b1d1ab4d1787eca01cf79eb490b8eff918c401e9c835b6fba69ee1b45e328e1167c5e5c SHA512 4d5bbcc7df2febd0fb4bc90f07e678518b30a8212a9483d6161713e32491d849921dcaee1dd959c6925d82595e993ed6a07539de9ffc9b85d0d977d250941787
|
||||
EBUILD espeakup-0.90.ebuild 1570 BLAKE2B 284bb4b404ebf0b67018223552ce6590119beb15f38d45d1f2ab710f270ecf6b2716d3847d63c097542a1fc49e220826aeb70143d6fdac6fc5c463983389eefe SHA512 88a88613502acf52a008cac26eabe4296e38359677da5803c323dd19e30fae3422a86f340517340dd75675533392bf3fbca457f690112d1759dc3951f821ff2d
|
||||
EBUILD espeakup-9999.ebuild 1402 BLAKE2B 1fda1833c49a314413fe60c537d3101e8a1230a727bc8f9a627414935266cd9372c62b943497bd6ca4ffe11bd0c49325de2f4d62bfe1e92d9147138438f9ca4d SHA512 bab74d580b835c764a78ff1d237493e0b3a8b8834af5537deea4643ce3d4c0b8c7053a3ca64b346749839b1d04cf34c98741242c109e478037ee49987fe67449
|
||||
MISC metadata.xml 604 BLAKE2B bd610ade0064025744641858af26947682b042d4872847d6150a2112b4dec2cc5dff3468d5442b9ce7bfd2981351ed5b86c083a67990981ebbdd7707f76b380b SHA512 d15cce58fdaf12d6cf33100c91d0f4d95b9df08ff4433f559e425a5b59fa9ccdcab06a3af870b1d805c32fdcef7ef065d11a63b15999798bb4250b09618d9a21
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
|
||||
inherit git-r3
|
||||
else
|
||||
EGIT_COMMIT=v${PV}
|
||||
SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
inherit vcs-snapshot
|
||||
fi
|
||||
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
|
||||
HOMEPAGE="https://github.com/williamh/espeakup"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="|| (
|
||||
app-accessibility/espeak[portaudio]
|
||||
app-accessibility/espeak[pulseaudio] )"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
|
||||
ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
|
||||
ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is -ge 2 6 37; then
|
||||
check_extra_config
|
||||
elif ! has_version app-accessibility/speakup; then
|
||||
ewarn "Cannot find speakup on your system."
|
||||
ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
|
||||
ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
|
||||
ewarn "or install app-accessibility/speakup."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
einstalldocs
|
||||
newconfd "${FILESDIR}"/espeakup.confd espeakup
|
||||
newinitd "${FILESDIR}"/espeakup.rc espeakup
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To get espeakup to start automatically, it is currently recommended"
|
||||
elog "that you add it to the default run level, by giving the following"
|
||||
elog "command as root."
|
||||
elog
|
||||
elog "rc-update add espeakup default"
|
||||
elog
|
||||
elog "You can also set a default voice now for espeakup."
|
||||
elog "See /etc/conf.d/espeakup for how to do this."
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command=/usr/bin/espeakup
|
||||
command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}"
|
||||
pidfile=/run/espeakup.pid
|
||||
|
||||
depend() {
|
||||
after modules
|
||||
use alsasound pulseaudio
|
||||
}
|
Binary file not shown.
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/hiera-3.2.1:0
|
||||
=dev-ruby/facter-3*
|
||||
>=dev-ruby/fast_gettext-1.1.2:0
|
||||
>=dev-ruby/locale-2.1:0
|
||||
>=dev-ruby/multi_json-1.10:0
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if [ "$(ver_cut 1 "$v")" -eq "4" ]; then
|
||||
elog
|
||||
elog "Please see the following url for the release notes for puppet-5"
|
||||
elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x"
|
||||
elog
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX atool-0.39.0-configure-bashism.patch 365 BLAKE2B 677ab0da286c462adf41b8b58d007dee8e3fe874a7ff34a652e1c16160186c9e633d77901d943f18edaec23ec92356c4b09eca41f0e0d7eb9f92055e580d3400 SHA512 f99d333339f605a3c6f0373984b107925b764ff6843d2b8b9c96e50bb3b368812acaf9a56d1f3db2dcdfff0b3ba2d9a9301312d3e4dd0a2dc3ffec3086b1b9e0
|
||||
DIST atool-0.39.0.tar.gz 119307 BLAKE2B 770da3764a75d29472ce052c568ff534b88a394ef022c91678693e2eeaad1613343dcbda907346e2ac83eb4e6c164bc8e7a07b3edbad919e7cacb3846221eb90 SHA512 2011c13f510a140e71d26f9eac60d07f2cb9004dc278303fd37c5c7f78a6a2366ad9193e7b4e015d9fba8218c59205a6339189ae4775b0afc42328f9607524d3
|
||||
EBUILD atool-0.39.0-r1.ebuild 569 BLAKE2B 446e7a8a193169f4c03ce032bd04b3a17341b40f9934b11f1f3374a588f536beaef6f4bc544cfa1018e41eece3a6c78367658373f9a446c87db965c487b8cee4 SHA512 372ee32965984c9dbdbab6bf0617ca959c96970bde3f4b80e2e147a7487fc9758e0bd2874b7dcd0a9f0654038d3f69653c2370e8df35fa4c8d79b3a64dfe057c
|
||||
EBUILD atool-0.39.0-r1.ebuild 576 BLAKE2B e093f4f4838098f4b91146be7356a6c5fae9baceb6f8c22cb73c6c231c289ed080892df620d0c5fbaac43c0b211b15dd1c7fcbf3c647c3fb6ded1b2eb56bc33e SHA512 7c919395e20d1194560a551e0b04c1bb20a4279de0c6a2ba65f90b54fe47f93e2a7d4cc8302c631e66953f0442db324a0811505aaee7cf368dde2e9a743a5450
|
||||
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
|
||||
|
@ -1,4 +1,6 @@
|
||||
AUX lz4-1.9.3-negative-memmove.patch 740 BLAKE2B 8b13944ca6236ae50e4cf6b6bc42035a5e15ce6a63b3a1bed832d0a0c189240be4b9678badd267161bf36161ac5be6083287b2343c35798675195f49d90d1e80 SHA512 29038d80c4399ded52b49e69d0f0d80bef8bf424e3540de366ef539706c8c1119784d6137c96130f131239d74a4c110dd9790cae5c9b17c102820446582c5637
|
||||
DIST lz4-1.9.3.tar.gz 320958 BLAKE2B 9a194bd18ff52f780aa03a8a53fe7fab7b58117d768f4ba8e5005830c935d16328d0f7cc54f9413b58faf245017c0ac85fb4e709a9db150cb150a0a2a3c21645 SHA512 c246b0bda881ee9399fa1be490fa39f43b291bb1d9db72dba8a85db1a50aad416a97e9b300eee3d2a4203c2bd88bda2762e81bc229c3aa409ad217eb306a454c
|
||||
DIST lz4-1.9.4.tar.gz 354063 BLAKE2B 2289cdce36acd35283bf2f02ef4d6d8f4805563be6d5a3492f3d6ea7975fb6bd14e1ac2e505df9747776edf8bcf0da7ba4ae7084b150e3ec08a52a9885f92ad5 SHA512 043a9acb2417624019d73db140d83b80f1d7c43a6fd5be839193d68df8fd0b3f610d7ed4d628c2a9184f7cde9a0fd1ba9d075d8251298e3eb4b3a77f52736684
|
||||
EBUILD lz4-1.9.3-r1.ebuild 814 BLAKE2B 9ccbf4c923602b0372b9eeb5d47105d85f319de9ec561400d87fa8922dd98fdc931eb7feee56f9b30e8d284e513a221ab386691b92aa45cfd07182ba3f369ea3 SHA512 a005ee692f50d847cd66a9993462e8e56f44feff8ff84bfc06e028021b4698276d32703e87402dbc34a46aa9e5b97107fcd0462a4d0ddda16128b51559e65be3
|
||||
EBUILD lz4-1.9.4.ebuild 766 BLAKE2B 65df4a4cb89d7705b2373f548964eb881bd87e9589f95ae3a653cf915fbbffa185363286e8f7848f8bf5db5574dae8a97d5edf66006cb6a6e07faca64a70d7f0 SHA512 e0b77c28fbe922dbe5294e54ee3d1ef9561133ac036cfb665d1428866fba8a4cc6d09540a063119900b7f119320760d134213f81bddd6b987e70da4a0f319040
|
||||
MISC metadata.xml 489 BLAKE2B 4dfd77b68f91836f564b22e46a9a7fddcfd783e7a9668888812e97a460d7dbd88200eff9e3f3e3643c8d92df6642b32eb018bb6d0b8b41aab4e7da61806ec6e2 SHA512 ea1b256a35b7f0597e1fac0457e1e33af4203e65dcf26a1c527228ab1c60dcfa244929efed83bc07e4d8d4db7547efa3a1a0a4c725a04e395423f11a5b47234d
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Extremely Fast Compression algorithm"
|
||||
HOMEPAGE="https://github.com/lz4/lz4"
|
||||
SRC_URI="https://github.com/lz4/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
# https://abi-laboratory.pro/tracker/timeline/lz4/
|
||||
SLOT="0/r132"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
CMAKE_USE_DIR=${S}/build/cmake
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST xarchiver-0.5.4.18.tar.gz 1112838 BLAKE2B baeab65c9f81eecf070185fb3718b3e8a460e94393dfcdf38ad8bfb2a771c6f98a8638a28c43aa99d05a95772ca7e1546d9be1b602e22a715d5827350976f9d8 SHA512 a33236839d325a2d706fd0a9e2257ab5289895b030450b2060da856c047e5676ac5686312f8d00d3f38d329d0cf39fb22330a7c902b3ff5943856801435f6970
|
||||
DIST xarchiver-0.5.4.19.tar.gz 1120885 BLAKE2B 4b8b9e188b16b799f33a1816a5f19a0f67720369282239e3a22af8588b9776ee37dbc63cb1b42a426c515a360aeb1abda84b22e783bd8e4e3578eb2f2fb66ab6 SHA512 f35846bcb1236957d4201980eb1c9e49e16472ab2316935c9f8c94a9b4c3c2da879cd2730c3413041098042251607432f6af1cbacadd97b81efb81180fa5ee6a
|
||||
EBUILD xarchiver-0.5.4.18.ebuild 1318 BLAKE2B 7005030e5950a06e0b99759ebfae10f59c80dd7bcdb7ca69cea78d871d5db7598e251da11f359e4610b86a48a754fb9cce7e5098af692e4f83a5a172fb9a5d33 SHA512 63f86d63e6924c14a7ae8dfb41bd80ce6adcee1b352f6dcbcf13887a85df2c0e8cda62908f91d07d40db0c6a63f27388096a44b72648bd8a43b37420a5ccbbaf
|
||||
EBUILD xarchiver-0.5.4.19.ebuild 1197 BLAKE2B a2719e1e23328e2e060b0804f22070f847db4c24ebfa5d94b31035b8f2a6b31ad313da510d0d7a89a4aef199762775fc4ff2ff201a0bd0555643b1558aa8ed23 SHA512 80d6b0108563dc72a96d17597e25b1ab034b97857a23c46ea7fb3d101c60ab5f681550202ff84ecc25b0595594cc8b2823eea5d117e6c25803bbf8bac4b6cbf5
|
||||
MISC metadata.xml 448 BLAKE2B 5eb8d55f09ade402a421e0a40bdcea04b72fb284c6a705c03be6454e7862253344d5c8e91adc37510759745eccfe68ccd4945192e7a24beae0ad881b04f68337 SHA512 240dc27cb546ec70d0b85db8d9b8c77a38ca4773389caaaba3bc52e9dc823803c330d5a83213c6ec6a6cf3a56ffb8eb09692c446df7af42f3ecf844cbd6b13a4
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils
|
||||
|
||||
DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
|
||||
HOMEPAGE="https://github.com/ib/xarchiver/"
|
||||
SRC_URI="
|
||||
https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2:=
|
||||
x11-libs/gtk+:3=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable doc)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog "You need external programs for some formats, including:"
|
||||
elog "7zip - app-arch/p7zip"
|
||||
elog "arj - app-arch/arj"
|
||||
elog "lha - app-arch/lha"
|
||||
elog "lzop - app-arch/lzop"
|
||||
elog "rar - app-arch/unrar app-arch/rar"
|
||||
elog "zip - app-arch/unzip app-arch/zip"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST aspell-da-4.0.tar.gz 4208911 BLAKE2B 828176450a1d6e5e2e9b07d16c785239a012fc8382d92fcddf6dec812abbf49048b2f1c15de6655e09d74d2f65cd1a43939b3bee8f036ccfdd441f66b5ea259e SHA512 bbc0c4cc0202f989770d84ac9b5ff688b4c8bf0fef7128c36e54c7e4d09e8233eeee986def9a5d75c05d2599eaf96db4be212f6dc758bd23f723f611bf545ba5
|
||||
DIST aspell-da-4.1.tar.gz 4239148 BLAKE2B 21c30ec4576b73964d434217eb0212bc2e15774b42d7b4cbc9be37ae97eef42eb66821e22690b2b1d72c91d0240f2152acd1383038426ab65c030bc7f74379f1 SHA512 88a3a60db9be45f3235d75db0f946a5d7da0c2cfcf847ad2672c7b0e243454dce56f5f37d0652c6f2b9aeb08edbbefb80c4f45c909e5ba33aec2714f83fac7c3
|
||||
EBUILD aspell-da-4.0.ebuild 448 BLAKE2B 122178a52be12fd9b2e9d3c9ed8c4e6f345c35b9dd4629d3483723e5e8a6cb0d2321af04035c7b614d0059e74aa66d97e9ecc8de016d7dc9fc71211ad81a59aa SHA512 e3a832d942be4ac23dde982a2aa59cba6d144ab2d13893f8c144e868c7287b72745465ae7327b3020438e305b16025ac2003ac92d74394903adad28dd9e7aad9
|
||||
EBUILD aspell-da-4.1.ebuild 455 BLAKE2B 22677c6069ea70d722417262460ce82baeaa228ef08baed2449c6aba65cbf108dcb5128ed452657fcab9ddbcbec8c08bdf3c24bfd9a277341e7a10153944ba55 SHA512 79ba6a15b5e6fd6b3afea99b5f69aa03708818acccdc92e51bd59f491c5f0b87a09161730d9523472b96182002ff27569258af60267e1312877b0e7e2635ad62
|
||||
MISC metadata.xml 275 BLAKE2B 5ea4d40b14cc5ef65beaed8b1e6fba240963d79a9295621e0ec49d8e2a5577dc44770ebdea263723703611df01545780051e8cba4f2c4b6394c44db2abce3cde SHA512 c3dba23dbeb92f784a10f132881fd91e83a7bdc6a313ad5dff7da6e91ad72975a1b6fb5a85f3adef4abb746dd7f0fe7af81b8176ebf9ca495259ec04a29cbd8a
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ASPELL_LANG="Danish"
|
||||
|
||||
inherit aspell-dict-r1
|
||||
|
||||
HOMEPAGE="https://github.com/mortenivar/aspell-da"
|
||||
SRC_URI="https://github.com/mortenivar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
|
Binary file not shown.
@ -0,0 +1,139 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit cmake flag-o-matic llvm python-any-r1
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
|
||||
else
|
||||
SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
|
||||
SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Documentation system for most programming languages"
|
||||
HOMEPAGE="http://www.doxygen.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="clang debug doc dot doxysearch qt5 sqlite test"
|
||||
# We need TeX for tests, bug #765472
|
||||
# We keep the odd construct of noop USE=test because of
|
||||
# the special relationship b/t RESTRICT & USE for tests. Also, it's a hint
|
||||
# which avoids tests being silently skipped during arch testing.t
|
||||
REQUIRED_USE="test? ( doc )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="sys-devel/bison
|
||||
sys-devel/flex
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="app-text/ghostscript-gpl
|
||||
dev-lang/perl
|
||||
media-libs/libpng:0=
|
||||
virtual/libiconv
|
||||
clang? ( >=sys-devel/clang-10:= )
|
||||
dot? (
|
||||
media-gfx/graphviz
|
||||
media-libs/freetype
|
||||
)
|
||||
doc? (
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-plaingeneric
|
||||
)
|
||||
doxysearch? ( dev-libs/xapian:= )
|
||||
qt5? (
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
|
||||
"${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
|
||||
"${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
|
||||
)
|
||||
|
||||
DOCS=( LANGUAGE.HOWTO README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use clang && llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
ewarn
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
ewarn
|
||||
elog
|
||||
elog "Continuing with -O2 instead ..."
|
||||
elog
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-Duse_libclang=$(usex clang)
|
||||
-Dbuild_doc=$(usex doc)
|
||||
-Dbuild_search=$(usex doxysearch)
|
||||
-Dbuild_wizard=$(usex qt5)
|
||||
-Duse_sqlite3=$(usex sqlite)
|
||||
-DGIT_EXECUTABLE="false"
|
||||
)
|
||||
|
||||
use doc && mycmakeargs+=(
|
||||
-DDOC_INSTALL_DIR="share/doc/${P}"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
export VARTEXFONTS="${T}/fonts" # bug #564944
|
||||
|
||||
if ! use dot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| die "disabling dot failed"
|
||||
fi
|
||||
|
||||
# -j1 for bug #770070
|
||||
cmake_src_compile docs -j1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
doman doc/*.1
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX ddcui-0.2.1-build.patch 639 BLAKE2B 0485050d4e57aff2261b210e55b96baaeb3271060ccc05a0f88aed2c678c99c8b4e0485153e924b3dcc0f8a2faabf0991bac4b698f66f6547f925189ff85344a SHA512 cb4d61500c083ed18cb5264e02997fc88416baea7676a92f1aedaa400007aaa7931993ec32a8b1baa7fd9bb552553a4dbc77393c2501fbe1618e4150c9c0d87c
|
||||
DIST ddcui-0.2.1.tar.gz 601220 BLAKE2B 18af4ee4db741a612565260ed812f7274695472e9dc6e32c6670efcbdaeafcac9b0b45e44d02188d23e0f379f57b062270ecad58bdcfa8e8c2bf99c2775b1dfe SHA512 0df363dbf17750e3920e0afc5fc29b42271bbf06dcf52cddf46f3660155c0954ee39e8e356e9caebe1a6a679ab0b3a4ebb2e501a9bb9ac2cd47da3f522fb3169
|
||||
DIST ddcui-0.3.0.tar.gz 601534 BLAKE2B d91d7467879c684cbb8571da48dfd170afa60d63832b44515d6d19187792f6c3c2c178e907ad8693cdba8df44b448eb4393a91e4439dcda13ac096ad6e97a594 SHA512 fab1ea757aad90fa68d2f6f5c128d7917e81f287a0a9e432461c7b2119c3f0d9da0e28a013510d1b0cb300b40c3f4dd745f3e1732c52f671c4d6e39b3ef0c368
|
||||
EBUILD ddcui-0.2.1.ebuild 792 BLAKE2B 25c3542dbbcd4373b83165a26d17983f385629d6267a9ff87be323a36badbeb3d370f4f25e8c14cf54b537c33b00ede0c52362d65e186dc1c049989df31c3fe0 SHA512 6eff83bb90b446b7287bc9557f83d7fca0fa880b397928ec337b9ffa5af1ab8ad7a3c6df1951a9bb01822ee9de849984e2a18ccb11689dd7f60a01e3d55c33a3
|
||||
EBUILD ddcui-0.3.0.ebuild 747 BLAKE2B 89b640ab18679a53385659041044e7bd7d7642f0adb799fe1931fe913f3d7b8366b4180cdd62a8041eec3fabc8e90e613fbde5254008240c265b4f679fa8cc90 SHA512 d335fbc619662a1b9557d2259a043389f31565df392a20bbeb1252bbdc1c2b8d5b6c1423dcb6961751aa643a22d8a1db9c722502c55bdde4e221dadf19f84556
|
||||
MISC metadata.xml 507 BLAKE2B 4f458118ad0f48137ac6b50871d7bc07f3b4416cbb82b264edd00726a6b9655d9ce986618da3c53a8e8855054a1e1e68045353589fdde1541c17e3f4b2e29828 SHA512 6a5c378319fc110e1338f4f6aeb5ce41c76ac521e95311c8b368b5357a2fd362038b21e46ff59dafc2cd8b0baeb55b7530b64c9f4f25513eb3eb66e528fd1e28
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Check for bumps & cleanup with app-misc/ddcutil
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
DESCRIPTION="Graphical user interface for ddcutil - control monitor settings"
|
||||
HOMEPAGE="https://www.ddcutil.com/ddcui_main/"
|
||||
SRC_URI="https://github.com/rockowitz/ddcui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib
|
||||
>=app-misc/ddcutil-1.3.0:0/4
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qthelp:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# move docs to correct dir
|
||||
sed -i -e "s%share/doc/ddcui%share/doc/${PF}%g" CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
AUX ddcutil-1.2.2-no-werror.patch 858 BLAKE2B 83dbd07d70237f0cf7c823fa1c412c8ce6aa3fcfc39ae203586ba6d0acb5f5628136a702799ba6151a5359b99f574534064803a5512652a3135960e1ea7f14b6 SHA512 0628149606d927bf624d9f152e21cfc7ccc9fd847b502f0dff487188b529779a35d9fb3ef787bcbc421db1bceb97e210cb835de948a8535809b27c925f21c8c7
|
||||
AUX ddcutil-1.3.0-no-werror.patch 1835 BLAKE2B 1edbfb8c00db14f5e33dd229b83e5145b8a659f8ea4c2c2626b79abbdafb8b7872fe55e1dccd7cb6ec5f390c8a91591d61fad08d08b952457e6ad8df54075ae6 SHA512 a8664bafa314c3664c32b3a7c7a22bf7a3a9163dd57888e91726f0d82371b65f873342b0daba598ac02020cef5742bbecd6b2434c2392c46642951f9bba4d2f2
|
||||
DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe SHA512 0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
|
||||
DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf7d622be1c4930808f99e16974ff57ed582d1d02a67580e3f4d92bef54b3669fd7378462bf4c98a3643d6786be SHA512 93d69958b2e1dcb66ad700712742536179383c93f2ec1f746b6a6c78adfd6daa861275208850cc807e0c16a11ea84904cb13ceef512ca76e1daa910410303d41
|
||||
EBUILD ddcutil-1.2.2.ebuild 2858 BLAKE2B bcc3c7806612b87f84e83a42dccec89b554af1b7e31a1e6d3721256480b8f39321a902cbc53cf4ff27f66bea280ba3fce2a799b9f30cbcda9e64dfce72b93e84 SHA512 f7b028f86f18c3290c9e066ab9404e2a071aed1506661d03128da052cc25771151d8245ca79dc4832b486cb8c4e4800feebe14d889fae33f17a45f47a520e597
|
||||
EBUILD ddcutil-1.3.0.ebuild 2937 BLAKE2B b0359cd1e43b2e4b79d63fc879a5f0dfaef228026e58080e8c64f5a2e6e8580204ee44cd04cafc053ec57082f000d060e9f317a733ac434804239fee3faad84b SHA512 cd9b87dfe214a2e8ac496f63aacd8776de47dac0a18248af47923321f2431f58ea0c2229d975d81bb6dfc0e1f731b80ca15ce17766cf05d9d7556710b364f42e
|
||||
MISC metadata.xml 1293 BLAKE2B c7fc827c0bcf7914b2c0b3f9ecec9dee145824c33a516ef3d9cd43fcd368977d9f17a76b6b8775fa773f8ce8b109d16b1e5c8b14dee5d0e9e56aa7a4024a190d SHA512 a795c9fb1479ae198446160e9a020ce911b02ffd0d51af9cd634504aca1ded4c38d3295eca0cbc6ad33506684f55cf96676c868ec349229d0dfdaa17f8afa806
|
||||
|
@ -0,0 +1,119 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Check for bumps & cleanup with app-misc/ddcui
|
||||
|
||||
inherit autotools linux-info udev
|
||||
|
||||
DESCRIPTION="Program for querying and changing monitor settings"
|
||||
HOMEPAGE="https://www.ddcutil.com/"
|
||||
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0/4"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
|
||||
REQUIRED_USE="drm? ( X )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
sys-apps/i2c-tools
|
||||
virtual/udev
|
||||
drm? ( x11-libs/libdrm )
|
||||
usb-monitor? (
|
||||
dev-libs/hidapi
|
||||
virtual/libusb:1
|
||||
sys-apps/usbutils
|
||||
)
|
||||
user-permissions? (
|
||||
acct-group/i2c
|
||||
usb-monitor? ( acct-group/video )
|
||||
)
|
||||
X? (
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
# doc? ( app-doc/doxygen[dot] )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-no-werror.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
|
||||
if use usb-monitor; then
|
||||
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
|
||||
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
|
||||
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
|
||||
fi
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
# FAILS: doxyfile: No such file or directory
|
||||
# $(use_enable doc doxygen)
|
||||
$(use_enable drm)
|
||||
--enable-udev
|
||||
$(use_enable usb-monitor usb)
|
||||
--enable-lib
|
||||
$(use_enable X x11)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use user-permissions; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
|
||||
if use usb-monitor; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use user-permissions; then
|
||||
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
|
||||
einfo "users to the i2c group: usermod -aG i2c user"
|
||||
einfo "Restart the computer or reload the i2c-dev module to activate"
|
||||
einfo "the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
|
||||
|
||||
if use usb-monitor; then
|
||||
einfo "To allow non-root users access to USB monitors, add those users"
|
||||
einfo "to the video group: usermod -aG video user"
|
||||
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
|
||||
einfo "the monitor to activate the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/usb/"
|
||||
fi
|
||||
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
if use video_cards_nvidia; then
|
||||
ewarn "Please read the following webpage on proper usage with the nVidia "
|
||||
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use user-permissions; then
|
||||
udev_reload
|
||||
fi
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
diff --git a/src/app_ddcutil/Makefile.am b/src/app_ddcutil/Makefile.am
|
||||
index 068e419..f21e9fd 100644
|
||||
--- a/src/app_ddcutil/Makefile.am
|
||||
+++ b/src/app_ddcutil/Makefile.am
|
||||
@@ -5,7 +5,6 @@ AM_CPPFLAGS = \
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
diff --git a/src/app_sysenv/Makefile.am b/src/app_sysenv/Makefile.am
|
||||
index a182ff9..753f187 100644
|
||||
--- a/src/app_sysenv/Makefile.am
|
||||
+++ b/src/app_sysenv/Makefile.am
|
||||
@@ -12,7 +12,6 @@ endif
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
diff --git a/src/i2c/Makefile.am b/src/i2c/Makefile.am
|
||||
index 52a4efa..5c671e1 100644
|
||||
--- a/src/i2c/Makefile.am
|
||||
+++ b/src/i2c/Makefile.am
|
||||
@@ -5,7 +5,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
|
||||
index ace200a..46cc9f4 100644
|
||||
--- a/src/libmain/Makefile.am
|
||||
+++ b/src/libmain/Makefile.am
|
||||
@@ -5,7 +5,6 @@ AM_CPPFLAGS = \
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
diff --git a/src/sample_clients/Makefile.am b/src/sample_clients/Makefile.am
|
||||
index 1593521..63d2307 100644
|
||||
--- a/src/sample_clients/Makefile.am
|
||||
+++ b/src/sample_clients/Makefile.am
|
||||
@@ -7,7 +7,6 @@ AM_CPPFLAGS= \
|
||||
-I$(top_srcdir)/src
|
||||
|
||||
AM_CFLAGS = -Wall -fPIC
|
||||
-# AM_CFLAGS += -Werror
|
||||
|
||||
check_PROGRAMS =
|
||||
if ENABLE_SHARED_LIB_COND
|
||||
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
|
||||
index c12f15c..27d2124 100644
|
||||
--- a/src/test/Makefile.am
|
||||
+++ b/src/test/Makefile.am
|
||||
@@ -4,7 +4,7 @@ $(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror
|
||||
+AM_CFLAGS = -Wall
|
||||
|
||||
CLEANFILES = \
|
||||
*expand
|
@ -1,8 +1,5 @@
|
||||
AUX wcd-6.0.2-gentoo.patch 1466 BLAKE2B 2e6834d2f8f742b1582667c0ee3b0ca974600dc26a1e270bb1ea7be39ac266c019c8464f61d332c2919a5543581c9b07000ef8bdcbece7684d1046b808af920a SHA512 33ed7d9812676b5cd478351fecc31e12dce29c8e4c5b28d44b3580ac01074b631906fcd0bcea0ad66a6fcb72ace3cf13004f492c96d8a5533af7c8500ea5e703
|
||||
AUX wcd-6.0.3-doc-path.patch 480 BLAKE2B 75645e76a417f580f42411fe8a7f3155b1d9917edf5e03c6bd7111233b370f30c4c77213851435e7bd4b5417f94c7e414bf70d38caec6715d7d4ebc165c3a9ff SHA512 452aa5969438c8b929cceb35dd57148a9f2c2fe2014ead0524e6edb4dc20692f639a09ee68170fc2b6fd6e64b3406b5a4087aa020f223e53599ab1ebd408df4f
|
||||
DIST wcd-6.0.2.tar.gz 713062 BLAKE2B 13a745fd698b009aedb19e688a5deec7d62c42acf2dc430b7f586f300712ad684e8530a9b2477cf2d7a6540769efc98c245215cbe756b78c3902d03430b034d9 SHA512 587a52efaf0a585e4fc8a04a0eb08445cf4c78d38abd7592658f61827aa6cc0f1e8af8643c411d22d74145479c9970b018b11fc7a2a08b4ba7c850097813b06f
|
||||
DIST wcd-6.0.3.tar.gz 813763 BLAKE2B 2e215c427914705213590d7c5182bebf39becbf24238bd71c5fdd12f7e63894b2ad571793f6d25833edd3f7cd4f3acbb07bbc821880c22d7a5d4f373cd972055 SHA512 b48a6f8a196725b4b570701813cf8a96e13e4fd6289b6c779218acc20ea1ea841e5f8648f717bb389976b715b95856e91bad3ffb20f8d80961d75eae8eacfbe8
|
||||
EBUILD wcd-6.0.2-r1.ebuild 959 BLAKE2B fb3fe319a16e334881869ff64f8c210051d821d4a035d4edbb214eba59322f5d97319774d806759086c37c2dd3d47029a3c24dd85758c556bef62fd3dbef684f SHA512 306a4990f8954e8948a91260469e020218a967ec9f105cf9f3c71f0f332bf49d17488e12363af0380d9d92864199a0ab3e6e4d9ced168c3b240707fff2339b2b
|
||||
EBUILD wcd-6.0.3-r1.ebuild 970 BLAKE2B cb6e237239514df241901fb64c4356c49a133049c4e3d2a942c3763ef659ab4b9a487328a27f5a1f2c22412a3ac765833f705def6ce903c2f9f1474a6f0b1057 SHA512 91ab6df161e9bf36750452d8e9fd0d45660e6e64aa583fbafc2ea0184eebe9b6f80e3bb56da597a7e5b3b857df01b1fd996e03f1b32ac3958444461b56714e0e
|
||||
EBUILD wcd-6.0.3-r2.ebuild 1016 BLAKE2B 643575b1e0a3593f40eae46ad2bbd1572658202dd0785d79e81c1c09fbbcd3f438fba3ae70c4067a7f167bc6f3df69e8687aac1e9485c0337bab5dbbb21b94e8 SHA512 829499dc8ac746423f0a959d498b5ab7a453bca5b792932c9ec4999b2e4eab393c9d5c583a75aa583a03fceafaae5897ad15f54ecae6f45a357996b7ad57482e
|
||||
MISC metadata.xml 272 BLAKE2B a253052dbe7dfd2dea2cdc3692698a5a94d0e2414979a348d56448cee6329b7fe29a1f252146f9ff04c1ea3b270996631395ecea454ac901eb726dc0b4dd9f29 SHA512 247c1006dd352c3cc7ee07dee2f283394767bdc0f72f0438a6cc845ac53549c05b3741c64ffedb992f003759e67f24aaa7121561db97d1b095c11269115746dc
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Wherever Change Directory"
|
||||
HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
|
||||
SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="nls unicode"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
unicode? ( dev-libs/libunistring:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
eapply -p2 "${FILESDIR}"/${PN}-6.0.2-gentoo.patch
|
||||
eapply_user
|
||||
tc-export CC PKG_CONFIG
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mycompile="LFS=1"
|
||||
use nls || mycompile+=" ENABLE_NLS="
|
||||
use unicode && mycompile+=" UCS=1 UNINORM=1"
|
||||
emake ${mycompile}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ../README.txt )
|
||||
default
|
||||
emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Wherever Change Directory"
|
||||
HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
|
||||
SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="nls unicode"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
unicode? ( dev-libs/libunistring:= )"
|
||||
DEPEND="${CDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/ghostscript-gpl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
eapply -p2 "${FILESDIR}"/${PN}-6.0.2-gentoo.patch
|
||||
eapply_user
|
||||
tc-export CC PKG_CONFIG
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mycompile="LFS=1"
|
||||
use nls || mycompile+=" ENABLE_NLS="
|
||||
use unicode && mycompile+=" UCS=1 UNINORM=1"
|
||||
emake ${mycompile}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ../README.txt )
|
||||
default
|
||||
emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
AUX zygrib-8.0.1-libs.patch 627 BLAKE2B 0f94addb56e17028736dde079833b144f41a98612710415224d7f265d30de8affc299e609d60da168d8c9cf02a700d661d846f5a2562f7ff2b49eea0041b4b91 SHA512 99a92039a2aa4969871b212bd495ebb30eb0eadc07c9a28c3d633bd6444fb380cfba9cb9cf75804120da04f213530d8d35043031be167cb0f04da4f4240cf5a1
|
||||
AUX zygrib-8.0.1-proj-6.patch 578 BLAKE2B 739e753682fc28b050bbb4412ff7a2e244327a13cd82591bf1e2cb20c63b7f198bf6af7273bb8475ae434c6fded58ff1c92966b0ed23636be4098e90c6e521ba SHA512 4055d93aafbb9cf449c6bd9366e7927bb6ed88607abfb2ed2035eec60704cded6540d244046f4937b89b9b4e6bc650ead0dbfd633907e7658bceec4c1df95e74
|
||||
AUX zygrib-8.0.1-qt-5.15.patch 956 BLAKE2B f01b71bdbd5061c9214d69064ddc5ae847194a7f53fd4badc16a44376be61ff813a9e198dc45b9c1487d1fb4150933802be3692102120aa1e139b0f3898a862b SHA512 6c98ab47f9b5512d5dcd442d796f94fc06ebc5050fad43a0c5bac6ef33c4c05b3554fae2b9bceaa4685d4f66dfbd71db6bb4228a6392c9bf768ac12ae2ea119e
|
||||
AUX zygrib.desktop 210 BLAKE2B 0e340f8c9ae1da700e694ac2c0a973fc00264c4981376fd0aa67587a248f27f0940a80c9937cc71d52b42429d9ec891f3837344730706ca1adab4237d8df464d SHA512 fd88b992d248d0ad01374f291d792682e6ee2b5625fc792ba002f2d912bd2982c8d20aeb9bed5cf5e43a92344f1c580573e4bcf0f949cd6cebc09eff6e407b9d
|
||||
DIST zygrib-8.0.1.tgz 19759812 BLAKE2B f7f73cb54b18e510b0097fae27400efef081fb66f2bf361d5929d69c69087107ecb1d88fe83495571fe85edbd2464910776797e5c6700505acac9585951f0854 SHA512 bb7146289d0966a174e0d888d6edc2830a2399f9cf51eb439371d90656fb9529fb08eebde8ea74f21f3c2aa7e625a258a318b9388523636815c8348269adb73d
|
||||
DIST zygrib-cities_0-300.txt.gz 517620 BLAKE2B 74916674c84b171d34f882d15a244349940e2ccad5e408f7420484b400357945cc78339c2db70eb05b428f35f4b35695b9ec655a42a23779f66649e1b7432274 SHA512 f3c51e600e21d082759d3cf71c48742896e8cf3838e08c57eefa312ac7ef2dd1f23cbf02e9374aa9779be4bc5c04fd2748ef814b5b4b40b9d24fe4f1f5de4d80
|
||||
DIST zygrib-cities_1k-3k.txt.gz 495119 BLAKE2B 16bfe2d5ff4c67c8e9858fa352aea23ae13ffa7668183d0cb3fe5e98cc6683e8a969c802c9297a29e9773dd471f233a900f2fca2e5e58f4090e0999107e9a72c SHA512 010d6688b9c381f0ace549c53a45f8bd43f1d6846dc01241ab7bfdf30b0629f39ef2a9a715c55a534634ad8480bc2edc2796a09f0c369406027f35f6b4ba8c08
|
||||
DIST zygrib-cities_300-1k.txt.gz 512733 BLAKE2B 2e480411ab8278c57f1368e809166820d9e1f5bf931e6eaf053a2448ec808b2b60d20ad5d5517cc590fc0c3c074b41a5b388856ea6145d5f6f5938d0ed50967e SHA512 f22f10c5d4d011593cf658acc2b2bdb6678d9ad26be0dfab67e2e6546439adc2c5a26d04889ddfd3544dbd2ff4d52e1d17e7d4b7d929e589fe55ceb6c0dc4112
|
||||
DIST zygrib-icon.png 851 BLAKE2B 15a300726e4ee486aa49116fe7ca74b655fe316ef0c1fee116e83cd949d273744d7e76ed3f4d847a40d74e6bbaa0d3ace71fea2ad7cd86f041576b6ab986c698 SHA512 9f36e96be1efa5df558321b631b43a7496ec812e76eb1eb5392b1a0afdec782f427b9d0b697102a661258ac1edd00b4bb0a84788c73e1fcd5f16584ad566fe5b
|
||||
DIST zygrib-maps2.4.tgz 105735981 BLAKE2B b3d666481d374cadc50ec979ed8a2ed9920bd80e2bf8a01dd2aded8a39df12e335515e84e666aeb8b01f37bc37126016bf8dc63d90a0492903c6436cf5c56a87 SHA512 0f10786ef81141299fd9550e36d976ce126b0d3523b56c10b19a839d56e17697ac93915b46f31d6691950f1e6d13c368fa1d198a5e2d830768fcb9e63034b487
|
||||
EBUILD zygrib-8.0.1-r2.ebuild 2157 BLAKE2B 8f997ed3409fb4523e343e5526bc0ed023d12c67946595a99b4ca18e551c74715711207269a16cb5edce4d0e5916451b8d9af675db3d0b671bf96d771c3ed74e SHA512 f51856e1566653b487e56ab82baa7492594467438eeed2822e352c7acd51dcc697ce14417c9c1b492cf859c0312563eb323009cc0d3fab6e981e9b2ba82af264
|
||||
MISC metadata.xml 338 BLAKE2B 797981ba44aadd243b1fac3eaaa09ca41fd5beb90bc0ea23dcfdfb655357753872bdc8e73a025db4a5975d3d3b2863e0f619b7fff6292d8212fdbd7df5f4861b SHA512 95c9d7bfee14c51cbabb6ca6055ee4fd1ac39fb6a75b2bd6e001524656a24a62db37c49c66e120ee3930a9508927fca483a93b4c26b0781316dc36ee43a4eeda
|
@ -1,20 +0,0 @@
|
||||
--- a/src/zyGrib.pro 2017-01-16 21:55:32.459388028 +0100
|
||||
+++ b/src/zyGrib.pro 2017-01-16 22:17:18.509256966 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
TARGET = zyGrib
|
||||
|
||||
DEPENDPATH += . util map GUI
|
||||
-INCLUDEPATH += . util map GUI curvedrawer qwt-6.1.3/src g2clib
|
||||
+INCLUDEPATH += . util map GUI curvedrawer /usr/include/qwt6 g2clib
|
||||
|
||||
# ----------------------------------------------------
|
||||
# platform specific
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-LIBS += -lbz2 -lz -lproj -lnova -Lqwt-6.1.3/lib/ -lqwt
|
||||
+LIBS += -lbz2 -lz -lproj -lnova -lqwt6-qt5
|
||||
LIBS += -Lg2clib -lg2c -lpng # respect order!
|
||||
|
||||
# ----------------------------------------------------
|
@ -1,20 +0,0 @@
|
||||
From 481e9d3f8f8086afa7deb4ac6db60a2575dc2203 Mon Sep 17 00:00:00 2001
|
||||
From: KIVACHUK Valentin <valentin.kivachuk@irt-saintexupery.com>
|
||||
Date: Tue, 10 Sep 2019 11:29:37 +0200
|
||||
Subject: [PATCH] Fix proj build error
|
||||
|
||||
---
|
||||
proj_deprecated_api.patch | 2 ++
|
||||
1 files changed, 2 insertions(+)
|
||||
|
||||
--- a/src/map/Projection.h 2016-11-09 17:27:38.000000000 +0100
|
||||
+++ b/src/map/Projection.h 2019-09-10 10:20:27.440134499 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QObject>
|
||||
#include <cstdio>
|
||||
|
||||
+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
|
||||
+
|
||||
#include "proj_api.h"
|
||||
|
||||
class Projection : public QObject
|
@ -1,38 +0,0 @@
|
||||
From 73b1e8a9b622a27a03425db03bdbaee0eb88b8b7 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Wed, 15 Jul 2020 14:21:13 +0200
|
||||
Subject: [PATCH] Fix build with Qt 5.15 (missing headers)
|
||||
|
||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
---
|
||||
src/IacPlot.h | 1 +
|
||||
src/SkewT.h | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/IacPlot.h b/src/IacPlot.h
|
||||
index dab76b6..59f6deb 100644
|
||||
--- a/src/IacPlot.h
|
||||
+++ b/src/IacPlot.h
|
||||
@@ -30,6 +30,7 @@ Lecture mise en mémoire d'un fichier IAC (fleetcodes)
|
||||
|
||||
#include <QApplication>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QString>
|
||||
|
||||
#include "DataMeteoAbstract.h"
|
||||
diff --git a/src/SkewT.h b/src/SkewT.h
|
||||
index eb70372..36d4df8 100644
|
||||
--- a/src/SkewT.h
|
||||
+++ b/src/SkewT.h
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <QMainWindow>
|
||||
#include <QFrame>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QLayout>
|
||||
#include <QKeyEvent>
|
||||
#include <QPrintDialog>
|
||||
--
|
||||
2.27.0
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=zyGrib
|
||||
GenericName=GRIB File Viewer
|
||||
Comment=Weather data visualization
|
||||
Exec=/usr/bin/zygrib
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Icon=zygrib
|
||||
Type=Application
|
||||
Categories=Network;
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mschiff@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="maps">Installs additional GSHHS maps for high resolution coastline data and cities</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="zyGrib"
|
||||
inherit desktop eutils qmake-utils
|
||||
|
||||
DESCRIPTION="GRIB File Viewer - Weather data visualization"
|
||||
HOMEPAGE="http://www.zygrib.org/"
|
||||
# zygrib.org has a DDoS protection and only allowd interactive downloads,
|
||||
# so we mirror the tarball...
|
||||
#SRC_URI="http://www.zygrib.org/getfile.php?file=${MY_PN}-${PV}.tgz -> ${P}.tgz
|
||||
SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${MY_PN}-${PV}.tgz -> ${P}.tgz
|
||||
https://dev.gentoo.org/~mschiff/distfiles/${PN}-icon.png
|
||||
maps? (
|
||||
http://zygrib.org/getfile.php?file=zyGrib_maps2.4.tgz -> zygrib-maps2.4.tgz
|
||||
http://www.zygrib.org/getfile.php?file=cities_1k-3k.txt.gz -> zygrib-cities_1k-3k.txt.gz
|
||||
http://www.zygrib.org/getfile.php?file=cities_300-1k.txt.gz -> zygrib-cities_300-1k.txt.gz
|
||||
http://www.zygrib.org/getfile.php?file=cities_0-300.txt.gz -> zygrib-cities_0-300.txt.gz
|
||||
)"
|
||||
|
||||
LICENSE="GPL-3 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+maps"
|
||||
|
||||
DEPEND="app-arch/bzip2
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
media-libs/libpng:*
|
||||
sci-libs/libnova
|
||||
<sci-libs/proj-8:=
|
||||
sys-libs/zlib
|
||||
x11-libs/qwt:6[qt5(+)]"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-libs.patch"
|
||||
"${FILESDIR}/${P}-proj-6.patch" # bug 686078
|
||||
"${FILESDIR}/${P}-qt-5.15.patch" # bug 732732
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile || die
|
||||
sed -i "s,QMAKE=/usr/bin/qmake,QMAKE=$(qt5_get_bindir)/qmake," Makefile || die
|
||||
sed -i "/QWTDIR/d" Makefile || die
|
||||
#use jpeg2k || sed -i '/^DEFS=/ s/-DUSE_JPEG2000//' src/g2clib/makefile
|
||||
sed -i '/^DEFS=/ s/-DUSE_JPEG2000//' src/g2clib/makefile || die
|
||||
sed -i '/^LIBS +=/ s/-ljasper//' src/zyGrib.pro || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm zyGrib || die
|
||||
doicon -s 32 "${DISTDIR}/zygrib-icon.png"
|
||||
make_wrapper "${PN}" "./bin/${MY_PN}" "/opt/${MY_PN}"
|
||||
domenu "${FILESDIR}/zygrib.desktop"
|
||||
|
||||
if use maps; then
|
||||
insinto "/opt/${MY_PN}"
|
||||
doins -r "${WORKDIR}/data"
|
||||
insinto "/opt/${MY_PN}/data/gis"
|
||||
gzip "${WORKDIR}"/*.txt || die
|
||||
doins "${WORKDIR}"/*.txt.gz
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
|
||||
EBUILD sc-im-0.8.2.ebuild 3960 BLAKE2B 4aafd50d8576ceed91e491d620953d3e7aa525fd57d51271a53b78c498872a7283629969954547714b3a05421b4a18eb5994c6db55b21c2c1e2caee38b408458 SHA512 e10ece28c2683d1d51af1a0efdc8d565a9159f3c01bb5980c96b605db74653cf0fa80291bf384bd0934f155adba2923b0231bf2f1b898fd69e9ea42190d7eb1c
|
||||
MISC metadata.xml 974 BLAKE2B 2e46ac845ba9978e8b646007003dcf2b53844e5dd2a86f4cbdf812d58850e41f3636ba2807503aa56d6c69a8e04033d868534415c7fd71d424444af1eea392a9 SHA512 1f66c4340b79c43daca9d66be2b3e20e59405fc501a793d0159cbe40e7f541af79b036f53905bca0ea8001a14a9f4d17cb3fd060ce95cfbbc0b0ef9c8e521dff
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>efe.izbudak@metu.edu.tr</email>
|
||||
<name>Efe İzbudak</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="plots">Add <pkg>sci-visualization/gnuplot</pkg> for plotting support</flag>
|
||||
<flag name="xls">Add xls support</flag>
|
||||
<flag name="xlsx">Add xlsx support</flag>
|
||||
<flag name="ods">Add ods import support</flag>
|
||||
<flag name="X">Use <pkg>x11-misc/xclip</pkg> for clipboard copy/paste</flag>
|
||||
<flag name="tmux">Use <pkg>app-misc/tmux</pkg> for clipboard copy/paste</flag>
|
||||
<flag name="wayland">Use <pkg>gui-apps/wl-clipboard</pkg> for clipboard copy/paste</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">andmarti1424/sc-im</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,141 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
inherit lua-single toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal"
|
||||
HOMEPAGE="https://github.com/andmarti1424/sc-im"
|
||||
SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X plots wayland xls xlsx lua ods tmux"
|
||||
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:=
|
||||
|
||||
lua? (
|
||||
${LUA_DEPS}
|
||||
)
|
||||
ods? (
|
||||
dev-libs/libxml2
|
||||
dev-libs/libzip
|
||||
)
|
||||
plots? ( sci-visualization/gnuplot )
|
||||
tmux? ( app-misc/tmux )
|
||||
wayland? ( gui-apps/wl-clipboard )
|
||||
X? ( x11-misc/xclip )
|
||||
xls? (
|
||||
dev-libs/libxls
|
||||
)
|
||||
xlsx? (
|
||||
dev-libs/libxlsxwriter
|
||||
dev-libs/libxml2
|
||||
dev-libs/libzip
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
||||
if ( use tmux && ( use wayland || use X ) ) ; then
|
||||
elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
|
||||
elog "tmux support has been preferred."
|
||||
elif ( use wayland && use X ) ; then
|
||||
elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
|
||||
elog "Wayland support has been preferred."
|
||||
fi
|
||||
|
||||
# Run lua setup
|
||||
lua-single_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Clean Makefile from all sorts of flag / lib setting
|
||||
sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
|
||||
|| die "sed fix failed. Uh-oh..."
|
||||
# Also clean the now useless comments and logic
|
||||
sed -i -e '/#\|if\|else/d' Makefile \
|
||||
|| die "sed fix failed. Uh-oh..."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC PKG_CONFIG
|
||||
|
||||
LDLIBS="-lm"
|
||||
|
||||
# default flags that dont need optional dependencies
|
||||
append-cflags -Wall -g \
|
||||
-DNCURSES \
|
||||
-D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
|
||||
'-DSNAME=\"sc-im\"' \
|
||||
'-DHELP_PATH=\"/usr/share/sc-im\"' \
|
||||
'-DLIBDIR=\"/usr/share/doc/sc-im\"' \
|
||||
'-DDFLT_PAGER=\"less\"' \
|
||||
'-DDFLT_EDITOR=\"vim\"' \
|
||||
-DUSECOLORS \
|
||||
'-DHISTORY_FILE=\"sc-iminfo\"' \
|
||||
'-DHISTORY_DIR=\".cache\"' \
|
||||
'-DCONFIG_FILE=\"scimrc\"' \
|
||||
'-DCONFIG_DIR=\".config/sc-im\"' \
|
||||
'-DINS_HISTORY_FILE=\"sc-iminfo\"' \
|
||||
-DUNDO \
|
||||
-DMAXROWS=65536 \
|
||||
-DUSELOCALE \
|
||||
-DMOUSE \
|
||||
'-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
|
||||
-DAUTOBACKUP \
|
||||
-DHAVE_PTHREAD
|
||||
|
||||
# setting default clipboard commands
|
||||
if use tmux ; then
|
||||
append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
|
||||
append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
|
||||
elif use wayland ; then
|
||||
append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
|
||||
append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
|
||||
elif use X ; then
|
||||
append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
|
||||
append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
|
||||
fi
|
||||
|
||||
# optional feature dependency
|
||||
use plots && append-cflags -DGNUPLOT
|
||||
if use xls; then
|
||||
append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
|
||||
LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
|
||||
fi
|
||||
if use xlsx || use ods ; then
|
||||
append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
|
||||
LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
|
||||
fi
|
||||
if use xlsx ; then
|
||||
append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
|
||||
LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
|
||||
fi
|
||||
if use lua ; then
|
||||
append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
|
||||
LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
|
||||
fi
|
||||
append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
|
||||
LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="/usr" install
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST OOoFBTools-3.0.zip 5371699 BLAKE2B 1288a6915aeaad89b7fdc07b584b02bc7387edfe14d0fd51c30c7c8b061ab4967f7e16ea407f8be658739c64ce266a24f1404cbdf88d7d0d479bacf4bb9bdcf7 SHA512 af257febd4a2c2361586567e5d48205d31f517a7142a6da358ef4e0261c27d19cfb594417c06fce73811ae8e4e69812bec00d4ed8a0acd6881011f46d4dfadab
|
||||
DIST OOoFBTools-3.4.1.zip 5279862 BLAKE2B 9a95ed4956a5deb58e53202b587b573579b966e43c052164d3a4b20cc2ee7fd1532bb9dab9ab2c486629000a212de752d75fb4f1d77afece1bd130b079be7beb SHA512 1ec04cbf32824d884fed7ff12a59b43486c96a1b4580a0a24fcc73ebbe7d565ae87e8f7600eb19846f34b1a4c94dacf7ebe755e70692501cd87d12ea470ca8d8
|
||||
EBUILD ooofbtools-3.0.ebuild 774 BLAKE2B 4e60be4d47e73924c5ac2b61ce5430b270af4a817da2839426dbf1fc5feef2d9bdf354bef73e0e43f2d7fb1e144a174f389385c34349ecd68a57fa64617411a4 SHA512 6bbe7820cb4c61fe545daab990e2b894770ce1a016fa663dfb510e179b7d1c15a6388640244a5b1ee9a53cc5795e712acde7e4105ace1116ca5bce4d18d45a42
|
||||
EBUILD ooofbtools-3.4.1.ebuild 776 BLAKE2B 4e5e01bc1e491af88fd415610a74a395f3b69de94eba4923f1339f2791bc17f8e00a3840796183a0c56de6f8db035adcdca8c6aa1c236fe7f3ecd445d9d33cef SHA512 16ef655bcafa26a3adf1ae6af8de674edaa17cee36d1c6a61d522c0ab528eeb4681f7f16fba33846f7a81bfeaa223daf37c22aa9d7992492ceae841307b3f11b
|
||||
EBUILD ooofbtools-3.4.1.ebuild 774 BLAKE2B 095f8c810695dfc737a9a5600c414e26f8b8bb09449b259208a31d382403a998abf1e6e38c73e1655a0cca2012fd3d37f8495aaacca31b230b288a6e75c46450 SHA512 5e26e9186eed3649ead9af74ff894f7aa819ce8a80bde3ad2e4e02d71b930f8cc2cf40affa9b511f4b1b9991dbb51dff9d5ef66680cec014436ea5c12fe39317
|
||||
MISC metadata.xml 589 BLAKE2B 5508984c093c7b7eeb1693b180ae42a9ffc25b66a4f0cf90d8bc563db39ada4645a6e03085d619a01f70915de97329a5c9b0ee2fc60b3b895836fe127d3d5df3 SHA512 c8404f2a5c7b8d3f503120c646042bb2578c67f5706a9f02ff42d74132b3145a01e816e85c37457623c08716d515d5cefee58f9bedf4a5d1c86a1d1aba9012b3
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="OOoFBTools"
|
||||
OFFICE_EXTENSIONS=( "${MY_PN}.oxt" )
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="Open/LibreOffice extension for the FictionBook2 format with validation"
|
||||
HOMEPAGE="https://sourceforge.net/projects/fbtools/"
|
||||
SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zip
|
||||
dev-libs/libxml2
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS_LOCATION="${S}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove Windows cruft
|
||||
pushd "${WORKDIR}/${MY_PN}.oxt" &>/dev/null || die
|
||||
rm -r win32 || die
|
||||
popd &>/dev/null || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
office-ext-r1_src_install
|
||||
dodoc ChangeLog*
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST portage-utils-0.93.3.tar.xz 1796828 BLAKE2B cfad7ab27ff2d92f631f4e31012e8903c5fa6113485f727338812059379cdd4a9552d80dc3aef6bb91264c361c0554fe9054a12347e274c4c5c3db66fd36008b SHA512 c1245aa78d236263cd266fc8565312c2ac30cb992037a7b0f26da04ecf2dfeebc85bff653784e186cf2c7d7468e4772fb0bd93bcdb3a37d46e493d000933e5a1
|
||||
DIST portage-utils-0.94.1.tar.xz 1871688 BLAKE2B bec5ddd514b397c157c3b1bff70d61730f15804a6751f56eb69c4030a35fc6a6b11fa1e2bde94332772660f02bf9428623210733ae9e2f1290f29aa3b31a1813 SHA512 29fdb4093997eb95703d407da6b00305c949f0a00ae3aa5cfb2c47b66bddc59e034fae114663b40b611f906332066b648018aa4e5bc1b935e61a64f4b4bf1088
|
||||
EBUILD portage-utils-0.93.3.ebuild 1525 BLAKE2B 31633b095b9fb0dbc0e9a4c5810be266484b0d353578969d587d725722c7f6870031453466b8e8ea70b094ff3129e94d71a81a7000b432f739f4b64a811df561 SHA512 c2f182e8b08adad0f5b22ff08bd1a41aec90a0fa03e40070ab3535947a5d3eee57d5fe4d6bec28b6d228ef9e8baddbe69203a4cc24833a7e02af5e2cfb615186
|
||||
EBUILD portage-utils-0.94.1.ebuild 1528 BLAKE2B 5d0295a797041440ef78b4b38a5c9e3d9dfa65eb7cde1c2f867e585e15fbd7023a1eec7bcb42bc88ceb7e3555ddba90cecf7a6616427c431dd8d24ed183de2b1 SHA512 5897cbc5dd3813e8aafb6d8dbd72cd6e63555f5be0699a938670187665c9e7fb7ede5ebdf45b916b63ab1dd2f7772e98456c53ff6d4d6dd0d8026e08b782ffcb
|
||||
EBUILD portage-utils-9999.ebuild 1533 BLAKE2B 38201ef3c2be293fa34ed8538a3dba939b94593d90ced165d3171ebad1f50379736247217f2102565b9390caaa012c3f4b78022e2999dd458c333a2b6a8a17e0 SHA512 79275bb329369f6047b4decf95493ba6bb3a1e906d6211056f95e45473e6556ecbe655e599727aec91fe749fd41f717ff4b5e8f08b3a967de029a71dc31cab10
|
||||
DIST portage-utils-0.94.3.tar.xz 1804720 BLAKE2B b0239a26d878db6dd73c9ee54f586526f8812921775126ef74afbe089186fdc5ca7197847e204c6ecbf9d79b6e2a6173cb0c39d4a26653ed0db2d7f9b10e88c5 SHA512 bf8fcccc26bb985bf7664f6ab0227a5251c3f918199de0c4e4c95b7107eb72eee367d1d524b5d9608b3c7eea9b1fae789456390cbb0d375297b807bb98644e01
|
||||
EBUILD portage-utils-0.94.1.ebuild 1525 BLAKE2B 31633b095b9fb0dbc0e9a4c5810be266484b0d353578969d587d725722c7f6870031453466b8e8ea70b094ff3129e94d71a81a7000b432f739f4b64a811df561 SHA512 c2f182e8b08adad0f5b22ff08bd1a41aec90a0fa03e40070ab3535947a5d3eee57d5fe4d6bec28b6d228ef9e8baddbe69203a4cc24833a7e02af5e2cfb615186
|
||||
EBUILD portage-utils-0.94.3.ebuild 1654 BLAKE2B 6582abc4a5666204d307764051662f1fc217a42c136ff10f8d94b74b019863a7041c1decdf81fa8a28f8896fcf3d66687d56d7001b2368fb070498b464cee530 SHA512 4e3a8de13028c6b9df3feb15812e9fb771f79f1b0cc5b59bb71043cf9210aecfeed4e1e68efbf20a46e92b4e98aee62bbff6a93e7453e5ebe6b3242f12dbefe1
|
||||
EBUILD portage-utils-9999.ebuild 1654 BLAKE2B 6582abc4a5666204d307764051662f1fc217a42c136ff10f8d94b74b019863a7041c1decdf81fa8a28f8896fcf3d66687d56d7001b2368fb070498b464cee530 SHA512 4e3a8de13028c6b9df3feb15812e9fb771f79f1b0cc5b59bb71043cf9210aecfeed4e1e68efbf20a46e92b4e98aee62bbff6a93e7453e5ebe6b3242f12dbefe1
|
||||
MISC metadata.xml 574 BLAKE2B 1448e8343748e8bbc61128f3a621010ae1f7095872c271962ac24e62abcea8cca7c52034008c0d5691a56ca7f2e242ab4cec7d38fceecc2c39f858d1ceb30ab1 SHA512 dcf9949c990845794a534b34e44e820b16b3700bc993e13707bfac6d26269d2aba00fd3f873b9157ead222d2fa5cdd63d263c098bfc79c1b1f66097fa24f552e
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Small and fast Portage helper tools written in C"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="nls static openmp +qmanifest +qtegrity"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
qmanifest? (
|
||||
openmp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-4.2:*[openmp]
|
||||
sys-devel/clang-runtime:*[openmp]
|
||||
)
|
||||
)
|
||||
static? (
|
||||
app-crypt/libb2:=[static-libs]
|
||||
dev-libs/openssl:0=[static-libs]
|
||||
sys-libs/zlib:=[static-libs]
|
||||
app-crypt/gpgme:=[static-libs]
|
||||
)
|
||||
!static? (
|
||||
app-crypt/libb2:=
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/zlib:=
|
||||
app-crypt/gpgme:=
|
||||
)
|
||||
)
|
||||
qtegrity? (
|
||||
openmp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-4.2:*[openmp]
|
||||
sys-devel/clang-runtime:*[openmp]
|
||||
)
|
||||
)
|
||||
static? (
|
||||
dev-libs/openssl:0=[static-libs]
|
||||
)
|
||||
!static? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--with-eprefix="${EPREFIX}" \
|
||||
$(use_enable qmanifest) \
|
||||
$(use_enable qtegrity) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable static)
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Small and fast Portage helper tools written in C"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="openmp +qmanifest +qtegrity static"
|
||||
|
||||
RDEPEND="
|
||||
qmanifest? (
|
||||
!static? (
|
||||
app-crypt/gpgme:=
|
||||
app-crypt/libb2:=
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib:=
|
||||
)
|
||||
)
|
||||
qtegrity? (
|
||||
!static? (
|
||||
dev-libs/openssl:=
|
||||
)
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
qmanifest? (
|
||||
static? (
|
||||
app-crypt/gpgme[static-libs]
|
||||
app-crypt/libb2[static-libs]
|
||||
dev-libs/openssl[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
)
|
||||
)
|
||||
qtegrity? (
|
||||
static? (
|
||||
dev-libs/openssl[static-libs]
|
||||
)
|
||||
)"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--with-eprefix="${EPREFIX}" \
|
||||
$(use_enable qmanifest) \
|
||||
$(use_enable qtegrity) \
|
||||
$(use_enable openmp)
|
||||
}
|
Binary file not shown.
@ -0,0 +1,72 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang"
|
||||
HOMEPAGE="https://github.com/junegunn/fzf"
|
||||
|
||||
# For fancy versioning only. Bump on the next release!
|
||||
# MY_GIT_REV is the first 7 characters of release commit, we truncate it
|
||||
# after to make it easier to copy/paste.
|
||||
MY_GIT_REV=e03ac3136e17a525bc67d62728ccb3eb8179f183
|
||||
MY_GIT_REV=${MY_GIT_REV:0:7}
|
||||
|
||||
SRC_URI="https://github.com/junegunn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT BSD-with-disclosure"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/-s -w //' Makefile || die # bug 795225
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
doman man/man1/${PN}.1
|
||||
|
||||
dobin bin/${PN}-tmux
|
||||
doman man/man1/${PN}-tmux.1
|
||||
|
||||
insinto /usr/share/vim/vimfiles/plugin
|
||||
doins plugin/${PN}.vim
|
||||
|
||||
insinto /usr/share/nvim/runtime/plugin
|
||||
doins plugin/${PN}.vim
|
||||
|
||||
newbashcomp shell/completion.bash ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins shell/completion.zsh _${PN}
|
||||
|
||||
insinto /usr/share/fzf
|
||||
doins shell/key-bindings.bash
|
||||
doins shell/key-bindings.fish
|
||||
doins shell/key-bindings.zsh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To add fzf support to your shell, make sure to use the right file"
|
||||
elog "from ${EROOT}/usr/share/fzf."
|
||||
elog
|
||||
elog "For bash, add the following line to ~/.bashrc:"
|
||||
elog
|
||||
elog " # source ${EROOT}/usr/share/bash-completion/completions/fzf"
|
||||
elog " # source ${EROOT}/usr/share/fzf/key-bindings.bash"
|
||||
elog
|
||||
elog "Plugins for Vim and Neovim are installed to respective directories"
|
||||
elog "and will work out of the box."
|
||||
elog
|
||||
elog "For fzf support in tmux see fzf-tmux(1)."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,6 +1,3 @@
|
||||
DIST html-xml-utils-7.7.tar.gz 403664 BLAKE2B cdb97003bb6fb0138910f8f00b9612db3eb8ed4fa0ee81f27260e8907c088e14ac010f2862839355a4a6c0eca49508ad47c4e26f1c1c62e178c3b0e880ed124d SHA512 72b71982717de11b3b5f601a157a04bb6ecc235db6810a0dd830ad7682ed16cd6a928730013cfc918f722e1e5f03c357cd2545806288986797230f9d04175460
|
||||
DIST html-xml-utils-7.8.tar.gz 408201 BLAKE2B c2fed68e8fa0ae331ff6ce100afdd4c7c5b272b47d806c8e557855d32d2a140c2aa580d200644158350697e62c416d16a5e264c09897cef06d29cc5f0ab67091 SHA512 8d3a242203de099b36ca78a8d84571ecc5d8673855ee613f98edc48d388230367f40b87006f7b429e2927026300626bed7ff7f146df317d078e332091d290930
|
||||
EBUILD html-xml-utils-7.7.ebuild 706 BLAKE2B b6eb99787e84991903117b2b40bc75aea37751b36fae817bcc13c60aec820ff607097860ba1c0088922344755dc483cd9d9ea48eceb18022e04d6a5b99ea9fc7 SHA512 07fe7f249953e71fb1a2481dc5f69b518ff74bc02760101dc508087f9d45bf1be9c267d07a9f53d72e2784675222d721b5b493ff3273786ad2550171309689f4
|
||||
EBUILD html-xml-utils-7.8-r1.ebuild 639 BLAKE2B 6c6833a182538b6f298da6c6c62793ac06d0217dc04bf76d8c2e8b7a3c2c012dbbe5036afa1dea16df761dc6083f1c4c28eb9c5041559785dd51d2c656f1a1e8 SHA512 747878fb67c91ca0577fc79ba33e0ed756c08f93b3def359c5f728354cdc9488ebee2708131bf7272200f9fe505b39b8d87c35e3ea480f56a2c476e4015a75ad
|
||||
EBUILD html-xml-utils-7.8.ebuild 710 BLAKE2B 80933c3811d0657e262d6d35f7a18e98059a6af02ccd36dcc0ad7b85c69a08f9fc0a1e37651c5886b817cf83ca389f940b0ab71405033f3a3d94eef7527b8fc2 SHA512 8cbce0f907935e8dd9a396631cbd43b803834cfd43d02aad04af2892cd820c40f4d77b3283985be7e91204d456857e9a1e9f9fde91d8b9a7bd98a195b379b857
|
||||
EBUILD html-xml-utils-7.8-r1.ebuild 636 BLAKE2B c1a01d75323ce5616297934672afc2a985778962179d92de972ee1f7d5d1644c200d347585c127d27937602fc1e95dc669b8238646f62584506dff955c8f7faf SHA512 a7f8458a34485135c1e90110a66cd7b825e8c7e54961ce28606a86a3e91cff4cc87635207c80f4f1c5e05bd5bc11ec9bab7c66f9bdef9193dd6107ca975ec1e1
|
||||
MISC metadata.xml 221 BLAKE2B b43b26fbdad8e1ac12cf97bc9bfbf06f5633feefed4f3e7c9623dcf4c45b97a3b753f8c8787d267f6cf6412878f4f5893a5201279401571ca7e53bc255296324 SHA512 5b5336bc7e4015c10967f6a0f8525f2235a438789cfbaa08b8261eea6fa2019191de60e3ec310660e0e5eb931835004b9db604dd18278822cf9d0254469a0bad
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="A number of simple utilities for manipulating HTML and XML files"
|
||||
SRC_URI="http://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.w3.org/Tools/HTML-XML-utils/"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-linux ~ppc-macos"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "/doc_DATA = COPYING/d" -i Makefile.in || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multilib-minimal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib-minimal_src_install
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="A number of simple utilities for manipulating HTML and XML files"
|
||||
SRC_URI="http://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.w3.org/Tools/HTML-XML-utils/"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-linux ~ppc-macos"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "/doc_DATA = COPYING/d" -i Makefile.in || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multilib-minimal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib-minimal_src_install
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX mandoc-1.14.5-r1-www-install.patch 637 BLAKE2B 2550351e29db19b43de500f039f0563af8a720ef3bf7efa60ac715ca956d7dd0d13d0e092ae2749e3a76fc456eacf0260ca6fc03d324e08bf287bd8d4ac56dbf SHA512 5ed589e1322a2bbd261eb56aee8376526b80cf72eb5eafbc6e2772018c924913db0fb27eb7a50ec2509640e03e41d11e88401f76293d1d4230e777e39056c9fe
|
||||
AUX mandoc.cron-r0 87 BLAKE2B 2fb4946dd2a9025f5bee78e61c11d77d6c6b9b32f9d17c11ea4f0d890e54b42817981e1cd4c568229927fd04bd0592e53ce18192f8359dded28be8c8690904f6 SHA512 74bdb16bc498d741128f1b6966afec8e21eb6899e26d20cf57cb0408ae6bdc63d75538dd355a21ae55593c359fbe707a56bbcdf6e78d557d4b53570db56fd6b3
|
||||
DIST mandoc-1.14.6.tar.gz 697150 BLAKE2B e9f6087e9df977901815b1231f68e381502c7392b0ac65a060ce0ef270da3b76540a17931a076b700865a02f9ca1a8ca044a54dbf6318756931c29e6b1deb228 SHA512 54286070812a47b629f68757046d3c9a1bdd2b5d1c3b84a5c8e4cb92f1331afa745443f7238175835d8cfbe5b8dd442e00c75c3a5b5b8f8efd8d2ec8f636dad4
|
||||
EBUILD mandoc-1.14.6.ebuild 2928 BLAKE2B d68a977a1ad182c8113409d03e2bce43831af3469735d52bb71fddf5d48d85e5becd22e30f6b87178897a7dda8effbb30609fad92572c6cc31172e3ac45433ad SHA512 7c18965f31dc78ad80a5d40bc78c2728df619c8530e8380533d22f6db6f646330ab066cbe9ae131ad3ffe806e11ec36dcf9c51ad36faade66abcc7dbc39cc903
|
||||
EBUILD mandoc-1.14.6.ebuild 2925 BLAKE2B 8b1ffe61ad2a7e78a30a7f8107147674e7b1fb8583bae8d2c242c3a3a202647061dcb0efef585873e6d727ef73af4e51848bf4504c090414b8b4d3d32ac1d3f6 SHA512 6f92bb822d1a188b50d1f7a6c1e826698d3552da8161de764c5b0c710b3af9aa2eab5da10663fd70309eee48f3df1ddcd58816af4115566b4dfb27ac661eddb0
|
||||
MISC metadata.xml 376 BLAKE2B c9e309738edb58e62de763b93af8b88fc0c939afa0a471a9c8e83c989bb515b1f6acdde23fb74d8d277d3e111219857f715c7107136fc82f8179907474653a75 SHA512 ce13542ac914c6dc4de722325319c7f49b93fab7b2baf0625d749c793068750800f1af55f15c199e38029a27b523b14b441fb964cf3850fb6c69607cc2a6b99d
|
||||
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
DIST gitgutter-20180815.tar.gz 46741 BLAKE2B 85189390a2d8c5feaf8d2fabfd2c72bf79954fd1e9f2c3ffeca748e84caf13924f71ef5837ab62aef0ae003a01304305e73bbcb12dca27294c8164e960249fec SHA512 b6d3bd0f779d9afbd38df33888ab3ee0f1d8d10de0a6c5c6766f7f73a292cdd589a6774faa2871877075f6cedd29f14bba07c9a769d706e0e67d8817db86cfaa
|
||||
DIST gitgutter-20220524.tar.gz 602709 BLAKE2B c3199ebb66076f2ba08872ac610ff3818ce9f021219777326fe76620b7a923793576e693c6960056cdba3aee102538b4394e73c2f0972b387f669caef74304a2 SHA512 fb45b40f1a555a34d99436ef9f4d44a12438427c044b156119d319d374a98f3c18e6c5649adbda24c4e7a4db5e24cea29bd16e05188187e07ca331f65f3b8bfa
|
||||
EBUILD gitgutter-20180815.ebuild 735 BLAKE2B ad7043a161cb076031e4becabc560652845c708f2c84716d6d4a8fd0b502ba748778824157df866f88130b1c80a12ea95f66475e0073f6a74fea0273b626ef71 SHA512 05e532bc7b7f011b39bba8d4d8e5edb886879d1f8bccf991d7c10645ccd994e5be3ba942e80d46c97194fe337bea1a6acf0d95a4dcefcd7ff22855ad4b572d6b
|
||||
EBUILD gitgutter-20220524.ebuild 735 BLAKE2B c797b076547c778b2b7f1594d8708d9f37bb05bc983a5a21a82d1d7442b4a8884e41eb44ed9d55cc6d6ff0a54ac4b5818e22151b0dface44812d49150fb33d15 SHA512 8bc05755fba34b6e0bac6870a3c57da48f92228a6d58223da4eb81969573201b751bbfff8c5e477d86948406fe60beb1305cd9b0960d229a88942db584c2da3e
|
||||
EBUILD gitgutter-99999999.ebuild 738 BLAKE2B 8e482d30376830374acd11cfbb290e2f6732197a79c7f976a69ab341891b041b94cb9f3dd2b581379ab7f2f4ba25823b9c9aec8c841854cfdd0fd1dfaf0ae674 SHA512 21d429aaf4b901bd1bf11e5ce7501d5d2a0e7e07c876246a84216355aaf9b2e0663ad2c34a3e58061f4dc3ab44c3bccbf6252c682d1d84adb9f29768156c136d
|
||||
MISC metadata.xml 347 BLAKE2B 2dad54b57148e092e646d9834b4b36f6f20d9f5a2287537a57dffd74d7b6231882aa1aa205866123838ba4235df834404ae519e6279b2267946f10f877f342fe SHA512 6281e42097308cf24ced58d8abd0871fc82479975f5ce7513fcf4583beadf617c21d69c38c7553b05859a137b55000e8b55c87d52838555c50ef033469224ff2
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/airblade/vim-gitgutter.git"
|
||||
inherit git-r3
|
||||
else
|
||||
inherit vcs-snapshot
|
||||
COMMIT_HASH="50a7062909d91a290fae04219887b1b45f3138db"
|
||||
SRC_URI="https://github.com/airblade/vim-gitgutter/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: shows a git diff in the sign column and stages/reverts hunks"
|
||||
HOMEPAGE="https://github.com/airblade/vim-gitgutter/"
|
||||
LICENSE="MIT"
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove unwanted test dir
|
||||
rm -r test || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,41 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# These must be bumped together:
|
||||
# dev-cpp/edencommon
|
||||
# dev-cpp/folly
|
||||
# dev-util/watchman
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Shared library for Watchman and Eden projects"
|
||||
HOMEPAGE="https://github.com/facebookexperimental/edencommon"
|
||||
SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog:=[gflags]
|
||||
dev-cpp/folly:=
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# These must be bumped together:
|
||||
# dev-cpp/edencommon
|
||||
# dev-cpp/folly
|
||||
# dev-util/watchman
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||
HOMEPAGE="https://github.com/facebook/folly"
|
||||
SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
app-arch/lz4:=
|
||||
app-arch/snappy:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog:=[gflags]
|
||||
dev-libs/boost:=[context,threads(+)]
|
||||
dev-libs/double-conversion:=
|
||||
dev-libs/libaio
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/openssl:=
|
||||
>=sys-libs/liburing-2.2:=
|
||||
sys-libs/zlib
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )"
|
||||
# libiberty is linked statically
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/binutils-libs
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="test? ( sys-devel/clang )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2022.07.04.00-musl-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${BUILD_TYPE} == binary ]] && return
|
||||
|
||||
if use test && ! tc-is-clang ; then
|
||||
# Always build w/ Clang for now to avoid gcc ICE
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230
|
||||
#if [[ $(gcc-major-version) -eq 12 ]] ; then
|
||||
# return
|
||||
#fi
|
||||
|
||||
## Only older GCC 11 is broken
|
||||
#if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then
|
||||
# return
|
||||
#fi
|
||||
|
||||
ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)"
|
||||
#ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)"
|
||||
|
||||
export CC=${CHOST}-clang
|
||||
export CXX=${CHOST}-clang++
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fragile when changing compilers
|
||||
export CCACHE_DISABLE=1
|
||||
|
||||
# TODO: liburing could in theory be optional but fails to link
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
# - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest
|
||||
# Long-standing known test failure
|
||||
# TODO: report upstream
|
||||
# - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout
|
||||
# Timeouts are fragile
|
||||
-E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="arduino.cc/arduino-builder/..."
|
||||
|
||||
EGO_VENDOR=(
|
||||
"github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8"
|
||||
"github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2"
|
||||
"github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526"
|
||||
)
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="A command line tool for compiling Arduino sketches"
|
||||
HOMEPAGE="https://github.com/arduino/arduino-builder"
|
||||
SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="sys-devel/crossdev
|
||||
dev-embedded/avrdude
|
||||
dev-embedded/arduino-ctags"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.9.2"
|
||||
|
||||
src_unpack() {
|
||||
golang-vcs-snapshot_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# As we know, golang packages have to be compiled from namespace-aware paths which is the whole
|
||||
# point of the EGO_PN dance. arduino-builder goes a step further by re-creating its own
|
||||
# namespace inside its source package, messing up with our build process which can't find
|
||||
# packages. Also, our source package contains multiple namespaces which further messes with
|
||||
# messes with our vendoring process (each namespace needs its own vendor directory).
|
||||
# We do the following to try to work around this mess. It looks like upstream reworked this
|
||||
# in its master branch so we should be able to remove this in the upcoming major release.
|
||||
|
||||
local deeppath="${S}/src/${EGO_PN%/...}"
|
||||
for pkgname in builder properties timeutils; do
|
||||
ln -s "${deeppath}/src/arduino.cc/${pkgname}" "${S}/src/arduino.cc/${pkgname}"
|
||||
done
|
||||
ln -s "${deeppath}/vendor/github.com" "${S}/src/github.com"
|
||||
|
||||
# path paths so that they point to system ctags and avrdude
|
||||
eapply "${FILESDIR}/arduino-builder-1.3.25-platform-paths.patch"
|
||||
eapply "${FILESDIR}/arduino-builder-1.3.25-skip-tests.patch"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# we unfortunately have to copy/paste the contents of golang-build_src_install() here because
|
||||
# we *don't* want to call golang_install_pkgs() which installs all static libraries we've
|
||||
# built. All we want is to install the final executable.
|
||||
|
||||
set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
|
||||
echo "$@"
|
||||
"$@" || die
|
||||
|
||||
# END OF COPY/PASTE
|
||||
|
||||
dobin bin/arduino-builder
|
||||
|
||||
# In addition to the binary, we also want to install these two files below. They are needed by
|
||||
# the dev-embedded/arduino which copies those files in its "hardware" folder.
|
||||
insinto "/usr/share/${PN}"
|
||||
cd "src/arduino.cc/builder/hardware" || die
|
||||
doins "platform.txt"
|
||||
doins "platform.keys.rewrite.txt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr"
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/arduino/arduino-builder/..."
|
||||
|
||||
EGO_VENDOR=(
|
||||
"github.com/arduino/go-properties-map ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41"
|
||||
"github.com/arduino/go-timeutils d1dd9e313b1bfede35fe0bbf46d612e16a50e04e"
|
||||
"github.com/arduino/go-paths-helper 751652ddd9f0a98650e681673c2c73937002e889"
|
||||
"github.com/fsnotify/fsnotify c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
|
||||
"github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8"
|
||||
"github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5"
|
||||
"github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2"
|
||||
"github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526"
|
||||
"google.golang.org/grpc 8dea3dc473e90c8179e519d91302d0597c0ca1d1 github.com/grpc/grpc-go"
|
||||
"google.golang.org/genproto af9cb2a35e7f169ec875002c1829c9b315cddc04 github.com/google/go-genproto"
|
||||
"golang.org/x/net ed066c81e75eba56dd9bd2139ade88125b855585 github.com/golang/net"
|
||||
"golang.org/x/text e6919f6577db79269a6443b9dc46d18f2238fb5d github.com/golang/text"
|
||||
"golang.org/x/sys 11f53e03133963fb11ae0588e08b5e0b85be8be5 github.com/golang/sys"
|
||||
)
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="A command line tool for compiling Arduino sketches"
|
||||
HOMEPAGE="https://github.com/arduino/arduino-builder"
|
||||
SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="sys-devel/crossdev
|
||||
dev-embedded/avrdude
|
||||
dev-embedded/arduino-ctags"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.9.2"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/arduino-builder-1.4.1-platform-paths.patch"
|
||||
"${FILESDIR}/arduino-builder-1.4.1-skip-tests.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
# we unfortunately have to copy/paste the contents of golang-build_src_install() here because
|
||||
# we *don't* want to call golang_install_pkgs() which installs all static libraries we've
|
||||
# built. All we want is to install the final executable.
|
||||
|
||||
set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
|
||||
echo "$@"
|
||||
"$@" || die
|
||||
|
||||
# END OF COPY/PASTE
|
||||
|
||||
dobin bin/arduino-builder
|
||||
# In addition to the binary, we also want to install these two files below. They are needed by
|
||||
# the dev-embedded/arduino which copies those files in its "hardware" folder.
|
||||
insinto "/usr/share/${PN}"
|
||||
cd "src/github.com/arduino/arduino-builder/hardware" || die
|
||||
doins "platform.txt"
|
||||
doins "platform.keys.rewrite.txt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt
|
||||
index ca8df1f..17ce03f 100644
|
||||
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt
|
||||
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt
|
||||
@@ -1,11 +1,11 @@
|
||||
# ctags
|
||||
# ------------------------------
|
||||
-tools.ctags.path={runtime.tools.ctags.path}
|
||||
-tools.ctags.cmd.path={path}/ctags
|
||||
+tools.ctags.path=/usr/bin
|
||||
+tools.ctags.cmd.path={path}/arduino-ctags
|
||||
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
|
||||
|
||||
# additional entries
|
||||
-tools.avrdude.path={runtime.tools.avrdude.path}
|
||||
+tools.avrdude.path=/usr/bin
|
||||
|
||||
preproc.macros.flags=-w -x c++ -E -CC
|
||||
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
|
@ -1,109 +0,0 @@
|
||||
Skip tests that can't run on Gentoo because of the network sandbox
|
||||
diff --git a/src/arduino.cc/builder/test/hardware_loader_test.go b/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||
index c9ea1d5..e7c68d2 100644
|
||||
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
|
||||
@@ -41,6 +41,7 @@ import (
|
||||
)
|
||||
|
||||
func TestLoadHardware(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"},
|
||||
}
|
||||
@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||
}
|
||||
@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_board_manager_stuff"},
|
||||
}
|
||||
@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadLotsOfHardware(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||
}
|
||||
diff --git a/src/arduino.cc/builder/test/helper_tools_downloader.go b/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||
index 3642510..e6391b6 100644
|
||||
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
|
||||
@@ -83,6 +83,7 @@ type Core struct {
|
||||
}
|
||||
|
||||
func DownloadCoresAndToolsAndLibraries(t *testing.T) {
|
||||
+ t.Skip("Gentoo skips tests requiring network");
|
||||
cores := []Core{
|
||||
Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"},
|
||||
Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"},
|
||||
@@ -165,6 +166,7 @@ func patchFiles(t *testing.T) {
|
||||
}
|
||||
|
||||
func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) {
|
||||
+ t.Skip("Gentoo skips tests requiring network");
|
||||
allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores)
|
||||
NoError(t, err)
|
||||
if allCoresDownloaded &&
|
||||
diff --git a/src/arduino.cc/builder/test/target_board_resolver_test.go b/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||
index 274eb92..d6973e3 100644
|
||||
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
|
||||
@@ -39,6 +39,7 @@ import (
|
||||
)
|
||||
|
||||
func TestTargetBoardResolverUno(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:uno",
|
||||
@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverDue(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:sam:arduino_due_x",
|
||||
@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:mega:cpu=atmega1280",
|
||||
@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:mega:cpu=atmega2560",
|
||||
@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||
FQBN: "my_avr_platform:avr:custom_yun",
|
||||
@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverCustomCore(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||
FQBN: "watterott:avr:attiny841:core=spencekonde,info=info",
|
@ -1,19 +0,0 @@
|
||||
diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt
|
||||
index ca8df1f..17ce03f 100644
|
||||
--- a/src/github.com/arduino/arduino-builder/hardware/platform.txt
|
||||
+++ b/src/github.com/arduino/arduino-builder/hardware/platform.txt
|
||||
@@ -1,11 +1,11 @@
|
||||
# ctags
|
||||
# ------------------------------
|
||||
-tools.ctags.path={runtime.tools.ctags.path}
|
||||
-tools.ctags.cmd.path={path}/ctags
|
||||
+tools.ctags.path=/usr/bin
|
||||
+tools.ctags.cmd.path={path}/arduino-ctags
|
||||
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
|
||||
|
||||
# additional entries
|
||||
-tools.avrdude.path={runtime.tools.avrdude.path}
|
||||
+tools.avrdude.path=/usr/bin
|
||||
|
||||
preproc.macros.flags=-w -x c++ -E -CC
|
||||
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
|
@ -1,129 +0,0 @@
|
||||
Skip tests that can't run on Gentoo because of the network sandbox
|
||||
diff --git a/test/hardware_loader_test.go b/test/hardware_loader_test.go
|
||||
index 147396e..da6c8ef 100644
|
||||
--- a/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go
|
||||
+++ b/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go
|
||||
@@ -41,6 +41,7 @@ import (
|
||||
)
|
||||
|
||||
func TestLoadHardware(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"},
|
||||
}
|
||||
@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||
}
|
||||
@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_board_manager_stuff"},
|
||||
}
|
||||
@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadLotsOfHardware(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
|
||||
}
|
||||
diff --git a/test/helper_tools_downloader.go b/test/helper_tools_downloader.go
|
||||
index 49aa847..ba77a57 100644
|
||||
--- a/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go
|
||||
+++ b/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go
|
||||
@@ -83,6 +83,7 @@ type Core struct {
|
||||
}
|
||||
|
||||
func DownloadCoresAndToolsAndLibraries(t *testing.T) {
|
||||
+ t.Skip("Gentoo skips tests requiring network");
|
||||
cores := []Core{
|
||||
Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"},
|
||||
Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"},
|
||||
@@ -177,6 +178,7 @@ func patchFiles(t *testing.T) {
|
||||
}
|
||||
|
||||
func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) {
|
||||
+ t.Skip("Gentoo skips tests requiring network");
|
||||
allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores)
|
||||
NoError(t, err)
|
||||
if allCoresDownloaded &&
|
||||
diff --git a/test/target_board_resolver_test.go b/test/target_board_resolver_test.go
|
||||
index 49e0abe..7a50fe1 100644
|
||||
--- a/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go
|
||||
+++ b/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go
|
||||
@@ -39,6 +39,7 @@ import (
|
||||
)
|
||||
|
||||
func TestTargetBoardResolverUno(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:uno",
|
||||
@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverDue(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:sam:arduino_due_x",
|
||||
@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:mega:cpu=atmega1280",
|
||||
@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
|
||||
FQBN: "arduino:avr:mega:cpu=atmega2560",
|
||||
@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||
FQBN: "my_avr_platform:avr:custom_yun",
|
||||
@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetBoardResolverCustomCore(t *testing.T) {
|
||||
+ t.Skip("Can't run on Gentoo")
|
||||
ctx := &types.Context{
|
||||
HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
|
||||
FQBN: "watterott:avr:attiny841:core=spencekonde,info=info",
|
||||
diff --git a/test/wipeout_build_path_if_build_options_changed_test.go b/test/wipeout_build_path_if_build_options_changed_test.go
|
||||
index 51bfe80..8501fb6 100644
|
||||
--- a/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go
|
||||
+++ b/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go
|
||||
@@ -42,6 +42,7 @@ import (
|
||||
)
|
||||
|
||||
func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) {
|
||||
+ t.Skip("Can't run in Gentoo")
|
||||
ctx := &types.Context{}
|
||||
|
||||
buildPath := SetupBuildPath(t, ctx)
|
||||
@@ -73,6 +74,7 @@ func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions(t *testing.T) {
|
||||
+ t.Skip("Can't run in Gentoo")
|
||||
ctx := &types.Context{}
|
||||
|
||||
buildPath := SetupBuildPath(t, ctx)
|
@ -1,18 +1,8 @@
|
||||
AUX arduino-1.8.5-lib-loading.patch 1164 BLAKE2B c1e0168f04727ab39340db3594d418eb1f6a25cbf728fb4c75c4db79b9b7b67daeaac35bcbc111f9e7eb76ba5539a5a57bcb5a3f274f3b92cf4b5bf6e51e513a SHA512 c2487e57e654872b8c4a4e046431b43385654ebdc8c9e8bbf5f9593f91a40f0d3288d0f13b6237dea351284cb5e4044013a406af1e9606b9111df3cf7f0ed760
|
||||
AUX arduino.desktop 196 BLAKE2B f844a6a0c5b9295a61f42ba76e3d11f988cc1186df95acaf376a1710cf4644de84d31cf1846d1c135c7559d23b005429e6f90a4cf59e090fb4d5a160108817eb SHA512 c02376865c1f0cc11f7b985e57f05ce4049bd49645d71294817896059e043a3679199b47e6687cc6db6ca8908c874dfeed6cb9ed083ecce89f001104e37bdc49
|
||||
DIST arduino-1.8.13.tar.gz 42634076 BLAKE2B 66755822da4cdb804e313730784d2824f919a09a8c93973ceda2c5964142f8c93081c9d79e0172b745cc938ed2f01b0279a1977284bde6e55f3a330fa113c21c SHA512 3481d1ed4ca4ffe038bdfc17acb6f2ec113ecc48d1a3967178738a852e5ba1d28044d2ea7cd4ae0984183a70ac8e6f8eb5a707624fd70e16561aa6cd6f4b9cd8
|
||||
DIST arduino-1.8.19.tar.gz 34715155 BLAKE2B d0bb23548db5b5c402e418f85339c1ace9a21306f5866bd4923edabd188e9e8e273227927d2f45ce50cdc1ee7bb59dfa4d62b027ee0f723d5948ec9ba77c0d50 SHA512 65db7aec67d6bbb96eea83d60608dd4c138ff1f9dd3c02259f3ffa0ce51f59a9a073a1ddb48acc0208477ece92ec79b5a6a87b445110f59e698990d61300bbf9
|
||||
DIST arduino-1.8.7.tar.gz 38372798 BLAKE2B a59aac177bb95e17eec7ab85d88cf0a25737f21d4be88458abfd8ffa12f2215b82e2256fc2921a14583b60f51f3144f46d35d19ae83ba6dd726a2a8773839aea SHA512 6676e0a7e0383eb2addbfad05020cb54c1606f6920840c269625e58354fd950b57037f553e3f9661b462dfbb8afb40d6ba7390cbe0c4b96406871279939b5823
|
||||
DIST arduino-Edison_help_files-1.6.2.zip 3321743 BLAKE2B 5d760ba329741cac27253fb439cf98381c0c0d7327f0c22f61cffc23c48d655278280185e5a7f6c85f3d182cacad4626eb9fe6cc2aaf7d2965bb377e2f39bbaa SHA512 63d4005036b43f09347814433578e8c75a7af5caa0923516deab146ef0867af4e60aad0c9d5d47870dcec0ddb4e5396363e4312425f95a8d8da8725f77da8f3a
|
||||
DIST arduino-Galileo_help_files-1.6.2.zip 4352077 BLAKE2B 16b99a57535ed77cdd69bb60dbb17085edfb2454b81a1b55b46310aa75e797bf784e39fb4642daf281ff92d9ade6f002cf359f98b95fc5225f66e63d189305fa SHA512 411fcfad9e9877078de62c02accd66ed5e44daf2979cad38c12962c22d73412d084670db77d5b50b3a32f35977961943e90d85ac80484f926468aa994f8b107b
|
||||
DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.10.10.zip 7229880 BLAKE2B 93729cf9fbbdab111a71020502cbe59b4a62217e90fa684977184e9de18cbd8e9a80d149184b794587385550a46aaef14a08057eb35b734146a911d5913496a7 SHA512 eacd20bfcc759f0b0744629073d1debd3d4fd8a36e5948314d149902568158839965755b833a263a71c65d7092d9091a5d05695c01854d4fb308fbec3711bd3c
|
||||
DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.12.0.zip 21873817 BLAKE2B ef2ee6291c452b58b990594a1cbae0daf86e1b6078b51225a7253d782554648610d39c2761ed67914e54a757d1345c7de4c8a63fbe12483f0134c21eac5dc303 SHA512 17e2d07fbdca491a8d80abb6f2ceb000c68af59b755da7db70dce2d5f781204340f43365c40e641acf0b084b2073b3b056f63d68990f405adefb76887f4c5b72
|
||||
DIST arduino-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip 945515 BLAKE2B a2ab32b400f774f006e1afb69797951382f8768ee55216591baecc8fc0665c31b31df403ffd17825ae524dcd0bcba87bfecbdc82722f9105d68cf9d5c8298415 SHA512 2fd003b638133d9ff77d76952ce4a38c3c2ea78c0c0c849580883e5104c3a5c141313f74934eeda29a446388e3d502e69e65ded088e693b0ff5810a133001ba8
|
||||
DIST arduino-avr-1.6.23.tar.bz2 5001988 BLAKE2B 8b6ddc2d66e651a3a2b6bd6992cd1311aad223a6cefa1a1a4bc1fa05de449116511137f8cf13c50ca42b83477c66cf4aa3a7984f49905eb7a295eff7f2c3623e SHA512 70ff70446bfc0f036f7a2927e8e53861e60225a0a6c1eb993557278ec79b8337f3a5ee6fd6f6d200744d80104efb1783332eb8d6d53c9f1b6ea6dc3054d78fd4
|
||||
DIST arduino-avr-1.8.3.tar.bz2 4941548 BLAKE2B 48d84a30f3ccf1074df6ec006ccc58d702a572dee51cff1753121055d660ad6cea4176e74488af93227a9eeea4d3a9c0c0856711ebded26ee14a755fb519dd6f SHA512 c8a63ad79f16c380def83b1215762f5cbddfc51480d658853370c3210724bb04627272f3affc0ad01af4463a68980665a4e1c37cc8fabcec16e97c4550d1bb03
|
||||
DIST arduino-examples-1.9.1.zip 4810227 BLAKE2B 0781ecb330adc444e660f6db89533dfb01995ec87dec7b5f55e28e65bfaf7f505aa79362f5815193ea6500cb1d6a16a86d5f300acf70fc4eaff0265c2891d371 SHA512 c0e21dd374b2751a1e5f2b790202d4883879da2e26e9a23ccbaec478647e2b8160cbc085e76888deafc05b9b14b1aff4ce2a9b834a7b83e8226c3bc41801015c
|
||||
DIST arduino-reference-1.6.6-3.zip 7004842 BLAKE2B 49d0d41fb499c15f06c8cb8d8211e5039ee9843a6629f305762b262a5bf199e4bbe7fea4716b7734403dc7e83ce35a963035b3a2c0d6a198a4218e7472b18d74 SHA512 65962322b6dcb15da6c119d47c382052d1183772c855b8e8fcdd108b54e730e2374d93741737f3b51e57288a0e8842a6a7f79dce4377ea3630293e6c3e7e8b73
|
||||
EBUILD arduino-1.8.13.ebuild 4768 BLAKE2B b9521a75e4b4d70018c9e5c14d311e980a9bdb5065615079ca2e93f6c6150e9b006be254745b76a5b6871434863fc1b03aab5aa376a8a1d625c5f738cdc18109 SHA512 8938afb6a2ec2b3cbd4b2ccf6cd03049b156beb2ea713a83a627a5d575e074bb19ac6e5ca46d23a999397815ceee06755553baa1f1a9f20a69ddf0d9ab36b223
|
||||
EBUILD arduino-1.8.19.ebuild 4274 BLAKE2B 250cd19d5345d44b3c588fd21a29ba8a667247b38f01e234351a1b3449b9a6492934462b21d47ee84dc2ae3c3f5b8e5a34a8408eae9b70cd977b222dfa93fb53 SHA512 eb6dbac4a6fb795eb7f0e04e7c9f5acc70e76165a498867f0d17caaeac226c2f63019ea25e50e58e3ac672baa2079f63d66d95bd92a51eade11603c742219f5f
|
||||
EBUILD arduino-1.8.7.ebuild 4626 BLAKE2B d3c0b14878d02bf2e7ba10e6a492270309d75513cce22c912ff539bebdcd16887e9e33179a3bd0df4cea2888607aed987bcd9b0592db2a4453fae106027249de SHA512 4d0858e3d88eb66d4e561251598b2b7d7840b2e252b3738303009b740ffb8df3e7c69123116750332db1ad522c4e13869417bfd6243d7e15bed4797a791dafd5
|
||||
EBUILD arduino-1.8.19.ebuild 4272 BLAKE2B f0534a5a08c55879f1c20acee8d70d19bc493466e47774f8eb75e41425e0835661e30e4c34802ec8fddf6295a69582b78ff2f0ad9cd4c307adbffc29234bae76 SHA512 2e786a8f36c0602b2f5704b332c2309c660864cec27e2b2aa35b291391300f07f2e4288d7b65df3344064201f43df0cd52dd74e5e4ee83c6a1445c2f2e5d595e
|
||||
MISC metadata.xml 332 BLAKE2B 384c8751a6538aaca49c8fd242c5493d8321e957a1d186c9c6cf8db579ab74fe9bd25c96dda56a19afa063ade2833fe4b6d307163be7a7681421c65620fe40b7 SHA512 1d58a915f882ee70c55b5541e66cd33a1367e2f686949e1a13d7dcad62d1f1ec180d433898e5ba41f52ba9630a116b92c52cb5ad3be02127c144c1d37cfa35a0
|
||||
|
@ -1,148 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2 java-ant-2 gnome2-utils
|
||||
|
||||
DESCRIPTION="An open-source AVR electronics prototyping platform"
|
||||
HOMEPAGE="https://arduino.cc/ https://github.com/arduino/"
|
||||
|
||||
ARDUINO_DOCS=(
|
||||
"reference-1.6.6-3"
|
||||
"Galileo_help_files-1.6.2"
|
||||
"Edison_help_files-1.6.2"
|
||||
)
|
||||
|
||||
for docname in "${ARDUINO_DOCS[@]}"; do
|
||||
ARDUINO_DOCS_URI+=" https://downloads.arduino.cc/${docname}.zip -> ${PN}-${docname}.zip"
|
||||
done
|
||||
|
||||
AVR_VERSION="1.8.3"
|
||||
PLUGIN_VERSION="0.10.10"
|
||||
|
||||
SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://downloads.arduino.cc/cores/avr-${AVR_VERSION}.tar.bz2 -> ${PN}-avr-${AVR_VERSION}.tar.bz2
|
||||
https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v${PLUGIN_VERSION}/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip -> ${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip
|
||||
doc? (
|
||||
${ARDUINO_DOCS_URI}
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
CDEPEND="dev-embedded/arduino-builder"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-util/astyle-3.1[java]
|
||||
dev-embedded/arduino-listserialportsc
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.8"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
# don't run the default "javadoc" target, we don't have one.
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_BUILD_XML="build/build.xml"
|
||||
EANT_EXTRA_ARGS=" -Dlight_bundle=1 -Dlocal_sources=1 -Dno_arduino_builder=1 -Dversion=${PV}"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*"
|
||||
|
||||
S="${WORKDIR}/Arduino-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
# We need to load system astyle/listserialportsc instead of bundled ones.
|
||||
"${FILESDIR}/${PN}-1.8.5-lib-loading.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
# We don't want to unpack tools, just move zip files into the work dir
|
||||
local a=( ${A} )
|
||||
unpack "${a[0]}"
|
||||
|
||||
cp "${DISTDIR}/${PN}-avr-${AVR_VERSION}.tar.bz2" "${S}/build/avr-${AVR_VERSION}.tar.bz2" || die
|
||||
cp "${DISTDIR}/${PN}-WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" "${S}/build/shared/WiFi101-Updater-ArduinoIDE-Plugin-${PLUGIN_VERSION}.zip" || die
|
||||
|
||||
if use doc; then
|
||||
local docname
|
||||
for docname in "${ARDUINO_DOCS[@]}"; do
|
||||
cp "${DISTDIR}/${PN}-${docname}.zip" "${S}/build/shared/${docname}.zip" || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Unbundle libastyle
|
||||
sed -i 's/\(target name="linux-libastyle-[a-zA-Z0-9]*"\)/\1 if="never"/g' "$S/build/build.xml" || die
|
||||
|
||||
# Unbundle avr toolchain
|
||||
sed -i 's/target name="avr-toolchain-bundle" unless="light_bundle"/target name="avr-toolchain-bundle" if="never"/' "$S/build/build.xml" || die
|
||||
|
||||
# Install avr hardware
|
||||
sed -i 's/target name="assemble-hardware" unless="light_bundle"/target name="assemble-hardware"/' "$S/build/build.xml" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use doc || EANT_EXTRA_ARGS+=" -Dno_docs=1"
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/build/linux/work || die
|
||||
|
||||
# We need to replace relative paths for toolchain executable by paths to system ones.
|
||||
sed -i -e 's@^compiler.path=.*@compiler.path=/usr/bin/@' -e 's@^tools.avrdude.path=.*@tools.avrdude.path=/usr@' \
|
||||
-e 's@^tools.avrdude.config.path=.*@tools.avrdude.config.path=/etc/avrdude.conf@' hardware/arduino/avr/platform.txt || die
|
||||
|
||||
java-pkg_dojar lib/*.jar
|
||||
java-pkg_dolauncher ${PN} \
|
||||
--pwd "/usr/share/${PN}" \
|
||||
--main "processing.app.Base" \
|
||||
--java_args "-DAPP_DIR=/usr/share/${PN} -Djava.library.path=${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
doins -r examples hardware lib tools
|
||||
|
||||
# In upstream's build process, we copy these fiels below from the bundled arduino-builder.
|
||||
# Here we do the same thing, but from the system arduino-builder.
|
||||
dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt"
|
||||
dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt"
|
||||
dosym "../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder"
|
||||
|
||||
# hardware/tools/avr needs to exist or arduino-builder will
|
||||
# complain about missing required -tools arg
|
||||
dodir "/usr/share/${PN}/hardware/tools/avr"
|
||||
|
||||
if use doc; then
|
||||
HTML_DOCS=( reference )
|
||||
einstalldocs
|
||||
|
||||
# arduino expects its doc in its "main" directory. symlink it.
|
||||
dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference"
|
||||
fi
|
||||
|
||||
# Install menu and icons
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
cd lib/icons || die
|
||||
local icondir
|
||||
for icondir in *; do
|
||||
# icondir name is something like "24x24" we want the "24" part
|
||||
local iconsize=`cut -dx -f1 <<< "${icondir}"`
|
||||
newicon -s $iconsize \
|
||||
"${icondir}/apps/arduino.png" \
|
||||
"${PN}.png"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
[[ ! -x /usr/bin/avr-g++ ]] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
|
||||
}
|
@ -1,146 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2 java-ant-2 gnome2-utils
|
||||
|
||||
DESCRIPTION="An open-source AVR electronics prototyping platform"
|
||||
HOMEPAGE="https://arduino.cc/ https://github.com/arduino/"
|
||||
|
||||
ARDUINO_DOCS=(
|
||||
"reference-1.6.6-3"
|
||||
"Galileo_help_files-1.6.2"
|
||||
"Edison_help_files-1.6.2"
|
||||
)
|
||||
|
||||
for docname in "${ARDUINO_DOCS[@]}"; do
|
||||
ARDUINO_DOCS_URI+=" https://downloads.arduino.cc/${docname}.zip -> ${PN}-${docname}.zip"
|
||||
done
|
||||
|
||||
SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://downloads.arduino.cc/cores/avr-1.6.23.tar.bz2 -> ${PN}-avr-1.6.23.tar.bz2
|
||||
https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.2/WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip -> ${PN}-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip
|
||||
doc? (
|
||||
${ARDUINO_DOCS_URI}
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
CDEPEND="dev-embedded/arduino-builder"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-util/astyle-3.1[java]
|
||||
dev-embedded/arduino-listserialportsc
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.8"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
# don't run the default "javadoc" target, we don't have one.
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_BUILD_XML="build/build.xml"
|
||||
EANT_EXTRA_ARGS=" -Dlight_bundle=1 -Dlocal_sources=1 -Dno_arduino_builder=1"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*"
|
||||
|
||||
S="${WORKDIR}/Arduino-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
# We need to load system astyle/listserialportsc instead of bundled ones.
|
||||
"${FILESDIR}/${PN}-1.8.5-lib-loading.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
# We don't want to unpack tools, just move zip files into the work dir
|
||||
unpack `echo ${A} | cut -d ' ' -f1`
|
||||
|
||||
cp "${DISTDIR}/${PN}-avr-1.6.23.tar.bz2" "${S}/build/avr-1.6.23.tar.bz2" || die
|
||||
cp "${DISTDIR}/${PN}-WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip" "${S}/build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.9.2.zip"|| die
|
||||
|
||||
if use doc; then
|
||||
local docname
|
||||
for docname in "${ARDUINO_DOCS[@]}"; do
|
||||
cp "${DISTDIR}/${PN}-${docname}.zip" "${S}/build/shared/${docname}.zip" || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Unbundle libastyle
|
||||
sed -i 's/\(target name="linux-libastyle-[a-zA-Z0-9]*"\)/\1 if="never"/g' "$S/build/build.xml" || die
|
||||
|
||||
# Unbundle avr toolchain
|
||||
sed -i 's/target name="avr-toolchain-bundle" unless="light_bundle"/target name="avr-toolchain-bundle" if="never"/' "$S/build/build.xml" || die
|
||||
|
||||
# Install avr hardware
|
||||
sed -i 's/target name="assemble-hardware" unless="light_bundle"/target name="assemble-hardware"/' "$S/build/build.xml" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use doc; then
|
||||
EANT_EXTRA_ARGS+=" -Dno_docs=1"
|
||||
fi
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/build/linux/work || die
|
||||
|
||||
# We need to replace relative paths for toolchain executable by paths to system ones.
|
||||
sed -i -e 's@^compiler.path=.*@compiler.path=/usr/bin/@' -e 's@^tools.avrdude.path=.*@tools.avrdude.path=/usr@' \
|
||||
-e 's@^tools.avrdude.config.path=.*@tools.avrdude.config.path=/etc/avrdude.conf@' hardware/arduino/avr/platform.txt || die
|
||||
|
||||
java-pkg_dojar lib/*.jar
|
||||
java-pkg_dolauncher ${PN} \
|
||||
--pwd "/usr/share/${PN}" \
|
||||
--main "processing.app.Base" \
|
||||
--java_args "-DAPP_DIR=/usr/share/${PN} -Djava.library.path=${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
doins -r examples hardware lib tools
|
||||
|
||||
# In upstream's build process, we copy these fiels below from the bundled arduino-builder.
|
||||
# Here we do the same thing, but from the system arduino-builder.
|
||||
dosym "../../arduino-builder/platform.txt" "/usr/share/${PN}/hardware/platform.txt"
|
||||
dosym "../../arduino-builder/platform.keys.rewrite.txt" "/usr/share/${PN}/hardware/platform.keys.rewrite.txt"
|
||||
dosym "../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder"
|
||||
|
||||
# hardware/tools/avr needs to exist or arduino-builder will
|
||||
# complain about missing required -tools arg
|
||||
dodir "/usr/share/${PN}/hardware/tools/avr"
|
||||
|
||||
if use doc; then
|
||||
HTML_DOCS=( reference )
|
||||
einstalldocs
|
||||
|
||||
# arduino expects its doc in its "main" directory. symlink it.
|
||||
dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference"
|
||||
fi
|
||||
|
||||
# Install menu and icons
|
||||
domenu "${FILESDIR}/${PN}.desktop"
|
||||
cd lib/icons || die
|
||||
local icondir
|
||||
for icondir in *; do
|
||||
# icondir name is something like "24x24" we want the "24" part
|
||||
local iconsize=`cut -dx -f1 <<< "${icondir}"`
|
||||
newicon -s $iconsize \
|
||||
"${icondir}/apps/arduino.png" \
|
||||
"${PN}.png"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
[[ ! -x /usr/bin/avr-g++ ]] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST u-boot-2022.04.tar.bz2 17772787 BLAKE2B 5d2035130c0631f8f1b7f7963bedf71578a66994e3950eb103a404a08e85686cd971ba51e8172093ccb75d975101024bf2a94d4064763ad57ad8950c11092319 SHA512 113056e542db049eea3b1d1ccbbe52c79539a2f9bb6129d284ec9200dcffec7bd5969821913a9899631575b80991c84ad01bc845b4bba614e42e54466d9f0d64
|
||||
DIST u-boot-2022.07.tar.bz2 18087759 BLAKE2B bb78c7ccd56f12ebc622fb73d29cbf0a5db9d421133b191a6591845b4842b111145d2df649bae69011284bd468b8219ee0df20b61660ea4ec52006a93e14f09d SHA512 e1b3621dafac876c644ffb3d24b6e2380f5a78454c420a5b17d174e3f0b57731a95cfbff28ae7d0af4493f4bbf8d21e7f9236d61bb2414ed12295332b3d557b6
|
||||
EBUILD u-boot-tools-2022.04.ebuild 1546 BLAKE2B a91038ee3eeed987d2f2345c83c976c83712b27b54598815ee3f6a6661ff3616247e3156b85301aa5b6cbc26b5459a36d0ab008629538cf39f7d2b0c749b9def SHA512 d46bd2cf77587e5af7985da97ee8e6bc61513d33ec2cc2ed5605164ea194c40ccb6e327645fa307244d7f91fc034f8e74af5cf54a06d665f20f89d94cec3b98c
|
||||
EBUILD u-boot-tools-2022.07.ebuild 1546 BLAKE2B a91038ee3eeed987d2f2345c83c976c83712b27b54598815ee3f6a6661ff3616247e3156b85301aa5b6cbc26b5459a36d0ab008629538cf39f7d2b0c749b9def SHA512 d46bd2cf77587e5af7985da97ee8e6bc61513d33ec2cc2ed5605164ea194c40ccb6e327645fa307244d7f91fc034f8e74af5cf54a06d665f20f89d94cec3b98c
|
||||
EBUILD u-boot-tools-2022.07.ebuild 1561 BLAKE2B b7e6e1bd690440c0af7085fa7055eff9823a8aafe179dd6b4412c93988a2abe04f52f152fe3eb2d8aa6f2feac311892e61c84d106db90645d2b6d1e082167a86 SHA512 3e9a1d07ad0767d96042ed5e4b7145ac5f1264de2d5a748c8a22052fb941a162a4d968e08ab848fbc0d13c4eec955118d0f07d5c08ce80c70f5ce16d61a3edb6
|
||||
MISC metadata.xml 451 BLAKE2B 8634c7b8cd333dadddeb3622fbe298d19b5a470b85743717fb972e310869ee2a897110a9fd7b5781de016ba9a8c9baf7c6b5ed89279e98f086a4d326cdcce807 SHA512 981503c1d3a7dd42ca141b00a29fac43eb379603140767f0e0de94f54fd4180b498cebea56692c017ab7dbf9a2afdfb222edc5942c58429490456c064b5fa41d
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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="https://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86"
|
||||
IUSE="envtools"
|
||||
|
||||
RDEPEND="dev-libs/openssl:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's:\bpkg-config\b:${PKG_CONFIG}:g' \
|
||||
scripts/kconfig/{g,m,n,q}conf-cfg.sh \
|
||||
scripts/kconfig/Makefile \
|
||||
tools/Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR BUILD_CC CC PKG_CONFIG
|
||||
tc-export_build_env
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Unset a few KBUILD variables. Bug #540476
|
||||
unset KBUILD_OUTPUT KBUILD_SRC
|
||||
|
||||
local myemakeargs=(
|
||||
V=1
|
||||
AR="${AR}"
|
||||
CC="${CC}"
|
||||
HOSTCC="${BUILD_CC}"
|
||||
HOSTCFLAGS="${BUILD_CFLAGS} ${BUILD_CPPFLAGS}"' $(HOSTCPPFLAGS)'
|
||||
HOSTLDFLAGS="${BUILD_LDFLAGS}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" tools-only_defconfig
|
||||
|
||||
emake "${myemakeargs[@]}" \
|
||||
NO_SDL=1 \
|
||||
HOSTSTRIP=: \
|
||||
STRIP=: \
|
||||
CONFIG_ENV_OVERWRITE=y \
|
||||
$(usex envtools envtools tools-all)
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
cd tools || die
|
||||
|
||||
if ! use envtools; then
|
||||
dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage
|
||||
fi
|
||||
|
||||
dobin env/fw_printenv
|
||||
|
||||
dosym fw_printenv /usr/bin/fw_setenv
|
||||
|
||||
insinto /etc
|
||||
doins env/fw_env.config
|
||||
|
||||
doman ../doc/mkimage.1
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue