parent
34f1aa2f6a
commit
b519ae57f0
Binary file not shown.
Binary file not shown.
@ -0,0 +1,41 @@
|
||||
* Don't overwrite CFLAGS
|
||||
* Respect CPPFLAGS
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -66,7 +66,7 @@
|
||||
ifdef CONFIG_CLANG
|
||||
HOST_CC=clang
|
||||
CC=$(CROSS_PREFIX)clang
|
||||
- CFLAGS=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
+ CFLAGS += -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
CFLAGS += -Wextra
|
||||
CFLAGS += -Wno-sign-compare
|
||||
CFLAGS += -Wno-missing-field-initializers
|
||||
@@ -87,7 +87,7 @@
|
||||
else
|
||||
HOST_CC=gcc
|
||||
CC=$(CROSS_PREFIX)gcc
|
||||
- CFLAGS=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
+ CFLAGS += -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
CFLAGS += -Wno-array-bounds -Wno-format-truncation
|
||||
ifdef CONFIG_LTO
|
||||
AR=$(CROSS_PREFIX)gcc-ar
|
||||
@@ -110,7 +110,7 @@
|
||||
CFLAGS+=$(DEFINES)
|
||||
CFLAGS_DEBUG=$(CFLAGS) -O0
|
||||
CFLAGS_SMALL=$(CFLAGS) -Os
|
||||
-CFLAGS_OPT=$(CFLAGS) -O2
|
||||
+CFLAGS_OPT=$(CFLAGS)
|
||||
CFLAGS_NOLTO:=$(CFLAGS_OPT)
|
||||
LDFLAGS=-g
|
||||
ifdef CONFIG_LTO
|
||||
@@ -269,7 +269,7 @@
|
||||
$(CC) $(CFLAGS_OPT) -fPIC -DJS_SHARED_LIBRARY -c -o $@ $<
|
||||
|
||||
$(OBJDIR)/%.nolto.o: %.c | $(OBJDIR)
|
||||
- $(CC) $(CFLAGS_NOLTO) -c -o $@ $<
|
||||
+ $(CC) $(CFLAGS_NOLTO) $(CPPFLAGS) -c -o $@ $<
|
||||
|
||||
$(OBJDIR)/%.m32.o: %.c | $(OBJDIR)
|
||||
$(CC) -m32 $(CFLAGS_OPT) -c -o $@ $<
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST ansible-lint-5.4.0.tar.gz 349353 BLAKE2B 9f41abdf1e9485afa4c8ed9498627b0dcbdcf57916f3b57c9886de8bd806e4e5b34e7e9c2e66b44ac8009a0afcea4d8566900ee8d391eaca61081fa23323c41c SHA512 f1bbbb49eb77991d60b6087646c695a938d328d719bba67707af4ed858de857d383b78490bcf0930cffebd13a0b0abde20269a47e47e4713a37da715a28c5da0
|
||||
DIST ansible-lint-6.0.2.tar.gz 195044 BLAKE2B 3334049dd1dc05444c6c362601da8d7e808c6b3473e87613b8892651cecb76058cb0aa370aa5d00cf6bc76ee3b096480fdce52facee4f043c01d6c76084860ba SHA512 a47e79c59dfcf3e36654247bd206581798f2559261142e3943b60e0688d75b5a6332832a9f9127f99b2faa6afff959a33c55fbc80aa5881f064725998420f679
|
||||
DIST ansible-lint-6.1.0.tar.gz 223702 BLAKE2B 5aeaccbaf9c1bd8e7236e946b408779b42e0839766a485bdbb80ece19ed63b57fa38cb44796c860f6929bb2e98acd21a3de3a9c07486535ed3e6ab5cb499c8d9 SHA512 c1ca5abe8e5f441a86db6a4b4fa03c2d87ed2277151ada9af34c3d8af6934d2c1d4b6bffbc11d6cfb7cd7601c9e43a041fe8a2b940fa0630532df05004e11d15
|
||||
DIST ansible-lint-6.2.2.tar.gz 232952 BLAKE2B 571dce6dc348c1158fed396fc29054421d172964facd8cbb0f8c1560036de574aa304f59497c8c76415ac99424d0450c8b06509ced113c9a997808e960793621 SHA512 ae119b29d87ce59e7bd5c401a8fcbc2194bdddecd5a65010ea02aee62cff1764a767803a57edcfd297e9ad0cbdf70fe69212625ed80b21afb53b4ebe429a7636
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST checksec-2.2.3.tar.gz 2241535 BLAKE2B 850977dc14d1b57dc947f81af904aca71a7d664bf695619de2b6f7a1014a95176813c4fcd8c39a6c89b028291fa1a08a2beaf6f4dce27f53624202bb0e72ed2c SHA512 d1516dc4321f30a57f88d3279fa228b4dbb0f16345c3c7e9d89575ddc3ed9dffae42f392e76321a5a9aba876717aae959365fc829f0abb58c1c21f34dbbf59b7
|
||||
DIST checksec-2.4.0.tar.gz 2242079 BLAKE2B c1878c1312d13591147f0efd1a2d535ae8e75292dbc53e7ba0802c8d165b18b4bc0b22a5cc3a9159ddcf05a1518d58c18cb54700ea5a52ff29d261068194b96a SHA512 1a02dfac48b5979cb5c2eb7b8f1fe290d3ac090726d1b95a14864bfc4bc3d32eefc10e2cc227c9dc01809c78fe003d1faea9b720d5cb5fbc16599fc0e2512947
|
||||
DIST checksec-2.5.0.tar.gz 2623122 BLAKE2B b4a876dfc8b9f02d5d74b6720b59ee216fbdab4e7df471aa4a78e7e6a98830b1b03f9a66d8b9dd344261fe1a253db4e5e9bede53f47e1fd171b2d23b0e04f031 SHA512 dd76061976d7f97c250b9d24b9cc7c6ea26c9df7e3521e3a1f39f56812485afaae6d60c611e1b7f4817b1585d10fc2116eaa032bb690e39a0243529e324943ab
|
||||
DIST checksec-2.6.0.tar.gz 2624551 BLAKE2B bfda79dfdfc672119d70612497893ba91f093719f95e2b387d27da81d7f8b50e2bc54e9d030d84db76dc2a599bb1f866608529149896259ce517450318640c82 SHA512 71ba0f24b7db0c7fa74dfeaa74b2722ffe792c77941316da916dc7aae888f147c81f98d1522f63b96aa3a76aff7bb1d98522a02efa312b3b3a9dd9a137239010
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
MY_PN=${PN}.sh
|
||||
DESCRIPTION="Tool to check properties of executables (e.g. ASLR/PIE, RELRO, PaX, Canaries)"
|
||||
HOMEPAGE="https://github.com/slimm609/checksec.sh"
|
||||
SRC_URI="https://github.com/slimm609/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"/${MY_PN}-${PV}
|
||||
|
||||
DOCS=( ChangeLog README.md )
|
||||
|
||||
src_prepare() {
|
||||
sed 's,^pkg_release=false,pkg_release=true,' -i ${PN} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doman extras/man/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins extras/zsh/_${PN}
|
||||
|
||||
dobin ${PN}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sysklogd-2.3.0.tar.gz 441168 BLAKE2B fa2ec9975d51bcb26d7acc88ab02e211453fc7e6d722ec6d38543a20833ae9c49b9a274d323e7a32deb82ca9c38025947e25b15424084a0ce345410a2e686a4d SHA512 7a16dd3f45a71015ad055e64aa62f4f94b0a8aa739f407c03376241cbc16ff764a768a698362cb428d150b169934798b774622b330903b287f9af5dd846775fc
|
||||
DIST sysklogd-2.4.0.tar.gz 450757 BLAKE2B 65f7174ebad122d17032e0095c65df80110a992a40b41a3ecddb1f813605094ce59c1313f5d4f35ae33d0cb7557392a176fc9c2f0f69162b74cb69d531be0a09 SHA512 0f9c4498b3677636abd636a80a8256095798b09f43b6febbcb386b3bce7faae23c44aebc54234462a7aa53fb8e5bf821e89081bdbdba0f72218ac8481365029c
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standard log daemons"
|
||||
HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="logger logrotate systemd"
|
||||
# Needs network access
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
logger? (
|
||||
!<sys-apps/util-linux-2.34-r3
|
||||
!>=sys-apps/util-linux-2.34-r3[logger]
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
logrotate? ( app-admin/logrotate )"
|
||||
|
||||
DOCS=( ChangeLog.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
append-lfs-flags
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--runstatedir="${EPREFIX}"/run
|
||||
$(use_with logger)
|
||||
$(use_with systemd systemd $(systemd_get_systemunitdir))
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc
|
||||
doins syslog.conf
|
||||
keepdir /etc/syslog.d
|
||||
|
||||
newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd
|
||||
newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd
|
||||
|
||||
if use logrotate ; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/sysklogd.logrotate sysklogd
|
||||
sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then
|
||||
elog "Starting with version 2.0 syslogd has built in log rotation"
|
||||
elog "functionality that does no longer require a running cron daemon."
|
||||
elog "So we no longer install any log rotation cron files for sysklogd."
|
||||
fi
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then
|
||||
elog "Starting with version 2.1 sysklogd no longer provides klogd."
|
||||
elog "syslogd now also logs kernel messages."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST unrar-6.0.7.tar.gz 232903 BLAKE2B eba5179f622726046fabedac03e8c05f7dd2f64782dc0be18010deb22c1036b895cbb9429f44239e63d9c04f3e031b4f9787462f4f643f8bca11b135de08f547 SHA512 2c50d1f58f5189e59dad36eb25aa50a34572f583242e624846c9791c5609e83d4ee76314d785771fe514ec3378749dcb86e4c97a8d2a3ab7b469df49a5c5f412
|
||||
DIST unrar-6.1.2.tar.gz 234257 BLAKE2B c04b40e4ed08e9bfaad6c7675b392cc52d62c04b9897707c8def726be34187eedee6870a2b055cb0eef1a9df0bcd7bd1130d547184826c2f8c1af226f4e00247 SHA512 7a34db3a5383046a2b2bd5c7abfeb6b80c81666609caf619a700bda09bca908731b03985ad9d2b5d889605807832109fae11b7091d86c1a67c2e46288a42b777
|
||||
DIST unrar-6.1.4.tar.gz 235483 BLAKE2B 4fb0dab62dc504bc4535add9cbc6a45e38c16def3206e54359b9dcffdb5626234cfcedd132da83e2300f0dc9a1f410420e0c467dd0f30f0da8a27da895d4b590 SHA512 2996436a3264374593fd97975f4ad53c19c39b57c83a6557c4f34095e5c952528b469ff6698c84b83b9bff5b2e33be47523fdc5b2a02ba2be049624af06d1a5e
|
||||
DIST unrar-6.1.7.tar.gz 236798 BLAKE2B e33a7500b4a03a54f84b018ab90934366f52ef54c83257ed7fe4419ba993d2a8c21de26f445ae18d870aa5232cfbf1f5d8fbc0b3965803aeec6cac5e5a38e949 SHA512 b1a95358ff66b0e049597bbc4e1786d0bc909a8aff4aca94ee793d0d5a3c8b052eb347d88f44b6bc2e6231e777f1b711c198711118ae9ffbe8db2f72e7fbe846
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0/6" # subslot = soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.9.3-build.patch
|
||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin} || die
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,24 @@
|
||||
--- a/mconfig
|
||||
+++ b/mconfig
|
||||
@@ -42,14 +42,14 @@
|
||||
|
||||
# user_cflags - user-defined CFLAGS without all the cflags_opts
|
||||
user_cflags="$CFLAGS"
|
||||
-cflags_opts="-Wall -Werror -Wfatal-errors -Wno-unknown-warning-option \
|
||||
+cflags_opts="-Wall -Wfatal-errors -Wno-unknown-warning-option \
|
||||
-Wstrict-prototypes -Wpointer-arith -Wbad-function-cast \
|
||||
-Woverlength-strings -Wframe-larger-than=2047 \
|
||||
-Wno-sign-compare -Wclobbered -Wempty-body -Wmissing-parameter-type \
|
||||
-Wtype-limits -Wunused-parameter -Wunused-but-set-parameter \
|
||||
-Wno-discarded-qualifiers -Wno-incompatible-pointer-types \
|
||||
-pipe -fmessage-length=0 -fPIC"
|
||||
-cflags="$CFLAGS -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4"
|
||||
+cflags="$CFLAGS -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4"
|
||||
ldflags=$LDFLAGS
|
||||
|
||||
package_name=apptainer
|
||||
--- a/mlocal/frags/go_runtime_opts.mk
|
||||
+++ b/mlocal/frags/go_runtime_opts.mk
|
||||
@@ -1 +1 @@
|
||||
-CGO_CFLAGS += -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4
|
||||
+CGO_CFLAGS += -O2 -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4
|
@ -1,3 +1,4 @@
|
||||
DIST cri-tools-1.23.0.tar.gz 6823865 BLAKE2B 75d394ec1f9ccf2122476c9b845499212d668f8170ae8551913e3e057271986ab77454bdd0fa646127bfadda203fabdc57cc448dfe1e64dd7cdbedc8f5ee8cf6 SHA512 36700eaf872da14921e0b2c8fa68f91e3e0226364e29a5b8e132fbd52504e130e0bc2cce30aba21e7def576a4682f150b0b051d44b78aa694c225c10999d7155
|
||||
DIST cri-tools-1.24.0.tar.gz 5868141 BLAKE2B 281c397bb60bb5075d2b99cab11a44cf8746c1f744dfafc4f051dd6c2344a53eba948a35d90f814105ef3cb2b0bef3e7e1723408069a2ab4293801f906ec48b0 SHA512 5c7468c15b9f030d5cf93112abc28f8024e1d1b46f85459cb0a10c84ab63d07f5dfa830d019f8ed1a31bf04ea14c5e200b11d85ae7573be44860b74312e66dbc
|
||||
DIST cri-tools-1.24.1.tar.gz 5928557 BLAKE2B 42d2f0fc8227fd704c3884f1e8a195952aff1a64fb85629bef4122c011f76d0c7eb94ddcec7d56df610af6b3599b345676efa416249ce292725ec2bb35e8da66 SHA512 d36fda28e733fbf29a53c0384da86abf56373f4471797aaa030dc3d63a2f4682dddb0a5fd9a54ae74ac20c76e8acc5244781d8688ae03f8e930e56bcbe896fb0
|
||||
DIST cri-tools-1.24.2.tar.gz 5968560 BLAKE2B 8dce8d16d5218aa73705b4a49b31391eaa25b21deb97f3dfe553f43d7371adf58206d9198f3e22e1c9cbcb7f41b832b0600b324d7c0f943ef313dc89900da46d SHA512 9b5907b37bb5f00295eff4fa4207ae55d930feae7e0f48fa130c7ecc936bcd259a11d59ed240684a3e12c8bcee40f2c67d7f4af52c2a76df3d7bf82e5e388a75
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
||||
SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-lang/go"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_compile() {
|
||||
emake VERSION="${PV}"
|
||||
./build/bin/crictl completion bash > "crictl.bash" || die
|
||||
./build/bin/crictl completion zsh > "crictl.zsh" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ./build/bin/crictl
|
||||
|
||||
newbashcomp crictl.bash crictl
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins crictl.zsh _crictl
|
||||
|
||||
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST eid-mw-5.0.28.tar.gz 13615312 BLAKE2B 1dbc39267688ad322059009ee0aecdd52e7133d3029285255d019819075249755153b7bf10acd775cee7fef86603de4440ff4e47338a28ff9a1ddfce79ff7adc SHA512 05705180f69cb68617660a793baf314486407557f40a223e474047e2f7f9ca8e125feb60f6b0cd47cba6e84653cfe02cdbf48c7169fe78b39b08ec621e3a7898
|
||||
DIST eid-mw-5.1.4.tar.gz 13646645 BLAKE2B 3d1ede2078e4293a082bbdc19b942f4aa5a71cf5b852edb68a18cfa78f2d5b53a609b1190bc9b81dc87938de4619e99c9d4b19b4980e62631910e30683bf983b SHA512 903ca2dd7566e760badfb9fb1ea40e7cada42173d7d8f3795c1df16643f082c1cb8dd1ee3cd9e031b6306ca2dd2118df179f547a6b1f5f1a7ba05a45f247cc1d
|
||||
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools desktop gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||
HOMEPAGE="https://eid.belgium.be"
|
||||
SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+dialogs +gtk p11-kit"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.2.9
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[jpeg]
|
||||
x11-libs/gtk+:3
|
||||
dev-libs/libxml2
|
||||
net-misc/curl[ssl]
|
||||
net-libs/libproxy
|
||||
>=app-crypt/pinentry-1.1.0-r4[gtk]
|
||||
)
|
||||
p11-kit? ( app-crypt/p11-kit )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="dialogs? ( gtk )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Buggy internal versioning when autoreconf a tarball release.
|
||||
# Weird numbering is required otherwise we get a seg fault in
|
||||
# about-eid-mw program.
|
||||
echo "${PV}-v${PV}" > .version
|
||||
|
||||
# xpi module : we don't want it anymore
|
||||
sed -i -e '/SUBDIRS/ s:plugins_tools/xpi ::' Makefile.am || die
|
||||
sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die
|
||||
|
||||
# hardcoded lsb_info
|
||||
sed -i \
|
||||
-e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
|
||||
-e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
|
||||
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
|
||||
plugins_tools/aboutmw/gtk/about-main.c || die
|
||||
|
||||
# Fix libdir for pkcs11_manifestdir
|
||||
sed -i \
|
||||
-e "/pkcs11_manifestdir/ s:prefix)/lib:libdir):" \
|
||||
cardcomm/pkcs11/src/Makefile.am || die
|
||||
|
||||
# See bug #732994
|
||||
sed -i \
|
||||
-e '/LDFLAGS="/ s:$CPPFLAGS:$LDFLAGS:' \
|
||||
configure.ac || die
|
||||
|
||||
# See bug #751472
|
||||
eapply "${FILESDIR}/use-printf-in-Makefile.patch"
|
||||
|
||||
# See bug #811270 (remove uml build)
|
||||
sed -i \
|
||||
-e 's:cardlayer/uml::' \
|
||||
cardcomm/pkcs11/src/Makefile.am || die
|
||||
sed -i \
|
||||
-e 's:uml::' \
|
||||
plugins_tools/eid-viewer/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable dialogs) \
|
||||
$(use_enable p11-kit p11kit) \
|
||||
$(use_with gtk gtkvers 'detect') \
|
||||
--with-gnu-ld \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -r "${ED}"/usr/$(get_libdir)/*.la || die
|
||||
if use gtk; then
|
||||
domenu plugins_tools/eid-viewer/eid-viewer.desktop
|
||||
doicon plugins_tools/eid-viewer/gtk/eid-viewer.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gtk; then
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
local peimpl=$(eselect --brief --colour=no pinentry show)
|
||||
case "${peimpl}" in
|
||||
*gnome*|*qt*) ;;
|
||||
*) ewarn "The pinentry front-end currently selected is not supported by eid-mw."
|
||||
ewarn "You may be prompted for your pin code in an inaccessible shell!!"
|
||||
ewarn "Please select pinentry-gnome3 as default pinentry provider:"
|
||||
ewarn " # eselect pinentry set pinentry-gnome3"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gtk; then
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
@ -0,0 +1,127 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
|
||||
|
||||
inherit distutils-r1 libtool flag-o-matic qmake-utils toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
|
||||
SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2
|
||||
verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig )"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355
|
||||
# Use e.g. app-portage/iwdevtools integration with dev-libs/libabigail's abidiff.
|
||||
# Subslot: SONAME of each: <libgpgme.libgpgmepp.libqgpgme>
|
||||
SLOT="1/11.6.15"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="common-lisp static-libs +cxx python qt5 test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Note: On each bump, update dep bounds on each version from configure.ac!
|
||||
RDEPEND=">=app-crypt/gnupg-2
|
||||
>=dev-libs/libassuan-2.5.3:=
|
||||
>=dev-libs/libgpg-error-1.36:=
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
qt5? ( dev-qt/qtcore:5 )"
|
||||
#doc? ( app-doc/doxygen[dot] )
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
qt5? ( dev-qt/qttest:5 )
|
||||
)"
|
||||
BDEPEND="python? ( dev-lang/swig )
|
||||
verify-sig? ( sec-keys/openpgp-keys-gnupg )"
|
||||
|
||||
REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
do_python() {
|
||||
if use python; then
|
||||
pushd "lang/python" > /dev/null || die
|
||||
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_${EBUILD_PHASE}
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
elibtoolize
|
||||
|
||||
# bug #697456
|
||||
addpredict /run/user/$(id -u)/gnupg
|
||||
|
||||
local MAX_WORKDIR=66
|
||||
if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
|
||||
eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!"
|
||||
die "Could not run tests as requested with too-long WORKDIR."
|
||||
fi
|
||||
|
||||
# Make best effort to allow longer PORTAGE_TMPDIR
|
||||
# as usock limitation fails build/tests
|
||||
ln -s "${P}" "${WORKDIR}/b" || die
|
||||
S="${WORKDIR}/b"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local languages=()
|
||||
|
||||
use common-lisp && languages+=( "cl" )
|
||||
use cxx && languages+=( "cpp" )
|
||||
if use qt5; then
|
||||
languages+=( "qt" )
|
||||
#use doc ||
|
||||
export DOXYGEN=true
|
||||
export MOC="$(qt5_get_bindir)/moc"
|
||||
fi
|
||||
|
||||
# bug #847955
|
||||
append-lfs-flags
|
||||
|
||||
# bug #811933 for libassuan prefix
|
||||
econf \
|
||||
$(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test") \
|
||||
--enable-languages="${languages[*]}" \
|
||||
--with-libassuan-prefix="${ESYSROOT}"/usr \
|
||||
$(use_enable static-libs static)
|
||||
|
||||
use python && emake -C lang/python prepare
|
||||
|
||||
do_python
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
do_python
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
test_python() {
|
||||
emake -C lang/python/tests check \
|
||||
PYTHON=${EPYTHON} \
|
||||
PYTHONS=${EPYTHON} \
|
||||
TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
|
||||
}
|
||||
python_foreach_impl test_python
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
do_python
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
# Backward compatibility for gentoo
|
||||
# (in the past, we had slots)
|
||||
dodir /usr/include/gpgme
|
||||
dosym ../gpgme.h /usr/include/gpgme/gpgme.h
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST krb5-1.19.2.tar.gz 8741053 BLAKE2B 963722721201e75381c91a2af6e982f569a5b1602beb2d1ded83d35f6f914235a6ed91e5d54f56c97e94921a32ed27c49aded258327966ee13d39485208c38d8 SHA512 b90d6ed0e1e8a87eb5cb2c36d88b823a6a6caabf85e5d419adb8a930f7eea09a5f8491464e7e454cca7ba88be09d19415962fe0036ad2e31fc584f9fc0bbd470
|
||||
DIST krb5-1.19.3.tar.gz 8741343 BLAKE2B 79e68237ee82affa85299060c509e303453c0fab965adc6b9ed305ab64a1f73bd51e65df1b3faadc60815cd506ffefaeed535765ca060d393a9141812f85b48a SHA512 18235440d6f7d8a72c5d7ca5cd8c6465e8adf091d85c483225c7b00d64b4688c1c7924cb800c2fc17e590b2709f1a9de48e6ec79f6debd11dcb7d6fa16c6f351
|
||||
DIST krb5-1.20.tar.gz 8660756 BLAKE2B fdaaab6c16dbe073c4308f312e321536b582b75fad10e5450be66b6b828825c8c775e56f5287d4a7df819d20889e5c0d9cc1d179d861c9caba185332c0db7387 SHA512 9aed84a971a4d74188468870260087ec7c3a614cceb5fe32ad7da1cb8db3d66e00df801c9f900f0131ac56eb828674b8be93df474c2d13b892b70c7977388604
|
||||
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit autotools python-any-r1 systemd toolchain-funcs multilib-minimal
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(ver_cut 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
!!app-crypt/heimdal
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
)
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] )
|
||||
pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/yacc
|
||||
cpu_flags_x86_aes? (
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/yasm )
|
||||
)
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
"${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
|
||||
"${FILESDIR}/${PN}_dont_create_rundir.patch"
|
||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Make sure we always use the system copies.
|
||||
rm -rf util/{et,ss,verto}
|
||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
AR="$(tc-getAR)" \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
$(use_with lmdb) \
|
||||
$(use_with keyutils) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST veracrypt-1.24_p8.tar.gz 25116825 BLAKE2B fccab3e7de7637f6f3a7f448a9dcc6671198ea6155e8f6741844c5bd844819c639f968e4cc6e13c274c90f2ba8e540a020b98cb12617a109d5911ce8dd9cb991 SHA512 16139d055e2b2dda6c38ecf156cf5d15cd4788253fe0c85e42050eafd8afbd5c5908e590e53a7b5220767ebbb3b9e81d0049a910b322e42f1c29d2c131bd29d0
|
||||
DIST veracrypt-1.25.7.tar.gz 26108318 BLAKE2B e3974e6abec3ff462239b6c7a775ebfde4138dde295863c8788de88b593bc4bcd69db66eb81dd08333055b0efed2cccccf24d5f038099f6fc25b8f550cb90347 SHA512 955d5354d7401625196f1bd43d5e40695f4a2ebc7742cdfe0850d3b974a02126446346fe7e3174e16a38de39b507fc436b45b5e43d6fb714f37a4b8b394843dd
|
||||
DIST veracrypt-1.25.9.tar.gz 26200897 BLAKE2B e48f060343f875a0660040dde35fa826ca87c3659d97a039c2b84193276075b4d3596119bde6727e51eead0c876c91a5a1a3ea77717e74061d5d20a4ea1a6fed SHA512 e83bf7ca52d3893347dd06295db0534931f6f388fc6b0f26dc80ffef77f13918bf9558ab8ac2e6225945415f3291646d7c1c8de382dbe8e468ab1e927251982c
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
inherit desktop flag-o-matic linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src"
|
||||
|
||||
# The modules not linked against in Linux include (but not limited to):
|
||||
# libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2
|
||||
# Tested by actually removing the source files and performing a build
|
||||
# For this reason, we don't have to worry about their licenses
|
||||
LICENSE="Apache-2.0 BSD truecrypt-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
RDEPEND="
|
||||
sys-fs/lvm2
|
||||
sys-fs/fuse:0
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]
|
||||
app-admin/sudo
|
||||
dev-libs/pkcs11-helper"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
asm? ( dev-lang/yasm )"
|
||||
|
||||
CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
||||
|
||||
src_configure() {
|
||||
setup-wxwidgets
|
||||
|
||||
# https://bugs.gentoo.org/786741
|
||||
# std::byte clashes with src/Common/Tcdefs.h typedef
|
||||
append-cxxflags -std=c++14
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
NOSTRIP=1
|
||||
NOTEST=1
|
||||
VERBOSE=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
TC_EXTRA_CFLAGS="${CFLAGS}"
|
||||
TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
||||
WX_CONFIG="${WX_CONFIG}"
|
||||
$(usex X "" "NOGUI=1")
|
||||
$(usex asm "" "NOASM=1")
|
||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./Main/veracrypt --text --test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( Readme.txt )
|
||||
|
||||
dobin Main/veracrypt
|
||||
if use doc; then
|
||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
||||
docompress -x /usr/share/doc/${PF}/EFI-DCS
|
||||
HTML_DOCS=( "${S}"/../doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}"/veracrypt.init veracrypt
|
||||
|
||||
if use X; then
|
||||
local s
|
||||
for s in 16 48 128 256; do
|
||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
||||
done
|
||||
make_desktop_entry veracrypt "VeraCrypt" veracrypt "Utility;Security"
|
||||
fi
|
||||
|
||||
pax-mark -m "${ED}"/usr/bin/veracrypt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST halibut-1.2.tar.gz 991975 BLAKE2B e5751d2f90968240825e3ddadbc070de856f6a340e832bcf0977fb8d31f7b7c8eefa776f3bba4df58641d22cca7e9ac562eef236069e1d9a8e9cdb41324a7376 SHA512 b04cc5c52f2d7cd2bb9a36a1aa896c6a4fd11bcfc5fad3d9c74576bf2576ce237cd7ac3ceeff3bd10dfd5a229614d06d23323509d3a83ff74b4a1965e1d726fc
|
||||
DIST halibut-1.3.tar.gz 995916 BLAKE2B 78a4409ff1f787134f7cd4eb307e77c81865a2591b55b359b0ef7a45b303cd361f85d344972714dfe8b3e823345de715d99ea542bf3cdf63d6d92548d027c27b SHA512 872f0cdb398002843d7e1b19f6eaf80ff848ce5ffee8653fa88da63c57e89efcbfaadc09b476280d25d38136f7d8af286fa98b9b36598515e0eb50f1945ee34a
|
||||
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="yet another free document preparation system"
|
||||
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/halibut/"
|
||||
SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/${PN}/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
Binary file not shown.
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
MY_P=${P/_/-}
|
||||
inherit autotools python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="GTK HTML editor for the experienced web designer or programmer"
|
||||
HOMEPAGE="https://bluefish.openoffice.nl/"
|
||||
SRC_URI="https://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="gucharmap nls python spell"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
x11-libs/gtk+:3
|
||||
gucharmap? ( gnome-extra/gucharmap:2.90 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
spell? ( app-text/enchant:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-libs/pango"
|
||||
BDEPEND=">=dev-libs/glib-2.24:2
|
||||
dev-libs/libxml2:2
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# there actually is just some broken manpage checkup -> not bother
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# eautoreconf seems to no longer kill translation files.
|
||||
eautoreconf
|
||||
sed -i 's:gzip -n $< -c:gzip -n -c $<:' data/bflib/Makefile.* || die "Cannot fix makefile"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CONFIG_SHELL="${BROOT}/bin/bash" econf \
|
||||
--disable-update-databases \
|
||||
--disable-xml-catalog-update \
|
||||
--with-freedesktop_org-appdata="${EPREFIX}"/usr/share/metainfo \
|
||||
--without-gtk2 \
|
||||
$(use_with gucharmap charmap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable spell spell-check) \
|
||||
$(use_enable python)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
einfo "Adding XML catalog entries..."
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout \
|
||||
--add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \
|
||||
--add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \
|
||||
--add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \
|
||||
"${EROOT}"/etc/xml/catalog \
|
||||
|| ewarn "Failed to add XML catalog entries."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
|
||||
einfo "Removing XML catalog entries..."
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout \
|
||||
--del 'Bluefish/DTD/Bflang' \
|
||||
--del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \
|
||||
--del 'http://bluefish.openoffice.nl/DTD' \
|
||||
"${EROOT}"/etc/xml/catalog \
|
||||
|| ewarn "Failed to remove XML catalog entries."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gedit-plugins-41.0.tar.xz 948364 BLAKE2B d5efe779e1f0f70e23a7dadb01b0e5b22c47d3326df6530559698ace274e2a4a3647d34640e89bb250d76bee1f6369d5728316730ce9cf89f3a7db627b3c4d49 SHA512 e0389e8be68406fdcd3c9537b2d2dad0faf19d9a49804a7b5d9cf8e1006254906605dd0b14e2fa1eb7a22d6533d9b55d7f5593fe01a5b412df6361c8b9089f34
|
||||
DIST gedit-plugins-42.0.tar.xz 949068 BLAKE2B d9076d7ef420177b5d859bdee651b4304da183430d651510ea4ab50bc7286d23f536c1be47e6a6f425bdf90dcb31f015fa315e9ed530d54eb235832d92c4f438 SHA512 b7b6b6c71538ca767e20e4bdde0a5530657bf3d444fee5e1b2918b768188f224acfd2a44c4b0b6203ee3bde9ec47d2bacb0e25426cf49e500120461d44ae6b9a
|
||||
DIST gedit-plugins-42.1.tar.xz 946368 BLAKE2B 6ee8c42d5d5214cdb9095bce71623f9486c973ade69aad91eed4ae13a1ad5ab59bcc43d30078bdb9db46527160f8bc6b183a56c255d10f8027c4ff2e603fffa6 SHA512 2e36919f7b7232e4471e2c1277c33e2f79ff513b76574cf765e451064979587c170ae003c9517d33f3b9cfce916cb7f25f9e3d0a4f6a6b203086fcfff9f265aa
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
VALA_MIN_API_VERSION="0.28"
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="charmap git +python terminal vala"
|
||||
REQUIRED_USE="
|
||||
charmap? ( python )
|
||||
git? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
terminal? ( python )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=app-editors/gedit-40.0
|
||||
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=x11-libs/gtk+-3.9:3
|
||||
>=x11-libs/gtksourceview-4.0.2:4
|
||||
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
')
|
||||
>=x11-libs/gtk+-3.9:3[introspection]
|
||||
>=x11-libs/gtksourceview-4.0.2:4[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
)
|
||||
charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
|
||||
git? ( >=dev-libs/libgit2-glib-0.0.6[python] )
|
||||
terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
|
||||
" # vte-0.52+ for feed_child API compatibility
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dplugin_bookmarks=true
|
||||
$(meson_use python plugin_bracketcompletion)
|
||||
$(meson_use charmap plugin_charmap)
|
||||
$(meson_use python plugin_codecomment)
|
||||
$(meson_use python plugin_colorpicker)
|
||||
$(meson_use python plugin_colorschemer)
|
||||
$(meson_use python plugin_commander)
|
||||
-Dplugin_drawspaces=true
|
||||
$(meson_use vala plugin_findinfiles)
|
||||
$(meson_use git plugin_git)
|
||||
$(meson_use python plugin_joinlines)
|
||||
$(meson_use python plugin_multiedit)
|
||||
$(meson_use python plugin_sessionsaver)
|
||||
$(meson_use python plugin_smartspaces)
|
||||
$(meson_use python plugin_synctex)
|
||||
$(meson_use terminal plugin_terminal)
|
||||
$(meson_use python plugin_textsize)
|
||||
$(meson_use python plugin_translate)
|
||||
-Dplugin_wordcompletion=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gedit-41.0.tar.xz 6889320 BLAKE2B c4d2b923eab18cd27ffc0ff99882953e952c0956135fa7f6401ef01dd5cd0e1cf9a5a86c5751db9206fd88200c70434710881cd5b934a3620f14130a5066f18f SHA512 97c51ef24e53d6bd4b29350a8749eacbfcfb90b7c66c9f6d462101c53966282452f6a02043628e157e8179cf6260f103b41c61d7ba2a31da08b0687f8031974e
|
||||
DIST gedit-42.0.tar.xz 6923352 BLAKE2B 751c4cae8ad0c146f2607f259ab72f4723c433934f75356bf71e44daadc82d4403e19228b52ec2f98c3fa7bc61274a6ed648ef8af143adb7c89213d39db64473 SHA512 d0f3c05e0a6f96634cc2deb24d95d906e5bb9d380b248a810560b60ac8590831fb25672a41e143fe7bba3882a08ec7ec85208f896751a7b66cabe4ade00cdaca
|
||||
DIST gedit-42.1.tar.xz 6916780 BLAKE2B a4350a62811ee689f9a7f70a4b166aa82185a17ab6c6f0f6264404756a2e7f2b93e81b2cf88beaf4141527720437f9e6ee9f7584e65e63fe242975e346d26586 SHA512 b7b1dd4ab31412a2bdeb6298065d1e3f52a9c813e26e943aea606b30e3de9b7690cc8ba478e2d0e49fb51bed57dd3f7c441184964270629d51dc1f6d132045a6
|
||||
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
VALA_MIN_API_VERSION="0.26"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="A text editor for the GNOME desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit https://gitlab.gnome.org/GNOME/gedit"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+python gtk-doc spell"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.64:2
|
||||
>=x11-libs/gtk+-3.22.0:3[introspection]
|
||||
>=x11-libs/gtksourceview-4.0.2:4[introspection,vala]
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=dev-libs/libxml2-2.5.0:2
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
|
||||
spell? ( >=app-text/gspell-0.2.5:0= )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-themes/adwaita-icon-theme
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gnome-base/gvfs
|
||||
"
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1 )
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
$(meson_use python)
|
||||
$(meson_feature spell)
|
||||
-Duser_documentation=true
|
||||
-Denable-gvfs-metadata=yes
|
||||
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize
|
||||
python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST assess-0.6.tar.gz 20771 BLAKE2B 29e8f84c20575314271d9a08ed3ac93f28f1c1b5c2df2ac35e397226f4eea033210ff9b96c90a282a44c60e301f5abc38be88efc74c21a2a7fdc29340d6d43e5 SHA512 ff50731867646f07b8c6f3edd1123695d008fa5265ab8b3543cbf32a54a4a0415a91304067e0dacf53890850b56377594802c9763601616bd828316f7a8cef69
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Test support functions for Emacs"
|
||||
HOMEPAGE="https://github.com/phillord/assess/"
|
||||
SRC_URI="https://github.com/phillord/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-emacs/m-buffer"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( app-emacs/load-relative )
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
# Remove a test helper accessing the network, luckily unnecessary
|
||||
ELISP_REMOVE="test/local-sandbox.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} -L . -L test \
|
||||
-l assess-discover -f assess-discover-run-and-exit-batch || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Assess provides additional support for testing Emacs packages. It provides:
|
||||
a set of predicates for comparing strings, buffers and file contents,
|
||||
explainer functions for all predicates giving useful output, macros for
|
||||
creating many temporary buffers at once, and for restoring the buffer list,
|
||||
methods for testing indentation, by comparison or "roundtripping", methods
|
||||
for testing fontification.
|
||||
Assess aims to be a stateless as possible, leaving Emacs unchanged whether
|
||||
the tests succeed or fail, with respect to buffers, open files and so on;
|
||||
this helps to keep tests independent from each other.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/phillord/assess/issues/</bugs-to>
|
||||
<remote-id type="github">phillord/assess</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST cask-mode-0.1.tar.gz 42693 BLAKE2B 07c3cd998aee36d275c0d3d5dfdb190a1ad59aaa72695272e7dc33e410413de6723003ae28f30e91f96f0ea95142e97cf7fda28a1986fbd509bd281de91693c1 SHA512 4b9861e9fb5a69db476a32b3cc2cfec8e9418d618cb2e348f1476d6aefa22615c539dd3666914be5c42aed1370d5835c7b78775d3bb4578df845b16dbda91727
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24.3
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Major mode for editing Cask files for Emacs"
|
||||
HOMEPAGE="https://github.com/Wilfred/cask-mode/"
|
||||
SRC_URI="https://github.com/Wilfred/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-emacs/assess
|
||||
app-emacs/ert-runner
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
# Silence a broken test
|
||||
sed "s|ert-deftest cask-mode-highlight-comment|lambda|" \
|
||||
-i test/${PN}-test.el || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ert-runner -L . -L test --reporter ert+duration --script test || die
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'cask-mode "cask-mode"
|
||||
"Major mode for editing Cask files." t)
|
||||
(add-to-list 'auto-mode-alist '("/Cask\\'" . cask-mode))
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
cask-mode is a major mode for editing Cask files. It provides syntax
|
||||
highlighting, comment toggling and indentation.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/Wilfred/cask-mode/issues/</bugs-to>
|
||||
<remote-id type="github">Wilfred/cask-mode</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST compat-28.1.1.1.tar.gz 71771 BLAKE2B 48feaada7e32f07b425048f8b993b2936450dbed8ba20e0f6319d4b098bcc8007323416bf300221a00fb13ff152698c2beaeea6e743d46b1d32b9c0a016a895c SHA512 e733836934671cb373f70a92a20084622e160f2731c5e5c6ce9df348820261db399da0e78d6b95293d9b6992469e96298e9fe83e331a4caaa377fc6ce61f7040
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Compatibility libraries for Emacs"
|
||||
HOMEPAGE="https://git.sr.ht/~pkal/compat"
|
||||
SRC_URI="https://git.sr.ht/~pkal/compat/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
ELISP_TEXINFO="compat.texi"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm Makefile compat-tests.el || die
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST consult-0.15.tar.gz 90201 BLAKE2B 1652d5a2c1f559c67f6899fe26b221bfdf0599a20af7309e2dc57a4701a795c8decd2f878056297204611d045829ee1aa24ccb665e36c15f6a2a3a14eb81f382 SHA512 2b8926638c13633e2ccf48d63a3a76245d075694f046e20575e8c9bcce983a3610ef648374b01dbff4dbf97d116830040c8e76d9d75d05ca23278253e68138e5
|
||||
DIST consult-0.18.tar.gz 93440 BLAKE2B cc67e8cbc49846964114a8e01a10d41454fde2e4a2e98e3af315092fab5631ea1418f649eb92ca798672c0ea153dd2862b555aee6530a1baa84ac4050df7a3c6 SHA512 74005c211ba7af0cf3c0a06fdec8d85da111ea84edb4eef2c60d231ae6eb87905298ee8bbbcdac8bf8b13a21ed9070422383b93433e422d6ad6b743c8bc80938
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=27
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Consulting complete-read"
|
||||
HOMEPAGE="https://github.com/minad/consult"
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=app-emacs/compat-28.1"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
@ -1 +0,0 @@
|
||||
DIST jdee-2.4.1.tar.xz 2742232 BLAKE2B f022cb55583acc7846bc04b59e843050947819c6bb2494bbe08ac3895c15d914df28d3c3a50cfd945efa7ed507cda9906a42866c85463907544095377cc1bf07 SHA512 5ce5f0f84b2502e9af808f33210511e8b7682902b1f342d678fe42dd8f9f3690b90ef7bb22583550eb769818782c50f545d6baf47b52bc7f4502fab411ab5359
|
@ -1,10 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(require 'jde-autoload)
|
||||
|
||||
(setq jde-java-directory "/usr/share/jde")
|
||||
(setq jde-bsh-jar-file "@BSH_JAR@")
|
||||
(setq jde-checkstyle-jar-file "@CHECKSTYLE_JAR@")
|
||||
(setq jde-checkstyle-style "/usr/share/checkstyle/checks/sun_checks.xml")
|
||||
(setq jde-html-directory "/usr/share/doc/@PF@/html")
|
||||
(setq bsh-html-directory "/usr/share/doc/@PF@/html")
|
||||
(setq jde-check-version-flag nil)
|
@ -1,69 +0,0 @@
|
||||
Initialise classpath for beanshell and checkstyle using java-config.
|
||||
Gentoo specific patch.
|
||||
|
||||
--- jde-orig/lisp/beanshell.el
|
||||
+++ jde/lisp/beanshell.el
|
||||
@@ -809,6 +809,14 @@
|
||||
"BeanShell intended to be used independently of any other
|
||||
Emacs package.")
|
||||
|
||||
+(defun bsh-get-gentoo-classpath ()
|
||||
+ (or bsh-classpath
|
||||
+ (with-temp-buffer
|
||||
+ (call-process "java-config" nil t nil "-d" "-p" "bsh")
|
||||
+ (skip-chars-backward "\n")
|
||||
+ (setq bsh-classpath
|
||||
+ (split-string (buffer-substring (point-min) (point)) ":+")))))
|
||||
+
|
||||
(defmethod initialize-instance ((this bsh-standalone-bsh) &rest fields)
|
||||
"Constructor for the standard bsh BeanShell instance."
|
||||
(call-next-method)
|
||||
@@ -845,7 +853,7 @@
|
||||
bsh-vm)
|
||||
(executable-find (if (eq system-type 'windows-nt) "javaw" "java"))))
|
||||
|
||||
- (oset this cp bsh-classpath)
|
||||
+ (oset this cp (bsh-get-gentoo-classpath))
|
||||
|
||||
(oset this startup-dir bsh-startup-directory))
|
||||
|
||||
--- jde-orig/lisp/jde-bsh.el
|
||||
+++ jde/lisp/jde-bsh.el
|
||||
@@ -187,7 +187,7 @@
|
||||
(jde-get-tools-jar)
|
||||
(if ant-home (expand-file-name "lib" ant-home)))
|
||||
(jde-pi-get-bsh-classpath)
|
||||
- bsh-classpath
|
||||
+ (bsh-get-gentoo-classpath)
|
||||
(jde-expand-classpath (jde-get-global-classpath)))))))
|
||||
|
||||
;; Create the BeanShell wrapper object.
|
||||
--- jde-orig/lisp/jde-checkstyle.el
|
||||
+++ jde/lisp/jde-checkstyle.el
|
||||
@@ -305,6 +305,14 @@
|
||||
(format "-D%s=%s" (car prop) (cdr prop)))
|
||||
jde-checkstyle-expanded-properties))
|
||||
|
||||
+(defun jde-checkstyle-get-gentoo-classpath ()
|
||||
+ (or jde-checkstyle-classpath
|
||||
+ (with-temp-buffer
|
||||
+ (call-process "java-config" nil t nil "-d" "-p" "checkstyle")
|
||||
+ (skip-chars-backward "\n")
|
||||
+ (setq jde-checkstyle-classpath
|
||||
+ (split-string (buffer-substring (point-min) (point)) ":+")))))
|
||||
+
|
||||
(defmethod jde-checkstyle-exec ((this jde-checkstyle-checker))
|
||||
|
||||
(jde-checkstyle-create-checker-buffer this)
|
||||
@@ -327,9 +335,8 @@
|
||||
(jde-checkstyle-get-property-args this))
|
||||
(oref this :interactive-args)
|
||||
(list "-classpath"
|
||||
- (if jde-checkstyle-classpath
|
||||
- (jde-build-classpath jde-checkstyle-classpath)
|
||||
- (jde-normalize-path jde-checkstyle-jar-file)))
|
||||
+ (jde-build-classpath
|
||||
+ (jde-checkstyle-get-gentoo-classpath)))
|
||||
(list jde-checkstyle-class)
|
||||
(list "-c"
|
||||
(if jde-checkstyle-style
|
@ -1,218 +0,0 @@
|
||||
Make paths of directories and jar files configurable.
|
||||
|
||||
Part of this patch was taken from Debian and heavily modified, see:
|
||||
http://patch-tracking.debian.net/patch/series/view/jde/2.3.5.1-5/0005-Set-the-location-of-needed-files-for-beanshell.el-an.patch
|
||||
|
||||
--- jde-orig/lisp/beanshell.el
|
||||
+++ jde/lisp/beanshell.el
|
||||
@@ -891,14 +891,21 @@
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.bsh\\'" . bsh-script-mode))
|
||||
|
||||
+(defcustom bsh-html-directory
|
||||
+ (let ((jde-dir (jde-find-jde-doc-directory)))
|
||||
+ (if jde-dir
|
||||
+ (expand-file-name "doc/html/bsh-ug" jde-dir)))
|
||||
+ "Directory of the beanshell HTML documentation."
|
||||
+ :group 'bsh
|
||||
+ :type 'directory)
|
||||
+
|
||||
;;;###autoload
|
||||
(defun bsh-script-help ()
|
||||
"Display BeanShell User's Guide."
|
||||
(interactive)
|
||||
- (let* ((jde-dir (jde-find-jde-doc-directory))
|
||||
- (bsh-help
|
||||
- (if jde-dir
|
||||
- (expand-file-name "doc/html/bsh-ug/bsh-ug.html" jde-dir))))
|
||||
+ (let ((bsh-help
|
||||
+ (if bsh-html-directory
|
||||
+ (expand-file-name "bsh-ug.html" bsh-html-directory))))
|
||||
(if (and
|
||||
bsh-help
|
||||
(file-exists-p bsh-help))
|
||||
--- jde-orig/lisp/jde-bsh.el
|
||||
+++ jde/lisp/jde-bsh.el
|
||||
@@ -91,22 +91,59 @@
|
||||
"The single instance of the JDEE's BeanShell."))
|
||||
"Class of JDEE BeanShells. There is only one per Emacs session.")
|
||||
|
||||
+(defcustom jde-java-directory
|
||||
+ (expand-file-name "java" (jde-find-jde-data-directory))
|
||||
+ "Top-level directory of JDE Java files."
|
||||
+ :group 'jde-project
|
||||
+ :type 'directory)
|
||||
+
|
||||
+(defcustom jde-bsh-commands-directory
|
||||
+ (expand-file-name "bsh-commands" jde-java-directory)
|
||||
+ "Directory of beanshell commands."
|
||||
+ :group 'bsh
|
||||
+ :type 'directory)
|
||||
+
|
||||
+(defcustom jde-classes-directory
|
||||
+ (expand-file-name "classes" jde-java-directory)
|
||||
+ "Directory of JDE classes."
|
||||
+ :group 'jde-project
|
||||
+ :type 'directory)
|
||||
+
|
||||
+(defcustom jde-checkstyle-jar-file
|
||||
+ (expand-file-name "lib/checkstyle-all.jar" jde-java-directory)
|
||||
+ "Path of the checkstyle-jar file."
|
||||
+ :group 'jde-project
|
||||
+ :type 'file)
|
||||
+
|
||||
+(defcustom jde-regexp-jar-file
|
||||
+ (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory)
|
||||
+ "Path of the regexp-jar file."
|
||||
+ :group 'jde-project
|
||||
+ :type 'file)
|
||||
+
|
||||
+(defcustom jde-jde-jar-file
|
||||
+ (expand-file-name "lib/jde.jar" jde-java-directory)
|
||||
+ "Path of the jde-jar file."
|
||||
+ :group 'jde-project
|
||||
+ :type 'file)
|
||||
+
|
||||
+(defcustom jde-bsh-jar-file
|
||||
+ (expand-file-name "lib/bsh.jar" jde-java-directory)
|
||||
+ "Path of the bsh-jar file."
|
||||
+ :group 'jde-project
|
||||
+ :type 'file)
|
||||
+
|
||||
(defmethod initialize-instance ((this jde-bsh) &rest fields)
|
||||
"Constructor for the JDEE BeanShell instance."
|
||||
(call-next-method)
|
||||
- (let* ((jde-java-directory
|
||||
- (concat
|
||||
- (jde-find-jde-data-directory)
|
||||
- "java/")))
|
||||
-
|
||||
- (oset this bsh-cmd-dir (expand-file-name "bsh-commands" jde-java-directory))
|
||||
- (oset this checkstyle-jar (expand-file-name "lib/checkstyle-all.jar" jde-java-directory))
|
||||
- (oset this regexp-jar (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory))
|
||||
- (oset this jde-classes-dir (expand-file-name "classes" jde-java-directory))
|
||||
- (oset this jde-jar (expand-file-name "lib/jde.jar" jde-java-directory))
|
||||
- (oset this jar (expand-file-name "lib/bsh.jar" jde-java-directory))
|
||||
- (oset this separate-error-buffer jde-bsh-separate-buffer)
|
||||
- (oset-default 'jde-bsh the-bsh this)))
|
||||
+ (oset this bsh-cmd-dir jde-bsh-commands-directory)
|
||||
+ (oset this checkstyle-jar jde-checkstyle-jar-file)
|
||||
+ (oset this regexp-jar jde-regexp-jar-file)
|
||||
+ (oset this jde-classes-dir jde-classes-directory)
|
||||
+ (oset this jde-jar jde-jde-jar-file)
|
||||
+ (oset this jar jde-bsh-jar-file)
|
||||
+ (oset this separate-error-buffer jde-bsh-separate-buffer)
|
||||
+ (oset-default 'jde-bsh the-bsh this))
|
||||
|
||||
(defmethod bsh-create-buffer ((this jde-bsh))
|
||||
"Creates the JDEE's beanshell buffer."
|
||||
@@ -150,6 +187,7 @@
|
||||
(jde-get-tools-jar)
|
||||
(if ant-home (expand-file-name "lib" ant-home)))
|
||||
(jde-pi-get-bsh-classpath)
|
||||
+ bsh-classpath
|
||||
(jde-expand-classpath (jde-get-global-classpath)))))))
|
||||
|
||||
;; Create the BeanShell wrapper object.
|
||||
--- jde-orig/lisp/jde-bug.el
|
||||
+++ jde/lisp/jde-bug.el
|
||||
@@ -2438,10 +2438,10 @@
|
||||
(defun jde-bug-help ()
|
||||
"Displays the JDEbug User's Guide."
|
||||
(interactive)
|
||||
- (let* ((jde-dir (jde-find-jde-doc-directory))
|
||||
- (jdebug-help
|
||||
- (if jde-dir
|
||||
- (expand-file-name "doc/html/jdebug-ug/jdebug-ug.html" jde-dir))))
|
||||
+ (let ((jdebug-help
|
||||
+ (if jde-html-directory
|
||||
+ (expand-file-name "jdebug-ug/jdebug-ug.html"
|
||||
+ jde-html-directory))))
|
||||
(if (and
|
||||
jdebug-help
|
||||
(file-exists-p jdebug-help))
|
||||
--- jde-orig/lisp/jde-checkstyle.el
|
||||
+++ jde/lisp/jde-checkstyle.el
|
||||
@@ -322,10 +322,6 @@
|
||||
(vm-path (oref (jde-run-get-vm) :path))
|
||||
(source-file
|
||||
(concat (file-name-nondirectory buffer-file-name)))
|
||||
- (jde-java-directory
|
||||
- (concat
|
||||
- (jde-find-jde-data-directory)
|
||||
- "java/"))
|
||||
(args (append
|
||||
(unless jde-checkstyle-expanded-properties-file
|
||||
(jde-checkstyle-get-property-args this))
|
||||
@@ -333,13 +329,13 @@
|
||||
(list "-classpath"
|
||||
(if jde-checkstyle-classpath
|
||||
(jde-build-classpath jde-checkstyle-classpath)
|
||||
- (jde-normalize-path
|
||||
- (expand-file-name "lib/checkstyle-all.jar" jde-java-directory))))
|
||||
+ (jde-normalize-path jde-checkstyle-jar-file)))
|
||||
(list jde-checkstyle-class)
|
||||
(list "-c"
|
||||
(if jde-checkstyle-style
|
||||
(jde-normalize-path jde-checkstyle-style)
|
||||
- (concat (jde-find-jde-data-directory) "java/lib/sun_checks.xml")))
|
||||
+ (expand-file-name "lib/sun_checks.xml"
|
||||
+ jde-java-directory)))
|
||||
(if jde-checkstyle-expanded-properties-file
|
||||
(list "-p" (jde-normalize-path jde-checkstyle-expanded-properties-file)))
|
||||
(if jde-checkstyle-module-package-names-file
|
||||
--- jde-orig/lisp/jde-dbs.el
|
||||
+++ jde/lisp/jde-dbs.el
|
||||
@@ -907,9 +907,6 @@
|
||||
(jde-normalize-path 'jde-run-working-directory)
|
||||
source-directory))
|
||||
(vm (oref (jde-run-get-vm) :path))
|
||||
- (jde-java-directory
|
||||
- (expand-file-name "java"
|
||||
- (jde-find-jde-data-directory)))
|
||||
(vm-args
|
||||
(let (args)
|
||||
(setq args
|
||||
--- jde-orig/lisp/jde.el
|
||||
+++ jde/lisp/jde.el
|
||||
@@ -1722,14 +1722,19 @@
|
||||
jde.el."
|
||||
(jde-find-jde-data-directory))
|
||||
|
||||
+(defcustom jde-html-directory
|
||||
+ (expand-file-name "doc/html" (jde-find-jde-doc-directory))
|
||||
+ "Directory of the JDE HTML documentation."
|
||||
+ :group 'jde-project
|
||||
+ :type 'directory)
|
||||
+
|
||||
;;;###autoload
|
||||
(defun jde-show-help ()
|
||||
"Displays the JDE User's Guide in a browser."
|
||||
(interactive)
|
||||
- (let* ((jde-dir (jde-find-jde-doc-directory))
|
||||
- (jde-help
|
||||
- (if jde-dir
|
||||
- (expand-file-name "doc/html/jde-ug/jde-ug.html" jde-dir))))
|
||||
+ (let ((jde-help
|
||||
+ (if jde-html-directory
|
||||
+ (expand-file-name "jde-ug/jde-ug.html" jde-html-directory))))
|
||||
(if (and
|
||||
jde-help
|
||||
(file-exists-p jde-help))
|
||||
--- jde-orig/lisp/jde-jdb.el
|
||||
+++ jde/lisp/jde-jdb.el
|
||||
@@ -1459,10 +1459,10 @@
|
||||
|
||||
(defun jde-jdb-help ()
|
||||
(interactive)
|
||||
- (let* ((jde-dir (jde-find-jde-doc-directory))
|
||||
- (jdb-ug-path
|
||||
- (if jde-dir
|
||||
- (expand-file-name "doc/html/jdb-ug/jdb-ug-frame.html" jde-dir))))
|
||||
+ (let ((jdb-ug-path
|
||||
+ (if jde-html-directory
|
||||
+ (expand-file-name "jdb-ug/jdb-ug-frame.html"
|
||||
+ jde-html-directory))))
|
||||
(if (and
|
||||
jdb-ug-path
|
||||
(file-exists-p jdb-ug-path))
|
@ -1,53 +0,0 @@
|
||||
Move definition of jde-find-jde-doc-directory to jde-util.el.
|
||||
|
||||
--- jdee-orig/lisp/beanshell.el
|
||||
+++ jdee/lisp/beanshell.el
|
||||
@@ -82,7 +82,7 @@
|
||||
(eval-when-compile
|
||||
(require 'cl))
|
||||
|
||||
-(declare-function jde-find-jde-doc-directory "jde" nil)
|
||||
+(require 'jde-util)
|
||||
|
||||
(defgroup bsh nil
|
||||
"Customizations for the Emacs inteface to Pat Neimeyer's Java
|
||||
--- jdee-orig/lisp/jde-util.el
|
||||
+++ jdee/lisp/jde-util.el
|
||||
@@ -139,6 +139,17 @@
|
||||
(if dir dir (jde-root)))
|
||||
(jde-root))))
|
||||
|
||||
+(defun jde-find-jde-doc-directory ()
|
||||
+ "Return the path of the JDE documentation directory.
|
||||
+Returns nil if the directory cannot be found. At some
|
||||
+point, XEmacs will include the JDE. Versions of XEmacs
|
||||
+that include JDE will store the JDE doc in a data
|
||||
+directory called jde. On all other Emacs versions, the JDE
|
||||
+expects to find the documentation in a subdirectory
|
||||
+named doc of the directory that contains the file
|
||||
+jde.el."
|
||||
+ (jde-find-jde-data-directory))
|
||||
+
|
||||
(defun jde-temp-directory ()
|
||||
"Get the location used by the host system to store temporary files."
|
||||
(or (if (boundp 'temporary-file-directory) temporary-file-directory)
|
||||
--- jdee-orig/lisp/jde.el
|
||||
+++ jdee/lisp/jde.el
|
||||
@@ -1762,17 +1762,6 @@
|
||||
|
||||
|
||||
;; JDE help
|
||||
-(defun jde-find-jde-doc-directory ()
|
||||
- "Return the path of the JDE documentation directory.
|
||||
-Returns nil if the directory cannot be found. At some
|
||||
-point, XEmacs will include the JDE. Versions of XEmacs
|
||||
-that include JDE will store the JDE doc in a data
|
||||
-directory called jde. On all other Emacs versions, the JDE
|
||||
-expects to find the documentation in a subdirectory
|
||||
-named doc of the directory that contains the file
|
||||
-jde.el."
|
||||
- (jde-find-jde-data-directory))
|
||||
-
|
||||
(defcustom jde-html-directory
|
||||
(expand-file-name "doc/html" (jde-find-jde-doc-directory))
|
||||
"Directory of the JDE HTML documentation."
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 elisp
|
||||
|
||||
DESCRIPTION="Java Development Environment for Emacs"
|
||||
HOMEPAGE="http://jdee.sourceforge.net/"
|
||||
# snapshot of svn://svn.code.sf.net/p/jdee/code/branches/2.4.1 (rev 292)
|
||||
# (upstream's distfile misses build.xml)
|
||||
SRC_URI="mirror://gentoo/jdee-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.8:*
|
||||
dev-java/bsh:0
|
||||
dev-java/junit:0
|
||||
dev-util/checkstyle:0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-java/ant-contrib:0"
|
||||
|
||||
S="${WORKDIR}/jdee-${PV}"
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.0.1-fix-paths-gentoo.patch"
|
||||
"${FILESDIR}/${PN}-2.4.0.1-classpath-gentoo.patch"
|
||||
"${FILESDIR}/${PN}-2.4.1-doc-directory.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-2_pkg_setup
|
||||
elisp_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local bshjar csjar
|
||||
bshjar=$(java-pkg_getjar --build-only bsh bsh.jar) || die
|
||||
csjar=$(java-pkg_getjar --build-only checkstyle checkstyle.jar) || die
|
||||
sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \
|
||||
-e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE}" >"${SITEFILE}" || die
|
||||
|
||||
cd java/lib || die
|
||||
java-pkg_jar-from --build-only checkstyle checkstyle.jar checkstyle-all.jar
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from bsh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ANT_TASKS="ant-contrib" \
|
||||
eant bindist $(usex doc source-doc "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dist="dist/jdee-${PV%_*}"
|
||||
|
||||
java-pkg_dojar ${dist}/java/lib/jde.jar
|
||||
insinto "${JAVA_PKG_SHAREPATH}"
|
||||
doins -r java/bsh-commands
|
||||
|
||||
use source && java-pkg_dosrc java/src/*
|
||||
use doc && java-pkg_dojavadoc ${dist}/doc/java/api
|
||||
|
||||
elisp-install ${PN} ${dist}/lisp/*.{el,elc}
|
||||
elisp-site-file-install "${SITEFILE}"
|
||||
|
||||
dobin ${dist}/lisp/jtags
|
||||
|
||||
dodoc -r doc/html
|
||||
find "${ED}"/usr/share/doc -iname "*makefile" -delete || die
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Java Development Environment for Emacs is a software package
|
||||
that interfaces Emacs to command-line Java development tools (for
|
||||
example, JavaSoft's JDK). JDEE features include:
|
||||
|
||||
* JDEE menu with compile, run, debug, build, browse, project, and
|
||||
help commands
|
||||
* syntax coloring
|
||||
* auto indentation
|
||||
* compile error to source links
|
||||
* source-level debugging
|
||||
* source code browsing
|
||||
* make file support
|
||||
* automatic code generation
|
||||
* Java source interpreter (Pat Neimeyer's BeanShell)
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jdee</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST load-relative-1.3.1.tar.gz 33985 BLAKE2B 5e2f4329d380d9bc001e23ea4dd096422357cf18e3685d0eeff80c319172ab3ac0afeb722a9322e0cccd8d99c809ace42bc3352a38161f1aea0a3d3d3af27241 SHA512 22d31bfeee37a14bb9820df818a6d1d3cd4d2efb98bbf41ef9e866df602bd18ac0896c625c70195b50f98703d9e0ba2797e0095f051e2937455c29d8be5599c0
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Relative loads for Emacs Lisp files"
|
||||
HOMEPAGE="https://github.com/rocky/emacs-load-relative/"
|
||||
SRC_URI="https://github.com/rocky/emacs-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/emacs-${P}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( ChangeLog README.md )
|
||||
ELISP_REMOVE="el-get-install.el" # Unnecessary, used for install using el-get
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Relative loads for Emacs Lisp files. Adds functions __FILE__ and
|
||||
load-relative and require-relative.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/rocky/emacs-load-relative/issues/</bugs-to>
|
||||
<remote-id type="github">rocky/emacs-load-relative</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST m-buffer-0.15.tar.gz 19211 BLAKE2B b4cbb7bdac9e68622db03acba07b5422181599e69e6d92740aa364684c998de9a24c8740cc2d7ec0dc40e9eee56f211a93bcfd734d30b9b44b8ca3b54ec4f39c SHA512 94465cbec24137d82498ce68d7e76f871e3986afae0bb419b8e65b740c54d6c65db8ab0dedf87392cbd2b383c7ca8eb96cf295139bb1322e7652e44ac41937ae
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="List Oriented Buffer Operations for Emacs"
|
||||
HOMEPAGE="https://github.com/phillord/m-buffer-el/"
|
||||
SRC_URI="https://github.com/phillord/${PN}-el/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-el-${PV}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( app-emacs/load-relative )"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} -L . -L test \
|
||||
-l dev/assess-discover -f assess-discover-run-and-exit-batch || die
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This package provides a set of list-orientated functions for operating over
|
||||
the contents of Emacs buffers. Functions are generally purish: i.e. they
|
||||
may change the state of one buffer by side-effect, but should not affect
|
||||
point, current buffer, match data or so forth.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/phillord/m-buffer-el/issues/</bugs-to>
|
||||
<remote-id type="github">phillord/m-buffer-el</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,18 +1,22 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="The long lost Emacs string manipulation library"
|
||||
HOMEPAGE="https://github.com/magnars/s.el"
|
||||
SRC_URI="https://github.com/magnars/s.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/s.el-${PV}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
|
||||
|
||||
S="${WORKDIR}/s.el-${PV}"
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md"
|
||||
|
||||
src_test() {
|
||||
sh run-tests.sh || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST vertico-0.22.tar.gz 42487 BLAKE2B f6863b4078f25fba318685fd16a34abe016c9fb9fd94a7ad6fcbce02c72526786c74f67177a44433ee5aa747382db81762015fcfe98da252f19aa88f219d294d SHA512 108348cb43f07909570dd40e058c1ea612c6a8c39794a365ef0ee0111d7f43dde37f82c46bcac0319eba44e6e5553bde2bc09f8755bb1e3f4b22999fdacc23c2
|
||||
DIST vertico-0.23.tar.gz 42631 BLAKE2B ccb5a30cb3da9bed0a16af06919635ebc23777d0f19fad4fbbb422b0bf04e38f1de1a51e375263f212b0ae25881f4428e9fc6d665ef46ff9aaabd3964b4ab006 SHA512 7425b33a7628e8fd246386908835ee52ef357ecd3909a6cde0f9ed89dc468590fc854b599c2ed13572003ef6b36bd8df26db3da0764feadc407918ed68ba910a
|
||||
DIST vertico-0.24.tar.gz 42777 BLAKE2B 64e3f11dfb425c814665b49d755a52db4146c875969be7621539892f72df6ef9c4186be05373230b48369f1e2e85aee8e97cb829afe3618b9507170c4a8ca1a0 SHA512 67edb7e45e257c2cdf53d7adb2b29eed8cb3a1ac42dcec41bd555d553c60e4fc9806c6ad51b5cc183abb1d3967a4f43ab0e4ce0d317f77eb4d7cdedb9ea39834
|
||||
|
@ -1 +1 @@
|
||||
DIST 86Box-3.4.1.tar.gz 4221251 BLAKE2B 20e3dfbab2a624a834766e4b7767fade045358ef394d3178d02b909e1e696b723e89618bf97e0636bfff882353ae77be23fccc4367513f95fc2e4a08c22d53c5 SHA512 76a4f8d129bdad6d4eef5d34c68b4a90840b00ba0bc2771d07a24ffcf7baa8db6ce2a23936675e0126a2938f48486a734bcebae7f2df2bbaf67ffa7e8dc3b5fa
|
||||
DIST 86Box-3.5.tar.gz 4260258 BLAKE2B 080f4b3f4937633cb60a9bba5ac9b70756ffd5096843158033c30ee648fa78d40b539a08383bd5d96e3208ad73ad811c21a24cda08d7ad54188b62753ef2ec2f SHA512 8f40d918e0fbae388a4aa4f037adaa7fa1920cafd5c0493f1f052ee59c677a898226ab7958b8f22899e3983664c2e63c9bcbaf82e27b42efebfb22bdcf4717dc
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST protontricks-1.7.0.tar.gz 139203 BLAKE2B d93bbb672286d32743da1473e132508084bae527159911367c51e88686c38d3bad0a2f72a2c0f0feb09412e31e6d5bb20dfe113b9e71e4e655693bfbe663a968 SHA512 c12f211051bc23c8eb03c5385e8245361d72dcce1e641a7da1f87f344db5fdc7d698bd7691e0855ae025c1d94944db89b380805664d87123b6252d06259480ff
|
||||
DIST protontricks-1.8.1.tar.gz 151972 BLAKE2B 1e7b600bfc22c46e879c5684229e374699548bc96d172c23d4b3c7c08871c0baf629436e81ad35d0d5e93e11515c8a20d4365658d10610cd60b04d6982b83b7c SHA512 246e65f61ef4fd6825e426aa2b4ed3df26ad1443fabca079194890a8115805ff2f51be96ce410854407b61451dafbec6abd1e26f029c1e442af10a209c75377a
|
||||
DIST protontricks-1.8.2.tar.gz 153142 BLAKE2B c0757973f7e1c442ab0bba27c2c739a7b24d45bab31ec308ec195290e35392d222369dbfe64f558e21ed1b61d13bdae629c0ba8b2f81b9af2b4f2f94c30ba9ea SHA512 9b83c34847e8ea8ae86f77330f626748a8ef5682c99619d90fea0c52de3ccd5b4285e5dfc676b8c046b9deec996847dbb0586596428507e162e255a852b28cd1
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
|
||||
HOMEPAGE="https://github.com/Matoking/protontricks"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+gui"
|
||||
|
||||
RDEPEND="app-emulation/winetricks
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/vdf[${PYTHON_USEDEP}]
|
||||
')
|
||||
gui? ( gnome-extra/zenity
|
||||
|| (
|
||||
app-emulation/winetricks[gtk]
|
||||
app-emulation/winetricks[kde]
|
||||
)
|
||||
)"
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
echo "version = '${PV}'" > "${S}"/src/${PN}/_version.py || die "Failed to generate the version file"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
|
||||
elog
|
||||
|
||||
if ! use gui; then
|
||||
ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option,"
|
||||
ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "Protontricks can only find games for which a Proton prefix already exists."
|
||||
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue