parent
0fef747bf0
commit
646ee7b4a5
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29340 BLAKE2B d5057b12d5db9af1ba27c28442c410278cc86d1242e3930a0420db33c06027e54551fc45888d29bce7f7b0987a2938d47ef09d2995a0f78495992e70885b7aa5 SHA512 7e407775f632ec2f6b34e082fa4cbea3cd06d790f5b8e8425366e9b23c98ca8565ae7ddd4a05fa122c1c23b929d7fc666aa0c3f59ecd8b94cb62efd924fb6c71
|
MANIFEST Manifest.files.gz 29299 BLAKE2B ee809fa6670a6b3c08599b78f86aeffcc849df20c16cc1c96030682ac225f445a84149f6bf5152088660d7eb97790132e2e56c0325d4a060fe2e5b6c49eb10c4 SHA512 bdbd91fb242ffcf0fd18b5d2436d1d522834a8f55bce13824aaf8c4d601003bb48c4d9cc59a36ea3ef90874cafead468f755e8ba104ae494b0aa89b0ecae98e8
|
||||||
TIMESTAMP 2019-04-12T05:08:45Z
|
TIMESTAMP 2019-04-13T20:08:49Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlywHV1fFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlyyQdFfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klCXNQ/+MxNBpAB0bzEyfEo5cmbnLub2v2ZSI1mfP5r3ME1nwd0T0zsdL69a+236
|
klBNqBAAiyh79dVHGfI+THRASHFt92ZN0VA7cM+CuBv2vEE5TRHjW9KCP4EJSpMP
|
||||||
jS23tBWg6pkjfstfluFf8su0WoVspzqGPl5EYBTpfRTARwSL0ZmRRcYY1aZhkAKm
|
9oQqJz+N+KTeZXK/pFTfMvGYT6Tp3d1cYvgwRcX0pyNjdqT0+Ptk0WOD+eFsAk4H
|
||||||
bitGeCzigEMEOCK7KtMbiwhjqC5xy6fVb3cpApyagbgdnAS4NzPFOD9U2OQCMLTS
|
idEn0XbMkW1m97GhNgpaM4L5aTzrqC9oCC6FfhBfZYPdjkNGAIPAO/hIQXAgzOdj
|
||||||
a/rmDoE5u0NbiUGbxKAxdbIar8z/UAh5K0Xw6IMlIgL02VhP0U9iu4mfElZkSmpP
|
4kRIrZR096rW2RSMNpaJMHH7XrS1ERc1JAvD221rSvSTFxytf76yVDvPj+WwPkTO
|
||||||
cm8g+lA0cbqgDNNAIdNZftJP6jlQbbzyHuOy5h+Jtqv3Ow+/877XRuXTs7myoAAw
|
qsB3yMAZBwTAbYH9iZLSJ/ui4kmqdEdzxgkuqezO59hjhHYnNthvKXNl+GZ9BN5o
|
||||||
tJzAW5KiXNDyVgC5vnt0dYfxhBJAUD+fctE8CiHx0AA3hflS52kty2J5SxrBgua5
|
QzxSbhlNGetcnv265mklaoW6kiQrbN60QCdPd9d6DsxqY3Hl+AzIGnt4MWrAO95C
|
||||||
VtdjRQEBr+cj4KD4RtnogUQX1j4PTur1W2pbKQqZyZ6AzGwkdTO54CpezBkZvg8L
|
hYWPsJ8uLwaxaFe6JE2xTpEXd5cnqSPC4U1ccu3hyGuguVqxPtV/D4NO864m7dlL
|
||||||
8SakOmVQMbRFmJLFMGu1XxPa2vfW47gU4nyDUHU9H9ZZqtFTzwiFjcdZ77QGxuZN
|
pfEmWPWZNrREdmepJdv6oXUgZrzzXVGTcO8Nlf+k6qfEk4mXvBsCLU4DAcO+hRd3
|
||||||
KKIQGrYe17OiEUnDm3xhuyDARGZle4SLNraAIFlPo2NrN9xLDHbl7qoDzk4e+GIP
|
dbYn8pc2/8qh9tTqkfrRQuLQAgkusp5HlnpNxNdpIkDcsJLKVmzJ6FSQEQvyjhyW
|
||||||
jf1fgFHXrJfFe0alpRj/pOPsrq8arouxyr7vCAVuaRElntcBMZ0V2AnpAZir+tiH
|
5OVRYDPEYjK8UhhZfcn/yTK4Ql9YK5TBZGB+xVY4QDi9vYWpbMHLayUQjJ69Wd+V
|
||||||
H06yfaLe2n+Gs7RLBarTMVpa9PdlqpBw6r+/D4oQgScu+oK4w/A=
|
LgwsdK2jdwDl1ezP+vohZpiPE97i7lCRA+wuvJTSnCo8WM1viCE=
|
||||||
=/SEC
|
=P4ph
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST dio-1.5.2.tar.gz 44344 BLAKE2B 8e573cbf2ad1b717ffec09f20f8c7474841bc3e1635af35116d02b37af56ef3b4742e12725134d485f788e7abb595605640e19bd6f84bfd8f14289abf1695089 SHA512 366d2f2d25b8d16439c4a9aaa7cd775ddffb1022980675cdda8e2e4d4de3d3e5dcfa8d0c581b73fcfe4eff66ee8ef682f082c8788f514b7abdf1a2cb2159b9ba
|
DIST dio-1.5.2.tar.gz 44344 BLAKE2B 8e573cbf2ad1b717ffec09f20f8c7474841bc3e1635af35116d02b37af56ef3b4742e12725134d485f788e7abb595605640e19bd6f84bfd8f14289abf1695089 SHA512 366d2f2d25b8d16439c4a9aaa7cd775ddffb1022980675cdda8e2e4d4de3d3e5dcfa8d0c581b73fcfe4eff66ee8ef682f082c8788f514b7abdf1a2cb2159b9ba
|
||||||
EBUILD dio-1.5.2-r1.ebuild 871 BLAKE2B 05332002c8ed739e28b4b902f7404e00a248eca9ed747603e2fff5842a3f773e1076bd31b11b75c6a7cdcc73dba284407695e5d3295d5f7ef0b1faa9f820cec4 SHA512 c65e8d195a6dd8fde56ebb3f9146233b7f06bb987884e311c49d90a572e1c1d49ee62ab6b8de9ef40f241b4ad49bd07ca18381bab404d8c53caaf6cc8fc18067
|
EBUILD dio-1.5.2-r1.ebuild 867 BLAKE2B e94a664a8e0957f5b0e7159f4a1310c9013be1db20020ed60f99fab0552106cee34aca61897a0482f0cabd5fb13186fa89fae682208a8ee6963b557c460d129f SHA512 3aa8452f4268029058e5c6b0e5646ef9ca097475df55268912e920a34c00ca343dcb93d591d17e911777442c70416b7213ef6b474e01dfa5ab9792e2e6ef8ee8
|
||||||
MISC metadata.xml 912 BLAKE2B 5fe57b665757cb19dbe7e6efe2202d5cb4e8311fd21c3974a0c42017841330ce03242e5ac656818781cd39cb3ff62c05ed69ee008b8aa0c1809311819e23c588 SHA512 80995a42eba255a8e79ae0ae2596114b2703a433151b3f33d438a002c220194b14905221b9ab2e59185776c331ba22342c04d3ebf5aa8297b1ef988c45621f62
|
MISC metadata.xml 912 BLAKE2B 5fe57b665757cb19dbe7e6efe2202d5cb4e8311fd21c3974a0c42017841330ce03242e5ac656818781cd39cb3ff62c05ed69ee008b8aa0c1809311819e23c588 SHA512 80995a42eba255a8e79ae0ae2596114b2703a433151b3f33d438a002c220194b14905221b9ab2e59185776c331ba22342c04d3ebf5aa8297b1ef988c45621f62
|
||||||
|
Binary file not shown.
@ -1,165 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit autotools eutils flag-o-matic user systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
|
||||||
HOMEPAGE="https://www.clamav.net/"
|
|
||||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* alpha"
|
|
||||||
IUSE="bzip2 doc clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs system-libmspack test uclibc"
|
|
||||||
|
|
||||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
|
||||||
clamdtop? ( sys-libs/ncurses:0 )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
metadata-analysis-api? ( dev-libs/json-c:= )
|
|
||||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
|
||||||
>=sys-libs/zlib-1.2.2:=
|
|
||||||
!libressl? ( dev-libs/openssl:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
sys-devel/libtool
|
|
||||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
|
||||||
system-libmspack? ( dev-libs/libmspack )
|
|
||||||
!!<app-antivirus/clamav-0.99"
|
|
||||||
# hard block clamav < 0.99 due to linking problems Bug #567680
|
|
||||||
# openssl is now *required* see this link as to why
|
|
||||||
# https://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? ( dev-libs/check )"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-clamav )"
|
|
||||||
|
|
||||||
DOCS=( docs/clamdoc.pdf docs/phishsigs_howto.pdf docs/signatures.pdf )
|
|
||||||
HTML_DOCS=( docs/html )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/clamav-0.100.0_autotools.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup clamav
|
|
||||||
enewuser clamav -1 -1 /dev/null clamav
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use ppc64 && append-flags -mminimal-toc
|
|
||||||
use uclibc && export ac_cv_type_error_t=yes
|
|
||||||
|
|
||||||
econf \
|
|
||||||
$(use_enable bzip2) \
|
|
||||||
$(use_enable clamdtop) \
|
|
||||||
$(use_enable ipv6) \
|
|
||||||
$(use_enable milter) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable test check) \
|
|
||||||
$(use_with iconv) \
|
|
||||||
$(use_with metadata-analysis-api libjson /usr) \
|
|
||||||
$(use_with system-libmspack) \
|
|
||||||
--cache-file="${S}"/config.cache \
|
|
||||||
--disable-experimental \
|
|
||||||
--disable-gcc-vcheck \
|
|
||||||
--disable-zlib-vcheck \
|
|
||||||
--enable-id-check \
|
|
||||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
|
||||||
--with-zlib="${EPREFIX}"/usr \
|
|
||||||
--disable-llvm
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rm -rf "${ED}"/var/lib/clamav
|
|
||||||
newinitd "${FILESDIR}"/clamd.initd-r6 clamd
|
|
||||||
newconfd "${FILESDIR}"/clamd.conf-r1 clamd
|
|
||||||
|
|
||||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
|
||||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
|
||||||
systemd_dounit "${FILESDIR}/clamd.service"
|
|
||||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
|
||||||
|
|
||||||
keepdir /var/lib/clamav
|
|
||||||
fowners clamav:clamav /var/lib/clamav
|
|
||||||
keepdir /var/log/clamav
|
|
||||||
fowners clamav:clamav /var/log/clamav
|
|
||||||
|
|
||||||
dodir /etc/logrotate.d
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
|
||||||
|
|
||||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
|
||||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
|
||||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
|
||||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
|
||||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
|
||||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
|
||||||
"${ED}"/etc/clamd.conf.sample || die
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
|
||||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
|
||||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
|
||||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
|
||||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
|
||||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
|
||||||
"${ED}"/etc/freshclam.conf.sample || die
|
|
||||||
|
|
||||||
if use milter ; then
|
|
||||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
|
||||||
# inet: which we want to leave
|
|
||||||
##dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
|
||||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
|
||||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
|
||||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
|
||||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
|
||||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
|
||||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
|
||||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
|
||||||
MILTER_NICELEVEL=19
|
|
||||||
START_MILTER=no
|
|
||||||
EOF
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
einstalldocs
|
|
||||||
doman docs/man/*.[1-8]
|
|
||||||
fi
|
|
||||||
|
|
||||||
for i in clamd freshclam clamav-milter
|
|
||||||
do
|
|
||||||
[[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,}
|
|
||||||
done
|
|
||||||
|
|
||||||
prune_libtool_files --all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake quick-check
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use milter ; then
|
|
||||||
elog "For simple instructions how to setup the clamav-milter read the"
|
|
||||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
|
||||||
fi
|
|
||||||
if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then
|
|
||||||
ewarn "You must run freshclam manually to populate the virus database files"
|
|
||||||
ewarn "before starting clamav for the first time.\n"
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
DIST borgbackup-1.1.8.tar.gz 3456058 BLAKE2B cad55216f92025418e1a427f4b578d6b7eafa03f6b3e9c4fccb148dd3856c4f6649928fb4227249c534add125f9b3a2a0b6ed808ae12c5e60a28f9df4fb0031a SHA512 1455e68bcedab8f35f9426dc73958c6a6565ad1f1cc274ce59d34a12e3a7bfa1d12fa2b8e8dd3e71824e1cd0927babf79f4e99d4e516454ed12dbd3970d0e921
|
DIST borgbackup-1.1.8.tar.gz 3456058 BLAKE2B cad55216f92025418e1a427f4b578d6b7eafa03f6b3e9c4fccb148dd3856c4f6649928fb4227249c534add125f9b3a2a0b6ed808ae12c5e60a28f9df4fb0031a SHA512 1455e68bcedab8f35f9426dc73958c6a6565ad1f1cc274ce59d34a12e3a7bfa1d12fa2b8e8dd3e71824e1cd0927babf79f4e99d4e516454ed12dbd3970d0e921
|
||||||
DIST borgbackup-1.1.9.tar.gz 3468259 BLAKE2B 91c89304cf22328a0bd74583c22370343915209a204f52c65290dbec0cb688392c2e80b946a55317f8c58ef23099e710c16a34c6bfbbfb547a3e4b38c3c81c37 SHA512 466288258700fb0b3dae936c79fd423d26bea2d721dd70112b3cfd0f8e2bb335144a00de76743c31d336f6c19793775260d154326ec70d6d6d0a4e5ad6a59e59
|
DIST borgbackup-1.1.9.tar.gz 3468259 BLAKE2B 91c89304cf22328a0bd74583c22370343915209a204f52c65290dbec0cb688392c2e80b946a55317f8c58ef23099e710c16a34c6bfbbfb547a3e4b38c3c81c37 SHA512 466288258700fb0b3dae936c79fd423d26bea2d721dd70112b3cfd0f8e2bb335144a00de76743c31d336f6c19793775260d154326ec70d6d6d0a4e5ad6a59e59
|
||||||
EBUILD borgbackup-1.1.8.ebuild 1098 BLAKE2B 6e895efce696d6a149b9c063e336986f50e72832bfcbfe691db09ed623bd3beb511c12fad7fd607e2ef024a2373bbfd37448e5313b8f9898d56f3d284442f35a SHA512 feb2ce7ddd4a315330fd50154f07e94be146abe4e467ac32f6729f4bbfb0f28f8a60492ec42a8ee57a52ea2262c0a1d7f3d06116f6c03c60f5a53175f0b373f3
|
EBUILD borgbackup-1.1.8.ebuild 1098 BLAKE2B 6e895efce696d6a149b9c063e336986f50e72832bfcbfe691db09ed623bd3beb511c12fad7fd607e2ef024a2373bbfd37448e5313b8f9898d56f3d284442f35a SHA512 feb2ce7ddd4a315330fd50154f07e94be146abe4e467ac32f6729f4bbfb0f28f8a60492ec42a8ee57a52ea2262c0a1d7f3d06116f6c03c60f5a53175f0b373f3
|
||||||
EBUILD borgbackup-1.1.9.ebuild 1100 BLAKE2B ad3e554828e9dfd8fc2b1485c854a9e3070351bce7376c73bfe36f732e4e6b49f8627a4858d6304b024558865714f741a4a518850a58943f5da05af1ece9029a SHA512 5142d4e783354d1d126b0db9406520b855622c93a86e8c9e8e9475a770538087ad45e1d17438e79022d35d5225b8bbf0f756c7e627665b5960b827207365409b
|
EBUILD borgbackup-1.1.9.ebuild 1108 BLAKE2B ff5286704032c034f1a8150c716917709f214af09e71b08801a9aa5307d1c6f6199339b596341697cd8cac4c5d77252b421d1a8a196644ce96660691f2a29c3b SHA512 b60eeae04fac3cdd4c51994cae04e95294e549b08bcb5270b5298ff99fa05f5465213555e2ef91c5592b1c3d1e832333487721e2055c47828360ba64d0db33e3
|
||||||
EBUILD borgbackup-9999.ebuild 1100 BLAKE2B ad3e554828e9dfd8fc2b1485c854a9e3070351bce7376c73bfe36f732e4e6b49f8627a4858d6304b024558865714f741a4a518850a58943f5da05af1ece9029a SHA512 5142d4e783354d1d126b0db9406520b855622c93a86e8c9e8e9475a770538087ad45e1d17438e79022d35d5225b8bbf0f756c7e627665b5960b827207365409b
|
EBUILD borgbackup-9999.ebuild 1100 BLAKE2B ad3e554828e9dfd8fc2b1485c854a9e3070351bce7376c73bfe36f732e4e6b49f8627a4858d6304b024558865714f741a4a518850a58943f5da05af1ece9029a SHA512 5142d4e783354d1d126b0db9406520b855622c93a86e8c9e8e9475a770538087ad45e1d17438e79022d35d5225b8bbf0f756c7e627665b5960b827207365409b
|
||||||
MISC metadata.xml 380 BLAKE2B 2ac9cd2f49c605955fb4133ff30d52e578bb45b0717348e6909cf7cd172ce9a7436d30394466ece7d889d02802f500f86297072a755b24905c17342cd7aee5e4 SHA512 4160c5674dbb51e9e3fa3c0d29fca6b7ab4073f2e2be1a2eca88ff049b4b5f066d04c747130c45d31a9c63ee2fe3bcb5f521017a581e7f6b69eb07fb94b83661
|
MISC metadata.xml 380 BLAKE2B 2ac9cd2f49c605955fb4133ff30d52e578bb45b0717348e6909cf7cd172ce9a7436d30394466ece7d889d02802f500f86297072a755b24905c17342cd7aee5e4 SHA512 4160c5674dbb51e9e3fa3c0d29fca6b7ab4073f2e2be1a2eca88ff049b4b5f066d04c747130c45d31a9c63ee2fe3bcb5f521017a581e7f6b69eb07fb94b83661
|
||||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
DIST stress-1.0.4-r1.tar.gz 191800 BLAKE2B 560065d963823e734bb706840908998a58c07c82b21ab579f7a0fd5163e7a8591ca0f6abe430bba058bafd9a2dac1fcf33f011663cd6c3d2fdefb221a49e5e8f SHA512 623a7d9585828bed4b7673e19fb0cfdda904552cd56353d74106047b64249299d5f8da892ec135f1781ec3984c7d5835dcc6c0d8e659e06c8a1e4fb2af9fd9c4
|
DIST stress-1.0.4-r1.tar.gz 191800 BLAKE2B 560065d963823e734bb706840908998a58c07c82b21ab579f7a0fd5163e7a8591ca0f6abe430bba058bafd9a2dac1fcf33f011663cd6c3d2fdefb221a49e5e8f SHA512 623a7d9585828bed4b7673e19fb0cfdda904552cd56353d74106047b64249299d5f8da892ec135f1781ec3984c7d5835dcc6c0d8e659e06c8a1e4fb2af9fd9c4
|
||||||
EBUILD stress-1.0.4-r1.ebuild 542 BLAKE2B 867de86ee7552edb9f50a7336ee3b38d0fad5c2e054107f65b71369b75fa13a7794f54d32349211e2c029eb9e03a89edba8ff0f11781870f23b119f7bbb9f48c SHA512 cb552d5cd8c52dc75fbfd365c17d784fe6d8b8318c077e4c9d909431b226f8beb2ad40ad62d0e86eb0104acf088098e342afb39cd980fd699cc8ba692056f1b7
|
EBUILD stress-1.0.4-r1.ebuild 542 BLAKE2B 867de86ee7552edb9f50a7336ee3b38d0fad5c2e054107f65b71369b75fa13a7794f54d32349211e2c029eb9e03a89edba8ff0f11781870f23b119f7bbb9f48c SHA512 cb552d5cd8c52dc75fbfd365c17d784fe6d8b8318c077e4c9d909431b226f8beb2ad40ad62d0e86eb0104acf088098e342afb39cd980fd699cc8ba692056f1b7
|
||||||
EBUILD stress-1.0.4-r2.ebuild 515 BLAKE2B a15b2ae7ec6ec1fbeb8d675d6eb47120b6bacaed5222c3ad4660c1ee22da10f03afa9c79c690edf89896af4c74cd7fed7d99d155dd106d07dcd7e0a2eaf64959 SHA512 d44a194dcb6dcc5c3b126617415453e19340435797e7276bc2281eac0afe1e4a2c47fab9a09f506929a93eafe9a31ce4ecfce12ba2c4920b5c4a17ea4b346b03
|
EBUILD stress-1.0.4-r2.ebuild 514 BLAKE2B b07b0bf2b93160b9b316f461dff29c351248ede48012a6bc14027fafb06eecf3f0e6cc359d26017fdd4dd9ac3cd76a11ada706af9448a1688c22e1a307ce62ba SHA512 003942c71814f149bb8b5bc03f3f98befb3730319b36d8b5ef8c39c3d0d8d5b51aa1bd8b8a3b8894dba4cb6959e9a7138b906f53d56acbf93beb9bcfd3ee3143
|
||||||
MISC metadata.xml 567 BLAKE2B aff13e629db6c40334669bda3e24cdbf9bf5d67d5954322caeec389d4b324a17eec66a4846febf6bfc2d21f2d2eca8989c37980aeb6d35ca744fbea1bdc29a58 SHA512 3a9699c915e68449c06fe72b084722e367b920f6ef29715f04757e0e4613383bd7a58f815d81fe2917ee7da74ec1df907e48ec74a0794a6ce3203278b20c72cc
|
MISC metadata.xml 567 BLAKE2B aff13e629db6c40334669bda3e24cdbf9bf5d67d5954322caeec389d4b324a17eec66a4846febf6bfc2d21f2d2eca8989c37980aeb6d35ca744fbea1bdc29a58 SHA512 3a9699c915e68449c06fe72b084722e367b920f6ef29715f04757e0e4613383bd7a58f815d81fe2917ee7da74ec1df907e48ec74a0794a6ce3203278b20c72cc
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST signing-party_2.7.orig.tar.gz 201320 BLAKE2B 4fe5781b610dc8acd5166fc7ce7daa1b856f6617952d5eb226cae0c8c6fcaa196b88ffe313b2d71b8f11423a81e84f2124d9adea86edbfb0d22808473d1c36fe SHA512 d1599ca0cb2dd554b4688bc8c77f4a1dd907d00539bb11abe147300dd2184f8548ebe9fdf793e83e2956a220b1c4bf9e19bd543b77f724b0c8ea4794ac945985
|
DIST signing-party_2.7.orig.tar.gz 201320 BLAKE2B 4fe5781b610dc8acd5166fc7ce7daa1b856f6617952d5eb226cae0c8c6fcaa196b88ffe313b2d71b8f11423a81e84f2124d9adea86edbfb0d22808473d1c36fe SHA512 d1599ca0cb2dd554b4688bc8c77f4a1dd907d00539bb11abe147300dd2184f8548ebe9fdf793e83e2956a220b1c4bf9e19bd543b77f724b0c8ea4794ac945985
|
||||||
DIST signing-party_2.9.orig.tar.gz 222606 BLAKE2B 5c7fd8fdb4945f3155d5dc146716ae402c72ec3cc728feb5b3d009878d88313ed26dbf4461820346bd3340ec84d9a439dfd52950452ad796bf1fbc98a342ff6a SHA512 31a0f15f679c0339753bafbac645609e9e16f3da2c5105c33e87e0f258453b3101f188398a7c1509fe5c005339289ac5465ccb18631a526d231c714f9ed61d96
|
DIST signing-party_2.9.orig.tar.gz 222606 BLAKE2B 5c7fd8fdb4945f3155d5dc146716ae402c72ec3cc728feb5b3d009878d88313ed26dbf4461820346bd3340ec84d9a439dfd52950452ad796bf1fbc98a342ff6a SHA512 31a0f15f679c0339753bafbac645609e9e16f3da2c5105c33e87e0f258453b3101f188398a7c1509fe5c005339289ac5465ccb18631a526d231c714f9ed61d96
|
||||||
EBUILD signing-party-2.7.ebuild 2968 BLAKE2B df347287636b0bfa29282094950cf6e5f0d95b205bac4882183a66608c5a92591479fda6fa2a9d5cc62c3127049f56f4bde99f5c105320e0d196624ad389ab81 SHA512 0762ee598cfeddbbb39a41d7b718bc1e3b03f2d5f6a347453b95ae15ea39736e9fd45ac217e05d10c8382037112a11ac7d7026a663b35797c26093a4ff06f67b
|
EBUILD signing-party-2.7.ebuild 2990 BLAKE2B 8abcd322db7149bf2eed60b099bd6cea5281d446148c61c75f59350fa8e718f637609aa91eaec4e5ae0a12d9edbb024bdb9820bf32b02f9cbe5b7e2de70029bf SHA512 31e56b7b2ce039a565b0010acf284a6aef90f479de63912bdcce72b4b2c27c896cfeed50c9e7096ed7ae3a2b9483953a1909e5a03c8f841adb4e7ace377a667c
|
||||||
EBUILD signing-party-2.9.ebuild 2715 BLAKE2B 87224f5404fbb5b53afc6c3058820459644e85438ba15984144b089a60550e3390a95844b2b9d61e7e474a21db7e617af2aaf57a7604f5a7c871d86682a3019d SHA512 c3c9be2ad0a1d856b40df972a94575683fcd7bf026e9414844e6e5e5a71bc4f60179f87ae6da8c85cb601df2af2ab1c28af173dfe3a14fdb950e57e64a5218e9
|
EBUILD signing-party-2.9.ebuild 2737 BLAKE2B 7d860f0f2fee0d4a6cdb3315a9d199612e242b5be946523d88215c9f348d13ea5baf0eadd6e1d5416aa479d800033c577c2dba9c2223332680e208c90e245082 SHA512 8b9635f04247682265ad0d7e728b150a65c80f75617393aad7af00466616acb8dab0075a5ae6a4f37a49b375d7a9537e9a6650041f42571916b34cb633785de5
|
||||||
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
|
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9
|
DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9
|
||||||
EBUILD ssss-0.5.ebuild 757 BLAKE2B 54c1a67582ef0ab340dab68767d1196d3c97c584ccfedf313afb0b9efeae95a09d0a0f855f1fcfcd70bb5c2fdb8c14310ab7127799d97449708db936ac38d6e7 SHA512 9c862dbe07aee602cb8613622a6af6c2b0e777e46b85b6dd215013a47a15dd7a799587241d12005206c933982d9bcf92462cf26f5695889473502a9eef792d8a
|
EBUILD ssss-0.5.ebuild 756 BLAKE2B 8aa8fe9974a7666852d3fe750a6b57afea9d0f3b3706437fcd60ec21898ccb8f58f1e2dfee51030760da1cc2478d60cf5162b5d51dd53e2966f561aec91cccd2 SHA512 e36f2aa2b51298ec2b45fc3457e6f9093aa11027eb78a3d13bd335b72690bef7db5a5658d4e607aa98cdbc4b121c52db4892d6fc8be85ff702929afddcc1246c
|
||||||
MISC metadata.xml 615 BLAKE2B 268173e83a1880bde7f164f9bc93f499654928a537458334dc3a87ed706e3bf31b514582fdf890d107896a04cfe9936e2a4459201b04448d919bcd277f616a26 SHA512 8ddbb48727f79921b79da2ac26f560a56e5e55c8a335a5dc7469f6a6aed8715034abbe7b869467d3bdeca9dca120b07bfbf8b16aee03cd5a730c67b2fef74f8c
|
MISC metadata.xml 615 BLAKE2B 268173e83a1880bde7f164f9bc93f499654928a537458334dc3a87ed706e3bf31b514582fdf890d107896a04cfe9936e2a4459201b04448d919bcd277f616a26 SHA512 8ddbb48727f79921b79da2ac26f560a56e5e55c8a335a5dc7469f6a6aed8715034abbe7b869467d3bdeca9dca120b07bfbf8b16aee03cd5a730c67b2fef74f8c
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,11 +1,5 @@
|
|||||||
DIST emacs-26.1.90.tar.xz 43892340 BLAKE2B 8ee12a6f8d6dd1a8084864d53818cd9127a95b7da632db14c831d2f9d4848aa11bb8a9d92bf8bf0348ea4e2fa75de45408d284680255e5a2b9845ada1acbc7fc SHA512 b2e7e9c1015c221e8665426528703bfe336734b7830d731d5f3a7c50ce423b2a8bdada7f934e5f31dbe81b4f06623bddafe48e9da4727cb728564d569ff0b188
|
|
||||||
DIST emacs-26.1.91.tar.xz 43892592 BLAKE2B dba455ddacdda6faef66bf3869e21da9f94eef81e0987a280634e5186e8c441ac841ad917059ad8d0b36722d308f166d24c5770505b71219cd6979547f8cea10 SHA512 2c09b8ae0e035d20c8dcebda8ca56167a374c465f7ad8e55f97fc10355cffe709b196efa38474580c5b3584263b676fa5b8d9fa1434d4fc77d7d9cc941260a4b
|
|
||||||
DIST emacs-26.1.92.tar.xz 44387596 BLAKE2B d0581658f95c7408ba0d3e107a0622212e94f8930c355228a999d591dcea7ba533d4f3b288f63bc2a1ffb2aac197c053ec5c48f80810fe4e1c097ae75e20505d SHA512 c01be13055644f00094e096a9ec39dfaa4fc999718931d6003425ef74741ab0ca638a377e2903fbffc32c3e344fde5e93b2657a48600493fc25daa82a34fc4d2
|
|
||||||
DIST emacs-27.0.50_pre20180831.tar.xz 28668124 BLAKE2B fae74d9885889b042142f580e971c73c193306dca26b42dd87ac3d3d765312ce6695511d7d31a047d79803982f6345c4c319a3d83cea1313080170da97482fa2 SHA512 43b32d8943dc897dfc0c1fddb4261a196d3a604add5bcf87a93748125f15db2cac762d3550d6593b80e961ae35d543adc4d5937bac77970c658f93dba26f17e4
|
DIST emacs-27.0.50_pre20180831.tar.xz 28668124 BLAKE2B fae74d9885889b042142f580e971c73c193306dca26b42dd87ac3d3d765312ce6695511d7d31a047d79803982f6345c4c319a3d83cea1313080170da97482fa2 SHA512 43b32d8943dc897dfc0c1fddb4261a196d3a604add5bcf87a93748125f15db2cac762d3550d6593b80e961ae35d543adc4d5937bac77970c658f93dba26f17e4
|
||||||
EBUILD emacs-vcs-26.1.90.ebuild 13001 BLAKE2B d433baf07357bbd5db2f0704e7effa3c62f4306f5ad95a801949da3fe7d5de15ec6d276324118ffece09fc51c279dacec5fc7943d9d912f2eba2591d0070e5ee SHA512 39634f8ad92db5115a360bf43bbafa230b3e94462d51a311b5a1ef49bf2f762b05fb9c35e36cd378c427d095aba18b446b2fcef668f903972b4ce72bda6acd44
|
EBUILD emacs-vcs-26.2.9999.ebuild 12947 BLAKE2B 1fbc4e311d6f1bed54eac641ff21973d472023f89ce76678900303a72163493f29e8d257f406d0cab34e07217e6ecd65cf400eb7c9c7ac2108b5220b133f8a54 SHA512 8f5b040f4cd8e7a2e0b797888453dbcca08c2f06b8d4bbf81f7c56fb68e02ed663c5d9ca966b4629ec1dcec5bef9bcc9f63a3fcfc1f24c81ab75b016dc3e8993
|
||||||
EBUILD emacs-vcs-26.1.91.ebuild 13001 BLAKE2B 173d3f2f54cd20a02668b4ca4326e1bdd832ff0997990caf9ea03295c3f40312b630390e95c4e35a2995d565868d8399820653acacf9f2c9121f3a0366c8bd11 SHA512 9886de945cd9eb305a0521664e3eb978713abaea7043304b84e4e2774c7f48ff1ed37117c13585eadaca25aa035fdc4cd53187d4c1e162e4023b246832f618d8
|
|
||||||
EBUILD emacs-vcs-26.1.92.ebuild 12893 BLAKE2B 94456e2c894fb8fa5d7a15508e9f29056cfef32422dad3c3f52ca2b0dbe939bad23c9c4acd40cc219e109cad2a3fae369e8bd5ae29a4eb992b72f7b2a58093ad SHA512 ff90d0d3d25385eb46403119fb8896d826d7235aed4a302ce9dce17e2291540ec59652aa500ad17a2aa91a02b42a9a27977f3923c84ec318b4eba735899f894f
|
|
||||||
EBUILD emacs-vcs-26.1.9999.ebuild 12893 BLAKE2B 94456e2c894fb8fa5d7a15508e9f29056cfef32422dad3c3f52ca2b0dbe939bad23c9c4acd40cc219e109cad2a3fae369e8bd5ae29a4eb992b72f7b2a58093ad SHA512 ff90d0d3d25385eb46403119fb8896d826d7235aed4a302ce9dce17e2291540ec59652aa500ad17a2aa91a02b42a9a27977f3923c84ec318b4eba735899f894f
|
|
||||||
EBUILD emacs-vcs-27.0.50_pre20180831.ebuild 13050 BLAKE2B 9c43fc10140cf72d7bf9909775d3b81ecc346e9d8d02e7c4548748f5f808375adc22078ec85d2647d61a9c1dc02c4e34d29b26be739b315c87f5f4d751f24bfd SHA512 f7aee0a0e3d5c5071df9e1da1c8bf15dd94ab2fc7dbf802bbe44b6bc8cd3770fcc27c1b2139f015d9d2952f66906fbf4eb40fb1d366045c81d638c299d4370ad
|
EBUILD emacs-vcs-27.0.50_pre20180831.ebuild 13050 BLAKE2B 9c43fc10140cf72d7bf9909775d3b81ecc346e9d8d02e7c4548748f5f808375adc22078ec85d2647d61a9c1dc02c4e34d29b26be739b315c87f5f4d751f24bfd SHA512 f7aee0a0e3d5c5071df9e1da1c8bf15dd94ab2fc7dbf802bbe44b6bc8cd3770fcc27c1b2139f015d9d2952f66906fbf4eb40fb1d366045c81d638c299d4370ad
|
||||||
EBUILD emacs-vcs-27.0.9999.ebuild 12997 BLAKE2B 70ff0c9cfe3c3ffd7dd56e3a2f72104e600d4f3d4674816dc73031e308a9be682257eac4e8ccd7a49ab5e76233d0529cace43eb6ff609ed279d5f8b11519c831 SHA512 57246f31f263c58c0cca5967d5d4973b1340bd7a40f17b2d7036b473aeb9412710a03e6ab582ad85efc7b91914799e055e8782ec80957831f63a8fc01c65abb8
|
EBUILD emacs-vcs-27.0.9999.ebuild 12997 BLAKE2B 70ff0c9cfe3c3ffd7dd56e3a2f72104e600d4f3d4674816dc73031e308a9be682257eac4e8ccd7a49ab5e76233d0529cace43eb6ff609ed279d5f8b11519c831 SHA512 57246f31f263c58c0cca5967d5d4973b1340bd7a40f17b2d7036b473aeb9412710a03e6ab582ad85efc7b91914799e055e8782ec80957831f63a8fc01c65abb8
|
||||||
MISC metadata.xml 2897 BLAKE2B 9913cc3b37864559eb273338b02dd202b51820d2614fee5e17f1fe8fa98c691374443d68f29cca5172034c15dfa321390e2624087b3cdb4779364b12711c2a8d SHA512 1764fb9b8da95a3c3469c896808fe4e29b6b0bcb8b9986ccfd4756e451005f2f1f47b0fdcd5243dac7e70aa83f67fef25ac5ebfecf20e5fbd3e5c93851ad7eba
|
MISC metadata.xml 2897 BLAKE2B 9913cc3b37864559eb273338b02dd202b51820d2614fee5e17f1fe8fa98c691374443d68f29cca5172034c15dfa321390e2624087b3cdb4779364b12711c2a8d SHA512 1764fb9b8da95a3c3469c896808fe4e29b6b0bcb8b9986ccfd4756e451005f2f1f47b0fdcd5243dac7e70aa83f67fef25ac5ebfecf20e5fbd3e5c93851ad7eba
|
||||||
|
@ -1,412 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
|
||||||
EGIT_BRANCH="emacs-26"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
|
||||||
S="${EGIT_CHECKOUT_DIR}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
|
||||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
# FULL_VERSION keeps the full version number, which is needed in
|
|
||||||
# order to determine some path information correctly for copy/move
|
|
||||||
# operations later on
|
|
||||||
FULL_VERSION="${PV%%_*}"
|
|
||||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
|
||||||
SLOT="26"
|
|
||||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
|
||||||
REQUIRED_USE="?? ( aqua X )"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/ncurses:0=
|
|
||||||
>=app-eselect/eselect-emacs-1.16
|
|
||||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
gpm? ( sys-libs/gpm )
|
|
||||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
|
||||||
mailutils? ( net-mail/mailutils[clients] )
|
|
||||||
!mailutils? ( net-libs/liblockfile )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
ssl? ( net-libs/gnutls:0= )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
X? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-misc/xbitmaps
|
|
||||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
|
||||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
|
||||||
gif? ( media-libs/giflib:0= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
png? ( >=media-libs/libpng-1.4:0= )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.0 )
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0=
|
|
||||||
<media-gfx/imagemagick-7:0= )
|
|
||||||
xft? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXrender
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
|
||||||
m17n-lib? (
|
|
||||||
>=dev-libs/libotf-0.9.4
|
|
||||||
>=dev-libs/m17n-lib-1.5.1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
gtk2? ( x11-libs/gtk+:2 )
|
|
||||||
!gtk2? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
xwidgets? (
|
|
||||||
net-libs/webkit-gtk:4=
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
motif? (
|
|
||||||
>=x11-libs/motif-2.3:0
|
|
||||||
x11-libs/libXpm
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!motif? (
|
|
||||||
Xaw3d? (
|
|
||||||
x11-libs/libXaw3d
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!Xaw3d? ( athena? (
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
X? ( x11-base/xorg-proto )"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
gzip-el? ( app-arch/gzip )"
|
|
||||||
# pax_kernel? ( sys-apps/attr )
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
sys-apps/texinfo"
|
|
||||||
fi
|
|
||||||
|
|
||||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
|
||||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
|
||||||
configure.ac)
|
|
||||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
|
||||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
|
||||||
einfo "Commit: ${EGIT_VERSION}"
|
|
||||||
einfo "Emacs version number: ${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
|
||||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix filename reference in redirected man page
|
|
||||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
|
||||||
|| die "unable to sed ctags.1"
|
|
||||||
|
|
||||||
AT_M4DIR=m4 eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags
|
|
||||||
filter-flags -pie #526948
|
|
||||||
|
|
||||||
if use sh; then
|
|
||||||
replace-flags "-O[1-9]" -O0 #262359
|
|
||||||
elif use ia64; then
|
|
||||||
replace-flags "-O[2-9]" -O1 #325373
|
|
||||||
else
|
|
||||||
replace-flags "-O[3-9]" -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use alsa; then
|
|
||||||
use sound || ewarn \
|
|
||||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
|
||||||
myconf+=" --with-sound=alsa"
|
|
||||||
else
|
|
||||||
myconf+=" --with-sound=$(usex sound oss)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
myconf+=" --with-x --without-ns"
|
|
||||||
myconf+=" $(use_with gconf)"
|
|
||||||
myconf+=" $(use_with gsettings)"
|
|
||||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
|
||||||
myconf+=" $(use_with gif)"
|
|
||||||
myconf+=" $(use_with jpeg)"
|
|
||||||
myconf+=" $(use_with png)"
|
|
||||||
myconf+=" $(use_with svg rsvg)"
|
|
||||||
myconf+=" $(use_with tiff)"
|
|
||||||
myconf+=" $(use_with xpm)"
|
|
||||||
myconf+=" $(use_with imagemagick)"
|
|
||||||
|
|
||||||
if use xft; then
|
|
||||||
myconf+=" --with-xft"
|
|
||||||
myconf+=" $(use_with cairo)"
|
|
||||||
myconf+=" $(use_with m17n-lib libotf)"
|
|
||||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-xft"
|
|
||||||
myconf+=" --without-cairo"
|
|
||||||
myconf+=" --without-libotf --without-m17n-flt"
|
|
||||||
use cairo && ewarn \
|
|
||||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
|
||||||
use m17n-lib && ewarn \
|
|
||||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
local f line
|
|
||||||
if use gtk; then
|
|
||||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
|
||||||
while read line; do ewarn "${line}"; done <<-EOF
|
|
||||||
Your version of GTK+ will have problems with closing open
|
|
||||||
displays. This is no problem if you just use one display, but
|
|
||||||
if you use more than one and close one of them Emacs may crash.
|
|
||||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
|
||||||
If you intend to use more than one display, then it is strongly
|
|
||||||
recommended that you compile Emacs with the Athena/Lucid or the
|
|
||||||
Motif toolkit instead.
|
|
||||||
EOF
|
|
||||||
if use gtk2; then
|
|
||||||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets"
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set."
|
|
||||||
else
|
|
||||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
|
||||||
fi
|
|
||||||
for f in motif Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
|
||||||
done
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Configuring to build with Motif toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=motif"
|
|
||||||
for f in Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
|
||||||
done
|
|
||||||
elif use athena || use Xaw3d; then
|
|
||||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
|
||||||
else
|
|
||||||
einfo "Configuring to build with no toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=no"
|
|
||||||
fi
|
|
||||||
if ! use gtk; then
|
|
||||||
use gtk2 && ewarn \
|
|
||||||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set."
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
|
||||||
fi
|
|
||||||
elif use aqua; then
|
|
||||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
|
||||||
myconf+=" --with-ns --disable-ns-self-contained"
|
|
||||||
myconf+=" --without-x"
|
|
||||||
else
|
|
||||||
myconf+=" --without-x --without-ns"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--program-suffix="-${EMACS_SUFFIX}" \
|
|
||||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
|
||||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
|
||||||
--without-compress-install \
|
|
||||||
--without-hesiod \
|
|
||||||
--without-pop \
|
|
||||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
$(use_with dbus) \
|
|
||||||
$(use_with dynamic-loading modules) \
|
|
||||||
$(use_with games gameuser ":gamestat") \
|
|
||||||
$(use_with gpm) \
|
|
||||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
|
||||||
$(use_with lcms lcms2) \
|
|
||||||
$(use_with libxml2 xml2) \
|
|
||||||
$(use_with mailutils) \
|
|
||||||
$(use_with selinux) \
|
|
||||||
$(use_with ssl gnutls) \
|
|
||||||
$(use_with systemd libsystemd) \
|
|
||||||
$(use_with threads) \
|
|
||||||
$(use_with wide-int) \
|
|
||||||
$(use_with zlib) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Disable sandbox when dumping. For the unbelievers, see bug #131505
|
|
||||||
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
|
||||||
|
|
||||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
|
||||||
|| die "moving emacs executable failed"
|
|
||||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
|
||||||
|| die "moving emacs man page failed"
|
|
||||||
|
|
||||||
# move info dir to avoid collisions with the dir file generated by portage
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
|
||||||
|| die "moving info dir failed"
|
|
||||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
|
||||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
|
||||||
|
|
||||||
# avoid collision between slots, see bug #169033 e.g.
|
|
||||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
|
||||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
|
||||||
rm -rf "${ED}/usr/$(get_libdir)"
|
|
||||||
rm -rf "${ED}"/var
|
|
||||||
|
|
||||||
# remove unused <version>/site-lisp dir
|
|
||||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
|
||||||
|
|
||||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
|
||||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
|
||||||
|
|
||||||
if use gzip-el; then
|
|
||||||
# compress .el files when a corresponding .elc exists
|
|
||||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
|
||||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
|
||||||
assert "gzip .el failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local cdir
|
|
||||||
if use source; then
|
|
||||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
|
||||||
insinto "${cdir}"
|
|
||||||
# This is not meant to install all the source -- just the
|
|
||||||
# C source you might find via find-function
|
|
||||||
doins src/*.{c,h,m}
|
|
||||||
elif has installsources ${FEATURES}; then
|
|
||||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
|
||||||
X
|
|
||||||
;;; ${PN}-${SLOT} site-lisp configuration
|
|
||||||
X
|
|
||||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
|
||||||
Y (setq find-function-C-source-directory
|
|
||||||
Y "${EPREFIX}${cdir}")
|
|
||||||
X (let ((path (getenv "INFOPATH"))
|
|
||||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
|
||||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
|
||||||
X (and path
|
|
||||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
|
||||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
|
||||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
|
||||||
X (setq q (cdr q)))
|
|
||||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
|
||||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
|
||||||
EOF
|
|
||||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
|
||||||
|
|
||||||
dodoc README BUGS CONTRIBUTE
|
|
||||||
|
|
||||||
if use aqua; then
|
|
||||||
dodir /Applications/Gentoo
|
|
||||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
|
||||||
mv nextstep/Emacs.app \
|
|
||||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
|
||||||
through the Emacs eselect module, which also redirects man and info
|
|
||||||
pages. Therefore, several Emacs versions can be installed at the
|
|
||||||
same time. \"man emacs.eselect\" for details.
|
|
||||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
|
||||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
|
||||||
all byte-compiled elisp files of the installed Emacs packages."
|
|
||||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
|
||||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
|
||||||
machine would satisfy basic Emacs requirements under X11.
|
|
||||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
|
||||||
for how to enable anti-aliased fonts."
|
|
||||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
|
||||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
|
||||||
it into /Applications by yourself."
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# move Info dir file to correct name
|
|
||||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
|
||||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
|
||||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
|
||||||
elif [[ -d "${ED}"${infodir} ]]; then
|
|
||||||
# this should not happen in EAPI 4
|
|
||||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
|
||||||
rm -f "${ED}"${infodir}/dir{,.*}
|
|
||||||
for f in "${ED}"${infodir}/*; do
|
|
||||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
|
||||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
|
||||||
|| die "install-info failed"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp-site-regen
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
|
|
||||||
if use livecd; then
|
|
||||||
# force an update of the emacs symlink for the livecd/dvd,
|
|
||||||
# because some microemacs packages set it with USE=livecd
|
|
||||||
eselect emacs update
|
|
||||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
|
||||||
# refresh symlinks in case any installed files have changed
|
|
||||||
eselect emacs set ${EMACS_SUFFIX}
|
|
||||||
else
|
|
||||||
eselect emacs update ifunset
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
elisp-site-regen
|
|
||||||
eselect emacs update ifunset
|
|
||||||
}
|
|
@ -1,412 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
|
||||||
EGIT_BRANCH="emacs-26"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
|
||||||
S="${EGIT_CHECKOUT_DIR}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
|
||||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
# FULL_VERSION keeps the full version number, which is needed in
|
|
||||||
# order to determine some path information correctly for copy/move
|
|
||||||
# operations later on
|
|
||||||
FULL_VERSION="${PV%%_*}"
|
|
||||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
|
||||||
SLOT="26"
|
|
||||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
|
||||||
REQUIRED_USE="?? ( aqua X )"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/ncurses:0=
|
|
||||||
>=app-eselect/eselect-emacs-1.16
|
|
||||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
gpm? ( sys-libs/gpm )
|
|
||||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
|
||||||
mailutils? ( net-mail/mailutils[clients] )
|
|
||||||
!mailutils? ( net-libs/liblockfile )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
ssl? ( net-libs/gnutls:0= )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
X? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-misc/xbitmaps
|
|
||||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
|
||||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
|
||||||
gif? ( media-libs/giflib:0= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
png? ( >=media-libs/libpng-1.4:0= )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.0 )
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0=
|
|
||||||
<media-gfx/imagemagick-7:0= )
|
|
||||||
xft? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXrender
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
|
||||||
m17n-lib? (
|
|
||||||
>=dev-libs/libotf-0.9.4
|
|
||||||
>=dev-libs/m17n-lib-1.5.1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
gtk2? ( x11-libs/gtk+:2 )
|
|
||||||
!gtk2? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
xwidgets? (
|
|
||||||
net-libs/webkit-gtk:4=
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
motif? (
|
|
||||||
>=x11-libs/motif-2.3:0
|
|
||||||
x11-libs/libXpm
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!motif? (
|
|
||||||
Xaw3d? (
|
|
||||||
x11-libs/libXaw3d
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!Xaw3d? ( athena? (
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
X? ( x11-base/xorg-proto )"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
gzip-el? ( app-arch/gzip )"
|
|
||||||
# pax_kernel? ( sys-apps/attr )
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
sys-apps/texinfo"
|
|
||||||
fi
|
|
||||||
|
|
||||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
|
||||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
|
||||||
configure.ac)
|
|
||||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
|
||||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
|
||||||
einfo "Commit: ${EGIT_VERSION}"
|
|
||||||
einfo "Emacs version number: ${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
|
||||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix filename reference in redirected man page
|
|
||||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
|
||||||
|| die "unable to sed ctags.1"
|
|
||||||
|
|
||||||
AT_M4DIR=m4 eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags
|
|
||||||
filter-flags -pie #526948
|
|
||||||
|
|
||||||
if use sh; then
|
|
||||||
replace-flags "-O[1-9]" -O0 #262359
|
|
||||||
elif use ia64; then
|
|
||||||
replace-flags "-O[2-9]" -O1 #325373
|
|
||||||
else
|
|
||||||
replace-flags "-O[3-9]" -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use alsa; then
|
|
||||||
use sound || ewarn \
|
|
||||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
|
||||||
myconf+=" --with-sound=alsa"
|
|
||||||
else
|
|
||||||
myconf+=" --with-sound=$(usex sound oss)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
myconf+=" --with-x --without-ns"
|
|
||||||
myconf+=" $(use_with gconf)"
|
|
||||||
myconf+=" $(use_with gsettings)"
|
|
||||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
|
||||||
myconf+=" $(use_with gif)"
|
|
||||||
myconf+=" $(use_with jpeg)"
|
|
||||||
myconf+=" $(use_with png)"
|
|
||||||
myconf+=" $(use_with svg rsvg)"
|
|
||||||
myconf+=" $(use_with tiff)"
|
|
||||||
myconf+=" $(use_with xpm)"
|
|
||||||
myconf+=" $(use_with imagemagick)"
|
|
||||||
|
|
||||||
if use xft; then
|
|
||||||
myconf+=" --with-xft"
|
|
||||||
myconf+=" $(use_with cairo)"
|
|
||||||
myconf+=" $(use_with m17n-lib libotf)"
|
|
||||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-xft"
|
|
||||||
myconf+=" --without-cairo"
|
|
||||||
myconf+=" --without-libotf --without-m17n-flt"
|
|
||||||
use cairo && ewarn \
|
|
||||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
|
||||||
use m17n-lib && ewarn \
|
|
||||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
local f line
|
|
||||||
if use gtk; then
|
|
||||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
|
||||||
while read line; do ewarn "${line}"; done <<-EOF
|
|
||||||
Your version of GTK+ will have problems with closing open
|
|
||||||
displays. This is no problem if you just use one display, but
|
|
||||||
if you use more than one and close one of them Emacs may crash.
|
|
||||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
|
||||||
If you intend to use more than one display, then it is strongly
|
|
||||||
recommended that you compile Emacs with the Athena/Lucid or the
|
|
||||||
Motif toolkit instead.
|
|
||||||
EOF
|
|
||||||
if use gtk2; then
|
|
||||||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets"
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set."
|
|
||||||
else
|
|
||||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
|
||||||
fi
|
|
||||||
for f in motif Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
|
||||||
done
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Configuring to build with Motif toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=motif"
|
|
||||||
for f in Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
|
||||||
done
|
|
||||||
elif use athena || use Xaw3d; then
|
|
||||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
|
||||||
else
|
|
||||||
einfo "Configuring to build with no toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=no"
|
|
||||||
fi
|
|
||||||
if ! use gtk; then
|
|
||||||
use gtk2 && ewarn \
|
|
||||||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set."
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
|
||||||
fi
|
|
||||||
elif use aqua; then
|
|
||||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
|
||||||
myconf+=" --with-ns --disable-ns-self-contained"
|
|
||||||
myconf+=" --without-x"
|
|
||||||
else
|
|
||||||
myconf+=" --without-x --without-ns"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--program-suffix="-${EMACS_SUFFIX}" \
|
|
||||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
|
||||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
|
||||||
--without-compress-install \
|
|
||||||
--without-hesiod \
|
|
||||||
--without-pop \
|
|
||||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
$(use_with dbus) \
|
|
||||||
$(use_with dynamic-loading modules) \
|
|
||||||
$(use_with games gameuser ":gamestat") \
|
|
||||||
$(use_with gpm) \
|
|
||||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
|
||||||
$(use_with lcms lcms2) \
|
|
||||||
$(use_with libxml2 xml2) \
|
|
||||||
$(use_with mailutils) \
|
|
||||||
$(use_with selinux) \
|
|
||||||
$(use_with ssl gnutls) \
|
|
||||||
$(use_with systemd libsystemd) \
|
|
||||||
$(use_with threads) \
|
|
||||||
$(use_with wide-int) \
|
|
||||||
$(use_with zlib) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Disable sandbox when dumping. For the unbelievers, see bug #131505
|
|
||||||
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
|
||||||
|
|
||||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
|
||||||
|| die "moving emacs executable failed"
|
|
||||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
|
||||||
|| die "moving emacs man page failed"
|
|
||||||
|
|
||||||
# move info dir to avoid collisions with the dir file generated by portage
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
|
||||||
|| die "moving info dir failed"
|
|
||||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
|
||||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
|
||||||
|
|
||||||
# avoid collision between slots, see bug #169033 e.g.
|
|
||||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
|
||||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
|
||||||
rm -rf "${ED}/usr/$(get_libdir)"
|
|
||||||
rm -rf "${ED}"/var
|
|
||||||
|
|
||||||
# remove unused <version>/site-lisp dir
|
|
||||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
|
||||||
|
|
||||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
|
||||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
|
||||||
|
|
||||||
if use gzip-el; then
|
|
||||||
# compress .el files when a corresponding .elc exists
|
|
||||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
|
||||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
|
||||||
assert "gzip .el failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local cdir
|
|
||||||
if use source; then
|
|
||||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
|
||||||
insinto "${cdir}"
|
|
||||||
# This is not meant to install all the source -- just the
|
|
||||||
# C source you might find via find-function
|
|
||||||
doins src/*.{c,h,m}
|
|
||||||
elif has installsources ${FEATURES}; then
|
|
||||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
|
||||||
X
|
|
||||||
;;; ${PN}-${SLOT} site-lisp configuration
|
|
||||||
X
|
|
||||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
|
||||||
Y (setq find-function-C-source-directory
|
|
||||||
Y "${EPREFIX}${cdir}")
|
|
||||||
X (let ((path (getenv "INFOPATH"))
|
|
||||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
|
||||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
|
||||||
X (and path
|
|
||||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
|
||||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
|
||||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
|
||||||
X (setq q (cdr q)))
|
|
||||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
|
||||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
|
||||||
EOF
|
|
||||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
|
||||||
|
|
||||||
dodoc README BUGS CONTRIBUTE
|
|
||||||
|
|
||||||
if use aqua; then
|
|
||||||
dodir /Applications/Gentoo
|
|
||||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
|
||||||
mv nextstep/Emacs.app \
|
|
||||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
|
||||||
through the Emacs eselect module, which also redirects man and info
|
|
||||||
pages. Therefore, several Emacs versions can be installed at the
|
|
||||||
same time. \"man emacs.eselect\" for details.
|
|
||||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
|
||||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
|
||||||
all byte-compiled elisp files of the installed Emacs packages."
|
|
||||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
|
||||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
|
||||||
machine would satisfy basic Emacs requirements under X11.
|
|
||||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
|
||||||
for how to enable anti-aliased fonts."
|
|
||||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
|
||||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
|
||||||
it into /Applications by yourself."
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# move Info dir file to correct name
|
|
||||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
|
||||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
|
||||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
|
||||||
elif [[ -d "${ED}"${infodir} ]]; then
|
|
||||||
# this should not happen in EAPI 4
|
|
||||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
|
||||||
rm -f "${ED}"${infodir}/dir{,.*}
|
|
||||||
for f in "${ED}"${infodir}/*; do
|
|
||||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
|
||||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
|
||||||
|| die "install-info failed"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp-site-regen
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
|
|
||||||
if use livecd; then
|
|
||||||
# force an update of the emacs symlink for the livecd/dvd,
|
|
||||||
# because some microemacs packages set it with USE=livecd
|
|
||||||
eselect emacs update
|
|
||||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
|
||||||
# refresh symlinks in case any installed files have changed
|
|
||||||
eselect emacs set ${EMACS_SUFFIX}
|
|
||||||
else
|
|
||||||
eselect emacs update ifunset
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
elisp-site-regen
|
|
||||||
eselect emacs update ifunset
|
|
||||||
}
|
|
@ -1,408 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
|
||||||
EGIT_BRANCH="emacs-26"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
|
||||||
S="${EGIT_CHECKOUT_DIR}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
|
||||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
# FULL_VERSION keeps the full version number, which is needed in
|
|
||||||
# order to determine some path information correctly for copy/move
|
|
||||||
# operations later on
|
|
||||||
FULL_VERSION="${PV%%_*}"
|
|
||||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
|
||||||
SLOT="26"
|
|
||||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
|
||||||
REQUIRED_USE="?? ( aqua X )"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/ncurses:0=
|
|
||||||
>=app-eselect/eselect-emacs-1.16
|
|
||||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
gpm? ( sys-libs/gpm )
|
|
||||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
|
||||||
mailutils? ( net-mail/mailutils[clients] )
|
|
||||||
!mailutils? ( net-libs/liblockfile )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
ssl? ( net-libs/gnutls:0= )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
X? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-misc/xbitmaps
|
|
||||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
|
||||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
|
||||||
gif? ( media-libs/giflib:0= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
png? ( >=media-libs/libpng-1.4:0= )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.0 )
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0=
|
|
||||||
<media-gfx/imagemagick-7:0= )
|
|
||||||
xft? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXrender
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
|
||||||
m17n-lib? (
|
|
||||||
>=dev-libs/libotf-0.9.4
|
|
||||||
>=dev-libs/m17n-lib-1.5.1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
gtk2? ( x11-libs/gtk+:2 )
|
|
||||||
!gtk2? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
xwidgets? (
|
|
||||||
net-libs/webkit-gtk:4=
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
motif? (
|
|
||||||
>=x11-libs/motif-2.3:0
|
|
||||||
x11-libs/libXpm
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!motif? (
|
|
||||||
Xaw3d? (
|
|
||||||
x11-libs/libXaw3d
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!Xaw3d? ( athena? (
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
X? ( x11-base/xorg-proto )"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
gzip-el? ( app-arch/gzip )"
|
|
||||||
# pax_kernel? ( sys-apps/attr )
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
sys-apps/texinfo"
|
|
||||||
fi
|
|
||||||
|
|
||||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
|
||||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
|
||||||
configure.ac)
|
|
||||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
|
||||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
|
||||||
einfo "Commit: ${EGIT_VERSION}"
|
|
||||||
einfo "Emacs version number: ${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
|
||||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix filename reference in redirected man page
|
|
||||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
|
||||||
|
|
||||||
AT_M4DIR=m4 eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags
|
|
||||||
filter-flags -pie #526948
|
|
||||||
|
|
||||||
if use sh; then
|
|
||||||
replace-flags "-O[1-9]" -O0 #262359
|
|
||||||
elif use ia64; then
|
|
||||||
replace-flags "-O[2-9]" -O1 #325373
|
|
||||||
else
|
|
||||||
replace-flags "-O[3-9]" -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use alsa; then
|
|
||||||
use sound || ewarn \
|
|
||||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
|
||||||
myconf+=" --with-sound=alsa"
|
|
||||||
else
|
|
||||||
myconf+=" --with-sound=$(usex sound oss)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
myconf+=" --with-x --without-ns"
|
|
||||||
myconf+=" $(use_with gconf)"
|
|
||||||
myconf+=" $(use_with gsettings)"
|
|
||||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
|
||||||
myconf+=" $(use_with gif)"
|
|
||||||
myconf+=" $(use_with jpeg)"
|
|
||||||
myconf+=" $(use_with png)"
|
|
||||||
myconf+=" $(use_with svg rsvg)"
|
|
||||||
myconf+=" $(use_with tiff)"
|
|
||||||
myconf+=" $(use_with xpm)"
|
|
||||||
myconf+=" $(use_with imagemagick)"
|
|
||||||
|
|
||||||
if use xft; then
|
|
||||||
myconf+=" --with-xft"
|
|
||||||
myconf+=" $(use_with cairo)"
|
|
||||||
myconf+=" $(use_with m17n-lib libotf)"
|
|
||||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-xft"
|
|
||||||
myconf+=" --without-cairo"
|
|
||||||
myconf+=" --without-libotf --without-m17n-flt"
|
|
||||||
use cairo && ewarn \
|
|
||||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
|
||||||
use m17n-lib && ewarn \
|
|
||||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
local f line
|
|
||||||
if use gtk; then
|
|
||||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
|
||||||
while read line; do ewarn "${line}"; done <<-EOF
|
|
||||||
Your version of GTK+ will have problems with closing open
|
|
||||||
displays. This is no problem if you just use one display, but
|
|
||||||
if you use more than one and close one of them Emacs may crash.
|
|
||||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
|
||||||
If you intend to use more than one display, then it is strongly
|
|
||||||
recommended that you compile Emacs with the Athena/Lucid or the
|
|
||||||
Motif toolkit instead.
|
|
||||||
EOF
|
|
||||||
if use gtk2; then
|
|
||||||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets"
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set."
|
|
||||||
else
|
|
||||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
|
||||||
fi
|
|
||||||
for f in motif Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
|
||||||
done
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Configuring to build with Motif toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=motif"
|
|
||||||
for f in Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
|
||||||
done
|
|
||||||
elif use athena || use Xaw3d; then
|
|
||||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
|
||||||
else
|
|
||||||
einfo "Configuring to build with no toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=no"
|
|
||||||
fi
|
|
||||||
if ! use gtk; then
|
|
||||||
use gtk2 && ewarn \
|
|
||||||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set."
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
|
||||||
fi
|
|
||||||
elif use aqua; then
|
|
||||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
|
||||||
myconf+=" --with-ns --disable-ns-self-contained"
|
|
||||||
myconf+=" --without-x"
|
|
||||||
else
|
|
||||||
myconf+=" --without-x --without-ns"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--program-suffix="-${EMACS_SUFFIX}" \
|
|
||||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
|
||||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
|
||||||
--without-compress-install \
|
|
||||||
--without-hesiod \
|
|
||||||
--without-pop \
|
|
||||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
$(use_with dbus) \
|
|
||||||
$(use_with dynamic-loading modules) \
|
|
||||||
$(use_with games gameuser ":gamestat") \
|
|
||||||
$(use_with gpm) \
|
|
||||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
|
||||||
$(use_with lcms lcms2) \
|
|
||||||
$(use_with libxml2 xml2) \
|
|
||||||
$(use_with mailutils) \
|
|
||||||
$(use_with selinux) \
|
|
||||||
$(use_with ssl gnutls) \
|
|
||||||
$(use_with systemd libsystemd) \
|
|
||||||
$(use_with threads) \
|
|
||||||
$(use_with wide-int) \
|
|
||||||
$(use_with zlib) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Disable sandbox when dumping. For the unbelievers, see bug #131505
|
|
||||||
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
|
||||||
|
|
||||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
|
||||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
|
||||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die
|
|
||||||
|
|
||||||
# move info dir to avoid collisions with the dir file generated by portage
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die
|
|
||||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
|
||||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
|
||||||
|
|
||||||
# avoid collision between slots, see bug #169033 e.g.
|
|
||||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
|
||||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
|
||||||
rm -rf "${ED}/usr/$(get_libdir)"
|
|
||||||
rm -rf "${ED}"/var
|
|
||||||
|
|
||||||
# remove unused <version>/site-lisp dir
|
|
||||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
|
||||||
|
|
||||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
|
||||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
|
||||||
|
|
||||||
if use gzip-el; then
|
|
||||||
# compress .el files when a corresponding .elc exists
|
|
||||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
|
||||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
|
||||||
assert "gzip .el failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local cdir
|
|
||||||
if use source; then
|
|
||||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
|
||||||
insinto "${cdir}"
|
|
||||||
# This is not meant to install all the source -- just the
|
|
||||||
# C source you might find via find-function
|
|
||||||
doins src/*.{c,h,m}
|
|
||||||
elif has installsources ${FEATURES}; then
|
|
||||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
|
||||||
X
|
|
||||||
;;; ${PN}-${SLOT} site-lisp configuration
|
|
||||||
X
|
|
||||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
|
||||||
Y (setq find-function-C-source-directory
|
|
||||||
Y "${EPREFIX}${cdir}")
|
|
||||||
X (let ((path (getenv "INFOPATH"))
|
|
||||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
|
||||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
|
||||||
X (and path
|
|
||||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
|
||||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
|
||||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
|
||||||
X (setq q (cdr q)))
|
|
||||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
|
||||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
|
||||||
EOF
|
|
||||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
|
||||||
|
|
||||||
dodoc README BUGS CONTRIBUTE
|
|
||||||
|
|
||||||
if use aqua; then
|
|
||||||
dodir /Applications/Gentoo
|
|
||||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
|
||||||
mv nextstep/Emacs.app \
|
|
||||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
|
||||||
through the Emacs eselect module, which also redirects man and info
|
|
||||||
pages. Therefore, several Emacs versions can be installed at the
|
|
||||||
same time. \"man emacs.eselect\" for details.
|
|
||||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
|
||||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
|
||||||
all byte-compiled elisp files of the installed Emacs packages."
|
|
||||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
|
||||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
|
||||||
machine would satisfy basic Emacs requirements under X11.
|
|
||||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
|
||||||
for how to enable anti-aliased fonts."
|
|
||||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
|
||||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
|
||||||
it into /Applications by yourself."
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# move Info dir file to correct name
|
|
||||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
|
||||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
|
||||||
mv "${ED}"${infodir}/dir{.orig,} || die
|
|
||||||
elif [[ -d "${ED}"${infodir} ]]; then
|
|
||||||
# this should not happen in EAPI 4
|
|
||||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
|
||||||
rm -f "${ED}"${infodir}/dir{,.*}
|
|
||||||
for f in "${ED}"${infodir}/*; do
|
|
||||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
|
||||||
install-info --info-dir="${ED}"${infodir} "${f}" || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp-site-regen
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
|
|
||||||
if use livecd; then
|
|
||||||
# force an update of the emacs symlink for the livecd/dvd,
|
|
||||||
# because some microemacs packages set it with USE=livecd
|
|
||||||
eselect emacs update
|
|
||||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
|
||||||
# refresh symlinks in case any installed files have changed
|
|
||||||
eselect emacs set ${EMACS_SUFFIX}
|
|
||||||
else
|
|
||||||
eselect emacs update ifunset
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
elisp-site-regen
|
|
||||||
eselect emacs update ifunset
|
|
||||||
}
|
|
@ -0,0 +1,370 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
VIM_VERSION="8.1"
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
USE_RUBY="ruby24 ruby25 ruby26"
|
||||||
|
|
||||||
|
inherit vim-doc flag-o-matic xdg-utils gnome2-utils bash-completion-r1 prefix python-single-r1 ruby-single
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||||
|
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||||
|
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0938-gentoo-patches.tar.bz2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="GUI version of the Vim text editor"
|
||||||
|
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="vim"
|
||||||
|
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||||
|
REQUIRED_USE="
|
||||||
|
luajit? ( lua )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-eselect/eselect-vi-1.1
|
||||||
|
>=sys-libs/ncurses-5.2-r2:0=
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXt
|
||||||
|
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||||
|
!aqua? (
|
||||||
|
gtk? (
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libXft
|
||||||
|
)
|
||||||
|
!gtk? (
|
||||||
|
gtk2? (
|
||||||
|
>=x11-libs/gtk+-2.6:2
|
||||||
|
x11-libs/libXft
|
||||||
|
)
|
||||||
|
!gtk2? (
|
||||||
|
motif? ( >=x11-libs/motif-2.3:0 )
|
||||||
|
!motif? (
|
||||||
|
neXt? ( x11-libs/neXtaw )
|
||||||
|
!neXt? ( x11-libs/libXaw )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
cscope? ( dev-util/cscope )
|
||||||
|
lua? (
|
||||||
|
luajit? ( dev-lang/luajit:2= )
|
||||||
|
!luajit? ( dev-lang/lua:0[deprecated] )
|
||||||
|
)
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
perl? ( dev-lang/perl:= )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
racket? ( dev-scheme/racket )
|
||||||
|
ruby? ( ${RUBY_DEPS} )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
session? ( x11-libs/libSM )
|
||||||
|
tcl? ( dev-lang/tcl:0= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/autoconf
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
# temporarily use PDEPEND to allow upgrades past icon file collision, bug #673880
|
||||||
|
PDEPEND="~app-editors/vim-core-${PV}"
|
||||||
|
|
||||||
|
# various failures (bugs #630042 and #682320)
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
S=${WORKDIR}/vim-${PV}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# people with broken alphabets run into trouble. bug 82186.
|
||||||
|
unset LANG LC_ALL
|
||||||
|
export LC_COLLATE="C"
|
||||||
|
|
||||||
|
# Gnome sandbox silliness. bug #114475.
|
||||||
|
mkdir -p "${T}"/home || die
|
||||||
|
export HOME="${T}"/home
|
||||||
|
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV} != 9999* ]]; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
eapply "${WORKDIR}"/patches/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fixup a script to use awk instead of nawk
|
||||||
|
sed -i -e \
|
||||||
|
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||||
|
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||||
|
|
||||||
|
# Read vimrc and gvimrc from /etc/vim
|
||||||
|
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||||
|
>> "${S}"/src/feature.h || die "echo failed"
|
||||||
|
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||||
|
>> "${S}"/src/feature.h || die "echo failed"
|
||||||
|
|
||||||
|
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||||
|
# Hopefully this pattern won't break for a while at least.
|
||||||
|
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||||
|
sed -i -e \
|
||||||
|
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||||
|
"${S}"/runtime/doc/syntax.txt \
|
||||||
|
"${S}"/runtime/doc/tagsrch.txt \
|
||||||
|
"${S}"/runtime/doc/usr_29.txt \
|
||||||
|
"${S}"/runtime/menu.vim \
|
||||||
|
"${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||||
|
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||||
|
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||||
|
sed -i -e \
|
||||||
|
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||||
|
# correctly. To avoid some really entertaining error messages about stuff
|
||||||
|
# which isn't even in the source file being invalid, we'll do some trickery
|
||||||
|
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||||
|
find "${S}" -name '*.c' | while read c; do
|
||||||
|
echo >> "$c" || die "echo failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Try to avoid sandbox problems. Bug #114475.
|
||||||
|
if [[ -d "${S}"/src/po ]]; then
|
||||||
|
sed -i -e \
|
||||||
|
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||||
|
"${S}"/src/po/Makefile || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||||
|
|
||||||
|
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||||
|
sed -i -e \
|
||||||
|
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||||
|
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||||
|
# Bug 57859 suggests that we want to do this for all archs
|
||||||
|
filter-flags -funroll-all-loops
|
||||||
|
|
||||||
|
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||||
|
# everyone since previous flag filtering bugs have turned out to affect
|
||||||
|
# multiple archs...
|
||||||
|
replace-flags -O3 -O2
|
||||||
|
|
||||||
|
# Fix bug 18245: Prevent "make" from the following chain:
|
||||||
|
# (1) Notice configure.ac is newer than auto/configure
|
||||||
|
# (2) Rebuild auto/configure
|
||||||
|
# (3) Notice auto/configure is newer than auto/config.mk
|
||||||
|
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||||
|
sed -i -e \
|
||||||
|
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||||
|
rm -v src/auto/configure || die "rm failed"
|
||||||
|
emake -j1 -C src autoconf
|
||||||
|
|
||||||
|
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||||
|
# things are for ppc64, see bug 86433.
|
||||||
|
local file
|
||||||
|
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||||
|
if [[ -e ${file} ]]; then
|
||||||
|
addwrite $file
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
use debug && append-flags "-DDEBUG"
|
||||||
|
|
||||||
|
myconf=(
|
||||||
|
--with-features=huge
|
||||||
|
--disable-gpm
|
||||||
|
--enable-multibyte
|
||||||
|
--with-gnome=no
|
||||||
|
$(use_enable acl)
|
||||||
|
$(use_enable cscope)
|
||||||
|
$(use_enable lua luainterp)
|
||||||
|
$(use_with luajit)
|
||||||
|
$(use_enable netbeans)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable perl perlinterp)
|
||||||
|
$(use_enable python pythoninterp)
|
||||||
|
$(use_enable python python3interp)
|
||||||
|
$(use_with python python-command $(type -P $(eselect python show --python2)))
|
||||||
|
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
||||||
|
$(use_enable racket mzschemeinterp)
|
||||||
|
$(use_enable ruby rubyinterp)
|
||||||
|
$(use_enable selinux)
|
||||||
|
$(use_enable session xsmp)
|
||||||
|
$(use_enable tcl tclinterp)
|
||||||
|
)
|
||||||
|
|
||||||
|
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||||
|
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||||
|
if ! use cscope; then
|
||||||
|
sed -i -e \
|
||||||
|
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# gvim's GUI preference order is as follows:
|
||||||
|
# aqua CARBON (not tested)
|
||||||
|
# -aqua gtk GTK3
|
||||||
|
# -aqua -gtk gtk2 GTK2
|
||||||
|
# -aqua -gtk -gtk motif MOTIF
|
||||||
|
# -aqua -gtk -gtk -motif neXt NEXTAW
|
||||||
|
# -aqua -gtk -gtk -motif -neXt ATHENA
|
||||||
|
echo ; echo
|
||||||
|
if use aqua; then
|
||||||
|
einfo "Building gvim with the Carbon GUI"
|
||||||
|
myconf+=(
|
||||||
|
--enable-darwin
|
||||||
|
--enable-gui=carbon
|
||||||
|
)
|
||||||
|
elif use gtk; then
|
||||||
|
myconf+=( --enable-gtk3-check )
|
||||||
|
einfo "Building gvim with the gtk+-3 GUI"
|
||||||
|
myconf+=( --enable-gui=gtk3 )
|
||||||
|
elif use gtk2; then
|
||||||
|
myconf+=( --enable-gtk2-check )
|
||||||
|
einfo "Building gvim with the gtk+-2 GUI"
|
||||||
|
myconf+=( --enable-gui=gtk2 )
|
||||||
|
elif use motif; then
|
||||||
|
einfo "Building gvim with the MOTIF GUI"
|
||||||
|
myconf+=( --enable-gui=motif )
|
||||||
|
elif use neXt; then
|
||||||
|
einfo "Building gvim with the neXtaw GUI"
|
||||||
|
myconf+=( --enable-gui=nextaw )
|
||||||
|
else
|
||||||
|
einfo "Building gvim with the Athena GUI"
|
||||||
|
myconf+=( --enable-gui=athena )
|
||||||
|
fi
|
||||||
|
echo ; echo
|
||||||
|
|
||||||
|
# let package manager strip binaries
|
||||||
|
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||||
|
|
||||||
|
# keep prefix env contained within the EPREFIX
|
||||||
|
use prefix && myconf+=( --without-local-dir )
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-interix* ]]; then
|
||||||
|
# avoid finding of this function, to avoid having to patch either
|
||||||
|
# configure or the source, which would be much more hackish.
|
||||||
|
# after all vim does it right, only interix is badly broken (again)
|
||||||
|
export ac_cv_func_sigaction=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--with-modified-by=Gentoo-${PVR} \
|
||||||
|
--with-vim-name=gvim \
|
||||||
|
--with-x \
|
||||||
|
"${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# The following allows emake to be used
|
||||||
|
emake -j1 -C src auto/osdef.h objects
|
||||||
|
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
einfo
|
||||||
|
einfo "Starting vim tests. Several error messages will be shown"
|
||||||
|
einfo "while the tests run. This is normal behaviour and does not"
|
||||||
|
einfo "indicate a fault."
|
||||||
|
einfo
|
||||||
|
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||||
|
ewarn "state. Usually, running 'reset' will fix this."
|
||||||
|
einfo
|
||||||
|
|
||||||
|
# Don't let vim talk to X
|
||||||
|
unset DISPLAY
|
||||||
|
|
||||||
|
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
||||||
|
# this evil trickery works.
|
||||||
|
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
||||||
|
|
||||||
|
# Make sure our VIMPROG is used.
|
||||||
|
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
||||||
|
|
||||||
|
# Don't do additional GUI tests.
|
||||||
|
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
||||||
|
}
|
||||||
|
|
||||||
|
# Call eselect vi update with --if-unset
|
||||||
|
# to respect user's choice (bug 187449)
|
||||||
|
eselect_vi_update() {
|
||||||
|
einfo "Calling eselect vi update..."
|
||||||
|
eselect vi update --if-unset
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||||
|
|
||||||
|
dobin src/gvim
|
||||||
|
dosym gvim /usr/bin/gvimdiff
|
||||||
|
dosym gvim /usr/bin/evim
|
||||||
|
dosym gvim /usr/bin/eview
|
||||||
|
dosym gvim /usr/bin/gview
|
||||||
|
dosym gvim /usr/bin/rgvim
|
||||||
|
dosym gvim /usr/bin/rgview
|
||||||
|
|
||||||
|
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
||||||
|
|
||||||
|
dodir /usr/share/man/man1
|
||||||
|
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
||||||
|
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
||||||
|
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
||||||
|
die "echo failed"
|
||||||
|
|
||||||
|
insinto /etc/vim
|
||||||
|
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||||
|
eprefixify "${ED}"/etc/vim/gvimrc
|
||||||
|
|
||||||
|
# bash completion script, bug #79018.
|
||||||
|
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||||
|
|
||||||
|
# don't install vim desktop file
|
||||||
|
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# Update fdo mime stuff, bug #78394
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
# Update icon cache
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
|
||||||
|
# Call eselect vi update
|
||||||
|
eselect_vi_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# Update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# Update fdo mime stuff, bug #78394
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
# Update icon cache
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
|
||||||
|
# Call eselect vi update
|
||||||
|
eselect_vi_update
|
||||||
|
}
|
@ -0,0 +1,225 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
VIM_VERSION="8.1"
|
||||||
|
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop gnome2-utils
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||||
|
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||||
|
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0938-gentoo-patches.tar.bz2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="vim and gvim shared files"
|
||||||
|
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="vim"
|
||||||
|
IUSE="nls acl minimal"
|
||||||
|
|
||||||
|
DEPEND="sys-devel/autoconf"
|
||||||
|
# avoid icon file collision bug #673880
|
||||||
|
RDEPEND="!!<app-editors/gvim-8.1.0648"
|
||||||
|
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||||
|
|
||||||
|
S=${WORKDIR}/vim-${PV}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# people with broken alphabets run into trouble. bug 82186.
|
||||||
|
unset LANG LC_ALL
|
||||||
|
export LC_COLLATE="C"
|
||||||
|
|
||||||
|
# Gnome sandbox silliness. bug #114475.
|
||||||
|
mkdir -p "${T}"/home || die "mkdir -p failed"
|
||||||
|
export HOME="${T}"/home
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV} != 9999* ]] ; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
eapply "${WORKDIR}"/patches
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fixup a script to use awk instead of nawk
|
||||||
|
sed -i \
|
||||||
|
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||||
|
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
||||||
|
|
||||||
|
# See #77841. We remove this file after the tarball extraction.
|
||||||
|
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
||||||
|
|
||||||
|
# Read vimrc and gvimrc from /etc/vim
|
||||||
|
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||||
|
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||||
|
|
||||||
|
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||||
|
# Hopefully this pattern won't break for a while at least.
|
||||||
|
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||||
|
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||||
|
"${S}"/runtime/doc/syntax.txt \
|
||||||
|
"${S}"/runtime/doc/tagsrch.txt \
|
||||||
|
"${S}"/runtime/doc/usr_29.txt \
|
||||||
|
"${S}"/runtime/menu.vim \
|
||||||
|
"${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||||
|
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||||
|
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||||
|
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||||
|
# correctly. To avoid some really entertaining error messages about stuff
|
||||||
|
# which isn't even in the source file being invalid, we'll do some trickery
|
||||||
|
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||||
|
find "${S}" -name '*.c' | while read c; do
|
||||||
|
echo >> "$c" || die "echo failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Try to avoid sandbox problems. Bug #114475.
|
||||||
|
if [[ -d "${S}"/src/po ]]; then
|
||||||
|
sed -i -e \
|
||||||
|
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||||
|
"${S}"/src/po/Makefile || die "sed failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||||
|
|
||||||
|
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||||
|
sed -i -e \
|
||||||
|
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||||
|
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||||
|
# Bug 57859 suggests that we want to do this for all archs
|
||||||
|
filter-flags -funroll-all-loops
|
||||||
|
|
||||||
|
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||||
|
# everyone since previous flag filtering bugs have turned out to affect
|
||||||
|
# multiple archs...
|
||||||
|
replace-flags -O3 -O2
|
||||||
|
|
||||||
|
# Fix bug 18245: Prevent "make" from the following chain:
|
||||||
|
# (1) Notice configure.ac is newer than auto/configure
|
||||||
|
# (2) Rebuild auto/configure
|
||||||
|
# (3) Notice auto/configure is newer than auto/config.mk
|
||||||
|
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||||
|
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||||
|
|
||||||
|
# Remove src/auto/configure file.
|
||||||
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
|
emake -j1 -C src autoconf
|
||||||
|
|
||||||
|
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||||
|
# things are for ppc64, see bug 86433.
|
||||||
|
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||||
|
if [[ -e "${file}" ]]; then
|
||||||
|
addwrite $file
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Let Portage do the stripping. Some people like that.
|
||||||
|
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||||
|
|
||||||
|
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||||
|
use prefix && myconf+=" --without-local-dir"
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--with-modified-by=Gentoo-${PVR} \
|
||||||
|
--enable-gui=no \
|
||||||
|
--without-x \
|
||||||
|
--disable-darwin \
|
||||||
|
--disable-perlinterp \
|
||||||
|
--disable-pythoninterp \
|
||||||
|
--disable-rubyinterp \
|
||||||
|
--disable-gpm \
|
||||||
|
--disable-selinux \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable acl) \
|
||||||
|
${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1 -C src auto/osdef.h objects
|
||||||
|
emake tools
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||||
|
|
||||||
|
dodir /usr/{bin,share/{man/man1,vim}}
|
||||||
|
emake -C src \
|
||||||
|
installruntime \
|
||||||
|
installmanlinks \
|
||||||
|
installmacros \
|
||||||
|
installtutor \
|
||||||
|
installtutorbin \
|
||||||
|
installtools \
|
||||||
|
install-languages \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
BINDIR="${EPREFIX}"/usr/bin \
|
||||||
|
MANDIR="${EPREFIX}"/usr/share/man \
|
||||||
|
DATADIR="${EPREFIX}"/usr/share
|
||||||
|
|
||||||
|
keepdir ${vimfiles}/keymap
|
||||||
|
|
||||||
|
# default vimrc is installed by vim-core since it applies to
|
||||||
|
# both vim and gvim
|
||||||
|
insinto /etc/vim/
|
||||||
|
newins "${FILESDIR}"/vimrc-r5 vimrc
|
||||||
|
eprefixify "${ED}"/etc/vim/vimrc
|
||||||
|
|
||||||
|
if use minimal; then
|
||||||
|
# To save space, install only a subset of the files.
|
||||||
|
# Helps minimalize the livecd, bug 65144.
|
||||||
|
eshopts_push -s extglob
|
||||||
|
|
||||||
|
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
||||||
|
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
||||||
|
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
||||||
|
|
||||||
|
local keep_colors="default"
|
||||||
|
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||||
|
|
||||||
|
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||||
|
# tinkering with the next line might make bad things happen ...
|
||||||
|
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||||
|
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||||
|
|
||||||
|
eshopts_pop
|
||||||
|
fi
|
||||||
|
|
||||||
|
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||||
|
|
||||||
|
# install gvim icon since both vim/gvim desktop files reference it
|
||||||
|
doicon -s scalable "${FILESDIR}"/gvim.svg
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# update icon cache
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# Update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# update icon cache
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,320 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
VIM_VERSION="8.1"
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
USE_RUBY="ruby24 ruby25 ruby26"
|
||||||
|
|
||||||
|
inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single desktop xdg-utils
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0938-gentoo-patches.tar.bz2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||||
|
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="vim"
|
||||||
|
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl terminal vim-pager"
|
||||||
|
REQUIRED_USE="
|
||||||
|
luajit? ( lua )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
vim-pager? ( !minimal )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-eselect/eselect-vi-1.1
|
||||||
|
>=sys-libs/ncurses-5.2-r2:0=
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||||
|
cscope? ( dev-util/cscope )
|
||||||
|
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||||
|
lua? (
|
||||||
|
luajit? ( dev-lang/luajit:2= )
|
||||||
|
!luajit? ( dev-lang/lua:0[deprecated] )
|
||||||
|
)
|
||||||
|
!minimal? ( ~app-editors/vim-core-${PV} )
|
||||||
|
vim-pager? ( app-editors/vim-core[-minimal] )
|
||||||
|
perl? ( dev-lang/perl:= )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
racket? ( dev-scheme/racket )
|
||||||
|
ruby? ( ${RUBY_DEPS} )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
tcl? ( dev-lang/tcl:0= )
|
||||||
|
X? ( x11-libs/libXt )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
sys-devel/autoconf
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# people with broken alphabets run into trouble. bug 82186.
|
||||||
|
unset LANG LC_ALL
|
||||||
|
export LC_COLLATE="C"
|
||||||
|
|
||||||
|
# Gnome sandbox silliness. bug #114475.
|
||||||
|
mkdir -p "${T}"/home || die "mkdir failed"
|
||||||
|
export HOME="${T}"/home
|
||||||
|
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV} != 9999* ]] ; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
eapply "${WORKDIR}"/patches/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fixup a script to use awk instead of nawk
|
||||||
|
sed -i -e \
|
||||||
|
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||||
|
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||||
|
|
||||||
|
# Read vimrc and gvimrc from /etc/vim
|
||||||
|
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||||
|
>> "${S}"/src/feature.h || die "echo failed"
|
||||||
|
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||||
|
>> "${S}"/src/feature.h || die "echo failed"
|
||||||
|
|
||||||
|
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||||
|
# Hopefully this pattern won't break for a while at least.
|
||||||
|
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||||
|
sed -i -e \
|
||||||
|
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||||
|
"${S}"/runtime/doc/syntax.txt \
|
||||||
|
"${S}"/runtime/doc/tagsrch.txt \
|
||||||
|
"${S}"/runtime/doc/usr_29.txt \
|
||||||
|
"${S}"/runtime/menu.vim \
|
||||||
|
"${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||||
|
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||||
|
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||||
|
sed -i -e \
|
||||||
|
's/ libc\.h / /' \
|
||||||
|
"${S}"/src/configure.ac || die 'sed failed'
|
||||||
|
|
||||||
|
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||||
|
# correctly. To avoid some really entertaining error messages about stuff
|
||||||
|
# which isn't even in the source file being invalid, we'll do some trickery
|
||||||
|
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||||
|
find "${S}" -name '*.c' | while read c; do
|
||||||
|
echo >> "$c" || die "echo failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
# conditionally make the manpager.sh script
|
||||||
|
if use vim-pager; then
|
||||||
|
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
||||||
|
#!/bin/sh
|
||||||
|
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||||
|
vim \\
|
||||||
|
-c 'let no_plugin_maps = 1' \\
|
||||||
|
-c 'set nolist nomod ft=man ts=8' \\
|
||||||
|
-c 'let g:showmarks_enable=0' \\
|
||||||
|
-c 'runtime! macros/less.vim' -
|
||||||
|
_EOF_
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Try to avoid sandbox problems. Bug #114475.
|
||||||
|
if [[ -d "${S}"/src/po ]]; then
|
||||||
|
sed -i -e \
|
||||||
|
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||||
|
"${S}"/src/po/Makefile || die "sed failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||||
|
|
||||||
|
sed -i -e \
|
||||||
|
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||||
|
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||||
|
# Bug 57859 suggests that we want to do this for all archs
|
||||||
|
filter-flags -funroll-all-loops
|
||||||
|
|
||||||
|
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||||
|
# everyone since previous flag filtering bugs have turned out to affect
|
||||||
|
# multiple archs...
|
||||||
|
replace-flags -O3 -O2
|
||||||
|
|
||||||
|
# Fix bug 18245: Prevent "make" from the following chain:
|
||||||
|
# (1) Notice configure.ac is newer than auto/configure
|
||||||
|
# (2) Rebuild auto/configure
|
||||||
|
# (3) Notice auto/configure is newer than auto/config.mk
|
||||||
|
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||||
|
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||||
|
rm src/auto/configure || die "rm failed"
|
||||||
|
emake -j1 -C src autoconf
|
||||||
|
|
||||||
|
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||||
|
# things are for ppc64, see bug 86433.
|
||||||
|
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||||
|
if [[ -e "${file}" ]]; then
|
||||||
|
addwrite $file
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if use minimal; then
|
||||||
|
myconf=(
|
||||||
|
--with-features=tiny
|
||||||
|
--disable-nls
|
||||||
|
--disable-multibyte
|
||||||
|
--disable-acl
|
||||||
|
--enable-gui=no
|
||||||
|
--without-x
|
||||||
|
--disable-darwin
|
||||||
|
--disable-luainterp
|
||||||
|
--disable-perlinterp
|
||||||
|
--disable-pythoninterp
|
||||||
|
--disable-mzschemeinterp
|
||||||
|
--disable-rubyinterp
|
||||||
|
--disable-selinux
|
||||||
|
--disable-tclinterp
|
||||||
|
--disable-gpm
|
||||||
|
)
|
||||||
|
else
|
||||||
|
use debug && append-flags "-DDEBUG"
|
||||||
|
|
||||||
|
myconf=(
|
||||||
|
--with-features=huge
|
||||||
|
--enable-multibyte
|
||||||
|
$(use_enable acl)
|
||||||
|
$(use_enable cscope)
|
||||||
|
$(use_enable gpm)
|
||||||
|
$(use_enable lua luainterp)
|
||||||
|
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
||||||
|
$(use_with luajit)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable perl perlinterp)
|
||||||
|
$(use_enable python pythoninterp)
|
||||||
|
$(use_enable python python3interp)
|
||||||
|
$(use_with python python-command $(type -P $(eselect python show --python2)))
|
||||||
|
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
||||||
|
$(use_enable racket mzschemeinterp)
|
||||||
|
$(use_enable ruby rubyinterp)
|
||||||
|
$(use_enable selinux)
|
||||||
|
$(use_enable tcl tclinterp)
|
||||||
|
$(use_enable terminal)
|
||||||
|
)
|
||||||
|
|
||||||
|
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||||
|
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||||
|
if ! use cscope; then
|
||||||
|
sed -i -e \
|
||||||
|
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# don't test USE=X here ... see bug #19115
|
||||||
|
# but need to provide a way to link against X ... see bug #20093
|
||||||
|
myconf+=(
|
||||||
|
--enable-gui=no
|
||||||
|
--disable-darwin
|
||||||
|
$(use_with X x)
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# let package manager strip binaries
|
||||||
|
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||||
|
|
||||||
|
# keep prefix env contained within the EPREFIX
|
||||||
|
use prefix && myconf+=( --without-local-dir )
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--with-modified-by=Gentoo-${PVR} \
|
||||||
|
"${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# The following allows emake to be used
|
||||||
|
emake -j1 -C src auto/osdef.h objects
|
||||||
|
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
einfo
|
||||||
|
einfo "Starting vim tests. Several error messages will be shown"
|
||||||
|
einfo "while the tests run. This is normal behaviour and does not"
|
||||||
|
einfo "indicate a fault."
|
||||||
|
einfo
|
||||||
|
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||||
|
ewarn "state. Usually, running 'reset' will fix this."
|
||||||
|
einfo
|
||||||
|
|
||||||
|
# Don't let vim talk to X
|
||||||
|
unset DISPLAY
|
||||||
|
|
||||||
|
emake -j1 -C src/testdir nongui
|
||||||
|
}
|
||||||
|
|
||||||
|
# Call eselect vi update with --if-unset
|
||||||
|
# to respect user's choice (bug 187449)
|
||||||
|
eselect_vi_update() {
|
||||||
|
einfo "Calling eselect vi update..."
|
||||||
|
eselect vi update --if-unset
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||||
|
|
||||||
|
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||||
|
# managed by eselect-vi
|
||||||
|
dobin src/vim
|
||||||
|
dosym vim /usr/bin/vimdiff
|
||||||
|
dosym vim /usr/bin/rvim
|
||||||
|
dosym vim /usr/bin/rview
|
||||||
|
if use vim-pager ; then
|
||||||
|
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||||
|
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||||
|
insinto ${vimfiles}/macros
|
||||||
|
doins runtime/macros/manpager.sh
|
||||||
|
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
domenu runtime/vim.desktop
|
||||||
|
|
||||||
|
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||||
|
|
||||||
|
# keep in sync with 'complete ... -F' list
|
||||||
|
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# Call eselect vi update
|
||||||
|
eselect_vi_update
|
||||||
|
|
||||||
|
# update desktop file mime cache
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# Update documentation tags (from vim-doc.eclass)
|
||||||
|
update_vim_helptags
|
||||||
|
|
||||||
|
# Call eselect vi update
|
||||||
|
eselect_vi_update
|
||||||
|
|
||||||
|
# update desktop file mime cache
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
AUX fontconfig.eselect-1.0 4394 BLAKE2B 47b3570309471efbe4c0c5bfe64949a2933ff6067fe2766e03eccd3b2de6ea044debbe3de92ca6384db76ee9d25d8a541be9a1e65e24b7e0c468e6cf0fca1d9e SHA512 5ca29ddbb672193eac8edc1acdefee0f7924aaba23d8ce40317d3dacd339e820462382d3fdf233c2cf4e4b258a2956e7b86ec6f4f541876789ab234aeaa81f42
|
AUX fontconfig.eselect-1.0 4394 BLAKE2B 47b3570309471efbe4c0c5bfe64949a2933ff6067fe2766e03eccd3b2de6ea044debbe3de92ca6384db76ee9d25d8a541be9a1e65e24b7e0c468e6cf0fca1d9e SHA512 5ca29ddbb672193eac8edc1acdefee0f7924aaba23d8ce40317d3dacd339e820462382d3fdf233c2cf4e4b258a2956e7b86ec6f4f541876789ab234aeaa81f42
|
||||||
DIST fontconfig.eselect-1.1.bz2 1713 BLAKE2B 30af0471a52d7e2785e6e0e5847f51f3a11d0fb53eb800a5314e18dbb61694f1542d71c3e0f4ceccf82a396432113529b0fdb1b5fc6eba37550b27410565c61e SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd
|
DIST fontconfig.eselect-1.1.bz2 1713 BLAKE2B 30af0471a52d7e2785e6e0e5847f51f3a11d0fb53eb800a5314e18dbb61694f1542d71c3e0f4ceccf82a396432113529b0fdb1b5fc6eba37550b27410565c61e SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd
|
||||||
EBUILD eselect-fontconfig-1.0.ebuild 547 BLAKE2B b70e0ed2e214ebd2d1cce70b0973ab1e0dee2f69d0b2f04676d1c691972f7d62a6d811ebabb7cadd214201ba0bcd17dc4c644070234b5687c23c56efd4dc6572 SHA512 db69bba98ea30fa5d61696e0ab25b74528c5c27a8410be24ed0efccc9955e7cec91f397b6c901c3f1300e80ce38b9c80c2f81e0a135f6233d8a8ef47f9ae7d83
|
EBUILD eselect-fontconfig-1.0.ebuild 547 BLAKE2B b70e0ed2e214ebd2d1cce70b0973ab1e0dee2f69d0b2f04676d1c691972f7d62a6d811ebabb7cadd214201ba0bcd17dc4c644070234b5687c23c56efd4dc6572 SHA512 db69bba98ea30fa5d61696e0ab25b74528c5c27a8410be24ed0efccc9955e7cec91f397b6c901c3f1300e80ce38b9c80c2f81e0a135f6233d8a8ef47f9ae7d83
|
||||||
EBUILD eselect-fontconfig-1.1-r1.ebuild 753 BLAKE2B beaea5028a29a8737602d23be14798c5d336588a8a499b8f8014b2497ae4054c4eb96bf46a4f93abcb0aa186cc9fde9065363418d3b39d3a6f81a93b85c03fcf SHA512 1bb00149d7323dfc08819d95a38ada7ceb0a862ee1ce04b65ba245ff83281951442d1e4b6681b5633ff9de7830ba1e344bf6e1648cd698c275b626d0047ef85d
|
EBUILD eselect-fontconfig-1.1-r1.ebuild 752 BLAKE2B 0d31c2c81f5d2deec41c30fe4eae7dc76ba04ed23ea0209878598a694c2676d9f4fce1021c7e91ca0ab1cc562f23513be10a3c4b7ac2786f516a4c0f21a35e25 SHA512 0b7c8221b60d4a10257162a9b9f14e6dc1c623a1868283895de2d2ac817c3384f37beabb141906d0c4ec450ea520fa860be74ac2a4d8bdfb628e4cd743d55922
|
||||||
EBUILD eselect-fontconfig-1.1.ebuild 767 BLAKE2B d730bb072e7dfb81e9cf86d00b7f6f9a033496286cf4eb20fcec9c830ca6c427f072e221662a5bcbd57f1e960b93b61780d5daed8ba35f8ad59d6f96d33e42c3 SHA512 0dda75358d0a16579170859506e8cf878ffc3540d8e89009a492f5f3c2c6ad5b3c7f92244f3990e951a2ee15e8d49a2fc7e2b5c10be222794ffdc5d05e6b22b9
|
EBUILD eselect-fontconfig-1.1.ebuild 767 BLAKE2B d730bb072e7dfb81e9cf86d00b7f6f9a033496286cf4eb20fcec9c830ca6c427f072e221662a5bcbd57f1e960b93b61780d5daed8ba35f8ad59d6f96d33e42c3 SHA512 0dda75358d0a16579170859506e8cf878ffc3540d8e89009a492f5f3c2c6ad5b3c7f92244f3990e951a2ee15e8d49a2fc7e2b5c10be222794ffdc5d05e6b22b9
|
||||||
MISC metadata.xml 238 BLAKE2B 17d20fcdaa0f86ce589db9b1e55e6fffbe693f41d7a05bde4a82faa8f6b5e237bc754e02e67d8116a9e5053c5164dc47edb679c086bce8a866dc224728ef4a52 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e
|
MISC metadata.xml 238 BLAKE2B 17d20fcdaa0f86ce589db9b1e55e6fffbe693f41d7a05bde4a82faa8f6b5e237bc754e02e67d8116a9e5053c5164dc47edb679c086bce8a866dc224728ef4a52 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
AUX gnat-common-1.3-r1.bash 6725 BLAKE2B ff2ad420f428ce186f8c1dbf2b3a1957bc5054d89de630194d2a0c7a96cb801068343a44f3a8341e2e8c158bbf11c0770cb908b9fc2261455d6bebb470e67629 SHA512 431aba32979fec9ea76232ff66add372945f829c5cd4a4feea609d025a6d97b459812c9e1484fd54dce8b89d3fad2ab5f55315485be4617f53ca49b226ee28c3
|
|
||||||
AUX gnat-common-1.4-r1.bash 6681 BLAKE2B 31bf44cab573ca1487730cd97e1d1de6c8ac53ecfe7be99b4067d9d86b7aee19b10cb5a6508f84b506ccb27e31c9e454c8e0fc74936b0ac5cd7f836784f6a4cb SHA512 590f91db9fd2c52333f0749edf94cd7d994aa1704c1e32dc00b2325daa3c605f0ea26d9b94387f443c86ac121b8d6f1fe571c173332b12998c2f27dde28a8e25
|
|
||||||
AUX gnat-common-1.5.bash 6681 BLAKE2B 5cebcd6cdbe50a5fc650c64f57ff02e55a3a35969e1946c18f517e1962eedc1deb39e4e9342c638a91e124b9b4002f0f747bdd5b3a0b978b051e9164cef88463 SHA512 b190a7b14bc12c6f8a7e702d735e8f42f7b0bd63112ddb2cfb6738c417c146a9d4391266f390403967301eacfeec15360d17d645b87596220e35d20f6354d0d0
|
|
||||||
AUX gnat.eselect-1.3 5246 BLAKE2B 4deeb59306907c1275fccf3563de641a4a5a452d69d987c561984a252f6170a0f8f12d743a77a280cf0f66376f3a2cf8db9888da2f26079788720813c15b8be5 SHA512 e884847e1e736be0d6c12bb11d6f203f618040cce9e9c82007f8ec3b1e2d40f78b3e75535eb6f64e6a137c63128eaeb5ccce6113adfc9cb025c078e1af709cd3
|
|
||||||
AUX gnat.eselect-1.4 5969 BLAKE2B 95e93b34985a398788fc0da9387b5c9f92d4c3a898bb1cdf454c89777c8973f7d8a5852470a00bdd3fed9a2c267194791fc7a9d7311253b5d0381db774f52622 SHA512 a001a13f3d2b2c4488ea622021d733c8dfeb25e65e7a9576450fca08368d89da1c8314d547d0aeb6c7ce78076bd58a2a9e6b266311fe3f58cf3bf80a1fed5402
|
|
||||||
AUX gnat.eselect-1.5 5899 BLAKE2B c3f4d8682c1d119f0113e86a37e0ec62eef77a9cae616edbf07386de7cd65776adfeabfe6e64cb4ad936792595212e6a4a2335280c9e43307bf840be44e08aea SHA512 5da16c411a85d0f3e534e4f2754b69ea43b7c7e0f830f631b63d72499b87f9c83636f003f30c2af016fb91870a35dd7cbe120d716507dae1e9bf1a1a628fa08f
|
|
||||||
EBUILD eselect-gnat-1.3-r1.ebuild 690 BLAKE2B b324d69a4cd9e0c6e319488c15239d67690e4ccd099fda39f00d5f460c4ab7c6833e4a486595beb613e2ee99db6a5d8fabe20e5f05a149fb3188e7209cdaf527 SHA512 03f464778716d4cbcf6d6fe51f155706c71c61b5df7779482d460831962e8db0d695232d508d20d9366f8a2c146a8d0ad20777b657a1cd210dade1313d338e91
|
|
||||||
EBUILD eselect-gnat-1.4-r1.ebuild 793 BLAKE2B 3ebad57a54ffae2f9225135f6293285d3c90f7900c218fe094f6f5d86b951cf7e9ab0bb70122a45a1b109d0857febdb0db404492a1b8213a71845397aa063d52 SHA512 a3c540b99da39052188efaa890d58e0c116d5f216543e24dd6731c5749ae875fa24c1cbd15d46999b63f25dea61fb92ee5c0818a50db7bf8d821d88e97e2f41d
|
|
||||||
EBUILD eselect-gnat-1.4.ebuild 793 BLAKE2B e4d6c174d74c622c569ff384b2bee5bcb98d2ca1e30741e1159aee6ed9615cad537c17705abfdf44b92efd3179c483c876622d09bd16b31722d2d018ccfb425d SHA512 2bf96e840b64f79ccba6a2dc5dd6565b3d29ffaab0c728ac9ced970daeae108e06b2c45b870324682c3eea8d2f54d4df0caed8743c37dab049d7bc1b1539a76e
|
|
||||||
EBUILD eselect-gnat-1.5-r1.ebuild 812 BLAKE2B b4516a059ea50542240d417964c875cff5d2d57a2077c68559ec67811f96f653777e3e6e9637db6c911163c5c60ca1fc07a9473495563661b51af6e423b817b5 SHA512 3ab0e5e084c28475ad8bb7c4e0aa775b00a5a1c972d64f4f7cd1779a5acb97497449cd9eade5a57e88f988d8b0d5829914b7397ce3190989ece1b1247f11d8e2
|
|
||||||
EBUILD eselect-gnat-1.5.ebuild 808 BLAKE2B 1245e8b57e0c86aef49091643acbaf1dd676e8c4104b090f56b220fd27ba700569bcd25850441b485b2205a45040559d997a9efd7d2e47553eae6be05abe6727 SHA512 83db89788fd1594f3655dcca9ed626f457da1b6e1771401029b6dc2ffdf861e250daa3e3b6886f1624b4002919cf33890448480e74387729cb4967ce450e1102
|
|
||||||
MISC metadata.xml 252 BLAKE2B 3f0617eb1d6e14087350a9a54b5dd0caecfede4cc0df9087be014103ed44c836a74abf88dc0dfa8689402e88a94c9c14f0afb105a92d735fd2743ea0f5499293 SHA512 fe0cf16be4ef184cd8dfe3a4ca09a9eb04ff7c954efa447e3587e573a644224528b148226843524ae30aae177782703f166cf115e184bfda24da9f0605c8323a
|
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="gnat module for eselect"
|
|
||||||
HOMEPAGE="https://www.gentoo.org"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND="app-admin/eselect"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
MODULEDIR="/usr/share/eselect/modules"
|
|
||||||
|
|
||||||
# NOTE!!
|
|
||||||
# This path is duplicated in gnat-eselect module,
|
|
||||||
# adjust in both locations!
|
|
||||||
LIBDIR="/usr/share/gnat/lib"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MODULEDIR}
|
|
||||||
insinto ${MODULEDIR}
|
|
||||||
newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
|
|
||||||
dodir ${LIBDIR}
|
|
||||||
insinto ${LIBDIR}
|
|
||||||
newins "${FILESDIR}"/gnat-common-${PVR}.bash gnat-common.bash
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="gnat module for eselect"
|
|
||||||
HOMEPAGE="https://www.gentoo.org"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND="app-admin/eselect"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
MODULEDIR="/usr/share/eselect/modules"
|
|
||||||
|
|
||||||
# NOTE!!
|
|
||||||
# This path is duplicated in gnat-eselect module,
|
|
||||||
# adjust in both locations!
|
|
||||||
LIBDIR="/usr/share/gnat/lib"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MODULEDIR}
|
|
||||||
insinto ${MODULEDIR}
|
|
||||||
newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
|
|
||||||
dodir ${LIBDIR}
|
|
||||||
insinto ${LIBDIR}
|
|
||||||
# !ATTN!
|
|
||||||
# Make sure to adjust version of installed file to a proper one if there is
|
|
||||||
# a change!
|
|
||||||
newins "${FILESDIR}"/gnat-common-${PVR}.bash gnat-common.bash
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="gnat module for eselect"
|
|
||||||
HOMEPAGE="https://www.gentoo.org"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND="app-admin/eselect"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
MODULEDIR="/usr/share/eselect/modules"
|
|
||||||
|
|
||||||
# NOTE!!
|
|
||||||
# This path is duplicated in gnat-eselect module,
|
|
||||||
# adjust in both locations!
|
|
||||||
LIBDIR="/usr/share/gnat/lib"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MODULEDIR}
|
|
||||||
insinto ${MODULEDIR}
|
|
||||||
newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
|
|
||||||
dodir ${LIBDIR}
|
|
||||||
insinto ${LIBDIR}
|
|
||||||
# !ATTN!
|
|
||||||
# Make sure to adjust version of installed file to a proper one if there is
|
|
||||||
# a change!
|
|
||||||
newins "${FILESDIR}"/gnat-common-1.3-r1.bash gnat-common.bash
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="gnat module for eselect"
|
|
||||||
HOMEPAGE="https://www.gentoo.org"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~sparc"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND=">=app-admin/eselect-1.2.5"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
MODULEDIR="/usr/share/eselect/modules"
|
|
||||||
|
|
||||||
# NOTE!!
|
|
||||||
# This path is duplicated in gnat-eselect module,
|
|
||||||
# adjust in both locations!
|
|
||||||
LIBDIR="/usr/share/gnat/lib"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MODULEDIR}
|
|
||||||
insinto ${MODULEDIR}
|
|
||||||
newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
|
|
||||||
dodir ${LIBDIR}
|
|
||||||
insinto ${LIBDIR}
|
|
||||||
# !ATTN!
|
|
||||||
# Make sure to adjust version of installed file to a proper one if there is
|
|
||||||
# a change!
|
|
||||||
newins "${FILESDIR}"/gnat-common-${PV}.bash gnat-common.bash
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="gnat module for eselect"
|
|
||||||
HOMEPAGE="https://www.gentoo.org"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86 ~sparc"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND=">=app-admin/eselect-1.2.5"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
MODULEDIR="/usr/share/eselect/modules"
|
|
||||||
|
|
||||||
# NOTE!!
|
|
||||||
# This path is duplicated in gnat-eselect module,
|
|
||||||
# adjust in both locations!
|
|
||||||
LIBDIR="/usr/share/gnat/lib"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MODULEDIR}
|
|
||||||
insinto ${MODULEDIR}
|
|
||||||
newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
|
|
||||||
dodir ${LIBDIR}
|
|
||||||
insinto ${LIBDIR}
|
|
||||||
# !ATTN!
|
|
||||||
# Make sure to adjust version of installed file to a proper one if there is
|
|
||||||
# a change!
|
|
||||||
newins "${FILESDIR}"/gnat-common-1.4-r1.bash gnat-common.bash
|
|
||||||
}
|
|
@ -1,222 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
#
|
|
||||||
# Original Author: George Shapovalov <george@gentoo.org>
|
|
||||||
# Purpose: Contains common vars/locations and functions for use by gnat.eclass,
|
|
||||||
# gnat.eselect and gnatbuild.eclass.
|
|
||||||
#
|
|
||||||
# NOTE!!!
|
|
||||||
# This code should just define vars (try to limit these!) and simple functions.
|
|
||||||
# No bash extensions!!
|
|
||||||
# That is, no portage or eclass constructs are allowed!
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------
|
|
||||||
# Globals
|
|
||||||
|
|
||||||
# Environmantal stuff (for env update)
|
|
||||||
SPECSDIR="/usr/share/gnat/eselect"
|
|
||||||
ENVDIR="/etc/env.d"
|
|
||||||
MARKER="55gnat-"
|
|
||||||
|
|
||||||
# User configurable settings
|
|
||||||
SETTINGSDIR="/etc/ada"
|
|
||||||
PRIMELIST="${SETTINGSDIR}/primary_compilers"
|
|
||||||
|
|
||||||
## Lib install locations
|
|
||||||
##
|
|
||||||
## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN}
|
|
||||||
## and common files go unde SpecsDir, DataDir
|
|
||||||
#PREFIX=/usr
|
|
||||||
## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib)
|
|
||||||
## or $(profile2libdir ${profile}) in this code, eselect module or anywhere
|
|
||||||
## outside portage (as profile will be available only during actual execution, this only should
|
|
||||||
## be done inside corresponding functions).
|
|
||||||
#AdalibSpecsDir=${PREFIX}/include/ada
|
|
||||||
#AdalibDataDir=${PREFIX}/share/ada
|
|
||||||
#AdalibLibTop=${PREFIX}/%LIBDIR%/ada
|
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------
|
|
||||||
# Helpers
|
|
||||||
#
|
|
||||||
|
|
||||||
# get_all_profile_components splits gnat profile and returns pace separated list of its components:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to split
|
|
||||||
get_all_profile_components() {
|
|
||||||
local GnatSLOT=${1##*-}
|
|
||||||
local remainder=${1%-*}
|
|
||||||
local GnatPkg=${remainder##*-}
|
|
||||||
remainder=${remainder%-gnat-*}
|
|
||||||
echo "${remainder} ${GnatPkg} ${GnatSLOT}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# similar to above, returns only SLOT component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_SLOT() {
|
|
||||||
echo "${1##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Pkg component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Pkg() {
|
|
||||||
local remainder=${1%-*}
|
|
||||||
echo "${remainder##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Arch component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Arch() {
|
|
||||||
echo ${1%-gnat-*}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -------------------------------------------
|
|
||||||
# gnat profile and lib detection functions
|
|
||||||
|
|
||||||
|
|
||||||
# create a list of all gnat env.d files
|
|
||||||
# for now use trivial implementation - store name of active profile in the
|
|
||||||
# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT}
|
|
||||||
get_env_list() {
|
|
||||||
for fn in ${ENVDIR}/${MARKER}*; do
|
|
||||||
echo $(basename ${fn})
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# find all installed compilers and return a list
|
|
||||||
find_all_compilers() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ ! -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed primary compilers and return a list
|
|
||||||
find_primary_compilers() {
|
|
||||||
[[ ! -f ${PRIMELIST} ]] && exit
|
|
||||||
for fn in $(cat ${PRIMELIST}); do
|
|
||||||
[[ -f ${SPECSDIR}/${fn} ]] && echo ${fn};
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed libs and return a list
|
|
||||||
find_all_libs() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find libs that have been built for a given profile
|
|
||||||
# Arguments:
|
|
||||||
# $1 - gnat profile for which to detect active libs
|
|
||||||
find_libs4profile() {
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -----------------------
|
|
||||||
# main action - central part of do_set and helpers
|
|
||||||
|
|
||||||
|
|
||||||
# extracts values of the passed var definition from given spec file
|
|
||||||
# params:
|
|
||||||
# $1: spec file (as generated by gnabuild.eclass)
|
|
||||||
# $2: variable name
|
|
||||||
get_var_from_spec() {
|
|
||||||
local var=$(grep -e "^ *$2=" $1|cut -d= -f2)
|
|
||||||
echo ${var}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Cycle through given libs and form a ':' separated list of settings for the given
|
|
||||||
# var. Returned string starts with ':' if there is any non-empty setting,
|
|
||||||
# otherwise returns empty string. Repeating settings are omitted, that is
|
|
||||||
# unique entry is added only first time it is encountered. No need to have some
|
|
||||||
# common dir listed many times in PATH for example.
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - name of env var to process
|
|
||||||
# $2 - name of gnat profile
|
|
||||||
# $3.. - list of libs to check (to avoid its composition every time)
|
|
||||||
# - the list is expanded to list of args at the point of call
|
|
||||||
get_lib_var_settings() {
|
|
||||||
local envVar=$1
|
|
||||||
local toset=$2
|
|
||||||
#echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ "none" != ${3} ]]; then
|
|
||||||
local envString
|
|
||||||
local specLine
|
|
||||||
while [[ -n $3 ]]; do
|
|
||||||
specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar})
|
|
||||||
#echo "$3:${specLine}." >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then
|
|
||||||
envString="${envString}:${specLine}"
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
echo "${envString}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The action!
|
|
||||||
# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass
|
|
||||||
# to set environment during lib build and installation
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - profile to set (toset param inside)
|
|
||||||
# $2 - envfile
|
|
||||||
|
|
||||||
generate_envFile() {
|
|
||||||
local toset=$1
|
|
||||||
local envfile=$2
|
|
||||||
|
|
||||||
local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)"
|
|
||||||
local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)"
|
|
||||||
local libs=( $(find_libs4profile ${toset}) )
|
|
||||||
#echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep
|
|
||||||
if (( 0 == ${#libs[@]} )); then
|
|
||||||
libs="none"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local MyPath="${binpath}:${libexecpath}$(get_lib_var_settings PATH ${toset} ${libs[@]})"
|
|
||||||
echo "PATH=${MyPath}" > "${envfile}"
|
|
||||||
echo "ROOTPATH=${MyPath}" >> "${envfile}"
|
|
||||||
echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath)$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath)$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# the next three use the common base
|
|
||||||
local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)
|
|
||||||
echo "LDPATH=${libBase}:${libBase}/adalib$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_INCLUDE_PATH=${libBase}/adainclude$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_OBJECTS_PATH=${libBase}/adalib$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# ADA_PROJECT_PATH may not be set in any of the installed packages,
|
|
||||||
# we should only create this line if cumulative var is non-empty
|
|
||||||
My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]})
|
|
||||||
if [[ -n ${My_ProjectPath} ]]; then
|
|
||||||
echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
#
|
|
||||||
# Author: George Shapovalov <george@gentoo.org>
|
|
||||||
# Purpose: Contains common vars/locations and functions for use by gnat.eclass,
|
|
||||||
# gnat.eselect and gnatbuild.eclass.
|
|
||||||
#
|
|
||||||
# NOTE!!!
|
|
||||||
# This code should just define vars (try to limit these!) and simple functions.
|
|
||||||
# No bash extensions!!
|
|
||||||
# That is, no portage or eclass constructs are allowed!
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------
|
|
||||||
# Globals
|
|
||||||
|
|
||||||
# Environmantal stuff (for env update)
|
|
||||||
SPECSDIR="/usr/share/gnat/eselect"
|
|
||||||
ENVDIR="/etc/env.d"
|
|
||||||
MARKER="55gnat-"
|
|
||||||
|
|
||||||
# User configurable settings
|
|
||||||
SETTINGSDIR="/etc/ada"
|
|
||||||
PRIMELIST="${SETTINGSDIR}/primary_compilers"
|
|
||||||
|
|
||||||
## Lib install locations
|
|
||||||
##
|
|
||||||
## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN}
|
|
||||||
## and common files go unde SpecsDir, DataDir
|
|
||||||
#PREFIX=/usr
|
|
||||||
## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib)
|
|
||||||
## or $(profile2libdir ${profile}) in this code, eselect module or anywhere
|
|
||||||
## outside portage (as profile will be available only during actual execution, this only should
|
|
||||||
## be done inside corresponding functions).
|
|
||||||
#AdalibSpecsDir=${PREFIX}/include/ada
|
|
||||||
#AdalibDataDir=${PREFIX}/share/ada
|
|
||||||
#AdalibLibTop=${PREFIX}/%LIBDIR%/ada
|
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------
|
|
||||||
# Helpers
|
|
||||||
#
|
|
||||||
|
|
||||||
# get_all_profile_components splits gnat profile and returns pace separated list of its components:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to split
|
|
||||||
get_all_profile_components() {
|
|
||||||
local GnatSLOT=${1##*-}
|
|
||||||
local remainder=${1%-*}
|
|
||||||
local GnatPkg=${remainder##*-}
|
|
||||||
remainder=${remainder%-gnat-*}
|
|
||||||
echo "${remainder} ${GnatPkg} ${GnatSLOT}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# similar to above, returns only SLOT component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_SLOT() {
|
|
||||||
echo "${1##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Pkg component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Pkg() {
|
|
||||||
local remainder=${1%-*}
|
|
||||||
echo "${remainder##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Arch component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Arch() {
|
|
||||||
echo ${1%-gnat-*}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -------------------------------------------
|
|
||||||
# gnat profile and lib detection functions
|
|
||||||
|
|
||||||
|
|
||||||
# create a list of all gnat env.d files
|
|
||||||
# for now use trivial implementation - store name of active profile in the
|
|
||||||
# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT}
|
|
||||||
get_env_list() {
|
|
||||||
for fn in ${ENVDIR}/${MARKER}*; do
|
|
||||||
echo $(basename ${fn})
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# find all installed compilers and return a list
|
|
||||||
find_all_compilers() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ ! -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed primary compilers and return a list
|
|
||||||
find_primary_compilers() {
|
|
||||||
[[ ! -f ${PRIMELIST} ]] && exit
|
|
||||||
for fn in $(cat ${PRIMELIST}); do
|
|
||||||
[[ -f ${SPECSDIR}/${fn} ]] && echo ${fn};
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed libs and return a list
|
|
||||||
find_all_libs() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find libs that have been built for a given profile
|
|
||||||
# Arguments:
|
|
||||||
# $1 - gnat profile for which to detect active libs
|
|
||||||
find_libs4profile() {
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -----------------------
|
|
||||||
# main action - central part of do_set and helpers
|
|
||||||
|
|
||||||
|
|
||||||
# extracts values of the passed var definition from given spec file
|
|
||||||
# params:
|
|
||||||
# $1: spec file (as generated by gnabuild.eclass)
|
|
||||||
# $2: variable name
|
|
||||||
get_var_from_spec() {
|
|
||||||
local var=$(grep -e "^ *$2=" $1|cut -d= -f2)
|
|
||||||
echo ${var}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Cycle through given libs and form a ':' separated list of settings for the given
|
|
||||||
# var. Repeating settings are omitted, that is unique entry is added only first
|
|
||||||
# time it is encountered.
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - name of env var to process
|
|
||||||
# $2 - name of gnat profile
|
|
||||||
# $3.. - list of libs to check (to avoid its composition every time)
|
|
||||||
# - the list is expanded to list of args at the point of call
|
|
||||||
get_lib_var_settings() {
|
|
||||||
local envVar=$1
|
|
||||||
local toset=$2
|
|
||||||
#echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ "none" != ${3} ]]; then
|
|
||||||
local envString
|
|
||||||
local specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar})
|
|
||||||
if [[ -n ${specLine} ]]; then
|
|
||||||
envString="${specLine}"
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
#
|
|
||||||
while [[ -n $3 ]]; do
|
|
||||||
specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar})
|
|
||||||
#echo "$3:${specLine}." >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then
|
|
||||||
envString="${envString}:${specLine}"
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
echo "${envString}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The action!
|
|
||||||
# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass
|
|
||||||
# to set environment during lib build and installation
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - profile to set (toset param inside)
|
|
||||||
# $2 - envfile
|
|
||||||
|
|
||||||
generate_envFile() {
|
|
||||||
local toset=$1
|
|
||||||
local envfile=$2
|
|
||||||
|
|
||||||
local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)"
|
|
||||||
local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)"
|
|
||||||
local libs=( $(find_libs4profile ${toset}) )
|
|
||||||
#echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep
|
|
||||||
if (( 0 == ${#libs[@]} )); then
|
|
||||||
libs="none"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local MyPath="${binpath}:${libexecpath}:$(get_lib_var_settings PATH ${toset} ${libs[@]})"
|
|
||||||
echo "PATH=${MyPath}" > "${envfile}"
|
|
||||||
echo "ROOTPATH=${MyPath}" >> "${envfile}"
|
|
||||||
echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath):$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath):$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# the next three use the common base
|
|
||||||
local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)
|
|
||||||
echo "LDPATH=${libBase}:${libBase}/adalib:$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_INCLUDE_PATH=${libBase}/adainclude:$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_OBJECTS_PATH=${libBase}/adalib:$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# ADA_PROJECT_PATH may not be set in any of the installed packages,
|
|
||||||
# we should only create this line if cumulative var is non-empty
|
|
||||||
My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]})
|
|
||||||
if [[ -n ${My_ProjectPath} ]]; then
|
|
||||||
echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
#
|
|
||||||
# Author: George Shapovalov <george@gentoo.org>
|
|
||||||
# Purpose: Contains common vars/locations and functions for use by gnat.eclass,
|
|
||||||
# gnat.eselect and gnatbuild.eclass.
|
|
||||||
#
|
|
||||||
# NOTE!!!
|
|
||||||
# This code should just define vars (try to limit these!) and simple functions.
|
|
||||||
# No bash extensions!!
|
|
||||||
# That is, no portage or eclass constructs are allowed!
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------
|
|
||||||
# Globals
|
|
||||||
|
|
||||||
# Environmantal stuff (for env update)
|
|
||||||
SPECSDIR="/usr/share/gnat/eselect"
|
|
||||||
ENVDIR="/etc/env.d"
|
|
||||||
MARKER="55gnat-"
|
|
||||||
|
|
||||||
# User configurable settings
|
|
||||||
SETTINGSDIR="/etc/ada"
|
|
||||||
PRIMELIST="${SETTINGSDIR}/primary_compilers"
|
|
||||||
|
|
||||||
## Lib install locations
|
|
||||||
##
|
|
||||||
## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN}
|
|
||||||
## and common files go unde SpecsDir, DataDir
|
|
||||||
#PREFIX=/usr
|
|
||||||
## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib)
|
|
||||||
## or $(profile2libdir ${profile}) in this code, eselect module or anywhere
|
|
||||||
## outside portage (as profile will be available only during actual execution, this only should
|
|
||||||
## be done inside corresponding functions).
|
|
||||||
#AdalibSpecsDir=${PREFIX}/include/ada
|
|
||||||
#AdalibDataDir=${PREFIX}/share/ada
|
|
||||||
#AdalibLibTop=${PREFIX}/%LIBDIR%/ada
|
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------
|
|
||||||
# Helpers
|
|
||||||
#
|
|
||||||
|
|
||||||
# get_all_profile_components splits gnat profile and returns pace separated list of its components:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to split
|
|
||||||
get_all_profile_components() {
|
|
||||||
local GnatSLOT=${1##*-}
|
|
||||||
local remainder=${1%-*}
|
|
||||||
local GnatPkg=${remainder##*-}
|
|
||||||
remainder=${remainder%-gnat-*}
|
|
||||||
echo "${remainder} ${GnatPkg} ${GnatSLOT}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# similar to above, returns only SLOT component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_SLOT() {
|
|
||||||
echo "${1##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Pkg component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Pkg() {
|
|
||||||
local remainder=${1%-*}
|
|
||||||
echo "${remainder##*-}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns only Arch component:
|
|
||||||
# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu
|
|
||||||
# args:
|
|
||||||
# $1 - the string to extract the slot from
|
|
||||||
get_gnat_Arch() {
|
|
||||||
echo ${1%-gnat-*}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -------------------------------------------
|
|
||||||
# gnat profile and lib detection functions
|
|
||||||
|
|
||||||
|
|
||||||
# create a list of all gnat env.d files
|
|
||||||
# for now use trivial implementation - store name of active profile in the
|
|
||||||
# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT}
|
|
||||||
get_env_list() {
|
|
||||||
for fn in ${ENVDIR}/${MARKER}*; do
|
|
||||||
echo $(basename ${fn})
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# find all installed compilers and return a list
|
|
||||||
find_all_compilers() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ ! -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed primary compilers and return a list
|
|
||||||
find_primary_compilers() {
|
|
||||||
[[ ! -f ${PRIMELIST} ]] && exit
|
|
||||||
for fn in $(cat ${PRIMELIST}); do
|
|
||||||
[[ -f ${SPECSDIR}/${fn} ]] && echo ${fn};
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find installed libs and return a list
|
|
||||||
find_all_libs() {
|
|
||||||
[[ ! -d ${SPECSDIR} ]] && exit
|
|
||||||
for fn in ${SPECSDIR}/*; do
|
|
||||||
[[ -d ${fn} ]] && echo $(basename ${fn});
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# find libs that have been built for a given profile
|
|
||||||
# Arguments:
|
|
||||||
# $1 - gnat profile for which to detect active libs
|
|
||||||
find_libs4profile() {
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -----------------------
|
|
||||||
# main action - central part of do_set and helpers
|
|
||||||
|
|
||||||
|
|
||||||
# extracts values of the passed var definition from given spec file
|
|
||||||
# params:
|
|
||||||
# $1: spec file (as generated by gnabuild.eclass)
|
|
||||||
# $2: variable name
|
|
||||||
get_var_from_spec() {
|
|
||||||
local var=$(grep -e "^ *$2=" $1|cut -d= -f2)
|
|
||||||
echo ${var}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Cycle through given libs and form a ':' separated list of settings for the given
|
|
||||||
# var. Repeating settings are omitted, that is unique entry is added only first
|
|
||||||
# time it is encountered.
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - name of env var to process
|
|
||||||
# $2 - name of gnat profile
|
|
||||||
# $3.. - list of libs to check (to avoid its composition every time)
|
|
||||||
# - the list is expanded to list of args at the point of call
|
|
||||||
get_lib_var_settings() {
|
|
||||||
local envVar=$1
|
|
||||||
local toset=$2
|
|
||||||
#echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ "none" != ${3} ]]; then
|
|
||||||
local envString
|
|
||||||
local specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar})
|
|
||||||
if [[ -n ${specLine} ]]; then
|
|
||||||
envString="${specLine}"
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
#
|
|
||||||
while [[ -n $3 ]]; do
|
|
||||||
specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar})
|
|
||||||
#echo "$3:${specLine}." >> /tmp/eselect-gnat.rep
|
|
||||||
if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then
|
|
||||||
envString="${envString}:${specLine}"
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
echo "${envString}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The action!
|
|
||||||
# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass
|
|
||||||
# to set environment during lib build and installation
|
|
||||||
#
|
|
||||||
# params:
|
|
||||||
# $1 - profile to set (toset param inside)
|
|
||||||
# $2 - envfile
|
|
||||||
|
|
||||||
generate_envFile() {
|
|
||||||
local toset=$1
|
|
||||||
local envfile=$2
|
|
||||||
|
|
||||||
local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)"
|
|
||||||
local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)"
|
|
||||||
local libs=( $(find_libs4profile ${toset}) )
|
|
||||||
#echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep
|
|
||||||
if (( 0 == ${#libs[@]} )); then
|
|
||||||
libs="none"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local MyPath="${binpath}:${libexecpath}:$(get_lib_var_settings PATH ${toset} ${libs[@]})"
|
|
||||||
echo "PATH=${MyPath}" > "${envfile}"
|
|
||||||
echo "ROOTPATH=${MyPath}" >> "${envfile}"
|
|
||||||
echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath):$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath):$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# the next three use the common base
|
|
||||||
local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)
|
|
||||||
echo "LDPATH=${libBase}:${libBase}/adalib:$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_INCLUDE_PATH=${libBase}/adainclude:$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
echo "ADA_OBJECTS_PATH=${libBase}/adalib:$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}"
|
|
||||||
# ADA_PROJECT_PATH may not be set in any of the installed packages,
|
|
||||||
# we should only create this line if cumulative var is non-empty
|
|
||||||
My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]})
|
|
||||||
if [[ -n ${My_ProjectPath} ]]; then
|
|
||||||
echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -1,206 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
DESCRIPTION="Manage the installed gnat compilers"
|
|
||||||
MAINTAINER="ada@gentoo.org"
|
|
||||||
SVN_DATE='$Date: 2015/03/31 16:48:57 $'
|
|
||||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
|
||||||
|
|
||||||
# "inheriting" common stuff
|
|
||||||
# this crude sourcing has to stay the way it is, as common code
|
|
||||||
# cannot be part of some eclass (bug #192505)
|
|
||||||
. /usr/share/gnat/lib/gnat-common.bash
|
|
||||||
|
|
||||||
|
|
||||||
### Phylosophy
|
|
||||||
# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR}
|
|
||||||
# Each lib creates a dir with its name under ${SPECSDIR} and populates it with
|
|
||||||
# similar specs files (same name scheme)
|
|
||||||
# Recognizing gnat specs from lib specs is then eazy - test entry for being a
|
|
||||||
# dir, then just check what gnat profiles are installed for each lib..
|
|
||||||
# doset then creates env file that combines settings for gnat and for the
|
|
||||||
# corresponding profile of each installed lib..
|
|
||||||
|
|
||||||
|
|
||||||
### Helpers
|
|
||||||
|
|
||||||
# return *the* name of the active profile, checking that we do not have multiple
|
|
||||||
# env files.
|
|
||||||
# There can be only one!
|
|
||||||
get_current_gnat() {
|
|
||||||
local profiles=( $(get_env_list) )
|
|
||||||
|
|
||||||
if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi
|
|
||||||
|
|
||||||
if (( 1 == ${#profiles[@]} )); then
|
|
||||||
local active=${profiles[0]#${MARKER}}
|
|
||||||
else
|
|
||||||
die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f ${SPECSDIR}/${active} ]; then
|
|
||||||
echo ${active}
|
|
||||||
else
|
|
||||||
die -q "the active env.d profile does not correspond to any installed gnat!"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# check if the passed arg represents the installed gnat and return it or
|
|
||||||
# not_found
|
|
||||||
# takes args:
|
|
||||||
# $1 - list ID to check
|
|
||||||
get_name_from_list() {
|
|
||||||
compiler=$1
|
|
||||||
|
|
||||||
compilers=( $(find_all_compilers) )
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
if [[ ${compilers[$i]} == ${compiler} ]] ; then
|
|
||||||
echo ${compiler}
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "(not-found)"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# removes env files (for compiler and libs)
|
|
||||||
# params:
|
|
||||||
# $1: the name of profile for which to remove env file
|
|
||||||
unset_env() {
|
|
||||||
rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### show action ###
|
|
||||||
|
|
||||||
describe_show() {
|
|
||||||
echo "Show the active gnat compiler/profile and installed libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_show() {
|
|
||||||
write_list_start "Current gnat version:"
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
if [ ! -z ${active} ] ; then # not sure why [ -n ] does not do the same
|
|
||||||
write_kv_list_entry "$active" ""
|
|
||||||
libs=( $(find_libs4profile ${active}) )
|
|
||||||
write_list_start "Active libs:"
|
|
||||||
write_numbered_list "${libs[@]}"
|
|
||||||
else
|
|
||||||
write_kv_list_entry "(none set)" ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
### list action ###
|
|
||||||
|
|
||||||
describe_list() {
|
|
||||||
echo "List installed gnat compilers and libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_list() {
|
|
||||||
compilers=( $(find_all_compilers ) )
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
|
|
||||||
write_list_start "Available gnat compilers:"
|
|
||||||
|
|
||||||
if [[ -n ${compilers[@]} ]] ; then
|
|
||||||
local i
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
linkversion=${compilers[${i}]}
|
|
||||||
|
|
||||||
[[ $linkversion == $active ]] && \
|
|
||||||
compilers[${i}]="${compilers[${i}]} $(highlight '*' )"
|
|
||||||
done
|
|
||||||
write_numbered_list "${compilers[@]}"
|
|
||||||
|
|
||||||
# now the libs
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
write_list_start "Installed libs:"
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \
|
|
||||||
libs[${i}]="${libs[${i}]} $(highlight '*' )"
|
|
||||||
done
|
|
||||||
write_numbered_list "${libs[@]}"
|
|
||||||
else
|
|
||||||
write_kv_list_entry "(none found)" ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### set action ###
|
|
||||||
|
|
||||||
describe_set() {
|
|
||||||
echo "Set active gnat compiler"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The set action. Parameters:
|
|
||||||
# $1 - name of profile to set, obligatory, passed by eselect
|
|
||||||
# $2 - optional, name of env file to generate. Used from gnat.eclass.
|
|
||||||
do_set() {
|
|
||||||
if [[ -z ${1} ]] ; then
|
|
||||||
# no parameter
|
|
||||||
die -q "You didn't tell me which gnat to use"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local toset=$(get_name_from_list $1)
|
|
||||||
if [[ ${toset} == "(not-found)" ]] ; then
|
|
||||||
die -q "I don't recognise the selection"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# the action!
|
|
||||||
# in this implementation simply create an appropriate env file
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
if [[ -z ${2} ]] ; then
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
|
|
||||||
# now we need to remove an old env file, which is guaranteed to
|
|
||||||
# be unique by get_current_gnat above
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
fi
|
|
||||||
# just for a good measure remove the one we are going to write
|
|
||||||
unset_env ${toset}
|
|
||||||
else
|
|
||||||
local envfile="$2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
|
|
||||||
# force update environment
|
|
||||||
# should be replaced with "do_action env update" when #172472 gets resolved
|
|
||||||
env-update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### update action ###
|
|
||||||
#
|
|
||||||
# This action regenerates the /etc/env.d file for the current profile. Basically
|
|
||||||
# the same as set, only it does not take any parameters. It should be called from ebuilds
|
|
||||||
# installing Ada libs
|
|
||||||
|
|
||||||
describe_update() {
|
|
||||||
echo "Update active gnat profile picking up new libs."
|
|
||||||
}
|
|
||||||
|
|
||||||
do_update() {
|
|
||||||
local toset=$(get_current_gnat)
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
### unset action ###
|
|
||||||
|
|
||||||
describe_unset() {
|
|
||||||
echo "Remove settings for currently active gnat"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_unset() {
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
# check whether we have any profile set before removing anything..
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,229 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
DESCRIPTION="Manage the installed gnat compilers"
|
|
||||||
MAINTAINER="ada@gentoo.org"
|
|
||||||
SVN_DATE='$Date: 2015/03/31 16:48:57 $'
|
|
||||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
|
||||||
|
|
||||||
# "inheriting" common stuff
|
|
||||||
# this crude sourcing has to stay the way it is, as common code
|
|
||||||
# cannot be part of some eclass (bug #192505)
|
|
||||||
. /usr/share/gnat/lib/gnat-common.bash
|
|
||||||
|
|
||||||
|
|
||||||
### Phylosophy
|
|
||||||
# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR}
|
|
||||||
# Each lib creates a dir with its name under ${SPECSDIR} and populates it with
|
|
||||||
# similar specs files (same name scheme)
|
|
||||||
# Recognizing gnat specs from lib specs is then eazy - test entry for being a
|
|
||||||
# dir, then just check what gnat profiles are installed for each lib..
|
|
||||||
# doset then creates env file that combines settings for gnat and for the
|
|
||||||
# corresponding profile of each installed lib..
|
|
||||||
|
|
||||||
|
|
||||||
### Helpers
|
|
||||||
|
|
||||||
# return *the* name of the active profile, checking that we do not have multiple
|
|
||||||
# env files.
|
|
||||||
# There can be only one!
|
|
||||||
get_current_gnat() {
|
|
||||||
local profiles=( $(get_env_list) )
|
|
||||||
|
|
||||||
if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi
|
|
||||||
|
|
||||||
if (( 1 == ${#profiles[@]} )); then
|
|
||||||
local active=${profiles[0]#${MARKER}}
|
|
||||||
else
|
|
||||||
die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ${active}
|
|
||||||
# disabling this check, as we want to use get_current_gnat with empty profile
|
|
||||||
# as an indication that last gnat in SLOT was removed
|
|
||||||
# if [ -f ${SPECSDIR}/${active} ]; then
|
|
||||||
# echo ${active}
|
|
||||||
# else
|
|
||||||
# die -q "the active env.d profile does not correspond to any installed gnat!"
|
|
||||||
# fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# validity check that was removed from get_current_gnat, in case we need it
|
|
||||||
# somewhere..
|
|
||||||
# Arguments:
|
|
||||||
# $1 - name of the gnat profiel to check
|
|
||||||
profile_is_valid() {
|
|
||||||
if [[ -n $1 ]] ; then
|
|
||||||
[[ -f ${SPECSDIR}/$1 ]] || return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# check if the passed arg represents the installed gnat and return it or
|
|
||||||
# not_found
|
|
||||||
# takes args:
|
|
||||||
# $1 - list ID to check
|
|
||||||
get_name_from_list() {
|
|
||||||
compiler=$1
|
|
||||||
|
|
||||||
compilers=( $(find_all_compilers) )
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
if [[ ${compilers[$i]} == ${compiler} ]] ; then
|
|
||||||
echo ${compiler}
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "(not-found)"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# removes env files (for compiler and libs)
|
|
||||||
# params:
|
|
||||||
# $1: the name of profile for which to remove env file
|
|
||||||
unset_env() {
|
|
||||||
rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### show action ###
|
|
||||||
|
|
||||||
describe_show() {
|
|
||||||
echo "Show the active gnat compiler/profile and installed libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_show() {
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
if $(profile_is_valid ${active}); then
|
|
||||||
write_list_start "Current gnat version:"
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
write_kv_list_entry "$active" ""
|
|
||||||
libs=( $(find_libs4profile ${active}) )
|
|
||||||
write_list_start "Active libs:"
|
|
||||||
write_numbered_list "${libs[@]}"
|
|
||||||
else
|
|
||||||
write_kv_list_entry "(none set)" ""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
write_error_msg "The active profile in ${ENVDIR} is not valid! Please set a valid profile!"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
### list action ###
|
|
||||||
|
|
||||||
describe_list() {
|
|
||||||
echo "List installed gnat compilers and libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_list() {
|
|
||||||
compilers=( $(find_all_compilers ) )
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
|
|
||||||
write_list_start "Available gnat compilers:"
|
|
||||||
|
|
||||||
if [[ -n ${compilers[@]} ]] ; then
|
|
||||||
local i
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
linkversion=${compilers[${i}]}
|
|
||||||
|
|
||||||
[[ $linkversion == $active ]] && \
|
|
||||||
compilers[${i}]="${compilers[${i}]} $(highlight '*' )"
|
|
||||||
done
|
|
||||||
write_numbered_list "${compilers[@]}"
|
|
||||||
|
|
||||||
# now the libs
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
write_list_start "Installed libs:"
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \
|
|
||||||
libs[${i}]="${libs[${i}]} $(highlight '*' )"
|
|
||||||
done
|
|
||||||
write_numbered_list "${libs[@]}"
|
|
||||||
else
|
|
||||||
write_kv_list_entry "(none found)" ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### set action ###
|
|
||||||
|
|
||||||
describe_set() {
|
|
||||||
echo "Set active gnat compiler"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The set action. Parameters:
|
|
||||||
# $1 - name of profile to set, obligatory, passed by eselect
|
|
||||||
# $2 - optional, name of env file to generate. Used from gnat.eclass.
|
|
||||||
do_set() {
|
|
||||||
if [[ -z ${1} ]] ; then
|
|
||||||
# no parameter
|
|
||||||
die -q "You didn't tell me which gnat to use"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local toset=$(get_name_from_list $1)
|
|
||||||
if [[ ${toset} == "(not-found)" ]] ; then
|
|
||||||
die -q "I don't recognise the selection"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# the action!
|
|
||||||
# in this implementation simply create an appropriate env file
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
if [[ -z ${2} ]] ; then
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
|
|
||||||
# now we need to remove an old env file, which is guaranteed to
|
|
||||||
# be unique by get_current_gnat above
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
fi
|
|
||||||
# just for a good measure remove the one we are going to write
|
|
||||||
unset_env ${toset}
|
|
||||||
else
|
|
||||||
local envfile="$2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
|
|
||||||
# force update environment
|
|
||||||
# should be replaced with "do_action env update" when #172472 gets resolved
|
|
||||||
env-update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### update action ###
|
|
||||||
#
|
|
||||||
# This action regenerates the /etc/env.d file for the current profile. Basically
|
|
||||||
# the same as set, only it does not take any parameters. It should be called from ebuilds
|
|
||||||
# installing Ada libs or in the pkg_postrm in gnatbuild.eclass, to clean up the
|
|
||||||
# profile if last gnat in SLOT was removed.
|
|
||||||
|
|
||||||
describe_update() {
|
|
||||||
echo "Update active gnat profile picking up new libs."
|
|
||||||
}
|
|
||||||
|
|
||||||
do_update() {
|
|
||||||
local toset=$(get_current_gnat)
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
# now check whether to update or unset the profile
|
|
||||||
if $(profile_is_valid ${toset}); then
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
else
|
|
||||||
unset_env ${toset}
|
|
||||||
fi
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
### unset action ###
|
|
||||||
|
|
||||||
describe_unset() {
|
|
||||||
echo "Remove settings for currently active gnat"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_unset() {
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
# check whether we have any profile set before removing anything..
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
DESCRIPTION="Manage the installed gnat compilers"
|
|
||||||
MAINTAINER="ada@gentoo.org"
|
|
||||||
SVN_DATE='$Date: 2015/03/31 16:48:57 $'
|
|
||||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
|
||||||
|
|
||||||
# "inheriting" common stuff
|
|
||||||
# this crude sourcing has to stay the way it is, as common code
|
|
||||||
# cannot be part of some eclass (bug #192505)
|
|
||||||
. /usr/share/gnat/lib/gnat-common.bash
|
|
||||||
|
|
||||||
|
|
||||||
### Phylosophy
|
|
||||||
# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR}
|
|
||||||
# Each lib creates a dir with its name under ${SPECSDIR} and populates it with
|
|
||||||
# similar specs files (same name scheme)
|
|
||||||
# Recognizing gnat specs from lib specs is then eazy - test entry for being a
|
|
||||||
# dir, then just check what gnat profiles are installed for each lib..
|
|
||||||
# doset then creates env file that combines settings for gnat and for the
|
|
||||||
# corresponding profile of each installed lib..
|
|
||||||
|
|
||||||
|
|
||||||
### Helpers
|
|
||||||
|
|
||||||
# return *the* name of the active profile, checking that we do not have multiple
|
|
||||||
# env files.
|
|
||||||
# There can be only one!
|
|
||||||
get_current_gnat() {
|
|
||||||
local profiles=( $(get_env_list) )
|
|
||||||
|
|
||||||
if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi
|
|
||||||
|
|
||||||
if (( 1 == ${#profiles[@]} )); then
|
|
||||||
local active=${profiles[0]#${MARKER}}
|
|
||||||
else
|
|
||||||
die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ${active}
|
|
||||||
# disabling this check, as we want to use get_current_gnat with empty profile
|
|
||||||
# as an indication that last gnat in SLOT was removed
|
|
||||||
# if [ -f ${SPECSDIR}/${active} ]; then
|
|
||||||
# echo ${active}
|
|
||||||
# else
|
|
||||||
# die -q "the active env.d profile does not correspond to any installed gnat!"
|
|
||||||
# fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# validity check that was removed from get_current_gnat, in case we need it
|
|
||||||
# somewhere..
|
|
||||||
# Arguments:
|
|
||||||
# $1 - name of the gnat profiel to check
|
|
||||||
profile_is_valid() {
|
|
||||||
if [[ -n $1 ]] ; then
|
|
||||||
[[ -f ${SPECSDIR}/$1 ]] || return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# check if the passed arg represents the installed gnat and return it or
|
|
||||||
# not_found
|
|
||||||
# takes args:
|
|
||||||
# $1 - list ID to check
|
|
||||||
get_name_from_list() {
|
|
||||||
compiler=$1
|
|
||||||
|
|
||||||
compilers=( $(find_all_compilers) )
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
if [[ ${compilers[$i]} == ${compiler} ]] ; then
|
|
||||||
echo ${compiler}
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "(not-found)"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# removes env files (for compiler and libs)
|
|
||||||
# params:
|
|
||||||
# $1: the name of profile for which to remove env file
|
|
||||||
unset_env() {
|
|
||||||
rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### show action ###
|
|
||||||
|
|
||||||
describe_show() {
|
|
||||||
echo "Show the active gnat compiler/profile and installed libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_show() {
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
if $(profile_is_valid ${active}); then
|
|
||||||
write_list_start "Current gnat version:"
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
write_kv_list_entry "$active" ""
|
|
||||||
libs=( $(find_libs4profile ${active}) )
|
|
||||||
write_list_start "Active libs:"
|
|
||||||
write_numbered_list "${libs[@]}"
|
|
||||||
else
|
|
||||||
write_kv_list_entry "(none set)" ""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
write_error_msg "The active profile in ${ENVDIR} is not valid! Please set a valid profile!"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
### list action ###
|
|
||||||
|
|
||||||
describe_list() {
|
|
||||||
echo "List installed gnat compilers and libs"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_list() {
|
|
||||||
compilers=( $(find_all_compilers ) )
|
|
||||||
active=$(get_current_gnat)
|
|
||||||
|
|
||||||
write_list_start "Available gnat compilers:"
|
|
||||||
|
|
||||||
local i
|
|
||||||
for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do
|
|
||||||
linkversion=${compilers[${i}]}
|
|
||||||
|
|
||||||
[[ $linkversion == $active ]] && \
|
|
||||||
compilers[${i}]=$(highlight_marker "${compilers[${i}]}")
|
|
||||||
done
|
|
||||||
write_numbered_list -m "(none)" "${compilers[@]}"
|
|
||||||
|
|
||||||
# now the libs
|
|
||||||
libs=( $(find_all_libs) )
|
|
||||||
write_list_start "Installed libs:"
|
|
||||||
for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do
|
|
||||||
[ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \
|
|
||||||
libs[${i}]=$(highlight_marker "${libs[${i}]}")
|
|
||||||
done
|
|
||||||
write_numbered_list -m "(no libs)" "${libs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
### set action ###
|
|
||||||
|
|
||||||
describe_set() {
|
|
||||||
echo "Set active gnat compiler"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The set action. Parameters:
|
|
||||||
# $1 - name of profile to set, obligatory, passed by eselect
|
|
||||||
# $2 - optional, name of env file to generate. Used from gnat.eclass.
|
|
||||||
do_set() {
|
|
||||||
if [[ -z ${1} ]] ; then
|
|
||||||
# no parameter
|
|
||||||
die -q "You didn't tell me which gnat to use"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local toset=$(get_name_from_list $1)
|
|
||||||
if [[ ${toset} == "(not-found)" ]] ; then
|
|
||||||
die -q "I don't recognise the selection"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# the action!
|
|
||||||
# in this implementation simply create an appropriate env file
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
if [[ -z ${2} ]] ; then
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
|
|
||||||
# now we need to remove an old env file, which is guaranteed to
|
|
||||||
# be unique by get_current_gnat above
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
fi
|
|
||||||
# just for a good measure remove the one we are going to write
|
|
||||||
unset_env ${toset}
|
|
||||||
else
|
|
||||||
local envfile="$2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
|
|
||||||
# force update environment
|
|
||||||
# should be replaced with "do_action env update" when #172472 gets resolved
|
|
||||||
env-update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### update action ###
|
|
||||||
#
|
|
||||||
# This action regenerates the /etc/env.d file for the current profile. Basically
|
|
||||||
# the same as set, only it does not take any parameters. It should be called from ebuilds
|
|
||||||
# installing Ada libs or in the pkg_postrm in gnatbuild.eclass, to clean up the
|
|
||||||
# profile if last gnat in SLOT was removed.
|
|
||||||
|
|
||||||
describe_update() {
|
|
||||||
echo "Update active gnat profile picking up new libs."
|
|
||||||
}
|
|
||||||
|
|
||||||
do_update() {
|
|
||||||
local toset=$(get_current_gnat)
|
|
||||||
local envfile="${ENVDIR}/${MARKER}${toset}"
|
|
||||||
# now check whether to update or unset the profile
|
|
||||||
if $(profile_is_valid ${toset}); then
|
|
||||||
generate_envFile ${toset} ${envfile}
|
|
||||||
else
|
|
||||||
unset_env ${toset}
|
|
||||||
fi
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
### unset action ###
|
|
||||||
|
|
||||||
describe_unset() {
|
|
||||||
echo "Remove settings for currently active gnat"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_unset() {
|
|
||||||
local active=$(get_current_gnat)
|
|
||||||
# check whether we have any profile set before removing anything..
|
|
||||||
if [[ -n ${active} ]] ; then
|
|
||||||
unset_env ${active}
|
|
||||||
do_action env update &> /dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!--maintainer-needed-->
|
|
||||||
<longdescription>The eselect module for the supported gnat compilers.</longdescription>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1,5 +1,3 @@
|
|||||||
DIST asciinema-2.0.1.tar.gz 48597 BLAKE2B 9179d19c3c6980f35004145fc109dfa938fa020e1982389f7309c7716f8e18914fb8db46e74b2d778b043399d00a3348e499e9fc1849f5f02e1a729c8bde6084 SHA512 abc7e2a83032520d42b45524fbd103bd974b6857274fbb923b274d11f0a81a8d06cd1e97f1b7d6432a47e1ded6df5e37e52c69caaf7f15b1bf8b53f17dfc07d1
|
|
||||||
DIST asciinema-2.0.2.tar.gz 50058 BLAKE2B db04e21f41b76a7b2be1ca119b2c0a2ff29c9e525c35180d2506722b12c7d139087d0a102bd984cecd7d69e2da0ce8ac0f4bc83c631bc1373fecc8de2d29f107 SHA512 27ae831494c2532270940c3e0fedc87ebbdc1e9d8d24c37d1b63d3f74d9722d38e867fa1b46656249e5b0a84ed7ed32bb21da65f06e9c6a8b787aebdce2068f3
|
DIST asciinema-2.0.2.tar.gz 50058 BLAKE2B db04e21f41b76a7b2be1ca119b2c0a2ff29c9e525c35180d2506722b12c7d139087d0a102bd984cecd7d69e2da0ce8ac0f4bc83c631bc1373fecc8de2d29f107 SHA512 27ae831494c2532270940c3e0fedc87ebbdc1e9d8d24c37d1b63d3f74d9722d38e867fa1b46656249e5b0a84ed7ed32bb21da65f06e9c6a8b787aebdce2068f3
|
||||||
EBUILD asciinema-2.0.1.ebuild 715 BLAKE2B 527c1dd6251ecf999f613409adc0da06eebdf08a12b01dff5030694e57fab13b03d385283bdd654d9522f8bdf566d4b2af54e9b95bbedb3df553e985c211cb41 SHA512 a7932f629ff6472e905931fd246702d1f308229962e93acabb48589426bf852423ab7ebe763d528581096434fa68f387d5262b918087e6aa1a525eb20ba3a085
|
EBUILD asciinema-2.0.2.ebuild 711 BLAKE2B 652f2aea4c41343b109dcbc086d5baf22811f51a7241ac6585200ae7f5c7a3e07ca7b7f24b6be43b97bc2e716dc1e8b8a71d979f184d8e74b0633b5f0fd9aa03 SHA512 054866471590abacc8aca79bc35817104990b0f0d116b5bddd1768e3f9139af1bccf9a8dcbcea1dab0e648a0e7f0cf7a5a79231e636b23b23096152994246138
|
||||||
EBUILD asciinema-2.0.2.ebuild 712 BLAKE2B f3933813b9f7d0d25c13172bce141cc2a1b02b31319780a51b112574156ca386bba7c9c326258f495d024f4b354a688da36e04c226f63795b625c2c7004201fd SHA512 d7f62def4f26068bf8432295ff238accd1a7d70da1eed2d59925fd4971c72b4dec58f8d1543f3d516a3f73be2feed3c4b946ca88ffc4e5ec0a962462ebe28451
|
|
||||||
MISC metadata.xml 352 BLAKE2B a3fc1910fe080d3617e64abfa1d758ac162556451fbdf1500b5b7b5ae0ecc703004483f2e0a322bccabe2857319faf3ad011f75ddf676c950b5fe59a5feeda1e SHA512 382168389e0950d78c6df79b6ad6dcf8bdf54fc9f877b23dd1e69c3983e931590c82a26694279b83834121af33a4aa8915a9c1907da2bd617b895a2cb4c31d74
|
MISC metadata.xml 352 BLAKE2B a3fc1910fe080d3617e64abfa1d758ac162556451fbdf1500b5b7b5ae0ecc703004483f2e0a322bccabe2857319faf3ad011f75ddf676c950b5fe59a5feeda1e SHA512 382168389e0950d78c6df79b6ad6dcf8bdf54fc9f877b23dd1e69c3983e931590c82a26694279b83834121af33a4aa8915a9c1907da2bd617b895a2cb4c31d74
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Command line recorder for asciinema.org service"
|
|
||||||
HOMEPAGE="https://asciinema.org/ https://pypi.org/project/asciinema/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md doc/asciicast-v1.md )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
doman man/asciinema.1
|
|
||||||
}
|
|
@ -1,11 +1,11 @@
|
|||||||
AUX jq-1.5-dynamic-link.patch 292 BLAKE2B 65edf9902b3a97621cb5485931d6978625b89870e0728c92dec008abf0a978aa1ea496245294c0a8eed75498abec5a01b7fea8efa8185b7c54d4140e75af8abd SHA512 1573ab7bdb9bd28db1ef7cbf834aada998b9651ffc1a9c67941faf23490ac3b145b6af6f1e41212b2c8c990d738b24bc7912a591db386f922c0b829a59e465ee
|
AUX jq-1.5-dynamic-link.patch 292 BLAKE2B 65edf9902b3a97621cb5485931d6978625b89870e0728c92dec008abf0a978aa1ea496245294c0a8eed75498abec5a01b7fea8efa8185b7c54d4140e75af8abd SHA512 1573ab7bdb9bd28db1ef7cbf834aada998b9651ffc1a9c67941faf23490ac3b145b6af6f1e41212b2c8c990d738b24bc7912a591db386f922c0b829a59e465ee
|
||||||
AUX jq-1.5-heap_buffer_overflow_in_tokenadd.patch 1241 BLAKE2B ae161ea9ce220f57ee5aeec1b9d202de8401dcb5e842ba8d105eb3a2bc2cbd0f387980d76bfe8a30a6304ea04a1d00fe8733e7dab46507602d16eac74387f3a6 SHA512 7c0e7268a8715f9354322b81e82971fd6e6810206024fb59f55fdf319c1053fdd17ab4d2a78c8edc9ed1638339671419f4ea92cbb0f8ffbb34e5b521efb35718
|
AUX jq-1.5-heap_buffer_overflow_in_tokenadd.patch 1241 BLAKE2B ae161ea9ce220f57ee5aeec1b9d202de8401dcb5e842ba8d105eb3a2bc2cbd0f387980d76bfe8a30a6304ea04a1d00fe8733e7dab46507602d16eac74387f3a6 SHA512 7c0e7268a8715f9354322b81e82971fd6e6810206024fb59f55fdf319c1053fdd17ab4d2a78c8edc9ed1638339671419f4ea92cbb0f8ffbb34e5b521efb35718
|
||||||
AUX jq-1.5-remove-automagic-dep-on-oniguruma.patch 1879 BLAKE2B 821dc0ba57bdabf268efb3429417ee5e32d666dc33debea89aa7550c4bbad3c5938a6a0bf0cb4adfc2c0173b7bfeac3dcd16c52b19be6e92733ea8dfee89b4b5 SHA512 3c7efccf85beda5f80c66432f6950b2d885c4587e6ed3cdc66447f60440dc0287da834cc5744ddd7af8ad36677254ebae6969bc498d36e457dfac69ca0da3f6d
|
AUX jq-1.5-remove-automagic-dep-on-oniguruma.patch 1879 BLAKE2B 821dc0ba57bdabf268efb3429417ee5e32d666dc33debea89aa7550c4bbad3c5938a6a0bf0cb4adfc2c0173b7bfeac3dcd16c52b19be6e92733ea8dfee89b4b5 SHA512 3c7efccf85beda5f80c66432f6950b2d885c4587e6ed3cdc66447f60440dc0287da834cc5744ddd7af8ad36677254ebae6969bc498d36e457dfac69ca0da3f6d
|
||||||
AUX jq-1.6-never-bundle-oniguruma.patch 2574 BLAKE2B 0d23b17807c88940f3f586657d9e8247466bae172f135b8e22c7e888fc92363a7bbcced97934d643e5a0c45256c63fe70347fc48ea32b053cc456fa5e28e44ec SHA512 57924c5cf4e189c439a008f104a9e96ea8eefde2f950089baff4fe049cd52433693dba8b1aa4eaf63afc3256e169df4a3d167311662ace66416abb54c01215b2
|
AUX jq-1.6-r3-never-bundle-oniguruma.patch 867 BLAKE2B 7afe5d3390071a4ccd14ae376c27db07f3d189a32973d82d77b3bd0b8826cf3ed6c032e31e0b7ffdf3834050aeb367316f8930dbb0a1a66218f86ab94cbd36ff SHA512 27b38e765e0850cb97c51015f36ebc447bd23066b640269ff4ea838946545dd86cdd975393943bf4257dc9ce8436a16b610e34883ddacc64b8106f895d1c79c3
|
||||||
AUX jq-1.6-runpath.patch 563 BLAKE2B 9b7600e9673fd0a34dedd2c3c7a672b26d146778f929f639310bd1089bf4134bf1aed722701f23b108db62057b75328e2debf1b0313cdc7eef60b116173b7e5d SHA512 ce02eeba87606a1a95b301abdb42eaad2bcd6049ebac1514cd4316f0202439142c7c6d529f34770a663f10e34190ac22dde039c36c51a1e1d5300b1dc56bd555
|
AUX jq-1.6-runpath.patch 563 BLAKE2B 9b7600e9673fd0a34dedd2c3c7a672b26d146778f929f639310bd1089bf4134bf1aed722701f23b108db62057b75328e2debf1b0313cdc7eef60b116173b7e5d SHA512 ce02eeba87606a1a95b301abdb42eaad2bcd6049ebac1514cd4316f0202439142c7c6d529f34770a663f10e34190ac22dde039c36c51a1e1d5300b1dc56bd555
|
||||||
AUX jq-1.6-segfault-fix.patch 868 BLAKE2B 922960b595f84447c8a4b0c70a414dfd26104a30dc317cade0e0034b86dcf21296b7ed29c7e239204d9ab063d0418e3b8389ff7a39d688c3279c78fc4b22a126 SHA512 0c5b3f82cc6bb98413c7adf5a12e3cdeae7c611417853f3e9c5026e54d237c4f32ef47f6347b09d2cc63f0efa12b7790a588da98cf752d2d4cc0fa50978cab8b
|
AUX jq-1.6-segfault-fix.patch 868 BLAKE2B 922960b595f84447c8a4b0c70a414dfd26104a30dc317cade0e0034b86dcf21296b7ed29c7e239204d9ab063d0418e3b8389ff7a39d688c3279c78fc4b22a126 SHA512 0c5b3f82cc6bb98413c7adf5a12e3cdeae7c611417853f3e9c5026e54d237c4f32ef47f6347b09d2cc63f0efa12b7790a588da98cf752d2d4cc0fa50978cab8b
|
||||||
DIST jq-1.5.tar.gz 739309 BLAKE2B 9d36db80fa9365d9967c9e1691e723d5237e7db2ddef43e06391bb97ba3a163f07c79906b9cf94d4b53f20598dc8ccacaff9e54ff3c32387fef1b3d484c13e73 SHA512 4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238
|
DIST jq-1.5.tar.gz 739309 BLAKE2B 9d36db80fa9365d9967c9e1691e723d5237e7db2ddef43e06391bb97ba3a163f07c79906b9cf94d4b53f20598dc8ccacaff9e54ff3c32387fef1b3d484c13e73 SHA512 4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238
|
||||||
DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
|
DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
|
||||||
EBUILD jq-1.5-r3.ebuild 1392 BLAKE2B 3bf5f4a5124ed0e44158969a38201e5c9a5311ce23af5bca431acb2b0e69f50d5c6be60561a29c067f813f7bb4bb1d57bd7659672258574e3e9cebaf9e8da1c7 SHA512 2d1a0ca492838b08b40232cc574d3cbd3319250a45f23a53f5b8688e12def7702cce59bb761d3d30e58fd50ba8cde1dc0e1d7790a0ce0411444dc39922a81426
|
EBUILD jq-1.5-r3.ebuild 1392 BLAKE2B 3bf5f4a5124ed0e44158969a38201e5c9a5311ce23af5bca431acb2b0e69f50d5c6be60561a29c067f813f7bb4bb1d57bd7659672258574e3e9cebaf9e8da1c7 SHA512 2d1a0ca492838b08b40232cc574d3cbd3319250a45f23a53f5b8688e12def7702cce59bb761d3d30e58fd50ba8cde1dc0e1d7790a0ce0411444dc39922a81426
|
||||||
EBUILD jq-1.6-r2.ebuild 1414 BLAKE2B bcf4071d05aa6cd18c916a7f94bfadbc71404200d0cbc6ed9bda81141b4649fca052b8873aa5b37243446697128b0152ca631277df96f7e0924f9ea280220970 SHA512 b00d5da0c9b53a4434aa9c8d375173fd0e36e70890def0fa522aec9efba3bdd2abe3632aad6707aabcb6fc8b10d95c581580a3354f92a4b9bb3afbaf9975369a
|
EBUILD jq-1.6-r3.ebuild 1818 BLAKE2B 6b01183fd7e2ba1c9b07c31aae0dea6614cd4b2f20edb7b730478e7ac450aed7bdae930bc8ac240a90da4da6be7a9540698adfb542af5254f5fac5740b0ae0e6 SHA512 27841204cbeff461014d0d8f70fc00e892962c191c4e546385aac6d47fdf0eeffaffe2f9f2b77bfe1fe9b47c25a8df367bfb270be54f212163cc295c53d5a00e
|
||||||
MISC metadata.xml 423 BLAKE2B 1e5f03ac7d6b93814bdfe760d9b2d9b74447272b554f7e92c40918069c7787ee8c60dd68a86df38c67f27422f0f281c7ad7234305a45532b657be0397a5b81af SHA512 1787b1ce5d050aaa440996ceaf2367e39192af71e7d9a0d973e8dc8a87854f910aefd020c869867e3da5da33d27cc261047a1ded58b18052b21bf6737ef3081c
|
MISC metadata.xml 423 BLAKE2B 1e5f03ac7d6b93814bdfe760d9b2d9b74447272b554f7e92c40918069c7787ee8c60dd68a86df38c67f27422f0f281c7ad7234305a45532b657be0397a5b81af SHA512 1787b1ce5d050aaa440996ceaf2367e39192af71e7d9a0d973e8dc8a87854f910aefd020c869867e3da5da33d27cc261047a1ded58b18052b21bf6737ef3081c
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
diff --git a/Makefile.am b/Makefile.am
|
|
||||||
index 6344b4e..5f0c74d 100644
|
|
||||||
--- a/Makefile.am
|
|
||||||
+++ b/Makefile.am
|
|
||||||
@@ -48,7 +48,7 @@ AM_YFLAGS = --warnings=all -d
|
|
||||||
lib_LTLIBRARIES = libjq.la
|
|
||||||
libjq_la_SOURCES = ${LIBJQ_SRC}
|
|
||||||
libjq_la_LIBADD = -lm
|
|
||||||
-libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info 1:4:0
|
|
||||||
+libjq_la_LDFLAGS = -export-symbols-regex '^j[qv]_' -version-info 1:4:0
|
|
||||||
|
|
||||||
if WIN32
|
|
||||||
libjq_la_LIBADD += -lshlwapi
|
|
||||||
@@ -137,15 +137,6 @@ jq.1: $(srcdir)/jq.1.prebuilt
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
-### Build oniguruma
|
|
||||||
-
|
|
||||||
-if BUILD_ONIGURUMA
|
|
||||||
-libjq_la_LIBADD += modules/oniguruma/src/.libs/libonig.la
|
|
||||||
-SUBDIRS = modules/oniguruma
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-AM_CFLAGS += $(onig_CFLAGS)
|
|
||||||
-
|
|
||||||
### Packaging
|
|
||||||
|
|
||||||
docs/site.yml: configure.ac
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 280694c..0c5d86f 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -236,45 +236,20 @@ AC_ARG_WITH([oniguruma],
|
|
||||||
[try this for a non-standard install prefix of the oniguruma library])], ,
|
|
||||||
[with_oniguruma=yes])
|
|
||||||
|
|
||||||
-onig_CFLAGS=
|
|
||||||
-onig_LDFLAGS=
|
|
||||||
-build_oniguruma=no
|
|
||||||
AS_IF([test "x$with_oniguruma" != xno], [
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
save_LDFLAGS="$LDFLAGS"
|
|
||||||
- AS_IF([test "x$with_oniguruma" != xyes], [
|
|
||||||
- AS_IF([test "x$with_oniguruma" = xbuiltin], [
|
|
||||||
- build_oniguruma=yes
|
|
||||||
- ], [
|
|
||||||
- onig_CFLAGS="-I${with_oniguruma}/include"
|
|
||||||
- onig_LDFLAGS="-L${with_oniguruma}/lib"
|
|
||||||
- ])
|
|
||||||
- ])
|
|
||||||
AS_IF([test "x$build_oniguruma" = xno], [
|
|
||||||
# check for ONIGURUMA library, either in /usr or where requested
|
|
||||||
- CFLAGS="$CFLAGS $onig_CFLAGS"
|
|
||||||
- LDFLAGS="$LDFLAGS $onig_LDFLAGS"
|
|
||||||
AC_CHECK_HEADER("oniguruma.h",
|
|
||||||
AC_CHECK_LIB([onig],[onig_version]))
|
|
||||||
# handle check results
|
|
||||||
AS_IF([test "x$ac_cv_lib_onig_onig_version" != "xyes"], [
|
|
||||||
- build_oniguruma=yes
|
|
||||||
- AC_MSG_NOTICE([Oniguruma was not found. Will use the packaged oniguruma.])
|
|
||||||
+ AC_MSG_ERROR(oniguruma.h not found)
|
|
||||||
])
|
|
||||||
])
|
|
||||||
- AS_IF([test "x$build_oniguruma" = xyes -a -f "${srcdir}/modules/oniguruma/configure.ac" ], [
|
|
||||||
- onig_CFLAGS="-I${srcdir}/modules/oniguruma/src"
|
|
||||||
- onig_LDFLAGS="-L${srcdir}/modules/oniguruma/src -Wl,-rpath,${libdir}"
|
|
||||||
- AC_CONFIG_SUBDIRS([modules/oniguruma])
|
|
||||||
- AC_DEFINE([HAVE_LIBONIG],1,[Define to 1 if the system includes libonig])
|
|
||||||
- ])
|
|
||||||
- CFLAGS="$save_CFLAGS"
|
|
||||||
- LDFLAGS="$save_LDFLAGS"
|
|
||||||
])
|
|
||||||
-AC_SUBST(onig_CFLAGS)
|
|
||||||
-AC_SUBST(onig_LDFLAGS)
|
|
||||||
|
|
||||||
-AM_CONDITIONAL([BUILD_ONIGURUMA], [test "x$build_oniguruma" = xyes])
|
|
||||||
AC_SUBST([BUNDLER], ["$bundle_cmd"])
|
|
||||||
|
|
||||||
AC_CONFIG_MACRO_DIR([config/m4])
|
|
@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 6344b4e..86d968e 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -47,7 +47,7 @@ AM_YFLAGS = --warnings=all -d
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libjq.la
|
||||||
|
libjq_la_SOURCES = ${LIBJQ_SRC}
|
||||||
|
-libjq_la_LIBADD = -lm
|
||||||
|
+libjq_la_LIBADD = -lm $(onig_LIBS)
|
||||||
|
libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info 1:4:0
|
||||||
|
|
||||||
|
if WIN32
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 280694c..d96026e 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -249,6 +249,9 @@ AS_IF([test "x$with_oniguruma" != xno], [
|
||||||
|
onig_CFLAGS="-I${with_oniguruma}/include"
|
||||||
|
onig_LDFLAGS="-L${with_oniguruma}/lib"
|
||||||
|
])
|
||||||
|
+ ], [
|
||||||
|
+ # with_oniguruma == yes
|
||||||
|
+ PKG_CHECK_MODULES([onig], [oniguruma])
|
||||||
|
])
|
||||||
|
AS_IF([test "x$build_oniguruma" = xno], [
|
||||||
|
# check for ONIGURUMA library, either in /usr or where requested
|
@ -1,4 +1,4 @@
|
|||||||
DIST kryoflux-ui.jar 2101377 BLAKE2B db9922b9d5787772849d1ef9edae52d64de066f643c471412ed9129307c4ee399ec3a18ebcacd7428ab15eabf5307e916b678831f2fa456cbd7073aa60bbb574 SHA512 66ba81ed1b2a97a0391e513c45b19436f17677e3dfe7c063749e41763658f99a5eb92e5b3312f4151f8fc51bd79502ac11ffd895966117e1d5a9849867aeb957
|
DIST kryoflux-ui.jar 2101377 BLAKE2B db9922b9d5787772849d1ef9edae52d64de066f643c471412ed9129307c4ee399ec3a18ebcacd7428ab15eabf5307e916b678831f2fa456cbd7073aa60bbb574 SHA512 66ba81ed1b2a97a0391e513c45b19436f17677e3dfe7c063749e41763658f99a5eb92e5b3312f4151f8fc51bd79502ac11ffd895966117e1d5a9849867aeb957
|
||||||
DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2 SHA512 9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
|
DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2 SHA512 9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
|
||||||
EBUILD kryoflux-dtc-2.6.ebuild 2416 BLAKE2B f46de2423db72922873ea8f9c6dccc2736c3a2fcfb68dd5b611519b7689a3d22f9b4892c2ad5bd32d2d9ee1e93fc2302413400b69c89ec6df71ce6509d0d8215 SHA512 f0bf9fa0b0f9e915a136386585f5668082f0cda3dc7b76b7ba30c4976002fcc6c4fd61c56479bf8c104444d0377538c354479fbbbbf80eee41cc2a49413aa61f
|
EBUILD kryoflux-dtc-2.6.ebuild 2412 BLAKE2B 2efe5d5e320b4682b9db3d0d5ab063b16a430a5a87037a1686c25f78239dc0d5de3a30cc7462f48197c4671bf95885561e616f8ef03200665fee2576c98d59b5 SHA512 f9009c5f21bee4dff468bfb9bad78f869a84c2d7e4c8d631074c38d4b22fcd1468d9e55d8bba4e529f2d78087736bf533f6736bb577844e6db3ff5ce37d9ee9c
|
||||||
MISC metadata.xml 582 BLAKE2B 6efbcc8d9b65499ea7025dcf9bbf1352a52abbe34a77d8ac59a8f022448ea82d12d84516104b7a719d4e9014a51460bcae29efce62a9a5e6bb41332286528dc1 SHA512 00f628fd32ab3a5568f9bbc841c38732b07d9db58ed2020703dfb0908aeaec2b07d8a6aa84e884442981126755c7d6f92cbef7238c38f2c3d6fc985a3721e9e7
|
MISC metadata.xml 582 BLAKE2B 6efbcc8d9b65499ea7025dcf9bbf1352a52abbe34a77d8ac59a8f022448ea82d12d84516104b7a719d4e9014a51460bcae29efce62a9a5e6bb41332286528dc1 SHA512 00f628fd32ab3a5568f9bbc841c38732b07d9db58ed2020703dfb0908aeaec2b07d8a6aa84e884442981126755c7d6f92cbef7238c38f2c3d6fc985a3721e9e7
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
AUX mx5000tools-0.1.2-find-netpbm-header.patch 941 BLAKE2B af7f7ae5d27f403b2429a4c8298acaf7fcf3971382a8c8c630b6ec12462164e2b1433894de4aac4235ae96706c0b79b4b7fba49611f31ed8a83fc73f93946abb SHA512 c663b416fae74cb937db9dce28e4b3d23ab3fb78df154f226524adb4cd8af7f5db38602e029cd8ca4ab8d66d250bd88083a92c09136fed3501e1b4dfac75aebe
|
AUX mx5000tools-0.1.2-find-netpbm-header.patch 941 BLAKE2B af7f7ae5d27f403b2429a4c8298acaf7fcf3971382a8c8c630b6ec12462164e2b1433894de4aac4235ae96706c0b79b4b7fba49611f31ed8a83fc73f93946abb SHA512 c663b416fae74cb937db9dce28e4b3d23ab3fb78df154f226524adb4cd8af7f5db38602e029cd8ca4ab8d66d250bd88083a92c09136fed3501e1b4dfac75aebe
|
||||||
DIST mx5000tools-0.1.2.tar.gz 343118 BLAKE2B 74316ca3c730b5e03aa73a8cf5422eb3690b0e088254f9078da549f2d964df065ca7cd09f5f822cb3e66ad5bac0eab546c49703eaf837a132a61ab0755e729b8 SHA512 3773b8b233f02711bb7a768a68ccd3bf72e3d51fbb64ee2a70197d1b51e884a4f40048ba6b7dcde4be0703f25672ccb0fac9b0d6612b8a94f9e01b6a9f463613
|
DIST mx5000tools-0.1.2.tar.gz 343118 BLAKE2B 74316ca3c730b5e03aa73a8cf5422eb3690b0e088254f9078da549f2d964df065ca7cd09f5f822cb3e66ad5bac0eab546c49703eaf837a132a61ab0755e729b8 SHA512 3773b8b233f02711bb7a768a68ccd3bf72e3d51fbb64ee2a70197d1b51e884a4f40048ba6b7dcde4be0703f25672ccb0fac9b0d6612b8a94f9e01b6a9f463613
|
||||||
EBUILD mx5000tools-0.1.2.ebuild 761 BLAKE2B e550e51f34f767ffde0aa0b8f2eb33f6cfbf8c64bf78202dc65c04be8590d9d5528f7c88fd0676ebd317c3c852166604ac8ff19316e938062bd630a3709ec6df SHA512 17c20d3d2ad526ca67dcbffc73687edc727cf6a5166317bc70317d5519d1f1f71c94fedb8b33babc724bb503d4b142e6f29e2cd641464bb558e63d96868885c1
|
EBUILD mx5000tools-0.1.2.ebuild 760 BLAKE2B 7a195e659d265fa2f443697f792ae5c55bb65e7ac736fe8bad16270cd91448243db9a6980e14e29c4ffdb673dab4f943b9a9fbe6a3fcbd8c09229db443151eef SHA512 8ebad31944d09d077e79168f996726080ac2205ce1b63aabbe93b1a46fb53f3ab1235be7acd813a8130c27791b346aaf72e5251f149a53fe5ecf05ee44e81ac8
|
||||||
MISC metadata.xml 739 BLAKE2B f242204a9d3f27f2c68cc7771be37cb329cbf57725ddb0ae823191fb62ec23050dc530b20fb22115fd2582a919375404322a8b3192734975d6eb6b187a02c618 SHA512 19a17587727e544f9c3c7dcb5a58693aa294c6e86807a610d484fb568b0a83472abc155609e5fe66e33a07d165ebd1b5968cea18b474ad5a934e99cd7318743f
|
MISC metadata.xml 739 BLAKE2B f242204a9d3f27f2c68cc7771be37cb329cbf57725ddb0ae823191fb62ec23050dc530b20fb22115fd2582a919375404322a8b3192734975d6eb6b187a02c618 SHA512 19a17587727e544f9c3c7dcb5a58693aa294c6e86807a610d484fb568b0a83472abc155609e5fe66e33a07d165ebd1b5968cea18b474ad5a934e99cd7318743f
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
|
DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
|
||||||
DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a
|
DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a
|
||||||
EBUILD pybliographer-1.2.18.ebuild 1856 BLAKE2B a8730b705bb5abc370d9f3863d63738998463aa101cab6a252ab9deb71984d8f0aacc788576c6a5f8233711c09978a032975288a483b9724dc437043ca74289b SHA512 47e3d3422c29aa13f90c531337f365780fb4c4522b46010789df593f47c525a4bb4feafafd66816c9697ad28857db92449f34daee4e8b59eac750531c5130adc
|
EBUILD pybliographer-1.2.18.ebuild 1856 BLAKE2B a8730b705bb5abc370d9f3863d63738998463aa101cab6a252ab9deb71984d8f0aacc788576c6a5f8233711c09978a032975288a483b9724dc437043ca74289b SHA512 47e3d3422c29aa13f90c531337f365780fb4c4522b46010789df593f47c525a4bb4feafafd66816c9697ad28857db92449f34daee4e8b59eac750531c5130adc
|
||||||
EBUILD pybliographer-1.4.0-r1.ebuild 1720 BLAKE2B 5db94a1a7964734adbb6a9ad445dd08f03288dade28949c30c98b1cf138ef27fe1b2b8a36cee7741e62f27b7712d9d7a49786a53fc55b53181a7554099317159 SHA512 6e9ab54717cee822df5080190bcb3e1e729bddbacc5dbf372738b0a8322d8402272eeeb956fa3b12c0c50727f3fcd57682e8c11147e0def48e93a4b9cfd40939
|
EBUILD pybliographer-1.4.0-r1.ebuild 1719 BLAKE2B 27857555335b9de22bdccea8c1199173b81341ce13e6eb8e2f8f468dcc7a50f685279d31d6c89f70bf579bc17d5f71fba4ebd0601b5ba479e71cd7d94c7441d6 SHA512 688bf49459cbc2a95139c6f223f0e4eeb20c687047f57164685fc318e43958c7ce3822621e29f16abb369876db56f3e56c9b1934ee2cd2e17974ccf337c43e5f
|
||||||
MISC metadata.xml 798 BLAKE2B 186a835eadc561bbb17ce369742b5c4d27ce31b3de5ee5d3e2d4ec8c81dee3e96c8c3c86c50fc3d77136738551f74f9346825a754ab4401d6c212057ebd73a76 SHA512 9719f3d541a00da1445210482b9b4f6cfc104b59629b472e50ca2869bdaed6f3a3cf7ff1e28b06806407db368c6c998d46c1e22919f4e4c6cafa9dca1808c2b1
|
MISC metadata.xml 798 BLAKE2B 186a835eadc561bbb17ce369742b5c4d27ce31b3de5ee5d3e2d4ec8c81dee3e96c8c3c86c50fc3d77136738551f74f9346825a754ab4401d6c212057ebd73a76 SHA512 9719f3d541a00da1445210482b9b4f6cfc104b59629b472e50ca2869bdaed6f3a3cf7ff1e28b06806407db368c6c998d46c1e22919f4e4c6cafa9dca1808c2b1
|
||||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST eix-0.33.7.tar.xz 626008 BLAKE2B 13d1f5b3096ec1ced13435f3680454c5b6f035ddbaa7877c7d2898b044fcc673f2c30b5ad25b8a3aa01354c726cf6ebf6483dc49f102145957dad95437931f63 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077
|
DIST eix-0.33.7.tar.xz 626008 BLAKE2B 13d1f5b3096ec1ced13435f3680454c5b6f035ddbaa7877c7d2898b044fcc673f2c30b5ad25b8a3aa01354c726cf6ebf6483dc49f102145957dad95437931f63 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077
|
||||||
EBUILD eix-0.33.7.ebuild 2644 BLAKE2B 1301d187411f980b58416fcdb0e69557e803fcd730046e11a420dc3fcd42a0b3ad5e95f009259125b0ac2c975eacbf113ab1c3c9e7e2c019abe2a678f16890f1 SHA512 8fe4859a67bcec7afa4b100cfda6e114c4038f112df91f97a3c8bdad6c7ca8b81b1b2b198d8391cbbc9fdc22fa94a374d2e57b9075afdea4608c98f13ab948cc
|
EBUILD eix-0.33.7.ebuild 2643 BLAKE2B 2a9c179699e2df18328b1a1ff78927f8f0c5f8f476d3715b14fd10eaf1cd22c19895b4ebe46d5c05b618263b604ba73e903dac3838342ef5d23faf847bbd7071 SHA512 829d144019b1ee4beb72b66d51a42f007b9b09d122deed5f0990582de5012d0128ecc584010034ee1ab52b8f15edf939cdafbe3527b2ae7c651c4fa1e87f1c11
|
||||||
MISC metadata.xml 1051 BLAKE2B b77439c3a8d8eab9fc711c96ce2b2ccaf307f2eca4cfee32bfb75279ff4da31fd05b3319136af38e70d274c28cb2f1c2567916390d81425b7b7daf956815c7e4 SHA512 208b3db2b2e5afb5667a29e6b18538f3cea5e3fb2758d3c9b30823d7b2a22f31f150d6a01abec6a6c8ca62486c975b47002de9e1bac89ded31eb7013bdbb38c6
|
MISC metadata.xml 1051 BLAKE2B b77439c3a8d8eab9fc711c96ce2b2ccaf307f2eca4cfee32bfb75279ff4da31fd05b3319136af38e70d274c28cb2f1c2567916390d81425b7b7daf956815c7e4 SHA512 208b3db2b2e5afb5667a29e6b18538f3cea5e3fb2758d3c9b30823d7b2a22f31f150d6a01abec6a6c8ca62486c975b47002de9e1bac89ded31eb7013bdbb38c6
|
||||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
DIST asciidoc-8.6.10.tar.gz 577208 BLAKE2B 320724c3e2306e14212a4e32f09fb735861f9b0126ce86695c6b5840b69f94d0e5befbbfc355006a10d13d34e8ed3582f0bfb678744654a7d2040555016b1681 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a
|
DIST asciidoc-8.6.10.tar.gz 577208 BLAKE2B 320724c3e2306e14212a4e32f09fb735861f9b0126ce86695c6b5840b69f94d0e5befbbfc355006a10d13d34e8ed3582f0bfb678744654a7d2040555016b1681 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a
|
||||||
DIST asciidoc-8.6.9.tar.gz 907253 BLAKE2B 45db42abd9ec73f6d3b20fc755bdd501eab1503bd8d5d6bb6b7d66c442cf8bcd47ee4325dbb572bdcfd01168ef1bccc3430ee7c545e7b3a6715b8ebf09516ad9 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955
|
DIST asciidoc-8.6.9.tar.gz 907253 BLAKE2B 45db42abd9ec73f6d3b20fc755bdd501eab1503bd8d5d6bb6b7d66c442cf8bcd47ee4325dbb572bdcfd01168ef1bccc3430ee7c545e7b3a6715b8ebf09516ad9 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955
|
||||||
EBUILD asciidoc-8.6.10.ebuild 2417 BLAKE2B 05f2b65bc56930aa35a7b65162cacd357e609fe210f3433e42d63e2916a022dbd70961277a176a6ba33bd73e3a1d4a4f9d2b4e572a9f69d4bd9e7ca46e857316 SHA512 58b8bf69bfbac965e5ae33fd6e45da0680c68df64debc8940f7453b100481804778bc61b186cc09d85a2fd0b7a16933d6ab7b02652e590c1a3e5e9a0fcca7a48
|
EBUILD asciidoc-8.6.10.ebuild 2413 BLAKE2B 6de8e8f576c00fbee562f1bceb854c0b9f79068a186dac1afe1d487411c6cd6f6a0c6303226d478652f570966b35bf6e0b189e39f5329fff2acd090ea1f8b4d7 SHA512 29274119aadebf719d52f93271fd42ffd074380a3b8901d2ed80faa92642d0c0c767dbe5f14028275fc61ef9c81ba9116cf0467bb8aea32bede76806db6be8dd
|
||||||
EBUILD asciidoc-8.6.9-r2.ebuild 2171 BLAKE2B 76606035ddef0bd31709a24a1b9896dda55ee1c299a043b46724da1a3d21565eddbd484ec0fd80db320c6db7aaaba1b340d6e1aac4bed7416724b9cd421791a8 SHA512 5a5bb301dab871ca93c282892c0e7a9421dad343dd529670385231397cfb96bdc01a483ce23fe86348c4af7ff2f00185006cb498e65b0eb5718e34c2fa7a3883
|
EBUILD asciidoc-8.6.9-r2.ebuild 2171 BLAKE2B 76606035ddef0bd31709a24a1b9896dda55ee1c299a043b46724da1a3d21565eddbd484ec0fd80db320c6db7aaaba1b340d6e1aac4bed7416724b9cd421791a8 SHA512 5a5bb301dab871ca93c282892c0e7a9421dad343dd529670385231397cfb96bdc01a483ce23fe86348c4af7ff2f00185006cb498e65b0eb5718e34c2fa7a3883
|
||||||
EBUILD asciidoc-8.6.9-r6.ebuild 2370 BLAKE2B ffa3b9a29ff82b63eeb56d4af3c527ec62d19034086a40569116c8949fbb8bde289273f006f6f707cfed75d3f5302a8da7d09b01e998b58268aa83925eb39d31 SHA512 f953144beb29005d3a0027a644f3a1d68fbe54dafeeb2f22d176ef2a28fe92e7dc6b315c47d49e7d6132cefdef8f623e2b1c90f30337324fa90a418e6e29e39d
|
EBUILD asciidoc-8.6.9-r6.ebuild 2370 BLAKE2B ffa3b9a29ff82b63eeb56d4af3c527ec62d19034086a40569116c8949fbb8bde289273f006f6f707cfed75d3f5302a8da7d09b01e998b58268aa83925eb39d31 SHA512 f953144beb29005d3a0027a644f3a1d68fbe54dafeeb2f22d176ef2a28fe92e7dc6b315c47d49e7d6132cefdef8f623e2b1c90f30337324fa90a418e6e29e39d
|
||||||
MISC metadata.xml 514 BLAKE2B 89fefee3e8081fc45a8251255bf365f58eba6aa9eef92a23bd8f234703b7062b1dd2a415260fcda1b799cffa4b46d0da22b153ba8de6b77cb6076666ff43ccb7 SHA512 2587ac6d8c24ceca295eef2dc6e0735461dd09864d6a1f282d67fc3c58cd18aa565099a2c280edec143024295b74a251152918932c37d3be450aef68d367ca70
|
MISC metadata.xml 514 BLAKE2B 89fefee3e8081fc45a8251255bf365f58eba6aa9eef92a23bd8f234703b7062b1dd2a415260fcda1b799cffa4b46d0da22b153ba8de6b77cb6076666ff43ccb7 SHA512 2587ac6d8c24ceca295eef2dc6e0735461dd09864d6a1f282d67fc3c58cd18aa565099a2c280edec143024295b74a251152918932c37d3be450aef68d367ca70
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
DIST texi2html-5.0.tar.bz2 15397249 BLAKE2B 3e502d9424c2936a922488aab7a66140c0a8369253a5500beeebcea0942ffa7b97fb7021b23212264e110d4bdab4850f263269aacf61de23ac6e052dfcf10d67 SHA512 50afc2f1f8875d3e62a51cc0339bd4c4f058041f42a9fda9cd5b02960f0d5c72838e4f010702ba716dbd256946f64520ce1e5b86539b6f7b8b7ce24a43c98e9d
|
DIST texi2html-5.0.tar.bz2 15397249 BLAKE2B 3e502d9424c2936a922488aab7a66140c0a8369253a5500beeebcea0942ffa7b97fb7021b23212264e110d4bdab4850f263269aacf61de23ac6e052dfcf10d67 SHA512 50afc2f1f8875d3e62a51cc0339bd4c4f058041f42a9fda9cd5b02960f0d5c72838e4f010702ba716dbd256946f64520ce1e5b86539b6f7b8b7ce24a43c98e9d
|
||||||
EBUILD texi2html-5.0-r1.ebuild 1321 BLAKE2B b9c038b1a7317b6b2a74acc21414f0a687fdcc7688cf7e2cd30026e3f11641a78e06acd5fd5fcd1973a90d84aa13d65cafe29a48f0a9a1313bd84b70b2f2fb17 SHA512 587ef4af50303b8a1dd1bd4f41a79a23110a88081b61686322798cd6e78a03a68f46eca409779712d453599cb830bc24258963ec00d6a88d1224e70cf3f93e54
|
EBUILD texi2html-5.0-r1.ebuild 1354 BLAKE2B 6e191188a097590e44fcf66fc9943c96c3fd3cd8069651d4dc4cca27ca3acc533a226e1ff551da268365eed4b54960dbe49715b794d762f99a1d74dba7c07d1c SHA512 0402c38e6ac525be20f915f2a9659052a6f0cda99e9311a65db43d482086018086d401e9c4d6702d1860688677a02d3c27964bf2728eb30a9eedfc5791ddde35
|
||||||
MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
|
MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
|
||||||
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue