parent
88bea7b3b7
commit
d5a9478e10
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
DIST lastpass-binary-component-4.1.44_p20171210.tar.bz2 1625075 BLAKE2B 90812cfae90c90ab7f91ac293e501e9b8c6d0b4fca9e1f05e88865eb85042286308d2ce6eb90d306583aa9481de7588746a3402c3b4b9f29e2e540e4a4c2b287 SHA512 16ceebd054fe807975f838305044bf5e75ccbba2c592f7bf08af18d1209067c7e8b0e00457092242c3869de2ec5c59bfdfdb3ff06f801dbb2108b7dac1a7adbf
|
||||
DIST lastpass-binary-component-4.19.0.tar.bz2 1625255 BLAKE2B 714fb34708f9dda8dbacfce8e76adf004f1cc966d685c0efbaac7b25c45068bb5595e954e554092852d575f1fedc5f318d05b121bc2ce1aa4888e4bf374f7b96 SHA512 2535d72c5b545b364dd1e91503590cafa16d3de4f4745c4f1fa236135580e2af47094e364a7f0ebde5fcfd11282ab9329ef333866a985f02a873e092aabb9b22
|
||||
|
@ -1,22 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Binary component required by the LastPass Password Manager browser extension"
|
||||
HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5"
|
||||
# sadly, upstream has no versioned distfiles
|
||||
SRC_URI="https://lastpass.com/lplinux.tar.bz2 -> ${P}.tar.bz2"
|
||||
SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="LastPass"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
|
||||
|
||||
RDEPEND="
|
||||
!!app-admin/lastpass
|
||||
"
|
||||
|
||||
LASTPASS_EXEDIR=/opt/lastpass/
|
||||
|
||||
QA_PREBUILT="
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST stress-ng-0.09.42.tar.xz 360452 BLAKE2B fa5ad15f066d8e762fb08cdcd4fe58ea6604890edf2384e0676e6c35645a6fd84c568369dc966d23527820630a0b44ab9b8969f3e170c876b03a194ea72384af SHA512 e209a8777331f91b3ec5fca9f6f664513498b21b5b31338e0882cc6c79674524906e8d0d4a8931ab5b382feac65e15639989fc0672e408aaa2eb84c72a059258
|
||||
DIST stress-ng-0.09.43.tar.xz 361116 BLAKE2B bba3d136146bfb55f23cb40f85e7e133f96d7fa7f2a55e7b7fb70ef23197c082f89b35fbf11129eaaf3d1c1b7306d1a5ac5ebd55a96c37c6fa9533a84a3d4684 SHA512 bceec4263916b370fc35f6178c2048c3d8317dfc77363f4ec7e9f0111243495d405314af6d467aa5a56db03e1c8c9a2f7aa3c733afe1f3f6f45f6c074ad3ac4c
|
||||
DIST stress-ng-0.09.44.tar.xz 361396 BLAKE2B 28458eeb9b1f8b296242d42af682537f2018dfedd3faea299e04b3e5141bb52bedd09452802ec5459130a6e5791d4f3383f2a8a338c289c51f306cfb722bf780 SHA512 74d1ffff789e96e9d38481abaa06f1232cdd6b92fd792abb078d690cfb5fbff188c738b1cc1c342b9d9e729dc97a6218641464eac4ab90f51e1e801a54b0767a
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="Stress test for a computer system with various selectable ways"
|
||||
HOMEPAGE="http://kernel.ubuntu.com/~cking/stress-ng/"
|
||||
SRC_URI="http://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-libs/libaio
|
||||
dev-libs/libbsd
|
||||
dev-libs/libgcrypt:0=
|
||||
net-misc/lksctp-tools
|
||||
sys-apps/attr
|
||||
sys-apps/keyutils
|
||||
sys-libs/libapparmor
|
||||
sys-libs/libcap
|
||||
sys-libs/zlib:="
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST certbot-0.25.1.tar.gz 1160526 BLAKE2B 2dd2196c5986d5f5fe59f711589b6c3393d9c4183febb7048eab0b85e033f81d5c7ff12d7fea3aa69585308f5a4984143e431047fee73b42b16bd49e1cd2d14f SHA512 6395baa33acb4cf9e953294ddb07694ffa1e76424e12114db8df0f64fb3f1872c3145b02d853c139183b2b708d40d236f91d356eb9ecca447f577bd725fee6e5
|
||||
DIST certbot-0.27.1.tar.gz 1240538 BLAKE2B 3d03acc8465c5d44de99ffbee67bd75fbd7d6e5d1cb1d1a6551d14c64dd699bbd91deaf3398ea3a7c2eeb8c353650e6a06cf64c88533f4270f05d1f3381843cf SHA512 ce4edd1088e9abba89f026953e42f782c6e3ef41b11123d7faf8f1e4c230b2be5107ad70b7c6d515b6ce3d06a65ae132a37d4e41fd35f728a17ba94bb09ebb00
|
||||
DIST certbot-0.28.0.tar.gz 1253582 BLAKE2B f97a195afacd279b1dfc2d62ea45ae43dfd2d160f148200dd0756eda1c75561a6b1326a346f84c666c8409d339bc4341106ed4cfc684a7d868b6e1e10707ef78 SHA512 07c9bbad52acebc60e48d79619e4f12818d67c3b0f41ffa4fcd02098fb9da245e4006418f54c51c2e4bb9aaa01a21f7a083c9eb092f533e6676ed75ae8667a54
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
S=${WORKDIR}/certbot-${PV}/acme
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN} || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST certbot-0.25.1.tar.gz 1160526 BLAKE2B 2dd2196c5986d5f5fe59f711589b6c3393d9c4183febb7048eab0b85e033f81d5c7ff12d7fea3aa69585308f5a4984143e431047fee73b42b16bd49e1cd2d14f SHA512 6395baa33acb4cf9e953294ddb07694ffa1e76424e12114db8df0f64fb3f1872c3145b02d853c139183b2b708d40d236f91d356eb9ecca447f577bd725fee6e5
|
||||
DIST certbot-0.27.1.tar.gz 1240538 BLAKE2B 3d03acc8465c5d44de99ffbee67bd75fbd7d6e5d1cb1d1a6551d14c64dd699bbd91deaf3398ea3a7c2eeb8c353650e6a06cf64c88533f4270f05d1f3381843cf SHA512 ce4edd1088e9abba89f026953e42f782c6e3ef41b11123d7faf8f1e4c230b2be5107ad70b7c6d515b6ce3d06a65ae132a37d4e41fd35f728a17ba94bb09ebb00
|
||||
DIST certbot-0.28.0.tar.gz 1253582 BLAKE2B f97a195afacd279b1dfc2d62ea45ae43dfd2d160f148200dd0756eda1c75561a6b1326a346f84c666c8409d339bc4341106ed4cfc684a7d868b6e1e10707ef78 SHA512 07c9bbad52acebc60e48d79619e4f12818d67c3b0f41ffa4fcd02098fb9da245e4006418f54c51c2e4bb9aaa01a21f7a083c9eb092f533e6676ed75ae8667a54
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S=${WORKDIR}/${PN%-apache}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=app-crypt/certbot-0.26.0[${PYTHON_USEDEP}]
|
||||
>=app-crypt/acme-0.25.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-augeas[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST certbot-0.25.1.tar.gz 1160526 BLAKE2B 2dd2196c5986d5f5fe59f711589b6c3393d9c4183febb7048eab0b85e033f81d5c7ff12d7fea3aa69585308f5a4984143e431047fee73b42b16bd49e1cd2d14f SHA512 6395baa33acb4cf9e953294ddb07694ffa1e76424e12114db8df0f64fb3f1872c3145b02d853c139183b2b708d40d236f91d356eb9ecca447f577bd725fee6e5
|
||||
DIST certbot-0.27.1.tar.gz 1240538 BLAKE2B 3d03acc8465c5d44de99ffbee67bd75fbd7d6e5d1cb1d1a6551d14c64dd699bbd91deaf3398ea3a7c2eeb8c353650e6a06cf64c88533f4270f05d1f3381843cf SHA512 ce4edd1088e9abba89f026953e42f782c6e3ef41b11123d7faf8f1e4c230b2be5107ad70b7c6d515b6ce3d06a65ae132a37d4e41fd35f728a17ba94bb09ebb00
|
||||
DIST certbot-0.28.0.tar.gz 1253582 BLAKE2B f97a195afacd279b1dfc2d62ea45ae43dfd2d160f148200dd0756eda1c75561a6b1326a346f84c666c8409d339bc4341106ed4cfc684a7d868b6e1e10707ef78 SHA512 07c9bbad52acebc60e48d79619e4f12818d67c3b0f41ffa4fcd02098fb9da245e4006418f54c51c2e4bb9aaa01a21f7a083c9eb092f533e6676ed75ae8667a54
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-nginx}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=app-crypt/certbot-0.22.0[${PYTHON_USEDEP}]
|
||||
>=app-crypt/acme-0.26.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST certbot-0.25.1.tar.gz 1160526 BLAKE2B 2dd2196c5986d5f5fe59f711589b6c3393d9c4183febb7048eab0b85e033f81d5c7ff12d7fea3aa69585308f5a4984143e431047fee73b42b16bd49e1cd2d14f SHA512 6395baa33acb4cf9e953294ddb07694ffa1e76424e12114db8df0f64fb3f1872c3145b02d853c139183b2b708d40d236f91d356eb9ecca447f577bd725fee6e5
|
||||
DIST certbot-0.27.1.tar.gz 1240538 BLAKE2B 3d03acc8465c5d44de99ffbee67bd75fbd7d6e5d1cb1d1a6551d14c64dd699bbd91deaf3398ea3a7c2eeb8c353650e6a06cf64c88533f4270f05d1f3381843cf SHA512 ce4edd1088e9abba89f026953e42f782c6e3ef41b11123d7faf8f1e4c230b2be5107ad70b7c6d515b6ce3d06a65ae132a37d4e41fd35f728a17ba94bb09ebb00
|
||||
DIST certbot-0.28.0.tar.gz 1253582 BLAKE2B f97a195afacd279b1dfc2d62ea45ae43dfd2d160f148200dd0756eda1c75561a6b1326a346f84c666c8409d339bc4341106ed4cfc684a7d868b6e1e10707ef78 SHA512 07c9bbad52acebc60e48d79619e4f12818d67c3b0f41ffa4fcd02098fb9da245e4006418f54c51c2e4bb9aaa01a21f7a083c9eb092f533e6676ed75ae8667a54
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=app-crypt/acme-0.26.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/josepy[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/astroid-1.3.5[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/ipdb[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-1.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests -v ${PN} || die
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pax-utils multilib
|
||||
|
||||
DESCRIPTION="World's fastest and most advanced password recovery utility"
|
||||
HOMEPAGE="https://github.com/hashcat/hashcat"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
IUSE="brain video_cards_nvidia"
|
||||
DEPEND="virtual/opencl
|
||||
app-arch/lzma
|
||||
brain? ( dev-libs/xxhash )
|
||||
video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
#remove bundled stuff
|
||||
rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
|
||||
rm -r deps/xxHash || die "Failed to remove bundled xxHash"
|
||||
#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
|
||||
#rm -r deps || die "Failed to remove bundled deps"
|
||||
#do not strip
|
||||
sed -i "/LFLAGS += -s/d" src/Makefile
|
||||
#do not add random CFLAGS
|
||||
sed -i "s/-O2//" src/Makefile || die
|
||||
sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
|
||||
export PREFIX=/usr
|
||||
export LIBRARY_FOLDER="/usr/$(get_libdir)"
|
||||
export DOCUMENT_FOLDER="/usr/share/doc/${P}"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
|
||||
pax-mark -mr hashcat
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use video_cards_nvidia; then
|
||||
addwrite /dev/nvidia0
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia-uvm
|
||||
if [ ! -w /dev/nvidia0 ]; then
|
||||
einfo "To run these tests, portage likely must be in the video group."
|
||||
einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
|
||||
fi
|
||||
#elif use vidia_cards_fglrx; then
|
||||
# addwrite /dev/ati
|
||||
fi
|
||||
#this always exits with 255 despite success
|
||||
#./hashcat -b -m 2500 || die "Test failed"
|
||||
LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST xca-1.4.1.tar.gz 959107 BLAKE2B 7437cdbaa5277998de200e9a5ad3a7d44aed9ae8af8fd926d7ed1917d49bec79562455ca2e82557149d748840f299ffd66edfc7f265be7d5bdcd6e4fe8dbaf9b SHA512 8294669c4887ba7a9060c3c2c06014b8a1807898569842ed61c066e8a864de014fba51a2ff867b579048083fdd4934cc7f97c92268de4944bf4aafea9c2e7b42
|
||||
DIST xca-2.1.0.tar.gz 1055745 BLAKE2B c3ea2953be7cacb8c4c6fb6911f2e51806d40f294d8c9daef1d47da4f3e6ffa4933d199b8b92cab828286ececab2ea7195d5a46455e4d4703f0a67d0d7861db9 SHA512 ad46b290067b0a22bb6baeb0d065879bea74cd2c853f67c2be3d0c2bdaa5ca4ebef606c0f08bd0b130df4ec13418d470062b708ab479800eab7c18dffa46af03
|
||||
DIST xca-2.1.1.tar.gz 1055613 BLAKE2B bb6d6b4742c7a799bf1a65e1ed2f8ab8b4d695e717e630600bc22f0e0d4a9ae95d5d98d3e85ccfbdd07eb08cf7dba6b94c702790e21fe4899fce8fc33e4f7154 SHA512 e7c3fdb515bb7a719a775b97efcabe71dc1ccc31a7ddd7cb1a9543fb16d131bce180917418091927334a4dd169daef919a4d9476a29ab4355688c961e3340dd3
|
||||
DIST xca-2.1.2.tar.gz 1086563 BLAKE2B d48727fffad16d840633af6e0ee38a279978a5b865eb6f391a3d852a0105817254ea0a4780875f2956e1f7e9931e6930c6ffbe82b117dbf8ad0058ec9d6f5c88 SHA512 1f104a22b83b802576b4820b7139971da50f9b3dd70aca8e1199e996bad4379b8681bb31b197b84a3dfa49cef4ae093f6622d15fac9667547ff47af43c1e5f07
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit xdg-utils
|
||||
|
||||
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
|
||||
HOMEPAGE="https://hohnstaedt.de/xca/"
|
||||
SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="bindist doc libressl"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0=
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwidgets:5
|
||||
!libressl? ( dev-libs/openssl:0=[bindist=] )
|
||||
libressl? ( >=dev-libs/libressl-2.7.0:0= )
|
||||
doc? ( app-text/linuxdoc-tools )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.0-desktop.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-qt-version=5 \
|
||||
$(use_enable doc) \
|
||||
STRIP=true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# enforce all to avoid the automatic silent rules
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# non standard destdir
|
||||
emake install destdir="${ED}"
|
||||
einstalldocs
|
||||
|
||||
insinto /etc/xca
|
||||
doins misc/*.txt
|
||||
|
||||
ewarn "Make a backup copy of your database!"
|
||||
ewarn "This version completely changes the database format to SQL(ite)"
|
||||
ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database."
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST focuswriter-1.6.10-src.tar.bz2 10202594 BLAKE2B d7b59dc2c37d87ed0d1e58358906a9fef6f14a339e12a50980d17cdbed043f604bb355edca956af61b5fcaa78f68eb35b54ef85fc08dfa00dfa747893d6c1200 SHA512 8c12481af77fa4353840f22a6aa54c5264041afc141d9746e097e42171a9f274663940fc0c5e5e2c91ef677190c682a195cb775199d4b8cc2b1ad040542e2e61
|
||||
DIST focuswriter-1.6.13-src.tar.bz2 10342493 BLAKE2B 11086bf7d35cc392169e7b6de57ea0b65c919bef0d845946893641f705ba0522bdef7244f4035104188d3fdf0dd3b6ad30ed6bf347b5ce8c422d7eea6c6dc714 SHA512 d78719d5a1e25afec8035759d0ebff17728e856fe346d4d8fefd38a15eea3476eb1c6e2aca30955ac148fadd4701a9c4a83399baffe93239a18b93854fab9858
|
||||
DIST focuswriter-1.6.16-src.tar.bz2 10301446 BLAKE2B ade186dffe87b4256c85b876b7121fa144f264d358479ef46c34579f96ea15fdd55da2c036d35119fe1eee3498d64ad1ac72737fa2e9f45aa13535dec599b168 SHA512 aefffcde693f4e7627f11cc37d763936f85dd749293daf910934da99e858471399618243c20ff88cd4993cffcb4b3270cb38bd97834519484c463b1b1b7e5f0d
|
||||
|
@ -1,2 +1 @@
|
||||
DIST okteta-0.25.3.tar.xz 950956 BLAKE2B d177db59b5327f4e75157c99fdac2191de9a7ef63433635ccf8f11ef4dc4ff201942c9f68383d720b18c26a9e7335bc1181ea4f0e36491b34b27e6c7dc469c9e SHA512 f27b0c2ca3c5f1ad838af847e08c53c8f8f3c386921bd2e0d5e833902659477196e6c6b72a428443e2be9013928c2151c1889ef33d59404815a34d81560ef2a7
|
||||
DIST okteta-0.25.4.tar.xz 950344 BLAKE2B 3a3daf5cdb9e349e145a22afe836c78e18972e1f984472267cd182630b8f8132e10efb49cbc9fac40768aef4dadbb678afa26eb965642f07f407030f15b71dbd SHA512 d9887a90efbad3bb2caa0d3bb12af27708b77d54a90cd0da82eace7ea6dfc2efbcea3d7dc720bf4a088a823a8ed9edf75ab1c3680aa6d99c640d5c9e4c385e16
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="forceoptional"
|
||||
KDE_TEST="true"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Hex editor by KDE"
|
||||
HOMEPAGE="https://www.kde.org/applications/utilities/okteta
|
||||
https://utils.kde.org/projects/okteta"
|
||||
IUSE="crypt designer"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kbookmarks)
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kcodecs)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep knewstuff)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtdeclarative)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtscript 'scripttools')
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
crypt? ( app-crypt/qca:2[qt5(+)] )
|
||||
designer? ( $(add_qt_dep designer) )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOMIT_EXAMPLES=ON
|
||||
$(cmake-utils_use_find_package crypt Qca-qt5)
|
||||
-DBUILD_DESIGNERPLUGIN=$(usex designer)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=( -j1 )
|
||||
|
||||
kde5_src_test
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST lcd4linux-0.10.1-RC2.tar.gz 386188 BLAKE2B 7d396ee15e00212eb314721cd9627147ec1654f43fff1d3ae3f8c38d33d8d133f1fd5c53ef2b78eba7afefb7f65a53810da52a903911abdd95383b2b2c28d06f SHA512 8c4299f50ab4068d4106ba32309f4f66bfedf382a4aed7495cf400d22c57c22c4dfabd80f7e4355417c5c0d964e69f0c268a50bae6924b759b720bd728a969f9
|
||||
DIST lcd4linux-0.11.0_pre20170527.tar.bz2 478823 BLAKE2B 7b332e7262781dd0dc954a0576890dda78ecbeab9dc003d1d5b84a643ad522d57e32a04a2aa6fbe13b18e4699d07d88412e19c81739fafdf98ba327b151061a9 SHA512 c131b9cb04bb0ff4dc46c1e3ab8f5dcda309bbef89bcb670508f9afe7c515d6ccfe79a03782be4f4b2ba4aaf977cd13c0059805e5b7230216e39ee3421b0f143
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- ac_python_devel.m4.orig 2010-03-06 01:28:40.000000000 +0200
|
||||
+++ ac_python_devel.m4 2010-03-06 01:29:47.000000000 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
|
||||
Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
|
||||
to something else than an empty string.
|
||||
-])dnl
|
||||
+])
|
||||
else
|
||||
AC_MSG_RESULT([skip at user request])
|
||||
fi
|
||||
@@ -92,7 +92,7 @@
|
||||
If you have it installed, but it isn't the default Python
|
||||
interpreter in your system path, please pass the PYTHON_VERSION
|
||||
variable to configure. See ``configure --help'' for reference.
|
||||
-])dnl
|
||||
+])
|
||||
fi
|
||||
fi
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -ur lcd4linux-0.10.1-RC2.orig/lcd4linux.c lcd4linux-0.10.1-RC2/lcdinux-0.10.1-RC2/lcd4linux.c
|
||||
--- lcd4linux.c 2007-03-22 15:10:41.000000000 +0900
|
||||
+++ lcd4linux.c 2011-11-23 12:12:03.782869315 +0800
|
||||
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
-
|
||||
+#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
@ -1,374 +0,0 @@
|
||||
Patch for >=lcd4linux-0.10.1_rc2-r1
|
||||
|
||||
Fixes memory and other bugs in plugin_mpd
|
||||
|
||||
Accepted upstream
|
||||
|
||||
Index: plugin_mpd.c
|
||||
===================================================================
|
||||
--- plugin_mpd.c (Revision 801)
|
||||
+++ plugin_mpd.c (Arbeitskopie)
|
||||
@@ -4,6 +4,7 @@
|
||||
* mpd informations
|
||||
*
|
||||
* Copyright (C) 2006 Stefan Kuhne <sk-privat@gmx.net>
|
||||
+ * Copyright (C) 2007 Robert Buchholz <rbu@gentoo.org>
|
||||
* Copyright (C) 2006 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
|
||||
*
|
||||
* This file is part of LCD4Linux.
|
||||
@@ -81,8 +82,8 @@
|
||||
|
||||
iport = strtol(port, &test, 10);
|
||||
|
||||
- if (iport < 0 || *test != '\0') {
|
||||
- fprintf(stderr, "MPD_PORT \"%s\" is not a positive integer\n", port);
|
||||
+ if ((iport < 0) || (*test != '\0')) {
|
||||
+ error("[MPD] MPD_PORT \"%s\" is not a positive integer\n", port);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
@@ -94,17 +95,16 @@
|
||||
mpd_sendCommandListEnd(mpd.conn);
|
||||
|
||||
if ((mpd.status = mpd_getStatus(mpd.conn)) == NULL) {
|
||||
- fprintf(stderr, "%s\n", mpd.conn->errorStr);
|
||||
+ error("[MPD] error when getting status: %s\n", mpd.conn->errorStr);
|
||||
mpd_closeConnection(mpd.conn);
|
||||
- }
|
||||
-
|
||||
- if (mpd.status->error) {
|
||||
- printf("error: %s\n", mpd.status->error);
|
||||
- }
|
||||
-
|
||||
- if (mpd.conn->error) {
|
||||
- fprintf(stderr, "%s\n", mpd.conn->errorStr);
|
||||
+ mpd.conn = NULL;
|
||||
+ } else if (mpd.status->error) {
|
||||
+ info("[MPD] status error when connecting: %s\n", mpd.status->error);
|
||||
+ } else if (mpd.conn->error) {
|
||||
+ error("[MPD] error when connecting: %s\n", mpd.conn->errorStr);
|
||||
+ mpd_freeStatus(mpd.status);
|
||||
mpd_closeConnection(mpd.conn);
|
||||
+ mpd.conn = NULL;
|
||||
}
|
||||
|
||||
return mpd;
|
||||
@@ -114,14 +114,15 @@
|
||||
static void disconnect(struct Pointer mpd)
|
||||
{
|
||||
if (mpd.conn->error) {
|
||||
- fprintf(stderr, "%s\n", mpd.conn->errorStr);
|
||||
+ error("[MPD] error when disconnecting: %s\n", mpd.conn->errorStr);
|
||||
+ mpd_freeStatus(mpd.status);
|
||||
mpd_closeConnection(mpd.conn);
|
||||
+ return;
|
||||
}
|
||||
|
||||
mpd_finishCommand(mpd.conn);
|
||||
if (mpd.conn->error) {
|
||||
- fprintf(stderr, "%s\n", mpd.conn->errorStr);
|
||||
- mpd_closeConnection(mpd.conn);
|
||||
+ error("[MPD] error when disconnecting: %s\n", mpd.conn->errorStr);
|
||||
}
|
||||
|
||||
mpd_freeStatus(mpd.status);
|
||||
@@ -132,8 +133,12 @@
|
||||
|
||||
static void artist(RESULT * result, RESULT * query)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char *value = NULL;
|
||||
struct Pointer mpd = connect();
|
||||
+ if (mpd.conn == NULL) {
|
||||
+ SetResult(&result, R_STRING, " ");
|
||||
+ return;
|
||||
+ }
|
||||
|
||||
mpd_nextListOkCommand(mpd.conn);
|
||||
|
||||
@@ -145,9 +150,10 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (song->artist) {
|
||||
+ if (!value && song->artist) {
|
||||
+ /* we found our first song */
|
||||
value = strdup(song->artist);
|
||||
- //add comment
|
||||
+ /* add comment */
|
||||
if (query) {
|
||||
char *myarg;
|
||||
myarg = strdup(R2S(query));
|
||||
@@ -160,8 +166,8 @@
|
||||
|
||||
disconnect(mpd);
|
||||
|
||||
- /* store result */
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result, value must not be NULL */
|
||||
+ SetResult(&result, R_STRING, value ? value : " ");
|
||||
|
||||
free(value);
|
||||
}
|
||||
@@ -169,8 +175,12 @@
|
||||
|
||||
static void title(RESULT * result)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char *value = NULL;
|
||||
struct Pointer mpd = connect();
|
||||
+ if (mpd.conn == NULL) {
|
||||
+ SetResult(&result, R_STRING, " ");
|
||||
+ return;
|
||||
+ }
|
||||
|
||||
mpd_nextListOkCommand(mpd.conn);
|
||||
|
||||
@@ -182,7 +192,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (song->title) {
|
||||
+ if (!value && song->title) {
|
||||
value = strdup(song->title);
|
||||
}
|
||||
mpd_freeInfoEntity(mpd.entity);
|
||||
@@ -190,8 +200,8 @@
|
||||
|
||||
disconnect(mpd);
|
||||
|
||||
- /* store result */
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result, value must not be NULL */
|
||||
+ SetResult(&result, R_STRING, value ? value : " ");
|
||||
|
||||
free(value);
|
||||
}
|
||||
@@ -199,8 +209,12 @@
|
||||
|
||||
static void album(RESULT * result)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char *value = NULL;
|
||||
struct Pointer mpd = connect();
|
||||
+ if (mpd.conn == NULL) {
|
||||
+ SetResult(&result, R_STRING, " ");
|
||||
+ return;
|
||||
+ }
|
||||
|
||||
mpd_nextListOkCommand(mpd.conn);
|
||||
|
||||
@@ -212,7 +226,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (song->album) {
|
||||
+ if (!value && song->album) {
|
||||
value = strdup(song->album);
|
||||
}
|
||||
mpd_freeInfoEntity(mpd.entity);
|
||||
@@ -220,8 +234,8 @@
|
||||
|
||||
disconnect(mpd);
|
||||
|
||||
- /* store result */
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result, value must not be NULL */
|
||||
+ SetResult(&result, R_STRING, value ? value : " ");
|
||||
|
||||
free(value);
|
||||
}
|
||||
@@ -236,7 +250,7 @@
|
||||
void error_callback( __attribute__ ((unused)) MpdObj * mi, int errorid, char *msg, __attribute__ ((unused))
|
||||
void *userdata)
|
||||
{
|
||||
- printf("Error %i: '%s'\n", errorid, msg);
|
||||
+ info("[MPD] caught error %i: '%s'\n", errorid, msg);
|
||||
}
|
||||
|
||||
static int mpd_get(int function)
|
||||
@@ -278,95 +292,89 @@
|
||||
|
||||
static void elapsedTime(RESULT * result)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char myTime[6] = " ";
|
||||
|
||||
- int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
|
||||
+ const int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
|
||||
|
||||
- if (playTime != -1) {
|
||||
- char myTime[6];
|
||||
- memset(myTime, 0, 6);
|
||||
- int minutes = (int) (playTime / 60);
|
||||
- int seconds = (int) (playTime % 60);
|
||||
+ if ((playTime >= 0) && (playTime < 6000)) {
|
||||
+ const int minutes = (int) (playTime / 60);
|
||||
+ const int seconds = (int) (playTime % 60);
|
||||
sprintf(myTime, "%02d:%02d", minutes, seconds);
|
||||
+ } else if (playTime >= 6000) {
|
||||
+ strcpy(myTime, "LONG");
|
||||
+ }
|
||||
|
||||
- value = strdup(myTime);
|
||||
- }
|
||||
- // store result
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result */
|
||||
+ SetResult(&result, R_STRING, myTime);
|
||||
}
|
||||
|
||||
static void elapsedTimeSec(RESULT * result)
|
||||
{
|
||||
- int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
|
||||
+ const int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
|
||||
double d = 0.0;
|
||||
|
||||
if (playTime != -1)
|
||||
d = playTime;
|
||||
|
||||
- // store result
|
||||
+ /* store result */
|
||||
SetResult(&result, R_NUMBER, &d);
|
||||
}
|
||||
|
||||
static void totalTime(RESULT * result)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char myTime[6] = "ERROR";
|
||||
|
||||
- int totTime = mpd_get(_mpd_status_get_total_song_time);
|
||||
- if (totTime != -1) {
|
||||
- char myTime[6];
|
||||
- memset(myTime, 0, 6);
|
||||
- int minutes = (int) (totTime / 60);
|
||||
- int seconds = (int) (totTime % 60);
|
||||
+ const int totTime = mpd_get(_mpd_status_get_total_song_time);
|
||||
+ if ((totTime >= 0) && (totTime < 6000)) {
|
||||
+ const int minutes = (int) (totTime / 60);
|
||||
+ const int seconds = (int) (totTime % 60);
|
||||
sprintf(myTime, "%02d:%02d", minutes, seconds);
|
||||
+ } else if (totTime >= 6000) {
|
||||
+ strcpy(myTime, "LONG");
|
||||
+ }
|
||||
|
||||
- value = strdup(myTime);
|
||||
- } else
|
||||
- value = strdup("ERROR");
|
||||
- // store result
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result */
|
||||
+ SetResult(&result, R_STRING, myTime);
|
||||
}
|
||||
|
||||
static void totalTimeSec(RESULT * result)
|
||||
{
|
||||
- int totTime = mpd_get(_mpd_status_get_total_song_time);
|
||||
+ const int totTime = mpd_get(_mpd_status_get_total_song_time);
|
||||
double d = 0.0;
|
||||
|
||||
if (totTime != -1)
|
||||
d = totTime;
|
||||
|
||||
- // store result
|
||||
+ /* store result */
|
||||
SetResult(&result, R_NUMBER, &d);
|
||||
}
|
||||
|
||||
static void bitRate(RESULT * result)
|
||||
{
|
||||
- char *value = "";
|
||||
+ char rateStr[4];
|
||||
|
||||
- int rate = mpd_get(_mpd_status_get_bitrate);
|
||||
+ const int rate = mpd_get(_mpd_status_get_bitrate);
|
||||
|
||||
- if (rate != -1) {
|
||||
- char rateStr[4];
|
||||
- memset(rateStr, 0, 4);
|
||||
+ if ((rate >= 0) && (rate < 1000)) {
|
||||
sprintf(rateStr, "%03d", rate);
|
||||
+ }
|
||||
|
||||
- value = strdup(rateStr);
|
||||
- }
|
||||
- // store result
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result */
|
||||
+ SetResult(&result, R_STRING, rateStr);
|
||||
}
|
||||
|
||||
static void getRepeat(RESULT * result)
|
||||
{
|
||||
char *value = " ";
|
||||
|
||||
- int rep = mpd_get(_mpd_player_get_repeat);
|
||||
+ const int rep = mpd_get(_mpd_player_get_repeat);
|
||||
|
||||
if (rep != -1) {
|
||||
if (rep)
|
||||
- value = strdup("REP");
|
||||
- // else value = strdup(" ");
|
||||
+ value = "REP";
|
||||
+ /* else value = strdup(" "); */
|
||||
}
|
||||
- // store result
|
||||
+ /* store result */
|
||||
SetResult(&result, R_STRING, value);
|
||||
}
|
||||
|
||||
@@ -375,26 +383,26 @@
|
||||
{
|
||||
char *value = " ";
|
||||
|
||||
- int ran = mpd_get(_mpd_player_get_random);
|
||||
+ const int ran = mpd_get(_mpd_player_get_random);
|
||||
|
||||
if (ran != -1) {
|
||||
if (ran)
|
||||
value = strdup("RND");
|
||||
- // else value = strdup(" ");
|
||||
+ /* else value = strdup(" "); */
|
||||
}
|
||||
- // store result
|
||||
+ /* store result */
|
||||
SetResult(&result, R_STRING, value);
|
||||
}
|
||||
|
||||
static void getRepRand(RESULT * result)
|
||||
{
|
||||
- char *value = " ";
|
||||
+ char str[9] = " ";
|
||||
|
||||
- int ran = mpd_get(_mpd_player_get_random);
|
||||
- int rep = mpd_get(_mpd_player_get_repeat);
|
||||
+ const int ran = mpd_get(_mpd_player_get_random);
|
||||
+ const int rep = mpd_get(_mpd_player_get_repeat);
|
||||
|
||||
if (ran != -1 && rep != -1) {
|
||||
- char str[9];
|
||||
+
|
||||
if (rep)
|
||||
sprintf(str, "REP/");
|
||||
else
|
||||
@@ -403,17 +411,16 @@
|
||||
sprintf(str, "%sRND", str);
|
||||
else
|
||||
sprintf(str, "%s---", str);
|
||||
- value = strdup(str);
|
||||
}
|
||||
- // store result
|
||||
- SetResult(&result, R_STRING, value);
|
||||
+ /* store result */
|
||||
+ SetResult(&result, R_STRING, str);
|
||||
}
|
||||
|
||||
int plugin_init_mpd(void)
|
||||
{
|
||||
/* Check for File */
|
||||
if (mpd_get(_mpd_dummy) != 1) {
|
||||
- error("Error: Cannot connect to MPD! Is MPD started?");
|
||||
+ error("[MPD] Error: Cannot connect to MPD! Is MPD started?");
|
||||
return -1;
|
||||
}
|
||||
|
@ -1,187 +0,0 @@
|
||||
kMessage-ID: <47011930.60100@reinelt.co.at>
|
||||
Date: Mon, 01 Oct 2007 17:58:40 +0200
|
||||
From: Michael Reinelt <michael@reinelt.co.at>
|
||||
Subject: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
|
||||
|
||||
Hi there,
|
||||
|
||||
I just committed a changeset where I removed the whole RDTSC delay loop
|
||||
stuff, and therefore lcd4linux does no longer need asm/msr.h
|
||||
|
||||
Instead, a gettimeofday() delay loop will be used when necessary.
|
||||
|
||||
The rdtsc stuff worked fine, but had two major disadvantages: It did not
|
||||
work with variable CPU frequencies, and latest kernels do no longer
|
||||
offer the rdtsc() macro.
|
||||
|
||||
The changeset has been committed to trunk, and will be backported to the
|
||||
0.10.1 branch as soon as I get some positive feedback 8or at least I
|
||||
don't get any negative feedback)
|
||||
|
||||
|
||||
bye, Michael
|
||||
|
||||
--
|
||||
Michael Reinelt <michael@reinelt.co.at>
|
||||
http://home.pages.at/reinelt
|
||||
GPG-Key 0xDF13BA50
|
||||
ICQ #288386781
|
||||
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- lcd4linux-0.10.1-RC2/configure.in.orig
|
||||
+++ lcd4linux-0.10.1-RC2/configure.in
|
||||
@@ -99,7 +99,6 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h sys/vfs.h syslog.h termios.h unistd.h])
|
||||
AC_CHECK_HEADERS(sys/io.h asm/io.h)
|
||||
AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h)
|
||||
-AC_CHECK_HEADERS(asm/msr.h)
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
Index: udelay.c
|
||||
===================================================================
|
||||
--- lcd4linux-0.10.1-RC2/udelay.c.orig
|
||||
+++ lcd4linux-0.10.1-RC2/udelay.c
|
||||
@@ -55,11 +55,6 @@
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
-#ifdef HAVE_ASM_MSR_H
|
||||
-#define u32 unsigned int
|
||||
-#include <asm/msr.h>
|
||||
-#endif
|
||||
-
|
||||
|
||||
#include "debug.h"
|
||||
#include "cfg.h"
|
||||
@@ -67,79 +62,10 @@
|
||||
#include "udelay.h"
|
||||
|
||||
|
||||
-static unsigned int ticks_per_usec = 0;
|
||||
-
|
||||
-
|
||||
-static void getCPUinfo(int *hasTSC, double *MHz)
|
||||
-{
|
||||
- int fd;
|
||||
- char buffer[4096], *p;
|
||||
-
|
||||
- *hasTSC = 0;
|
||||
- *MHz = -1;
|
||||
-
|
||||
- fd = open("/proc/cpuinfo", O_RDONLY);
|
||||
- if (fd == -1) {
|
||||
- error("udelay: open(/proc/cpuinfo) failed: %s", strerror(errno));
|
||||
- return;
|
||||
- }
|
||||
- if (read(fd, &buffer, sizeof(buffer) - 1) == -1) {
|
||||
- error("udelay: read(/proc/cpuinfo) failed: %s", strerror(errno));
|
||||
- close(fd);
|
||||
- return;
|
||||
- }
|
||||
- close(fd);
|
||||
-
|
||||
- p = strstr(buffer, "flags");
|
||||
- if (p == NULL) {
|
||||
- info("udelay: /proc/cpuinfo has no 'flags' line");
|
||||
- } else {
|
||||
- p = strstr(p, "tsc");
|
||||
- if (p == NULL) {
|
||||
- info("udelay: CPU does not support Time Stamp Counter");
|
||||
- } else {
|
||||
- info("udelay: CPU supports Time Stamp Counter");
|
||||
- *hasTSC = 1;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- p = strstr(buffer, "cpu MHz");
|
||||
- if (p == NULL) {
|
||||
- info("udelay: /proc/cpuinfo has no 'cpu MHz' line");
|
||||
- } else {
|
||||
- if (sscanf(p + 7, " : %lf", MHz) != 1) {
|
||||
- error("udelay: parse(/proc/cpuinfo) failed: unknown 'cpu MHz' format");
|
||||
- *MHz = -1;
|
||||
- } else {
|
||||
- info("udelay: CPU runs at %f MHz", *MHz);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
-}
|
||||
-
|
||||
|
||||
void udelay_init(void)
|
||||
{
|
||||
-#ifdef HAVE_ASM_MSR_H
|
||||
-
|
||||
- int tsc;
|
||||
- double mhz;
|
||||
-
|
||||
- getCPUinfo(&tsc, &mhz);
|
||||
-
|
||||
- if (tsc && mhz > 0.0) {
|
||||
- ticks_per_usec = ceil(mhz);
|
||||
- info("udelay: using TSC delay loop, %u ticks per microsecond", ticks_per_usec);
|
||||
- } else
|
||||
-#else
|
||||
- error("udelay: The file 'include/asm/msr.h' was missing at compile time.");
|
||||
- error("udelay: Even if your CPU supports TSC, it will not be used!");
|
||||
- error("udelay: You *really* should install msr.h and recompile LCD4linux!");
|
||||
-#endif
|
||||
- {
|
||||
- ticks_per_usec = 0;
|
||||
- info("udelay: using gettimeofday() delay loop");
|
||||
- }
|
||||
+ info("udelay: using gettimeofday() delay loop");
|
||||
}
|
||||
|
||||
|
||||
@@ -172,37 +98,17 @@ unsigned long timing(const char *driver,
|
||||
void ndelay(const unsigned long nsec)
|
||||
{
|
||||
|
||||
-#ifdef HAVE_ASM_MSR_H
|
||||
-
|
||||
- if (ticks_per_usec) {
|
||||
+ struct timeval now, end;
|
||||
|
||||
- unsigned int t1, t2;
|
||||
- unsigned long tsc;
|
||||
-
|
||||
- tsc = (nsec * ticks_per_usec + 999) / 1000;
|
||||
-
|
||||
- rdtscl(t1);
|
||||
- do {
|
||||
- rep_nop();
|
||||
- rdtscl(t2);
|
||||
- } while ((t2 - t1) < tsc);
|
||||
-
|
||||
- } else
|
||||
-#endif
|
||||
-
|
||||
- {
|
||||
- struct timeval now, end;
|
||||
-
|
||||
- gettimeofday(&end, NULL);
|
||||
- end.tv_usec += (nsec + 999) / 1000;
|
||||
- while (end.tv_usec > 1000000) {
|
||||
- end.tv_usec -= 1000000;
|
||||
- end.tv_sec++;
|
||||
- }
|
||||
-
|
||||
- do {
|
||||
- rep_nop();
|
||||
- gettimeofday(&now, NULL);
|
||||
- } while (now.tv_sec == end.tv_sec ? now.tv_usec < end.tv_usec : now.tv_sec < end.tv_sec);
|
||||
+ gettimeofday(&end, NULL);
|
||||
+ end.tv_usec += (nsec + 999) / 1000;
|
||||
+ while (end.tv_usec > 1000000) {
|
||||
+ end.tv_usec -= 1000000;
|
||||
+ end.tv_sec++;
|
||||
}
|
||||
+
|
||||
+ do {
|
||||
+ rep_nop();
|
||||
+ gettimeofday(&now, NULL);
|
||||
+ } while (now.tv_sec == end.tv_sec ? now.tv_usec < end.tv_usec : now.tv_sec < end.tv_sec);
|
||||
}
|
@ -1,121 +0,0 @@
|
||||
diff -crB lcd4linux-0.10.1-RC2-orig/drv_BWCT.c lcd4linux-0.10.1-RC2/drv_BWCT.c
|
||||
*** lcd4linux-0.10.1-RC2-orig/drv_BWCT.c 2007-02-25 13:39:09.000000000 +0100
|
||||
--- lcd4linux-0.10.1-RC2/drv_BWCT.c 2013-11-10 21:32:06.119047221 +0100
|
||||
***************
|
||||
*** 72,78 ****
|
||||
static usb_dev_handle *lcd;
|
||||
static int interface;
|
||||
|
||||
- extern int usb_debug;
|
||||
extern int got_signal;
|
||||
|
||||
|
||||
--- 72,77 ----
|
||||
***************
|
||||
*** 89,96 ****
|
||||
|
||||
info("%s: scanning USB for BWCT LCD...", Name);
|
||||
|
||||
- usb_debug = 0;
|
||||
-
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
usb_find_devices();
|
||||
--- 88,93 ----
|
||||
diff -crB lcd4linux-0.10.1-RC2-orig/drv_LCD2USB.c lcd4linux-0.10.1-RC2/drv_LCD2USB.c
|
||||
*** lcd4linux-0.10.1-RC2-orig/drv_LCD2USB.c 2007-02-25 13:39:10.000000000 +0100
|
||||
--- lcd4linux-0.10.1-RC2/drv_LCD2USB.c 2013-11-10 21:32:15.686677498 +0100
|
||||
***************
|
||||
*** 98,104 ****
|
||||
static usb_dev_handle *lcd;
|
||||
static int controllers = 0;
|
||||
|
||||
- extern int usb_debug;
|
||||
extern int got_signal;
|
||||
|
||||
/****************************************/
|
||||
--- 98,103 ----
|
||||
***************
|
||||
*** 120,127 ****
|
||||
if (device_id != NULL)
|
||||
info("%s: scanning for device id: %s", Name, device_id);
|
||||
|
||||
- usb_debug = 0;
|
||||
-
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
usb_find_devices();
|
||||
--- 119,124 ----
|
||||
diff -crB lcd4linux-0.10.1-RC2-orig/drv_picoLCD.c lcd4linux-0.10.1-RC2/drv_picoLCD.c
|
||||
*** lcd4linux-0.10.1-RC2-orig/drv_picoLCD.c 2007-02-25 13:39:10.000000000 +0100
|
||||
--- lcd4linux-0.10.1-RC2/drv_picoLCD.c 2013-11-10 21:32:30.102120440 +0100
|
||||
***************
|
||||
*** 75,81 ****
|
||||
static char *BufPtr;
|
||||
|
||||
static usb_dev_handle *lcd;
|
||||
- extern int usb_debug;
|
||||
|
||||
|
||||
|
||||
--- 75,80 ----
|
||||
***************
|
||||
*** 97,104 ****
|
||||
|
||||
info("%s: scanning for picoLCD...", Name);
|
||||
|
||||
- usb_debug = 0;
|
||||
-
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
usb_find_devices();
|
||||
--- 96,101 ----
|
||||
diff -crB lcd4linux-0.10.1-RC2-orig/drv_Trefon.c lcd4linux-0.10.1-RC2/drv_Trefon.c
|
||||
*** lcd4linux-0.10.1-RC2-orig/drv_Trefon.c 2007-02-25 13:39:10.000000000 +0100
|
||||
--- lcd4linux-0.10.1-RC2/drv_Trefon.c 2013-11-10 21:32:46.441489039 +0100
|
||||
***************
|
||||
*** 72,78 ****
|
||||
static usb_dev_handle *lcd;
|
||||
static int interface;
|
||||
|
||||
- extern int usb_debug;
|
||||
|
||||
|
||||
/****************************************/
|
||||
--- 72,77 ----
|
||||
***************
|
||||
*** 88,95 ****
|
||||
|
||||
info("%s: scanning USB for TREFON LCD...", Name);
|
||||
|
||||
- usb_debug = 0;
|
||||
-
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
usb_find_devices();
|
||||
--- 87,92 ----
|
||||
diff -crB lcd4linux-0.10.1-RC2-orig/drv_USBLCD.c lcd4linux-0.10.1-RC2/drv_USBLCD.c
|
||||
*** lcd4linux-0.10.1-RC2-orig/drv_USBLCD.c 2007-02-25 13:39:10.000000000 +0100
|
||||
--- lcd4linux-0.10.1-RC2/drv_USBLCD.c 2013-11-10 21:33:01.508906792 +0100
|
||||
***************
|
||||
*** 86,93 ****
|
||||
static usb_dev_handle *lcd;
|
||||
static int interface;
|
||||
|
||||
- extern int usb_debug;
|
||||
-
|
||||
#endif
|
||||
|
||||
|
||||
--- 86,91 ----
|
||||
***************
|
||||
*** 107,114 ****
|
||||
|
||||
info("%s: scanning for USBLCD...", Name);
|
||||
|
||||
- usb_debug = 0;
|
||||
-
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
usb_find_devices();
|
||||
--- 105,110 ----
|
@ -1,64 +0,0 @@
|
||||
Index: ./plugin_kvv.c
|
||||
===================================================================
|
||||
--- ./plugin_kvv.c (revision 771)
|
||||
+++ ./plugin_kvv.c (revision 797)
|
||||
@@ -414,5 +414,5 @@
|
||||
|
||||
if (count > 0) {
|
||||
- char *input, *cookie, *name, *value;
|
||||
+ char *input, *cookie, *name = NULL, *value = NULL;
|
||||
int input_len, cookie_len, name_len, value_len;
|
||||
|
||||
Index: ./plugin_mpd.c
|
||||
===================================================================
|
||||
--- ./plugin_mpd.c (revision 786)
|
||||
+++ ./plugin_mpd.c (revision 797)
|
||||
@@ -65,5 +65,10 @@
|
||||
int iport;
|
||||
char *test;
|
||||
- struct Pointer mpd;
|
||||
+
|
||||
+ struct Pointer mpd = {
|
||||
+ .conn = NULL,
|
||||
+ .status = NULL,
|
||||
+ .entity = NULL
|
||||
+ };
|
||||
|
||||
if ((test = getenv("MPD_HOST"))) {
|
||||
@@ -229,5 +234,6 @@
|
||||
#define _mpd_player_get_random 005
|
||||
|
||||
-void error_callback(MpdObj * mi, int errorid, char *msg, void *userdata)
|
||||
+void error_callback( __attribute__ ((unused)) MpdObj * mi, int errorid, char *msg, __attribute__ ((unused))
|
||||
+ void *userdata)
|
||||
{
|
||||
printf("Error %i: '%s'\n", errorid, msg);
|
||||
Index: ./drv_Image.c
|
||||
===================================================================
|
||||
--- ./drv_Image.c (revision 771)
|
||||
+++ ./drv_Image.c (revision 797)
|
||||
@@ -115,5 +115,5 @@
|
||||
if (bitbuf == NULL) {
|
||||
if ((bitbuf = malloc(xsize * ysize * sizeof(*bitbuf))) == NULL) {
|
||||
- error("%s: malloc(%d) failed: %s", Name, (int) xsize * ysize * sizeof(*bitbuf), strerror(errno));
|
||||
+ error("%s: malloc() failed: %s", Name, strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
@@ -122,5 +122,5 @@
|
||||
if (rowbuf == NULL) {
|
||||
if ((rowbuf = malloc(3 * xsize * sizeof(*rowbuf))) == NULL) {
|
||||
- error("Raster: malloc(%d) failed: %s", (int) 3 * xsize * sizeof(*rowbuf), strerror(errno));
|
||||
+ error("Raster: malloc() failed: %s", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
Index: ./plugin_i2c_sensors.c
|
||||
===================================================================
|
||||
--- ./plugin_i2c_sensors.c (revision 771)
|
||||
+++ ./plugin_i2c_sensors.c (revision 797)
|
||||
@@ -297,5 +297,5 @@
|
||||
strcat(path_cfg, "/");
|
||||
}
|
||||
- debug("using i2c sensors at %s (from %s)", path, cfg_source());
|
||||
+ debug("using i2c sensors at %s (from %s)", path_cfg, cfg_source());
|
||||
path = realloc(path, strlen(path_cfg) + 1);
|
||||
strcpy(path, path_cfg);
|
@ -1,22 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PIDFILE=/var/run/lcd4linux.pid
|
||||
DAEMON=/usr/bin/lcd4linux
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lcd4linux"
|
||||
start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON}
|
||||
eend $? "Failed to start lcd4linux. Did you remember to set up /etc/lcd4linux.conf?"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping lcd4linux"
|
||||
start-stop-daemon --stop --quiet --oknodo --exec ${DAEMON} --pidfile ${PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
WANT_AUTOMAKE="1.9"
|
||||
inherit eutils multilib autotools python-single-r1
|
||||
|
||||
MY_P=${P/_rc/-RC}
|
||||
|
||||
DESCRIPTION="Shows system and ISDN information on an external display or in a X11 window"
|
||||
HOMEPAGE="https://lcd4linux.bulix.org/"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="mysql python iconv mpd"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# The following array holds the USE_EXPANDed keywords
|
||||
IUSE_LCD_DEVICES=(beckmannegle bwct cfontz ncurses cwlinux
|
||||
ea232 g15 hd44780 hd44780i2c lcd2usb
|
||||
lcdlinux lcdterm ledmatrix lph7508 m50530
|
||||
mtxorb milfordbpk noritake null picolcd
|
||||
png ppm routerboard serdisplib simplelcd
|
||||
t6963 trefon usbhub usblcd wincor
|
||||
X luise)
|
||||
|
||||
# Iterate through the array and add the lcd_devices_* that we support
|
||||
NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
|
||||
index=0
|
||||
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
|
||||
IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[$index]}"
|
||||
let "index = ${index} + 1"
|
||||
done
|
||||
|
||||
DEPEND="
|
||||
mysql? ( virtual/mysql )
|
||||
iconv? ( virtual/libiconv )
|
||||
mpd? ( media-libs/libmpd )
|
||||
|
||||
lcd_devices_bwct? ( =virtual/libusb-0* )
|
||||
lcd_devices_g15? ( =virtual/libusb-0* )
|
||||
lcd_devices_lcd2usb? ( =virtual/libusb-0* )
|
||||
lcd_devices_picolcd? ( =virtual/libusb-0* )
|
||||
lcd_devices_trefon? ( =virtual/libusb-0* )
|
||||
lcd_devices_usbhub? ( =virtual/libusb-0* )
|
||||
lcd_devices_usblcd? ( =virtual/libusb-0* )
|
||||
lcd_devices_luise? ( dev-libs/luise-bin )
|
||||
lcd_devices_ncurses? ( sys-libs/ncurses:0= )
|
||||
lcd_devices_noritake? ( media-libs/gd )
|
||||
lcd_devices_t6963? ( media-libs/gd )
|
||||
lcd_devices_png? ( media-libs/libpng:0= media-libs/gd )
|
||||
lcd_devices_X? ( x11-libs/libX11 media-libs/gd )
|
||||
lcd_devices_serdisplib? ( dev-libs/serdisplib media-libs/gd )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
elog "If you wish to compile only specific plugins, please use"
|
||||
elog "the LCD4LINUX_PLUGINS environment variable. Plugins must be comma separated and can be either of:"
|
||||
elog "apm cpuinfo diskstats dvb exec file i2c_sensors imon isdn kvv loadavg meminfo netdev pop3 ppp proc_stat seti statfs uname uptime wireless"
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-warnings.patch"
|
||||
epatch "${FILESDIR}/${P}-mpd.patch"
|
||||
epatch "${FILESDIR}/${P}-nordtsc.patch"
|
||||
epatch "${FILESDIR}/${P}-autoconf-2.65.patch"
|
||||
epatch "${FILESDIR}/${P}-missing-header.patch"
|
||||
epatch "${FILESDIR}/${P}-usbdebug.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# This array contains the driver names required by configure --with-drivers=
|
||||
# The positions must be the same as the corresponding use_expand flags
|
||||
local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux
|
||||
EA232graphic G15 HD44780 HD44780-I2C LCD2USB
|
||||
LCDLinux LCDTerm LEDMatrix LPH7508 M50530
|
||||
MatrixOrbital MilfordInstruments Noritake NULL picoLCD
|
||||
PNG PPM RouterBoard serdisplib SimpleLCD
|
||||
T6963 Trefon USBHUB USBLCD WincorNixdorf
|
||||
X11 LUIse)
|
||||
|
||||
local myconf myp
|
||||
|
||||
# plugins
|
||||
if [ -n "$LCD4LINUX_PLUGINS" ]; then
|
||||
myp="$LCD4LINUX_PLUGINS"
|
||||
else
|
||||
myp="all,!xmms"
|
||||
fi
|
||||
use iconv || myp="${myp},!iconv"
|
||||
use mpd || myp="${myp},!mpd"
|
||||
use mysql || myp="${myp},!mysql"
|
||||
use python || myp="${myp},!python"
|
||||
elog "Active plugins: ${myp}"
|
||||
|
||||
# Generate comma separated list of drivers
|
||||
local COMMA_DRIVERS
|
||||
local FIRST_DRIVER
|
||||
local index=0
|
||||
local driver
|
||||
|
||||
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
|
||||
if use "lcd_devices_${IUSE_LCD_DEVICES[$index]}" ; then
|
||||
driver=${DEVICE_DRIVERS[$index]}
|
||||
if [ -z ${COMMA_DRIVERS} ] ; then
|
||||
# First in the list
|
||||
COMMA_DRIVERS="${driver}"
|
||||
FIRST_DRIVER="${driver}"
|
||||
else
|
||||
# Second, third, ... include a comma at the front
|
||||
COMMA_DRIVERS="${COMMA_DRIVERS},${driver}"
|
||||
fi
|
||||
fi
|
||||
let "index = ${index} + 1"
|
||||
done
|
||||
|
||||
# activate at least one driver
|
||||
if [ -z ${COMMA_DRIVERS} ] ; then
|
||||
COMMA_DRIVERS="NULL"
|
||||
fi
|
||||
|
||||
# workaround the build failing because of b0rked settings
|
||||
if use lcd_devices_hd44780 && use lcd_devices_hd44780i2c ; then
|
||||
echo
|
||||
ewarn "Disabling hd44780 LCD_DEVICE as hd44780i2c is set!"
|
||||
echo
|
||||
COMMA_DRIVERS="${COMMA_DRIVERS},!HD44780"
|
||||
fi
|
||||
|
||||
# avoid package brokenness
|
||||
if use lcd_devices_X ; then
|
||||
myconf="--x-libraries=/usr/$(get_libdir) --x-include=/usr/include"
|
||||
else
|
||||
myconf="--without-x"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc/lcd4linux \
|
||||
--with-drivers="${COMMA_DRIVERS}" \
|
||||
--with-plugins="${myp}" \
|
||||
$(use_with python) \
|
||||
${myconf}
|
||||
|
||||
sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newinitd "${FILESDIR}/${P}.initd" ${PN}
|
||||
|
||||
insinto /etc
|
||||
insopts -o root -g root -m 0600
|
||||
newins lcd4linux.conf.sample lcd4linux.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use lcd_devices_lcdlinux; then
|
||||
ewarn "To actually use the lcd-linux devices, you will need to install the lcd-linux kernel module."
|
||||
ewarn "You can either do that yourself, see http://lcd-linux.sf.net or "
|
||||
ewarn "checkout https://overlays.gentoo.org/dev/jokey/browser/trunk and emerge app-misc/lcd-linux"
|
||||
fi
|
||||
}
|
@ -0,0 +1,186 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools flag-o-matic python-single-r1
|
||||
|
||||
DESCRIPTION="A small program that grabs information and displays it on an external LCD"
|
||||
HOMEPAGE="https://lcd4linux.bulix.org/"
|
||||
SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dmalloc outb"
|
||||
REQUIRED_USE="
|
||||
?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
# Define the list of valid lcd devices.
|
||||
# Some drivers were removed from this list:
|
||||
# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree.
|
||||
# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel.
|
||||
# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated.
|
||||
IUSE_LCD_DEVICES=(
|
||||
ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD
|
||||
FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530
|
||||
MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson
|
||||
PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD
|
||||
SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11
|
||||
)
|
||||
|
||||
# Define the list of valid lcd4linux plugins.
|
||||
# Some plugins were removed from this list:
|
||||
# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server.
|
||||
# - ppp: It has been replaced by the netdev plugin.
|
||||
# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible.
|
||||
# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible.
|
||||
IUSE_LCD4LINUX_PLUGINS=(
|
||||
apm asterisk button_exec cpuinfo dbus diskstats dvb exec event
|
||||
fifo file gps hddtemp huawei i2c_sensors iconv isdn kvv
|
||||
loadavg meminfo mpd mpris_dbus mysql netdev netinfo pop3
|
||||
proc_stat python qnaplog raspi sample statfs uname uptime
|
||||
w1retap wireless
|
||||
)
|
||||
|
||||
# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE'
|
||||
REQUIRED_USE+=" || ( "
|
||||
for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do
|
||||
LCD_DEVICE=${LCD_DEVICE,,}
|
||||
IUSE+=" lcd_devices_${LCD_DEVICE} "
|
||||
REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} "
|
||||
done
|
||||
REQUIRED_USE+=" ) "
|
||||
unset LCD_DEVICE
|
||||
|
||||
# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE'
|
||||
IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} "
|
||||
REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) "
|
||||
|
||||
# Define dependencies for all drivers in 'IUSE_LCD_DEVICES'
|
||||
DEPEND_LCD_DEVICES="
|
||||
lcd_devices_astusb? ( virtual/libusb:0= )
|
||||
lcd_devices_bwct? ( virtual/libusb:0= )
|
||||
lcd_devices_curses? ( sys-libs/ncurses:0= )
|
||||
lcd_devices_dpf? ( virtual/libusb:0= )
|
||||
lcd_devices_g15? ( virtual/libusb:0= )
|
||||
lcd_devices_glcd2usb? ( virtual/libusb:0= )
|
||||
lcd_devices_irlcd? ( virtual/libusb:0= )
|
||||
lcd_devices_lcd2usb? ( virtual/libusb:0= )
|
||||
lcd_devices_ledmatrix? ( virtual/libusb:0= )
|
||||
lcd_devices_luise? (
|
||||
dev-libs/luise-bin
|
||||
virtual/libusb:0=
|
||||
)
|
||||
lcd_devices_matrixorbitalgx? ( virtual/libusb:0= )
|
||||
lcd_devices_mdm166a? ( virtual/libusb:0= )
|
||||
lcd_devices_picolcd? ( virtual/libusb:0= )
|
||||
lcd_devices_picolcdgraphic? ( virtual/libusb:0= )
|
||||
lcd_devices_png? (
|
||||
media-libs/gd[png]
|
||||
media-libs/libpng:0=
|
||||
)
|
||||
lcd_devices_ppm? ( media-libs/gd )
|
||||
lcd_devices_samsungspf? ( virtual/libusb:0= )
|
||||
lcd_devices_serdisplib? ( dev-libs/serdisplib )
|
||||
lcd_devices_shuttlevfd? ( virtual/libusb:0= )
|
||||
lcd_devices_trefon? ( virtual/libusb:0= )
|
||||
lcd_devices_ula200? (
|
||||
dev-embedded/libftdi:1=
|
||||
virtual/libusb:0=
|
||||
)
|
||||
lcd_devices_usbhub? ( virtual/libusb:0= )
|
||||
lcd_devices_usblcd? ( virtual/libusb:0= )
|
||||
lcd_devices_vnc? ( net-libs/libvncserver )
|
||||
lcd_devices_x11? ( x11-libs/libX11 )
|
||||
"
|
||||
|
||||
# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS'
|
||||
DEPEND_LCD4LINUX_PLUGINS="
|
||||
asterisk? ( net-misc/asterisk )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gps? ( dev-libs/nmeap )
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
iconv? ( virtual/libiconv )
|
||||
mpd? ( media-libs/libmpd )
|
||||
mpris_dbus? ( sys-apps/dbus )
|
||||
mysql? (
|
||||
|| (
|
||||
dev-db/mariadb-connector-c
|
||||
dev-db/mysql-connector-c
|
||||
)
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
wireless? (
|
||||
|| (
|
||||
net-wireless/iw
|
||||
net-wireless/wireless-tools
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dmalloc? ( dev-libs/dmalloc )
|
||||
${DEPEND_LCD_DEVICES}
|
||||
${DEPEND_LCD4LINUX_PLUGINS}"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Enable all users enabled lcd devices
|
||||
local myeconfargs_lcd_devices
|
||||
for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do
|
||||
if use "lcd_devices_${lcd_device,,}"; then
|
||||
myeconfargs_lcd_devices+=",${lcd_device}"
|
||||
fi
|
||||
done
|
||||
|
||||
# Enable all users enabled lcd4linux plugins
|
||||
local myeconfargs_lcd4linux_plugins
|
||||
for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do
|
||||
if use "${lcd4linux_plugin}"; then
|
||||
myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin}"
|
||||
fi
|
||||
done
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-rpath
|
||||
$(use_with dmalloc)
|
||||
$(use_with outb)
|
||||
$(use_with python)
|
||||
$(use_with lcd_devices_x11 x)
|
||||
--with-drivers="${myeconfargs_lcd_devices#,}"
|
||||
--with-plugins="${myeconfargs_lcd4linux_plugins#,}"
|
||||
--x-include="/usr/include"
|
||||
--x-libraries="/usr/$(get_libdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Install sample config, and must have 600, as lcd4linux checks this.
|
||||
insinto /etc/lcd4linux
|
||||
insopts -m 0600
|
||||
doins lcd4linux.conf.sample
|
||||
|
||||
newinitd "${FILESDIR}/lcd4linux-r1.initd" lcd4linux
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST skrooge-2.14.0.tar.xz 21659440 BLAKE2B 2b90a5a34d06d916aed4e1d2622c624bdc30c6b947f812f5f227e7ef0198eeada4bb1c37be92a2cc07908635ce1fc7fc749e8b8f7444f9a448ab86602754f9bc SHA512 0446a8863120ecb3c8da4b03c2bf78d2a4e69b968a44d4084c234e369a2c91f63ea468738d00469a9a772855be9f224123a1816ad649171fbd6b780c6c05f62d
|
||||
DIST skrooge-2.15.0.tar.xz 20704388 BLAKE2B 37280e039595b5c7b3cb1af0fd20f66cc96c5796995c7a9ef4b83878c9a835856e54804ca312bcbb46d6de599a17dd49e45ef0e1dc1e6492b642ed36d88d731b SHA512 c49f8a84d7339ff2b96f27a7895bbfe5f75c33534c7c4f95e47ebd9787bf3e80847139e4a257bc3bdd12e853bfd2131173a66c436cbc3165e1ac7a5ae684eab0
|
||||
DIST skrooge-2.16.2.tar.xz 21005424 BLAKE2B c8e11df29defc714fe71ad4f488cd6207dcc8bfc0cbee28422682f9c683ed7af8200b84f90cfdd0ca6d0bd0292dab46724c6b9afa0155c9f1603bbbe189b001d SHA512 4bc7de279cf55888a258700c2a8450270904066684b1ce0b121cf5eb966da174d969daa3db432781de62d94420e706ab5364e386e053dde7617d967442eae397
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_TEST="forceoptional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
|
||||
HOMEPAGE="https://skrooge.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="activities designer kde ofx"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep knewstuff)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep knotifyconfig)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwallet)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtconcurrent)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative 'widgets')
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtscript)
|
||||
$(add_qt_dep qtsql)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwebkit)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
dev-db/sqlcipher
|
||||
dev-libs/grantlee:5
|
||||
activities? ( $(add_frameworks_dep kactivities) )
|
||||
kde? ( $(add_frameworks_dep krunner) )
|
||||
ofx? ( dev-libs/libofx )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
x11-misc/shared-mime-info
|
||||
designer? (
|
||||
$(add_frameworks_dep kdesignerplugin)
|
||||
$(add_qt_dep designer)
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/skrooge:4
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( designer )"
|
||||
|
||||
# hangs + installs files
|
||||
RESTRICT+=" test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-designer-optional.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=$(usex test)
|
||||
-DSKG_DESIGNER=$(usex designer)
|
||||
$(cmake-utils_use_find_package activities KF5Activities)
|
||||
$(cmake-utils_use_find_package kde KF5Runner)
|
||||
$(cmake-utils_use_find_package ofx LibOfx)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=ON
|
||||
)
|
||||
kde5_src_test
|
||||
}
|
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="TexMaths-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_P}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="LaTeX Equation Editor for LibreOffice"
|
||||
HOMEPAGE="http://roland65.free.fr/texmaths/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.oxt"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-text/dvisvgm
|
||||
virtual/tex-base
|
||||
"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="TexMaths-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_P}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="LaTeX Equation Editor for LibreOffice"
|
||||
HOMEPAGE="http://roland65.free.fr/texmaths/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.oxt"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-text/dvisvgm
|
||||
virtual/tex-base
|
||||
"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="TexMaths-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_P}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="LaTeX Equation Editor for LibreOffice"
|
||||
HOMEPAGE="http://roland65.free.fr/texmaths/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.oxt"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-text/dvisvgm
|
||||
virtual/tex-base
|
||||
"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="TexMaths-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_P}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="LaTeX Equation Editor for LibreOffice"
|
||||
HOMEPAGE="http://roland65.free.fr/texmaths/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.oxt"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-text/dvisvgm
|
||||
virtual/tex-base
|
||||
"
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ansifilter-2.10.tar.bz2 436180 BLAKE2B b00a76867c17c63fa457c6e3ff6a57cfaedb6218df240d8afb52ec4acb46745f02b785fdbde294deb606a77564b9e6deb52e652cc4fdff32ebbb4c3a2ffcc846 SHA512 b2b2f7ec9d3343701cb1de19a1a3cb678ca9a908cc72e26e0eaf1e4cdf61cf7237edb4221bcde3159299aee3c05a84c46cf5706ad4f74b96ccec41b161ad44ec
|
||||
DIST ansifilter-2.12.tar.bz2 438051 BLAKE2B 112993b6f93d5fce6fc72c5e2d51dd99ba550902212098b3e75a6b4d910ccb9f49e9705a9f93d8d14f1423ae8a36e2ec0c442894241733a58a3b2a6c742e5691 SHA512 fd4e50f654c5e975f96bed8af1705c21d47d9e7f87f22411b2c7403362d4ee09c1be6fb5b31647daf6bea509d66f44e379ef7476a116470217d9c176302f7ffe
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs qmake-utils
|
||||
|
||||
DESCRIPTION="Handles text files containing ANSI terminal escape codes"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="qt5"
|
||||
|
||||
RDEPEND="
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 431452
|
||||
rm src/qt-gui/moc_mydialog.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5 ; then
|
||||
pushd src/qt-gui > /dev/null || die
|
||||
eqmake5
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile CC="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -DNDEBUG -std=c++11"
|
||||
|
||||
if use qt5 ; then
|
||||
pushd src/qt-gui > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
use qt5 && dobin src/qt-gui/${PN}-gui
|
||||
|
||||
gunzip man/${PN}.1.gz
|
||||
doman man/${PN}.1
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cb2bib-1.9.8.tar.gz 1180660 BLAKE2B 86a826a9285ecd5ecd266b3935ddfa330153cba4b28f378519b464719d5a2bcaa6043470d36ba5c443202a07a18bbaeb28c3371db07063f0d682b54d2a8fe373 SHA512 717f9b4de3e261e6d22a7e514e2ec5891723572f1624280edc8a980171f4dada6e177a3e95748fc39ff0ba1c137406e38dd14f43a0f1e0995c1f39992842f38a
|
||||
DIST cb2bib-1.9.9.tar.gz 1292720 BLAKE2B 7263d09ab077d1029129b81abbf7a745405d476776ab91d4b73dc9799b3d945e46283fe565fee32b08df7a8734c027cbeacf0e7a44c4e15efaa6c992c69f9b7a SHA512 66e81ea8d86cdf374c9e1109d26e02c0b3101608e751ab6bbded76cca42eb8c2c1d43f6a993b9003b6013d815683f644bff7513ce63dc750ffa8d608cccb49b3
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Tool for extracting unformatted bibliographic references"
|
||||
HOMEPAGE="https://www.molspaces.com/cb2bib/"
|
||||
SRC_URI="https://www.molspaces.com/dl/progs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+lzo webengine +webkit"
|
||||
|
||||
REQUIRED_USE="?? ( webkit webengine )"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
lzo? ( dev-libs/lzo:2 )
|
||||
webengine? ( dev-qt/qtwebengine:5[widgets] )
|
||||
webkit? ( dev-qt/qtwebkit:5 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG COPYRIGHT )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die
|
||||
|
||||
use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die
|
||||
use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
$(use !lzo && echo -config disable_lzo)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For best functionality, emerge the following packages:"
|
||||
elog " app-text/poppler[utils] - for data import from PDF files"
|
||||
elog " app-text/dvipdfm - for data import from DVI files"
|
||||
elog " app-text/bibutils - for data import from ISI, endnote format"
|
||||
elog " media-fonts/jsmath - for displaying mathematical notation"
|
||||
elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF"
|
||||
elog " text strings"
|
||||
elog " virtual/latex-base - to check for BibTeX file correctness and to get"
|
||||
elog " nice printing through the shell script bib2pdf"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST xapers-0.8.2.tar.gz 160938 BLAKE2B cb21d04146f0cca39f1a706641e4cd2a83a796cbf4eb096379367203d91811c20798638a27215e9fdd9ffb32de908a389b0af57200f19bf4d2c8477a9c82ca93 SHA512 cdf1d4791dd48f579f9ee019492c26d10c9855c1ceef2c15bdc81dfdab0f1d74f54db453bb60a9d297a155a55d73cd26ff192875b4ee2b80d8f9f5d35a4bbcc9
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>william@ewpettersson.se</email>
|
||||
<name>William Pettersson</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Xapers is a personal document indexing system, geared towards academic journal articles.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>Jameson Graef Rollins</name>
|
||||
<email>jrollins@finestructure.net</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 2016-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Personal document indexing system"
|
||||
HOMEPAGE="https://finestructure.net/xapers/"
|
||||
SRC_URI="https://finestructure.net/xapers/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="app-text/poppler[utils]
|
||||
dev-libs/xapian-bindings[python,${PYTHON_USEDEP}]
|
||||
dev-python/bibtexparser[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/urwid[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
Binary file not shown.
Binary file not shown.
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_6 )
|
||||
|
||||
inherit kde5 python-any-r1
|
||||
|
||||
DESCRIPTION="Database connectivity and creation framework for various vendors"
|
||||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5/4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug mysql postgres sqlite"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-libs/icu:=
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? (
|
||||
$(add_qt_dep qtnetwork)
|
||||
dev-db/postgresql:*
|
||||
)
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
kde5_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DKDB_DEBUG_GUI=$(usex debug)
|
||||
$(cmake-utils_use_find_package mysql MySQL)
|
||||
$(cmake-utils_use_find_package postgres PostgreSQL)
|
||||
$(cmake-utils_use_find_package sqlite Sqlite)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
Binary file not shown.
@ -1,28 +1,14 @@
|
||||
DIST icedtea-bin-core-3.8.0-amd64.tar.xz 61957580 BLAKE2B 8648338daf7152a0c0317e33fa1433dd44b9e3f712e49ec4e9af907f94063e6c193effd350265ab9b89ab19d3411ac523693d381c0cd7f604f45c241d1843820 SHA512 856a9d2da9b4b1f9400742d17f6f4c0cb43e37c738c5ea8feba763554b8a4ef2f529f59e81fc6919318df7cf7fb1d94a8a682220fcd82b4d723376031b8575ee
|
||||
DIST icedtea-bin-core-3.8.0-arm.tar.xz 58006344 BLAKE2B 6792056b8ebe82976dbd288cbf2906b00124aef4958ad2e073d57c746d6fee3e0181c61381744bdeb34daf54524ddebae692e01a52f3a5cb88fc34e1156bc9c1 SHA512 e2025746421ae197f0ecf0702890f3a8be62ac7bd7cf08b35250a88ccf7fa37ab52bfa0c6c09d8801f6c8d4282677f957ccbcf54c7f501b441b196dba7eb9f9c
|
||||
DIST icedtea-bin-core-3.8.0-arm64.tar.xz 59142392 BLAKE2B aa653348bb9d76ecccf27c76daac5f25e8bb58e95a0aaca05c233fbdec42f9c0f285cef1397a99cc5f15f154c8d2fcb9c9e36867da369a984692abeba57b711d SHA512 fc6531dec845e8a0dbe2ffafc0f01093ac5ed861b4321825e04f9a72892c0eeebbe5ff36186ef6ad098aed0d6fe79a5324c55e709362cb5f44bdc7d5666a19be
|
||||
DIST icedtea-bin-core-3.8.0-ppc64.tar.xz 54282712 BLAKE2B 78f9f9fbbcdb5f36a970497eed6ea77ed142d32beec74caea489ee7105e08151878a622fef5ea66b521103dc5b561203c4bf3fe7ab2b80ac304b5d4bd2d1d84d SHA512 d354b2eeb591dc73c9547a56f1421b034c7789cfb44a7f6b717ebce39113b319b3c3afbc7367e14c86b42a52e2c27fb69a016657581ab7f3586b6a7cc62b0137
|
||||
DIST icedtea-bin-core-3.8.0-ppc64le.tar.xz 54314152 BLAKE2B 4a7988672a1bced1bc10c8ca7d6299e27aac624af6f6d1335c1a4722508aadb408e3f210de82491f3acc2873868d7f04bb26840161c56741ffd16c6c43e84430 SHA512 1382711e50f90ab1943c98214fdfdb971129eeb6ebdd710ecc8bf777487ce85aaee0e5c8dd17ac403e00f20a8829c1f1afcdf648794a08da6be9b0500d959815
|
||||
DIST icedtea-bin-core-3.8.0-x86.tar.xz 61435788 BLAKE2B 5b4da8a54354287994d249ab2b3d2011ccfc987675e1899789f2a09b709e54fbf586b76a98839acad88b81fdef624b58e3821fbd416ea8bcf710293619ef9941 SHA512 623fc1b1f125b241642219e3060396395a6d802c73b440689c984ea259a1a0bad7b8ae04a300058f0a2815abb590e2b77bcaf3b4cddf2a9ed37a0789b87f25ba
|
||||
DIST icedtea-bin-core-3.9.0-amd64.tar.xz 61995800 BLAKE2B dbef63538ae68e5e9d2e664fdbb8d1422d9d5a32c9dbb6bf77fbc0b3602eb9de3a8ae830df480bf3e91cc89d9a3593f2892cd3001eba782512e8e5ab9f8b58ca SHA512 349f7ab0dbe11614bc659f9a3a5cf75b7b1d1765cbf9f651684365cfc5fd7f608312b25362fb086521a077610cb88b19d33af4fce10e69dbeb29d8f4a23bad61
|
||||
DIST icedtea-bin-core-3.9.0-arm.tar.xz 58032620 BLAKE2B 1646096d659a702b5ddb08c2c1d56f2eb53d91d08902045973b177b640d0bc7abb51343e81594fee669506a4710b5ca012af11ef4c4490d27e1fa2a7cf52a3e4 SHA512 f362170bd60e0a6ecce0f712aaa00effe9d52d082e4ae524f88e4ec91c02908108a0b8496cc21787f94605c265212c7fe7da164959d0432cb927d274f79ec56b
|
||||
DIST icedtea-bin-core-3.9.0-arm64.tar.xz 59190292 BLAKE2B 8778d668e96a660b73371e4d67bd3c8121b981efea1d3c900c8d38b6be3bd3de65e79e87deeaa88b86be2ce766750471e332e0fbad08fb669b803eba3c367903 SHA512 577bb5bca4c9b9bc9ae14ba50fde73c89d37515e7287ff611d297394aecc2dfd69f4d2ca347ba5d833c41584cd4b644060f21ac5b6c3c11bf710037176065314
|
||||
DIST icedtea-bin-core-3.9.0-ppc64.tar.xz 54302616 BLAKE2B 6a354a96bdfd3d6398832e0840f88c50981a1ca304f076c599603f98d3f61b32192f03b5a9830966e3a683af63415c56769977202cda6a618bc6953922f94f89 SHA512 534d1c7d7e64b69cd6352b62c46da005df0855bb5a8d01657462a9202d1149f3e9d3e89b8fe499b53f3f7faff976b6fb665e200bc05ee7ac17c981096c7ba584
|
||||
DIST icedtea-bin-core-3.9.0-ppc64le.tar.xz 54336300 BLAKE2B 2cee58d745faee8dab0ad8b064b51d60552995d33407f40e50794a17f7d993b74fbd340db3aac520642e11a926a89554e9d686cd425b05bed4194eb1bc957e5f SHA512 6d680a987dddff0d569417c3d33d8c8b73bf2aeb454906047226be3ff7277ffc62d272c0dcd6c2bc9ee3724eacf77074ef9e931f980232ffb356e9e919f2247b
|
||||
DIST icedtea-bin-core-3.9.0-r1-x86.tar.xz 61523320 BLAKE2B c5c1415faefaf1199937158d953bdced763c1cb739cb521b5439d37dbe66d659546940154a4139c3a8b7ef13c822da877a335c7e09299c097ed97c22eb65c50d SHA512 8239e56248923d67174a7729cf0821862b8b349edfee46ffb92d25121b1b8bb7b5aac7e67b8cbb35ca97c480ed9292ae9a5eb14cfa03142de2fa77f93a1e4f81
|
||||
DIST icedtea-bin-doc-3.8.0.tar.xz 11683136 BLAKE2B 37fd84b58f6d6934b4775b23c3cfd47dbf275083719361ef74d55dcd2385f822b8cd0257e76cf4a194cc6d555c579a8373b39f72f4a8e80b8511acb5a0b2b537 SHA512 aee063874fa2de7cc7848deb511b1373df14ecb530eb00887920ca82b9af80763616ac4df641cd0debbf08011f71b20e8b250384e9d142387139e7698dece53a
|
||||
DIST icedtea-bin-doc-3.9.0.tar.xz 11685100 BLAKE2B 3c0301193e295b1441f657247263994deaf84c3c534b110db9a7e4fd3e6fe73d2499a2661dbed4f9d2751634c0b99242963b92a0cbea3fa846230d7dbfce1604 SHA512 d5190f0c341181321aab1a0113368cd138550a12d6be684568e45899df509b3e9ea95abd72c1505c298d6a14977ca2fcb07e85e6ab4d2d554959af35f993cb8f
|
||||
DIST icedtea-bin-examples-3.8.0-amd64.tar.xz 1856688 BLAKE2B c6ab09ae55a2c1ae42485acffa72ed7a16a5a19e5ee105f2e4e856c7929ac9758a5ff04873a5e3114f4fcb84184a85d30503904eeb21c34010b72b23b2b9f98d SHA512 de48a06fc39393e5967cf83565ce42845ce864104038a2094555cee4331ce1dbe1cc7e56668b773581a9f2e8bbd11c23dc77d922d20e0d80251ced09edd509be
|
||||
DIST icedtea-bin-examples-3.8.0-arm.tar.xz 1840028 BLAKE2B 9b4023252d5a862d2d769764cffe702ce6fe24c3870554b3c15cf0726435bb079f3c5bd53adcf851aee5af1f3ce9cc9c0d0b5ca53e8902935f88a2a423429a53 SHA512 70b5134bcbf41ace25967a1a75c6d8b55c9bb0f1c72bc4ef3bdb45a18356340b828d0666b1581ab4c2605244256db9acea9a229e53c5bc53e016a32057eb27c1
|
||||
DIST icedtea-bin-examples-3.8.0-arm64.tar.xz 1838420 BLAKE2B 6be665c5ee12ab6063fa01f13e4d5cdd957f844a498b6267a585c5f84faaff378661e012b6ef37ffc8e1fd81d14962413308a1717314d0928ae351d6c5de58c2 SHA512 30c32731ba7744d8dd1ea8b09c1540fded244f4fd641b29db441069510ed5691a2937a38821e821f47f73724e1ae3714dc5f9bab766daf1547b1a39ad5a346f1
|
||||
DIST icedtea-bin-examples-3.8.0-ppc64.tar.xz 1848128 BLAKE2B 2326df5f72f0c597b547afa06c2b73117b12d2eb96ef190a39c23a3b16e6b792487a077d4f07b00f6cfd446bff6069cc33bdb0635af8503b1ce9e38d5bd4c001 SHA512 266c7def17c119cf1b1f18729a8160a819a578868d73d175a18d486d924a355162a0c74858eb7bb21c75974ab6bc16e9de83d27d519bdc2ebefc9cba88ee669a
|
||||
DIST icedtea-bin-examples-3.8.0-ppc64le.tar.xz 1845000 BLAKE2B 1a08259383e40c7759af27b653835c5ece49721b9f12b21b24ec29e9f43d276d4fab616db7270ad9e290f49a08fbb5cf3a8b157bd56391ff1b209507e33df1be SHA512 51d7ac3901126a075825627e48f306b14157abcab82bd0c9989c443892c4fd7743fd37efa9cf6decc5465a1a682e7a0f710713991970a8b99d76619e36fb30dd
|
||||
DIST icedtea-bin-examples-3.8.0-x86.tar.xz 1862620 BLAKE2B d7ec2c538708620ce6dac1e09a91054a16e34400a2cd96266044c919d98a6433581089fe2f4d7e79c8253e258a19d4f32c45b10abd204baa43067eb3259e9388 SHA512 e7c6cc7f98f345987e1c003c479d65546deb086c8c281e99e475c448a470423789058575ff366a5b4819fac9115fbf648de686ac393450989e6dee75fd01fc9b
|
||||
DIST icedtea-bin-examples-3.9.0-amd64.tar.xz 1856872 BLAKE2B e5e4e20e289fc59c04c1987312e14baf94151b0e58ffc26d0c9c231c44459a34f9e2b0d464ecf30e177f52f140700ba23a30d6631436d838c86591783e978b57 SHA512 bf655e4eafe8e757a240c16eb85ee25a0404917d48829a0d4c0c6fa21771b1ee82ea4c3aa3123f21574abcc8455bfff62e0a5b254a9828f874c51285a685d380
|
||||
DIST icedtea-bin-examples-3.9.0-arm.tar.xz 1840572 BLAKE2B f3a5e470b4bcbc731066068690230e854cc6950ecd6c22cffcebd6afc6e18e0979bcbde272d97135b3bc2a3e1fdc5a43fd3d40efba3f770a53b1d9e524e14702 SHA512 db560fb4e2542c2aaac4d134030aba058c6591008cbac9b5ce45cd6f7a115fff4a97270e9825bcec17e66f723f0f6614095006cce791c326c44d75ebf42470cb
|
||||
DIST icedtea-bin-examples-3.9.0-arm64.tar.xz 1837768 BLAKE2B 96d870c5a823c5b8accbe540548ad29f648466a094a0bef2351770758c6f7481b359c6d64c4229e61a168c0514375174634a0fa5c74e63351e50de4b2b87078b SHA512 28a00121176df9ed71d8a65eea1c7592669e201b1b2f57bad4d219c64d14fc891766a7f33e9c4a7f6d28dadab9ff7f174612936cfc20ffa2802d4b477c3b11c1
|
||||
DIST icedtea-bin-examples-3.9.0-ppc64.tar.xz 1847612 BLAKE2B f14e5e4c2b28b19b9e05a98e98c930dfacf3afaac3bd7e791d3de51ad276316506f370e35e73b1f6cefc14b1215da2a6a51d2cba5f94cbcf76233a3fa51fe23f SHA512 334b5db34987eb0c2e17c2570bda2fc45de8c445ba226137a9dbf768d1627175c3621a29408e9f31fb40c0aa1b3801f3e050bc6bfc81e87a43da9fcc64d9cdad
|
||||
DIST icedtea-bin-examples-3.9.0-ppc64le.tar.xz 1845088 BLAKE2B 95f98bf4d76241ebaa3966675a78f871b388de7aa5e3d672b804fcc010e7506c961ea8a0c46e4e3a966007198a95144aa7f1d1abb0fd3fe1da610e4f99ffe49b SHA512 4be2961f5b042d0edacc944243c3cdb66ebb71919247a38f3e992e792c3a5c85a72a8b0fa87d614b21b6f93e5e96062be145666e9b5e9ace7982ec2976d9ca31
|
||||
DIST icedtea-bin-examples-3.9.0-r1-x86.tar.xz 1862632 BLAKE2B ac63c7f38ec35dd63b01e5f9472a1f226fd3eac7f5e5f8a55e5d211b20344b86ad2d55cbe8f67acfe80a30bbddc72f8de091ae6d3b7df454bbe43c42ec957726 SHA512 d5b377e015550f14996deb040ce753fa4f88eb1fc0ed76babee6e187feff61c8947c54c4f876d25e5fc6344b1411c4c93b75d362206f966e69b205a14d18380c
|
||||
DIST icedtea-bin-src-3.8.0.tar.xz 45741844 BLAKE2B b06e21b2d243a4be4e8328e7551285df9e71697b04b74a98a10293cbc8ee13bb570183e3c15511434e0b21a9052fbf945da8872c5db40fe28564794557f2d67e SHA512 527bbcec8d1c6a638e0861fb8041c94eda4d5d51ecc5a6ecaa615db155ba8cb1563e5009c4031c6b161328ff75654f2b46b09b08279260745288c5876336bd3e
|
||||
DIST icedtea-bin-src-3.9.0.tar.xz 45749212 BLAKE2B 2b66ddd1639e84c637775321648d24e6161c292f54af40d6ce1dbd07e9bbcbb177d5895548ea82a6168b35811d48807e58292533846091f13745f13408ee055e SHA512 05b4df389d84f7be144bc99c10cf544183db77b4a7c141826079edb445b5af333440a5bf0ac627133043e276334993969be22caca2db9edd6249560a4db031e2
|
||||
|
@ -1,160 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# Don't block arm. See bug #600134.
|
||||
#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} )
|
||||
KEYWORDS="-* amd64 ~arm ~arm64 ppc64 ~x86"
|
||||
|
||||
inherit java-vm-2 multilib-build toolchain-funcs
|
||||
|
||||
abi_uri() {
|
||||
echo "${2-$1}? (
|
||||
${BASE_URI}/${PN}-core-${PV}-${1}.tar.xz
|
||||
examples? ( ${BASE_URI}/${PN}-examples-${PV}-${1}.tar.xz )
|
||||
)"
|
||||
}
|
||||
|
||||
BASE_URI="https://dev.gentoo.org/~chewi/distfiles"
|
||||
SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz )
|
||||
source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz )
|
||||
multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) )
|
||||
big-endian? ( $(abi_uri ppc64) )
|
||||
!big-endian? ( $(abi_uri ppc64le ppc64) )
|
||||
$(abi_uri amd64)
|
||||
$(abi_uri arm)
|
||||
$(abi_uri arm64)
|
||||
$(abi_uri x86)"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="8"
|
||||
|
||||
IUSE="+alsa big-endian +cups doc examples +gtk headless-awt multilib nsplugin pulseaudio selinux source +webstart"
|
||||
REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
|
||||
|
||||
RESTRICT="preserve-libs strip"
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.42:2%
|
||||
>=media-libs/fontconfig-2.11:1.0%
|
||||
>=media-libs/freetype-2.5.5:2%
|
||||
>=media-libs/lcms-2.9:2%
|
||||
>=sys-libs/zlib-1.2.8-r1%
|
||||
virtual/jpeg:62%
|
||||
alsa? ( >=media-libs/alsa-lib-1.0% )
|
||||
cups? ( >=net-print/cups-2.0% )
|
||||
gtk? (
|
||||
>=dev-libs/atk-2.16.0%
|
||||
>=x11-libs/cairo-1.14.2%
|
||||
x11-libs/gdk-pixbuf:2%
|
||||
>=x11-libs/gtk+-2.24:2%
|
||||
>=x11-libs/pango-1.36%
|
||||
)
|
||||
!headless-awt? (
|
||||
media-libs/giflib:0/7%
|
||||
=media-libs/libpng-1.6*%
|
||||
>=x11-libs/libX11-1.6%
|
||||
>=x11-libs/libXcomposite-0.4%
|
||||
>=x11-libs/libXext-1.3%
|
||||
>=x11-libs/libXi-1.7%
|
||||
>=x11-libs/libXrender-0.9.8%
|
||||
>=x11-libs/libXtst-1.2%
|
||||
)"
|
||||
|
||||
RDEPEND=">=sys-devel/gcc-6.4.0[multilib?]
|
||||
>=sys-libs/glibc-2.25[multilib?]
|
||||
virtual/ttf-fonts
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} )
|
||||
!multilib? ( ${RDEPEND//%/} )"
|
||||
|
||||
PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
|
||||
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
|
||||
pulseaudio? ( dev-java/icedtea-sound )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]]; then
|
||||
die "These binaries require a hardfloat system."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# I wouldn't normally use -f below but symlinks in the arm files
|
||||
# make this fail otherwise and any other approach would be tedious.
|
||||
|
||||
if ! use alsa; then
|
||||
rm -fv */jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt; then
|
||||
rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
*/{,jre/}bin/policytool */bin/appletviewer || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local dest="/opt/${P}-${ABI}"
|
||||
dest="${dest/%-${DEFAULT_ABI}/}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
dodir "${dest}"
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
|
||||
use doc && dodoc -r ${P}/doc/html
|
||||
|
||||
# doins doesn't preserve executable bits.
|
||||
cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp ${P}/src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Use default VMHANDLE.
|
||||
java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
else
|
||||
local x native=$(get_system_arch ${DEFAULT_ABI})
|
||||
|
||||
for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do
|
||||
dodir "${dest}"${x%/*}
|
||||
cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die
|
||||
done
|
||||
|
||||
for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do
|
||||
[[ ${x##*/} = ${native} ]] && continue
|
||||
[[ -e "${ddest}"/${x#*/} ]] && continue
|
||||
dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/}
|
||||
done
|
||||
|
||||
# Use ABI-suffixed VMHANDLE.
|
||||
VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
fi
|
||||
|
||||
# Both icedtea itself and the icedtea ebuild set PAX markings but we
|
||||
# disable them for the icedtea-bin build because the line below will
|
||||
# respect end-user settings when icedtea-bin is actually installed.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# Each invocation appends to the config.
|
||||
java-vm_revdep-mask "${EPREFIX}${dest}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use multilib; then
|
||||
multilib_foreach_abi multilib_src_install
|
||||
else
|
||||
multilib_src_install
|
||||
fi
|
||||
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST jdk-11.0.1+13.tar.bz2 90134818 BLAKE2B c79f32dc5b531a06317afb87ef15495267e914b9b292a1d434514a90298d8234e7e0ba92659416b15d9392c7513d976a0c81411953cb6706a27ee57c965e36fb SHA512 c534c2fa8dcd4fdebef6f00473d5ceaae4a33bd1e1a417846508e25f154b1ded649a73468c8c71ac0c1e27bab5f641a3b480a264b532a0c30be2869c3d11a15d
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
VERSION="OpenJDK ${PV}"
|
||||
JAVA_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||
JDK_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||
JAVAC="\${JAVA_HOME}/bin/javac"
|
||||
PATH="\${JAVA_HOME}/bin"
|
||||
ROOTPATH="\${JAVA_HOME}/bin"
|
||||
LDPATH="\${JAVA_HOME}/lib/:\${JAVA_HOME}/lib/server/"
|
||||
MANPATH=""
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="${SLOT}"
|
||||
BOOTCLASSPATH=""
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>Java™ is the world's leading programming language and platform. The code for Java is open source and available at OpenJDK™.</longdescription>
|
||||
<use>
|
||||
<flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs</flag>
|
||||
<flag name="gentoo-vm">Allow this JDK to be recognised by Gentoo (package manager, eselect, java-config, EXPERIMENTAL!)</flag>
|
||||
<flag name="jbootstrap">Build OpenJDK twice, the second time using the result of the first</flag>
|
||||
<flag name="source">Install JVM sources</flag>
|
||||
<flag name="webstart">Provide javaws command through symlink to icedtea-web</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,234 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_p/+}
|
||||
SLOT=${MY_PV%%[.+]*}
|
||||
|
||||
DESCRIPTION="Open source implementation of the Java programming language"
|
||||
HOMEPAGE="https://openjdk.java.net"
|
||||
SRC_URI="https://hg.${PN}.java.net/jdk-updates/jdk${SLOT}u/archive/jdk-${MY_PV}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
|
||||
# Default variant must be first!
|
||||
# The rest do not matter.
|
||||
JVM_VARIANTS="
|
||||
server
|
||||
client
|
||||
core
|
||||
minimal
|
||||
zero
|
||||
"
|
||||
|
||||
IUSE=+$(printf "jvm_variant_%s " ${JVM_VARIANTS})
|
||||
IUSE+="alsa debug doc examples gentoo-vm headless-awt +jbootstrap nsplugin +pch selinux source +webstart"
|
||||
|
||||
REQUIRED_USE="
|
||||
^^ (
|
||||
|| ( jvm_variant_server jvm_variant_client jvm_variant_minimal )
|
||||
jvm_variant_core
|
||||
jvm_variant_zero
|
||||
)
|
||||
"
|
||||
|
||||
CDEPEND="
|
||||
media-libs/freetype:2=
|
||||
net-print/cups
|
||||
sys-libs/zlib
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/zip
|
||||
media-libs/alsa-lib
|
||||
!headless-awt? (
|
||||
x11-base/xorg-proto
|
||||
)
|
||||
|| (
|
||||
dev-java/openjdk-bin:${SLOT}
|
||||
dev-java/openjdk:${SLOT}
|
||||
)
|
||||
"
|
||||
|
||||
PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
|
||||
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV}"
|
||||
|
||||
# The space required to build varies wildly depending on USE flags,
|
||||
# ranging from 2GB to 24GB. This function is certainly not exact but
|
||||
# should be close enough to be useful.
|
||||
openjdk_check_requirements() {
|
||||
local M variant count=0
|
||||
|
||||
for variant in ${JVM_VARIANTS}; do
|
||||
use jvm_variant_${variant} &&
|
||||
count=$(( $count + 1 ))
|
||||
done
|
||||
|
||||
M=$(usex debug 2600 875)
|
||||
M=$(( $(usex debug 2900 375) * $count + $M ))
|
||||
M=$(( $(usex jbootstrap 2 1) * $M ))
|
||||
M=$(( $(usex doc 300 0) + $(usex source 120 0) + 820 + $M ))
|
||||
|
||||
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
openjdk_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
openjdk_check_requirements
|
||||
java-vm-2_pkg_setup
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}"
|
||||
JAVA_PKG_WANT_SOURCE="${SLOT}"
|
||||
JAVA_PKG_WANT_TARGET="${SLOT}"
|
||||
|
||||
# The nastiness below is necessary while the gentoo-vm USE flag is
|
||||
# masked. First we call java-pkg-2_pkg_setup if it looks like the
|
||||
# flag was unmasked against one of the possible build VMs. If not,
|
||||
# we try finding one of them in their expected locations. This would
|
||||
# have been slightly less messy if openjdk-bin had been installed to
|
||||
# /opt/${PN}-${SLOT} or if there was a mechanism to install a VM env
|
||||
# file but disable it so that it would not normally be selectable.
|
||||
|
||||
local vm
|
||||
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
|
||||
if [[ -d ${EPREFIX}/usr/$(get_libdir)/jvm/${vm} ]]; then
|
||||
java-pkg-2_pkg_setup
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
if has_version --host-root dev-java/openjdk:${SLOT}; then
|
||||
export JDK_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT}
|
||||
else
|
||||
JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT})
|
||||
[[ -n ${JDK_HOME} ]] || die "Build VM not found!"
|
||||
JDK_HOME=${JDK_HOME#*/}
|
||||
JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*}
|
||||
export JDK_HOME
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Work around stack alignment issue, bug #647954.
|
||||
use x86 && append-flags -mincoming-stack-boundary=2
|
||||
|
||||
chmod +x configure || die
|
||||
|
||||
local variant build_variants
|
||||
for variant in ${JVM_VARIANTS}; do
|
||||
use jvm_variant_${variant} &&
|
||||
build_variants+=${variant},
|
||||
done
|
||||
|
||||
local myconf=()
|
||||
|
||||
# PaX breaks pch, bug #601016
|
||||
if use pch && ! host-is-pax; then
|
||||
myconf+=( --enable-precompiled-headers )
|
||||
else
|
||||
myconf+=( --disable-precompiled-headers )
|
||||
fi
|
||||
|
||||
# Enabling full docs appears to break doc building. If not
|
||||
# explicitly disabled, the flag will get auto-enabled if pandoc and
|
||||
# graphviz are detected. pandoc has loads of dependencies anyway.
|
||||
|
||||
(
|
||||
unset JAVA JAVAC XARGS
|
||||
CFLAGS= CXXFLAGS= LDFLAGS= \
|
||||
CONFIG_SITE=/dev/null \
|
||||
econf \
|
||||
--with-boot-jdk="${JDK_HOME}" \
|
||||
--with-extra-cflags="${CFLAGS}" \
|
||||
--with-extra-cxxflags="${CXXFLAGS}" \
|
||||
--with-extra-ldflags="${LDFLAGS}" \
|
||||
--with-jvm-variants=${build_variants%,} \
|
||||
--with-native-debug-symbols=$(usex debug internal none) \
|
||||
--with-version-pre=gentoo \
|
||||
--with-version-string=${MY_PV%+*} \
|
||||
--with-version-build=${MY_PV#*+} \
|
||||
--enable-headless-only=$(usex headless-awt yes no) \
|
||||
--enable-full-docs=no \
|
||||
--disable-ccache \
|
||||
"${myconf[@]}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
$(usex jbootstrap bootcycle-images product-images) $(usex doc docs '') \
|
||||
JOBS=$(makeopts_jobs) LOG=debug CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
cd "${S}"/build/*-release/images/jdk || die
|
||||
|
||||
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||
# libasound.so.2 but OpenJDK only has libjsound.so. Weird.
|
||||
if ! use alsa ; then
|
||||
rm -v lib/libjsound.* || die
|
||||
fi
|
||||
|
||||
if ! use examples ; then
|
||||
rm -vr demo/ || die
|
||||
fi
|
||||
|
||||
if ! use source ; then
|
||||
rm -v lib/src.zip || die
|
||||
fi
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR * "${ddest}" || die
|
||||
|
||||
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r "${S}"/build/*-release/images/docs/*
|
||||
dosym ${PF} /usr/share/doc/${PN}-${SLOT}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use gentoo-vm ; then
|
||||
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
|
||||
ewarn "recognised by the system. This will almost certainly break things."
|
||||
else
|
||||
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
|
||||
ewarn "will not be recognised by the system. For example, simply calling"
|
||||
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
|
||||
ewarn "fully supports Java ${SLOT}. This JDK must therefore be invoked using its"
|
||||
ewarn "absolute location under ${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,228 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
||||
BOOTSTRAP_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
||||
ppc64? (
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
||||
)
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
||||
# The upstream tests fail under portage but pass if the build is
|
||||
# run according to their documentation [1].
|
||||
# I am restricting the tests on released versions until this is
|
||||
# solved.
|
||||
# [1] https://golang.org/issues/18442
|
||||
RESTRICT="test"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="gccgo"
|
||||
|
||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="
|
||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/escapeinfo.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
||||
"
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
PATENTS
|
||||
README.md
|
||||
)
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack()
|
||||
{
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
if use gccgo; then
|
||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
||||
[[ -x ${go_binary} ]] || go_binary=$(
|
||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
||||
sort -V | tail -n1)
|
||||
[[ -x ${go_binary} ]] ||
|
||||
die "go-$(gcc-major-version): command not found"
|
||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
||||
fi
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
#
|
||||
# deliberately use cp to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,228 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
||||
BOOTSTRAP_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
||||
ppc64? (
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
||||
)
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
||||
# The upstream tests fail under portage but pass if the build is
|
||||
# run according to their documentation [1].
|
||||
# I am restricting the tests on released versions until this is
|
||||
# solved.
|
||||
# [1] https://golang.org/issues/18442
|
||||
RESTRICT="test"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="gccgo"
|
||||
|
||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="
|
||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/escapeinfo.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
||||
"
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
PATENTS
|
||||
README.md
|
||||
)
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack()
|
||||
{
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
if use gccgo; then
|
||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
||||
[[ -x ${go_binary} ]] || go_binary=$(
|
||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
||||
sort -V | tail -n1)
|
||||
[[ -x ${go_binary} ]] ||
|
||||
die "go-$(gcc-major-version): command not found"
|
||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
||||
fi
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
#
|
||||
# deliberately use cp to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST pcsc-cyberjack-3.99.5final.SP10.tar.bz2 958494 BLAKE2B 8e7f812ce5aeb6b3afe1ce1a0a691fa0639618eb62db22bd2d34b030518c4ec148216b07770a03e0e1dd01158c92694879c38648d08f1973f6bf8aa0859af889 SHA512 d4094b531ab523db29856ea0cf784db925bece51a5c4b5c7fec259ff319d58a50443cabdfebc0a1f6818b678a1284500429274478bf1db780ff594612e307d56
|
||||
DIST pcsc-cyberjack-3.99.5final.SP11.tar.bz2 965662 BLAKE2B 568eb77c9b35557fb9f4c4f038cf6d7cd3700938fe905c8c3587ee6bd4254595d6665f199913bde3c4f03050d8e8c6006dee9222941ad1dfd0190fa33283f15c SHA512 4d63ef0442c7e919456e8b6ab1d571ab621eb45fc34fc9b61a7a024f1ae2115f7474b4aa538ee7fb8bf4ce016067c876d9970b52e6b4e8b531e2d736677ab794
|
||||
DIST pcsc-cyberjack_3.99.5final.SP03.tar.gz 1485952 BLAKE2B 5dc9d5330b4b25c23e4704a0c2ed648e9ef0fb929c7f221373fd7128b77fea223480119a5dc28aa81bbe19fb5355bfd421bc93f214ebed89ee44836c7d8f0b40 SHA512 a091a09b501d7a7c757f0a458007f44ac281cbeaaf5bc3c2aa89915ee7a39478e6f80b6f24fec77be753c8d77deeda2858b7a806e3c982f54c199bd797288e05
|
||||
DIST pcsc-cyberjack-3.99.5final.SP12.tar.bz2 957583 BLAKE2B 02499e2e366a2caaf4881ff3db99600990ef18ef2b4dc202c5d66a2e708f5107b4c76b56021349c8e4169be2e1d12de0317680ea9502a65a89c96969b8341e13 SHA512 53993471c96caa5a802c0aff32595698dfd550f89906f2141f4d89db75da0870da60f62565604485643dfd1af35a06dde7f895b4a9fa6b39634ee8d5692b50fd
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils linux-info toolchain-funcs udev
|
||||
|
||||
MY_P=pcsc-${PN}_${PV/_p/final.SP}
|
||||
|
||||
DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library"
|
||||
HOMEPAGE="http://www.reiner-sct.de/ http://www.libchipcard.de/"
|
||||
SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="fox udev xml"
|
||||
|
||||
COMMON_DEPEND="sys-apps/pcsc-lite
|
||||
virtual/libusb:1
|
||||
fox? ( >=x11-libs/fox-1.6 )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P/_/-}
|
||||
|
||||
DOCS="ChangeLog NEWS doc/*.txt"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~USB_SERIAL_CYBERJACK"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc47.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--mandir=/usr/share/man/man8 \
|
||||
--sysconfdir=/etc/${PN} \
|
||||
--disable-hal \
|
||||
--enable-pcsc \
|
||||
$(use_enable xml xml2) \
|
||||
$(use_enable fox) \
|
||||
--with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -f "${ED}"/usr/lib*/${PN}/pcscd_init.diff
|
||||
prune_libtool_files --all
|
||||
|
||||
use udev && udev_newrules "${FILESDIR}"/${PN}.rules 92-${PN}.rules #388329
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local conf="${EROOT}etc/${PN}/${PN}.conf"
|
||||
elog
|
||||
elog "To configure logging, key beep behaviour etc. you need to"
|
||||
elog "copy ${conf}.default"
|
||||
elog "to ${conf}"
|
||||
elog "and modify the latter as needed."
|
||||
elog
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools versionator eutils linux-info toolchain-funcs udev
|
||||
|
||||
MY_PV="${PV/_p/_SP}"
|
||||
MY_PV2="${PV/_p/final.SP}"
|
||||
MY_P="pcsc-${PN}-${MY_PV2}"
|
||||
#MY_P2="${PN}-$(get_version_component_range 4 $MY_PV)"
|
||||
|
||||
DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library"
|
||||
HOMEPAGE="http://www.reiner-sct.de/"
|
||||
SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs threads +udev +usb"
|
||||
|
||||
# FIXME:
|
||||
# xml is actually optional but the code is still used anyway. We'll have to wait
|
||||
# until upstream fixed it.
|
||||
COMMON_DEPEND="sys-apps/pcsc-lite
|
||||
usb? ( virtual/libusb:1 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
#S=${WORKDIR}/${MY_P2}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS="debian/changelog doc/README.txt"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~USB_SERIAL_CYBERJACK"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-manpages.patch"
|
||||
epatch "${FILESDIR}/${PN}-returnvalue.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir=/etc/${PN} \
|
||||
--disable-hal \
|
||||
--enable-pcsc \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable usb nonserial) \
|
||||
$(use_enable threads) \
|
||||
--with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
use udev && udev_newrules "${FILESDIR}"/${PN}-r1.rules 92-${PN}.rules #388329
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local conf="${EROOT}etc/${PN}/${PN}.conf"
|
||||
elog
|
||||
elog "To configure logging, key beep behaviour etc. you need to"
|
||||
elog "copy ${conf}.default"
|
||||
elog "to ${conf}"
|
||||
elog "and modify the latter as needed."
|
||||
elog
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MY_PN="pcsc-${PN}"
|
||||
MY_PV="${PV/_p/final.SP}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
inherit autotools linux-info toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver"
|
||||
HOMEPAGE="https://www.reiner-sct.de/"
|
||||
SRC_URI="https://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="static-libs threads tools +udev +usb xml"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pcsc-lite
|
||||
usb? ( virtual/libusb:1 )
|
||||
udev? ( virtual/udev )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
CONFIG_CHECK="~USB_SERIAL_CYBERJACK"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-debug
|
||||
--disable-error-on-warning
|
||||
--disable-hal
|
||||
--disable-mac-universal
|
||||
--disable-mac-arches-i386
|
||||
--disable-mac-arches-x86_64
|
||||
--disable-visibility
|
||||
--enable-pcsc
|
||||
--enable-release
|
||||
--enable-warnings
|
||||
--sysconfdir="/etc/cyberjack"
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable threads)
|
||||
$(use_enable udev)
|
||||
$(use_enable usb nonserial)
|
||||
$(use_enable xml xml2)
|
||||
--with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use tools; then
|
||||
# cjBingo can't be compiled, as it's defines stuff, which got dropped
|
||||
cd "${S}"/tools/cjflash && emake
|
||||
cd "${S}"/tools/cjgeldkarte && emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use tools && dobin tools/cjflash/cjflash tools/cjgeldkarte/cjgeldkarte
|
||||
|
||||
use udev && udev_newrules debian/libifd-cyberjack6.udev 99-${PN}.rules
|
||||
|
||||
dodoc debian/changelog doc/{LIESMICH,README}.{pdf,txt,xml}
|
||||
|
||||
docinto html
|
||||
dodoc doc/{LIESMICH,README}.html
|
||||
|
||||
docinto source
|
||||
dodoc doc/*.c*
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
http://bugs.gentoo.org/423757
|
||||
|
||||
--- libcyberjack/checksuite/cm_distri.cpp
|
||||
+++ libcyberjack/checksuite/cm_distri.cpp
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "cm_distri.h"
|
||||
#include "checksuite.h"
|
||||
|
||||
+#include <unistd.h> /* unlink */
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
--- tools/fox-dialog/main.cpp
|
||||
+++ tools/fox-dialog/main.cpp
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include <fx.h>
|
||||
|
||||
+#include <unistd.h> /* unlink */
|
||||
+
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
--- tools/mac-ui-helper/main.m
|
||||
+++ tools/mac-ui-helper/main.m
|
||||
@@ -31,6 +31,8 @@
|
||||
#import "PinDialog.h"
|
||||
#import "Delegate.h"
|
||||
|
||||
+#include <unistd.h> /* unlink */
|
||||
+
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
@ -1,10 +0,0 @@
|
||||
# If not adding the device, go away
|
||||
ACTION!="add", GOTO="cyberjack_rules_end"
|
||||
SUBSYSTEM!="usb", GOTO="cyberjack_rules_end"
|
||||
ENV{DEVTYPE}!="usb_device", GOTO="cyberjack_rules_end"
|
||||
|
||||
# Tested on cyberJack RFID standard
|
||||
ATTRS{idVendor}=="0c4b", ATTRS{idProduct}=="0500", ENV{PCSCD}="1"
|
||||
|
||||
# All done
|
||||
LABEL="cyberjack_rules_end"
|
@ -0,0 +1,62 @@
|
||||
From 53d8c8f3d181d87a6aa925b449b51c4a2c922a51 Mon Sep 17 00:00:00 2001
|
||||
From: Shane Carr <shane@unicode.org>
|
||||
Date: Mon, 29 Oct 2018 23:52:44 -0700
|
||||
Subject: [PATCH] ICU-20246 Fixing another integer overflow in number parsing.
|
||||
|
||||
---
|
||||
i18n/fmtable.cpp | 2 +-
|
||||
i18n/number_decimalquantity.cpp | 5 ++++-
|
||||
test/intltest/numfmtst.cpp | 8 ++++++++
|
||||
.../icu/impl/number/DecimalQuantity_AbstractBCD.java | 5 ++++-
|
||||
.../impl/number/DecimalQuantity_DualStorageBCD.java | 10 +++++++++-
|
||||
.../com/ibm/icu/dev/test/format/NumberFormatTest.java | 5 +++++
|
||||
6 files changed, 31 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/i18n/fmtable.cpp b/i18n/fmtable.cpp
|
||||
index 45c7024fc29..8601d95f4a6 100644
|
||||
--- a/i18n/fmtable.cpp
|
||||
+++ b/i18n/fmtable.cpp
|
||||
@@ -734,7 +734,7 @@ CharString *Formattable::internalGetCharString(UErrorCode &status) {
|
||||
// not print scientific notation for magnitudes greater than -5 and smaller than some amount (+5?).
|
||||
if (fDecimalQuantity->isZero()) {
|
||||
fDecimalStr->append("0", -1, status);
|
||||
- } else if (std::abs(fDecimalQuantity->getMagnitude()) < 5) {
|
||||
+ } else if (fDecimalQuantity->getMagnitude() != INT32_MIN && std::abs(fDecimalQuantity->getMagnitude()) < 5) {
|
||||
fDecimalStr->appendInvariantChars(fDecimalQuantity->toPlainString(), status);
|
||||
} else {
|
||||
fDecimalStr->appendInvariantChars(fDecimalQuantity->toScientificString(), status);
|
||||
diff --git a/i18n/number_decimalquantity.cpp b/i18n/number_decimalquantity.cpp
|
||||
index 47b930a564b..d5dd7ae694c 100644
|
||||
--- a/i18n/number_decimalquantity.cpp
|
||||
+++ b/i18n/number_decimalquantity.cpp
|
||||
@@ -898,7 +898,10 @@ UnicodeString DecimalQuantity::toScientificString() const {
|
||||
}
|
||||
result.append(u'E');
|
||||
int32_t _scale = upperPos + scale;
|
||||
- if (_scale < 0) {
|
||||
+ if (_scale == INT32_MIN) {
|
||||
+ result.append({u"-2147483648", -1});
|
||||
+ return result;
|
||||
+ } else if (_scale < 0) {
|
||||
_scale *= -1;
|
||||
result.append(u'-');
|
||||
} else {
|
||||
diff --git a/test/intltest/numfmtst.cpp b/test/intltest/numfmtst.cpp
|
||||
index 34355939113..8d52dc122bf 100644
|
||||
--- a/test/intltest/numfmtst.cpp
|
||||
+++ b/test/intltest/numfmtst.cpp
|
||||
@@ -9226,6 +9226,14 @@ void NumberFormatTest::Test20037_ScientificIntegerOverflow() {
|
||||
assertEquals(u"Should not overflow and should parse only the first exponent",
|
||||
u"1E-2147483647",
|
||||
{sp.data(), sp.length(), US_INV});
|
||||
+
|
||||
+ // Test edge case overflow of exponent
|
||||
+ result = Formattable();
|
||||
+ nf->parse(u".0003e-2147483644", result, status);
|
||||
+ sp = result.getDecimalNumber(status);
|
||||
+ assertEquals(u"Should not overflow",
|
||||
+ u"3E-2147483648",
|
||||
+ {sp.data(), sp.length(), US_INV});
|
||||
}
|
||||
|
||||
void NumberFormatTest::Test13840_ParseLongStringCrash() {
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
DEPEND="
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/icu-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
|
||||
"${FILESDIR}/${PN}-58.2-darwin.patch"
|
||||
"${FILESDIR}/${P}-CVE-2018-18928.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local variable
|
||||
|
||||
# Disable renaming as it is stupid thing to do
|
||||
sed -i \
|
||||
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
|
||||
common/unicode/uconfig.h || die
|
||||
|
||||
# Fix linking of icudata
|
||||
sed -i \
|
||||
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
|
||||
config/mh-linux || die
|
||||
|
||||
# Append doxygen configuration to configure
|
||||
sed -i \
|
||||
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
mkdir "${WORKDIR}"/host || die
|
||||
pushd "${WORKDIR}"/host >/dev/null || die
|
||||
|
||||
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
|
||||
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
|
||||
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
|
||||
"${S}"/configure --disable-renaming --disable-debug \
|
||||
--disable-samples --enable-static || die
|
||||
emake
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-renaming
|
||||
--disable-samples
|
||||
--disable-layoutex
|
||||
$(use_enable debug)
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_enable examples samples)
|
||||
)
|
||||
|
||||
tc-is-cross-compiler && myeconfargs+=(
|
||||
--with-cross-build="${WORKDIR}"/host
|
||||
)
|
||||
|
||||
# icu tries to use clang by default
|
||||
tc-export CC CXX
|
||||
|
||||
# make sure we configure with the same shell as we run icu-config
|
||||
# with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
|
||||
export CONFIG_SHELL="${EPREFIX}/bin/sh"
|
||||
# probably have no /bin/sh in prefix-chain
|
||||
[[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
docinto html
|
||||
dodoc -r doc/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
docinto html
|
||||
dodoc ../readme.html
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba725aadc6cffd78220f7f7f1b725cad960fc6d9fdd2d54a43c233b35959ebcb9c71d1191a5535703599fa32e3301e SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b
|
||||
DIST leatherman-1.4.2.tar.gz 814263 BLAKE2B 5ca8123f264ed0f7843c6fc1b0966c577fb9d12933e5baa375e0beef8ba17afe4388f1e05e1022e392c50e32e159b765531137cf069bd0f5b8baa3626c860949 SHA512 e0cb19605163b68ac5a8fc74e875d856af5e34345f19c38f0db45da7536ec27ba6cf4b4e8c5883ceb9a5978cdc8831181ec89ad4105252366b198af4f3f22bff
|
||||
DIST leatherman-1.4.4.tar.gz 814289 BLAKE2B d53ff660e28eaea1c11f95cc70348a2a5883e0dc5ae56482b0afe96e61938e4d15688f8abf9783976443c00b6a69e9037b5080194babb97200e25e2c548b9153 SHA512 a1955a3f7a7fd190f7d85ad07e30dee74b0f4b7ed670a4a9a7613317d2898faf776cbed0c5c7b6da25ddd5099c9638e9abb2aca16aec61c568fc2f8c9789ffe4
|
||||
DIST leatherman-1.5.2.tar.gz 814349 BLAKE2B 1bc2d85426683e9f82d31ba9e3b63b4c9185b0bfa5ae832ea252ecbd922b44dfa67b6011145489d5c5809a76011aef8b143f6b705ea0436d914fc0d8ca8091a2 SHA512 9cef854fd7a95c54fcfc2e639e469dfaa4625757ea8aceeb9ac2162bfc89cbcbc1d5e8217af5f1fad4f31d98528475e22157ca6b1046a36e0928074f866ddafd
|
||||
DIST leatherman-1.5.3.tar.gz 814340 BLAKE2B 7dec42f1a62511a4f63ca197212f3b81f5baa862b0a7f825c2caa7e9af6bdd15e7b5aad39649d7e5dbb6bd62df19895bbf851421f9aa2795ced785c2e28bcdcf SHA512 e2616a42c6879755f338f9f0291bf28c7465d51caa3326be521ae3e0d5d79e82099c8720dc19223ad9112cde81c4579faf28a2b467f802baefc99dd59212b818
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="A C++ toolkit"
|
||||
HOMEPAGE="https://github.com/puppetlabs/leatherman"
|
||||
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE="debug static-libs test"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
|
||||
SLOT="0/1.4"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND=">=dev-libs/boost-1.54:=[nls]
|
||||
net-misc/curl
|
||||
>=sys-devel/gcc-4.8:*"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||
-DCMAKE_BUILD_TYPE=None
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
)
|
||||
if ! use static-libs; then
|
||||
mycmakeargs+=(
|
||||
-DLEATHERMAN_SHARED=ON
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DLEATHERMAN_SHARED=OFF
|
||||
)
|
||||
fi
|
||||
if use debug; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${WORKDIR}/${P}"_build/bin/leatherman_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sway-0.15.2.tar.gz 5398956 BLAKE2B 6bb527e802b7837ef39cb1e29597d55fd33831231dbfb7f12225e50c38e49ae17d8bf2eb43672c195c6e074986d254b1680bac7c9d60b80b84feaf07e09718df SHA512 c457ace514f5c69ebd366d313cce93a76b199bb51c7540debc9c0586bff490401e6374f9725c784474afdfcca15bcab686a972c6c178117e45e2de83825ed370
|
||||
DIST sway-1.0_beta1.tar.gz 5444424 BLAKE2B b2803b6770ac3fbb3c21b892a208008e60780b6002e983e6d144d4f97e04992d3a3e5589abe36042221d67a107e31f5e76ae193cbf3e36c71fcf027095140944 SHA512 745b16be7641446c54e1b8777be1f8a26e8275f7826590f594bf4a2001a6de42e394b602e1ccd26a1e8ebe256fde6f9b393f5560a1dd0a610867819076645c69
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/sway.git"
|
||||
inherit git-r3
|
||||
else
|
||||
# Version format: major.minor-beta.betanum
|
||||
SWAY_PV="$(ver_cut 1-2)-$(ver_cut 3).$(ver_cut 4)"
|
||||
SRC_URI="https://github.com/swaywm/sway/archive/${SWAY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/sway-${SWAY_PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
inherit eutils fcaps meson pam
|
||||
|
||||
DESCRIPTION="i3-compatible Wayland window manager"
|
||||
HOMEPAGE="https://swaywm.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind fish-completion +swaybar +swaybg +swaylock systemd +tray wallpapers X zsh-completion"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
RDEPEND="~dev-libs/wlroots-0.1[systemd=,elogind=,X=]
|
||||
>=dev-libs/json-c-0.13:0=
|
||||
>=dev-libs/libinput-1.6.0:0=
|
||||
dev-libs/libpcre
|
||||
dev-libs/wayland
|
||||
>=dev-libs/wayland-protocols-1.14
|
||||
x11-libs/cairo
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
swaybar? ( x11-libs/gdk-pixbuf:2[jpeg] )
|
||||
swaybg? ( x11-libs/gdk-pixbuf:2[jpeg] )
|
||||
swaylock? (
|
||||
virtual/pam
|
||||
x11-libs/gdk-pixbuf:2[jpeg]
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
tray? ( >=sys-apps/dbus-1.10 )
|
||||
X? ( x11-libs/libxcb:0=[xkb] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/scdoc
|
||||
virtual/pkgconfig"
|
||||
|
||||
FILECAPS=( cap_sys_admin usr/bin/sway )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use swaybar || sed -e "s/subdir('swaybar')//g" -i meson.build || die
|
||||
use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die
|
||||
use swaylock || sed -e "s/subdir('swaylock')//g" -i meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
"-Dsway-version=${SWAY_PV}"
|
||||
$(meson_use wallpapers default-wallpaper)
|
||||
$(meson_use zsh-completion zsh-completions)
|
||||
$(meson_use fish-completion fish-completions)
|
||||
$(meson_use X enable-xwayland)
|
||||
"-Dbash-completions=true"
|
||||
"-Dwerror=false"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
use swaylock && newpamd swaylock/pam/swaylock.linux swaylock
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You must be in the input group to allow sway to access input devices!"
|
||||
local dbus_cmd=""
|
||||
if use tray ; then
|
||||
elog ""
|
||||
optfeature "experimental xembed tray icons support" kde-plasma/xembed-sni-proxy
|
||||
dbus_cmd="dbus-launch --sh-syntax --exit-with-session "
|
||||
fi
|
||||
if ! use systemd && ! use elogind ; then
|
||||
fcaps_pkg_postinst
|
||||
elog ""
|
||||
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||
elog "exec ck-launch-session ${dbus_cmd}sway"
|
||||
fi
|
||||
}
|
@ -1,83 +1,94 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3 eutils cmake-utils
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/sway.git"
|
||||
inherit git-r3
|
||||
else
|
||||
# Version format: major.minor-beta.betanum
|
||||
SWAY_PV="$(ver_cut 1-2)-$(ver_cut 3).$(ver_cut 4)"
|
||||
SRC_URI="https://github.com/swaywm/sway/archive/${SWAY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/sway-${SWAY_PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="i3-compatible Wayland window manager"
|
||||
HOMEPAGE="http://swaywm.org/"
|
||||
inherit eutils fcaps meson pam
|
||||
|
||||
EGIT_REPO_URI="https://github.com/swaywm/sway.git"
|
||||
EGIT_BRANCH="0.15"
|
||||
DESCRIPTION="i3-compatible Wayland window manager"
|
||||
HOMEPAGE="https://swaywm.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+gdk-pixbuf +swaybar +swaybg swaygrab swaylock +swaymsg systemd +tray wallpapers zsh-completion"
|
||||
IUSE="elogind fish-completion +swaybar +swaybg +swaylock systemd +tray wallpapers X zsh-completion"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
REQUIRED_USE="tray? ( swaybar )"
|
||||
|
||||
RDEPEND="=dev-libs/wlc-9999[systemd=]
|
||||
dev-libs/json-c:0=
|
||||
RDEPEND="~dev-libs/wlroots-9999[systemd=,elogind=,X=]
|
||||
>=dev-libs/json-c-0.13:0=
|
||||
>=dev-libs/libinput-1.6.0:0=
|
||||
dev-libs/libpcre
|
||||
dev-libs/libinput
|
||||
dev-libs/wayland
|
||||
sys-libs/libcap
|
||||
x11-libs/libxkbcommon
|
||||
>=dev-libs/wayland-protocols-1.14
|
||||
x11-libs/cairo
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )
|
||||
swaylock? ( virtual/pam )
|
||||
tray? ( sys-apps/dbus )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
swaybar? ( x11-libs/gdk-pixbuf:2[jpeg] )
|
||||
swaybg? ( x11-libs/gdk-pixbuf:2[jpeg] )
|
||||
swaylock? (
|
||||
virtual/pam
|
||||
x11-libs/gdk-pixbuf:2[jpeg]
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
tray? ( >=sys-apps/dbus-1.10 )
|
||||
X? ( x11-libs/libxcb:0=[xkb] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/scdoc
|
||||
virtual/pkgconfig"
|
||||
|
||||
FILECAPS=( cap_sys_admin usr/bin/sway )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
default
|
||||
|
||||
# remove bad CFLAGS that upstream is trying to add
|
||||
sed -i -e '/add_compile_options/s/-Werror//' CMakeLists.txt || die
|
||||
use swaybar || sed -e "s/subdir('swaybar')//g" -i meson.build || die
|
||||
use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die
|
||||
use swaylock || sed -e "s/subdir('swaylock')//g" -i meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-Denable-swaybar=$(usex swaybar)
|
||||
-Denable-swaybg=$(usex swaybg)
|
||||
-Denable-swaygrab=$(usex swaygrab)
|
||||
-Denable-swaylock=$(usex swaylock)
|
||||
-Denable-swaymsg=$(usex swaymsg)
|
||||
-Denable-tray=$(usex tray)
|
||||
|
||||
-Ddefault-wallpaper=$(usex wallpapers)
|
||||
|
||||
-Denable-gdk-pixbuf=$(usex gdk-pixbuf)
|
||||
-Dzsh-completions=$(usex zsh-completion)
|
||||
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
|
||||
local emesonargs=(
|
||||
$(meson_use wallpapers default-wallpaper)
|
||||
$(meson_use zsh-completion zsh-completions)
|
||||
$(meson_use fish-completion fish-completions)
|
||||
$(meson_use X enable-xwayland)
|
||||
"-Dbash-completions=true"
|
||||
"-Dwerror=false"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
meson_src_install
|
||||
|
||||
use !systemd && fperms u+s /usr/bin/sway
|
||||
use swaylock && newpamd swaylock/pam/swaylock.linux swaylock
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use swaygrab
|
||||
then
|
||||
optfeature "swaygrab screenshot support" media-gfx/imagemagick[png]
|
||||
optfeature "swaygrab video capture support" virtual/ffmpeg
|
||||
fi
|
||||
if use tray
|
||||
then
|
||||
elog "You must be in the input group to allow sway to access input devices!"
|
||||
local dbus_cmd=""
|
||||
if use tray ; then
|
||||
elog ""
|
||||
optfeature "experimental xembed tray icons support" kde-plasma/xembed-sni-proxy
|
||||
dbus_cmd="dbus-launch --sh-syntax --exit-with-session "
|
||||
fi
|
||||
if ! use systemd && ! use elogind ; then
|
||||
fcaps_pkg_postinst
|
||||
elog ""
|
||||
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||
elog "exec ck-launch-session ${dbus_cmd}sway"
|
||||
fi
|
||||
optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland]
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue