parent
25c00a1114
commit
2ca7ad06b2
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST keepassxc-2.1.4.tar.gz 3345520 BLAKE2B d599321a412abc05ad0a911b8fe4d14e840d491e59d3f33172a5e6b10812fe8e00d03f23abcc9637be1b8c16b5c7ec640bbc2af63059dc0dd25c99f0bdacfce9 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8
|
||||
DIST keepassxc-2.2.4.tar.gz 3895421 BLAKE2B 0de35f394dae8cf8d70f75d73783965826cc03ac9f0921afa547d02e61cb04be167891d92aa0db09f007c47e96a5a7e5793772c50de14bf65a7f80a603ca6611 SHA512 f3308138d63b65a8b384a52f4723507be921d7bbf19031724886fcd12266bf2683326f5531c8f665b0e98ff63cd97251694199ef748191e59a5a8cceb3710025
|
||||
DIST keepassxc-2.3.0-src.tar.xz 3803400 BLAKE2B 1e9d72bb71e3db0f7f4662bca22affe68c0ac857ce3b7b67924949622edf3a4d2f54717c1c629d79c2cfeccd29d0f1906a8f43e49483980d11afbb654a132f4f SHA512 44721a4dd9364898c69a10d73ceb3fce9b8e83bbe261d9bc656897bc01f37e9b65b923867e18d3c3269773075ad846a0e1195d8b7bf574fcbce7bef9a5778888
|
||||
DIST keepassxc-2.3.1-src.tar.xz 4085284 BLAKE2B 87ffb8a266056a147e84f97980eb19df64947fc56a6e39733269f4b88287c01dd8508792c22f247b05918f8beb98ea651c3bf91b642f863be2a4742e3e425fd0 SHA512 06c1b42e699b21c0cc2a6e7340649fa8964d8a0c880efad512f3ba16e12ee07a1b2b5ff13e0b3dc8d3f58fdf4f523cee3d1ef477a83ea434d97690dfea0633c9
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
#SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype browser debug network test yubikey"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
browser? ( >=dev-libs/libsodium-1.0.12 )
|
||||
yubikey? ( sys-auth/ykpers )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtconcurrent:5
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_HTTP=OFF
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST hashgen-1.0.c 36299 BLAKE2B 4419ffd2b4c8435b05b0cf2d9e54e2df5c539f945166da8305c910ec267e5d93cd26822ef189777cf952bb8644193fbfeaafefa4e98c5b7561845fb9a1f40c0a SHA512 4f8df94e91b02ebc611553d2dd9776de4ba77989869ed1ce411b91cc7fed224c3d8715d15cce6234caa25f2143962949dfd59da79d8f1ab211c287c604c22fff
|
||||
DIST hashgen-1.1.c 38543 BLAKE2B 8830fa1ebd3494ef6e42b12bb750e4b45f0ebb975de8aacc29e67200144cc9110532846b349cf36b0a060c3b2770095a65bc24be2eb7ea997adfd5be309328d2 SHA512 84c44689e2d0061566ce990b943ea76824f5cf257d611571cd0b5932154a079670f186b7e97d3e16de3e991a629db595a63c21336c6a57f48b967b5ebb40eea8
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Manifest generation and verification tool written in C"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
GITHASH="2ea68e88531288c29c5533440d63da6c8136d477"
|
||||
SRC_URI="https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/rsync-generation/hashgen.c?id=${GITHASH} -> ${P}.c"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x64-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="+openmp"
|
||||
|
||||
DEPEND="
|
||||
openmp? (
|
||||
|| ( >=sys-devel/gcc-4.2:*[openmp] sys-devel/clang-runtime:*[openmp] )
|
||||
)
|
||||
app-crypt/libb2
|
||||
dev-libs/openssl:*
|
||||
sys-libs/zlib
|
||||
app-crypt/gpgme
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" || die
|
||||
cp "${DISTDIR}"/${P}.c "${S}"/${PN}.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
v() {
|
||||
echo "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
local openmp=
|
||||
use openmp && tc-has-openmp && openmp=-fopenmp
|
||||
|
||||
[[ ${CHOST} == sparc-*-solaris2* || ${CHOST} == i?86-*-solaris2* ]] \
|
||||
&& append-flags -D_FILE_OFFSET_BITS=64
|
||||
|
||||
v $(tc-getCC) -o hashgen ${openmp} ${CFLAGS} \
|
||||
$(pkg-config openssl --libs) \
|
||||
$(gpgme-config --libs) \
|
||||
-lb2 -lz ${LDFLAGS} ${PN}.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin hashgen
|
||||
cd "${ED}"/usr/bin || die
|
||||
ln -s hashgen hashverify || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 Artistic-2 )"
|
||||
|
||||
# subslot = libqpdf soname version
|
||||
SLOT="0/21"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
|
||||
IUSE="doc examples perl static-libs test"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0=
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl[tiff]
|
||||
)
|
||||
"
|
||||
# Only need perl for the installed tools.
|
||||
RDEPEND="${CDEPEND}
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README.md TODO )
|
||||
|
||||
src_configure() {
|
||||
CONFIG_SHELL=/bin/bash econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use perl ; then
|
||||
rm "${ED%/}"/usr/bin/fix-qdf || die
|
||||
rm "${ED%/}"/usr/share/man/man1/fix-qdf.1 || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST pspg-0.8.0.tar.gz 850508 BLAKE2B 2f2fb7f094f72f0b5d1c959ab73a355ea2ced155fdb64adef21eb70c4991b057e31688128f50db2d6a84ab850b57ab59d50c0dd5ba06998af11ff3a5479cc9bd SHA512 758d47e041f4c7c91ad2033fb95e6d33a27b6f896077dbcb287331496e47740c31c6ba6bf7ea01ad6c1a3c3d4c5e525b268795a16f9c819f4d489d3e98fa3092
|
||||
DIST pspg-0.9.0.tar.gz 853226 BLAKE2B 7fc73a02557991c24892f47f09a4402fea691047a41ed91e0b4d3fac8fe2fbfc02530615d1123288b641dba7b1db8ba524156351e494a37ca7072853e1f028ee SHA512 a752570ab1a7bca5d69c602a2e8bc0ec92a6ce405b7170bc1a25ed2ae29b0e69fa7833979ccbb5bd1adbaad968067928f26044eef902069edfe662812e9d3edd
|
||||
DIST pspg-0.9.1.tar.gz 853229 BLAKE2B 791a8d05ac549b869a3d31578277709f17a50b9aebf3ea84ffb30199ebdda8faae6828e4f5068880fc1e74d57d88086bf363b1825789d4968ed77087561a5435 SHA512 40fb07153c36e2e170ddd1fda18a9c2e663e7995367c2ac30e136f65e07d36f812bf69f886767fa71588d548d90c47c442c0503fdc775b5f61826e60672d9d54
|
||||
DIST pspg-0.9.2.tar.gz 855891 BLAKE2B 0e0a992e5885ca4b2e058d19df2d9c7eac862e1a45e8d80f31df33ab2f3c02616c67cc528af6a52225db938a0c1f27352e13c7dfd01b15bda908bbf3ee9ef128 SHA512 8ad31a5e744db96bec7cfea7d128aa4ac3b44ab51c3dd1d0661178c1d139571a955143a3ccfe6556ce2a215ec193a45224720794da5d2af1e93beb2fa713aea4
|
||||
DIST pspg-0.9.3.tar.gz 856766 BLAKE2B 3e1b41f786abd8e964adb87411ba9dca7bdc0ed07a02e51a869dfaca491497478818d85de32846d675ee90f32f01f693ea33ce0166bb939457c55799aabf900a SHA512 79c019ef30a1a06c15793e7b51f7e1cabd79711d3a2a4360933c219b01e9c8d8390a82b87bb1be5316cabbcad3705adca8dd09714e6e994d7aca0b94ddcf06c0
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A better pager for psql and mysql"
|
||||
HOMEPAGE="https://github.com/okbob/${PN}"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses:*"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit gnome2-utils multilib python-single-r1 qmake-utils xdg
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="http://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.7:5
|
||||
>=dev-qt/qtgui-5.7:5
|
||||
>=dev-qt/qtnetwork-5.7:5
|
||||
>=dev-qt/qtwidgets-5.7:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST libinput-1.10.0.tar.xz 491444 BLAKE2B bd7f4a68cd1ebc981cb16f402c8ea6a7bd99d7bbf289fe07923400a5bf9e259b3726c5c1765d5e31fe09b95cf9eadc88769c578d6be0f2fee4c12455d44d6d70 SHA512 173f72f454c534dee755b6121c4577900ae9b8a129ac41de69410c3195950a6d149d6148892c4976f013eeabca66117d53fa67e352cc005960863a5576696928
|
||||
DIST libinput-1.10.1.tar.xz 495644 BLAKE2B 50044d59992ddefd4c1143288025d4510bbda8540e93737d9a78108413d77e06838a2de283a8aff2ca40d74327bc509523b847503d2f8b4bbddff10986f83f90 SHA512 69e7cd12f3d686d1b09afd93fe072ddd6f8c9a1f04c0a651c7dd02c5a20b3f8163c5b787b41bf3ae91db0da7d3e2958d315d6c9a2875259c62b0d290ac89d1fb
|
||||
DIST libinput-1.10.2.tar.xz 493780 BLAKE2B aede2b9f65698bbc805a3daebdcbe08480b027df3144b5661e902dfefd41902741a35c9a72e88a056a38220699a62e07cd4e751bf66e8b2c0ad6937e8843227d SHA512 c0418b2e0919fe085839a9ce7d4f155ea7a76f5395f5ed0ab7ab2f2226a2085b10ada5006bfb64c65d98a5fcc19395f722de379f0977a6c52a3630a9c0ad556e
|
||||
DIST libinput-1.7.3.tar.xz 922464 BLAKE2B fa38675905af55931676c22d9e4d56befbb055fba56ba13c61a1917050bc1eb62bcfe1d078b478047006d4c0d06d83186d0d6739cbf9dc49acce487ccb0b7e3a SHA512 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b
|
||||
DIST libinput-1.8.3.tar.xz 941832 BLAKE2B cf6464d68387cca23d0f70eaceeec8b453c53f1cac22892722d48983788b43a136617c62ad39c8d435bbf07c0cb9cd720250ea91e31f10526acd5147b1d78237 SHA512 88006d217e3507858fa6b9ac1f25c267255fb51d1bcf1208d2afd423bf2a9292944bc5526ea91f27fad3ff04c2f9f43ab3aa25fd9fb7ace1231ecd33ddf18de6
|
||||
DIST libinput-1.9.4.tar.xz 472636 BLAKE2B 692a23047cb0b54d14763b34ce3ce1414101d0097dce10d237ec32a67f29c31cbf2928681084f7561e072e555c932f0e3bc54cfb0ecbcdd0d823426806e357b6 SHA512 302f9497ea9ffb2163c643e9ca2f0a773ea141f6fe0a3aa3d8e86eb11a5d11e75d858b1e679ebfd3f913c645beac059cfd356b37c4ea17a8853068f79a740a4b
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST nspr-4.13.1.tar.gz 1136646 BLAKE2B 68a756f16f3bed7b75e26ce67b8216b06a61c71f669f29970ff6caec624d39a98496f22e643478b20d1bf2b3e753dd4a98aa5fc685929cbece365dda7302a6d0 SHA512 4755dce1a0fddbf4991f46328bdd15b6b07162792370953e16481be56952d4c02d11a83001b3600c80a919b1c45e99d6150ef2c24d407c86f430f9376fe6a694
|
||||
DIST nspr-4.17.tar.gz 1141300 BLAKE2B 6c038836017c4b09b820f53ee209a8cc49dcd3c31de43bea33011ed26065cdebf506a310e40fb682c2f057a636e5bc623f6cd21cd3c903500d6a850ca8604c74 SHA512 3589f533b88d7dbbdee078c2a836bf7f7cb48466cb8861b6a42b05f12a5c6ce49426aa8fb3b153d548acd1c9ccf0376feea5649b48e3d72f3da1af5df3bed882
|
||||
DIST nspr-4.18.tar.gz 1139663 BLAKE2B 96c74e0b04f26ddb20e807912804c5be6f0fb19fef18da6e1827ef09a28142a1db747332ac3574c3759b34912d0ead26993c0208651d0e4d7800e23fd30ded39 SHA512 4ee9eb561f9c09f78681f8d262ffc3b3ec3395e181ce7b7c5d6c565885283180e5989b142d64799f9392ddf28bdc6a38d3ed6ca079fa107691fd5c758d4f7078
|
||||
DIST nspr-4.19.tar.gz 1139967 BLAKE2B a8358249647a3d0e073f00febc475199d6479e2a34bb8255268fde90f0d3064ccc4b03e012231700ed6d75cd44669b6ea8afa5e760bad1d73682cd9eac1f8432 SHA512 45a48111d0f89db0649a5e1356719868ff81881f9cf48c22c1d13b0831978b103f19e9840d6a5359fcdc90d763c0a60f0a29f7840d756a5efbd53ce1afd36844
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST nss-3.29.5.tar.gz 7480246 BLAKE2B 9ab16cbbd95aa31358b5b686bee64cd81c8343524dad8aac084f7c86883f1eaead78912dc1021b0461d027b0085356c4b7156f1d80010c3a0ece29d542deef50 SHA512 ce18bc7e793d2b3698db412b2e5fcabbfd9862eca3def120d5e44bc67276526bff6b33ffa84b8128f8af6d35101000e6f7bb24194f63a55461b3c245fac11faa
|
||||
DIST nss-3.34.1.tar.gz 9562876 BLAKE2B 645fe06435dffa1a0dec688c7c10854dbd664e719889b36027dc2e52c4f585c2ce7bdcd947dcf5d938013246405c04e1b9dbd802b229e0acc96fc07f321bb51a SHA512 6cc4826df4202e865e903a2ed05b49f708a047347b7b4d58f9b83ed097115a128239c4596a033ddeb9ee3fbfe6345a024e11eacb6149bce2d71fbe82c0a41c63
|
||||
DIST nss-3.35.tar.gz 9620041 BLAKE2B a4115117ff017ce36f030d9f69c75111177166651968739353d112cc5d2c4732b33b8c684c5957a66bb969ecab1a15fb2cd6bb237d959d307cdee43ec638cd73 SHA512 8d466f4602427d278b6aa28af0e6bdb99326fc40c94ac6d517d1cbe7ce6b9332dadba52ea092762fac2fd6e72f17cb880cf81e1cf86bf6b4f7913a755419626d
|
||||
DIST nss-3.36.tar.gz 23025578 BLAKE2B c8dd8a4c2bcda15bfeab4e7b49e790aaa2ecc3021ab014ca4e7b9253cad2ce140bf719cc336ce74d5074722c63d5a73d4a4e75792aa779b008d635a765e0c5b8 SHA512 e4d5cc475f1fcca9a42a139a890b70dbc3fadf5ed8a626c8d6bf929a97bb91ca9a42fe967df95784e5d997a3ec5c5a87684256ddf91b8dafa827103a98ad39ae
|
||||
DIST nss-cacert-class1-class3.patch 22950 BLAKE2B 9d5e60df5f161a3c27c41e5a9419440a54f888eda454e3cde5ebe626d4075b65cf9938b5144d0fb022377f4bd415bff5e5c67d104409860aa9391b3eb8872c68 SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0
|
||||
DIST nss-pem-20160329.tar.xz 27732 BLAKE2B 7c23133a7bfb969d8eac98fb6311e76ab60c5d6601c7329f3c492da30c017e66d64a1f8bc827dd36e52e65c1a1ec02b58816442aaf410345c5ed759a02264b84 SHA512 5834b06e4c64205447573d4f4c8989e20986ae67ee00eebce3817eb73794a6355a404143ba1c676ec302ceefaf9df103cb879b1d4ff14ba4e3790dbee3e40eb2
|
||||
|
@ -0,0 +1 @@
|
||||
DIST xxhash-0.6.4.tar.gz 28995 BLAKE2B 2556ac14e6a6b1341adeeba244ad5bac7b52ff43b5d85acfc51de903771f1a7b32defeab657db765d21a33ec49aee1a892617d6656a152ad5ce6e1636a743e18 SHA512 6c914bac5092dfd01349c8223c382d3c13ba1b22e08300ce86ea9663a9a934f930debdeb71c14365ec57d72b95088a4354da92dfb7fcf7d07ec01c0f4fb70ca7
|
@ -0,0 +1,27 @@
|
||||
Only in xxHash-0.6.3.orig/cmake_unofficial: CMakeLists.txt
|
||||
diff -ru xxHash-0.6.3.orig/Makefile xxHash-0.6.3/Makefile
|
||||
--- xxHash-0.6.3.orig/Makefile 2017-12-18 10:47:41.740700013 +0100
|
||||
+++ xxHash-0.6.3/Makefile 2017-12-18 11:14:05.157379597 +0100
|
||||
@@ -50,7 +50,7 @@
|
||||
default: xxhsum
|
||||
|
||||
.PHONY: all
|
||||
-all: xxhsum xxhsum32 xxhsum_inlinedXXH
|
||||
+all: xxhsum xxhsum32 xxhsum_inlinedXXH libxxhash.a
|
||||
|
||||
xxhsum32: CFLAGS += -m32
|
||||
xxhsum xxhsum32: xxhash.c xxhsum.c
|
||||
@@ -58,6 +58,13 @@
|
||||
ln -sf $@ xxh32sum
|
||||
ln -sf $@ xxh64sum
|
||||
|
||||
+xxhash.o: CPPFLAGS += -DXXHASH_EXPORT
|
||||
+xxhash.o: xxhash.c
|
||||
+ $(CC) $(FLAGS) -c $^
|
||||
+
|
||||
+libxxhash.a: xxhash.o
|
||||
+ $(AR) rcs $@ $^ $@
|
||||
+
|
||||
xxhsum_inlinedXXH: xxhsum.c
|
||||
$(CC) $(FLAGS) -DXXH_PRIVATE_API $^ -o $@$(EXT)
|
||||
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>amadio@gentoo.org</email>
|
||||
<name>Guilherme Amadio</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Cyan4973/xxHash</remote-id>
|
||||
<bugs-to>https://github.com/Cyan4973/xxHash/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Extremely fast non-cryptographic hash algorithm"
|
||||
HOMEPAGE="http://www.xxhash.com"
|
||||
SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/xxHash-${PV}"
|
||||
|
||||
src_install() {
|
||||
PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" emake DESTDIR="${D}" install
|
||||
if ! use static-libs ; then
|
||||
rm "${ED}"/usr/$(get_libdir)/libxxhash.a || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST clisp-2.48.tar.bz2 7885098 BLAKE2B 42ebfe4721015f522184bce710bf95d79aa7f2a239410af249a8e85d80f140344ec80daaa34f7cdbfd2ae86407984657163ce3f6e4201eb132f7c71e21523cba SHA512 3288b6a2973c924006b14bbed1e8e3e688276a187ac2a6c7851dc7ae699e7832d30e5e7eecdabc76c08c7e8e8ce1b562eb97a44570d3035e558ea2310de2b719
|
||||
DIST clisp-2.49.60.tar.bz2 8745713 BLAKE2B 5dffd594c6d00c2057a98e3f93c888cd5cdc60009cd8fc987e39ff5182e71e575e148839d9c973fbfd0842b82ddf1b5918e86d128d9c79f6d0d4b6afcdc5853f SHA512 656cd59a23ba9be5304a6e0d64d79ac518072c431820b8cf95759fa8f3a66e2efe4d07939315b93e5e06b6e5348d8b32739b129a9e8ac0dc362dd5d1f1eb8aa8
|
||||
DIST clisp-2.49.90.tar.bz2 8921458 BLAKE2B 3be7cfe41038f42d8844d500877fa5c20e5c21dc0e162aa0018b297e4dfcd5374ef608793c9d809852e1f9885a155bb5b25fef8efe66016dd0ee400007386b70 SHA512 1fa7205e38883dcc863160b5418ddaaa2c45ee2d2f936de4067d1ea4a1e5043bf1235361bbbfc366afd6d8f1144497ccdccf1767ecf327f7a672b18742ceb651
|
||||
DIST clisp-2.49.tar.bz2 8091011 BLAKE2B e034c581b8100837b34d0adf1ef45bd667272d062945875175958178b4ef5b11e899dfb76505eb8cb51fca6101c11a9f21fb2cc9a78a3c0f82b06166211434f7 SHA512 eef66fc85199a2c283b616db61bf67ff103eeb0f19fa907da48994dc790b6f5f8d0c74fb3bd723c6b827c0ff3cfd89fa6ba67934fc669ed5d5249044b5140d81
|
||||
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit flag-o-matic eutils toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
|
||||
HOMEPAGE="http://clisp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc -sparc x86"
|
||||
IUSE="berkdb hyperspec X new-clx dbus fastcgi gdbm gtk pari +pcre postgres +readline svm -threads +unicode +zlib"
|
||||
|
||||
RDEPEND="virtual/libiconv
|
||||
>=dev-libs/libsigsegv-2.4
|
||||
>=dev-libs/ffcall-1.10
|
||||
dbus? ( sys-apps/dbus )
|
||||
fastcgi? ( dev-libs/fcgi )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
gtk? ( >=x11-libs/gtk+-2.10:2 >=gnome-base/libglade-2.6:2.0 )
|
||||
pari? ( >=sci-mathematics/pari-2.3.0 )
|
||||
postgres? ( >=dev-db/postgresql-8.0 )
|
||||
readline? ( >=sys-libs/readline-5.0 )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
svm? ( sci-libs/libsvm )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? ( new-clx? ( x11-libs/libXpm ) )
|
||||
hyperspec? ( dev-lisp/hyperspec )
|
||||
berkdb? ( sys-libs/db:4.7 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( new-clx? ( x11-misc/imake x11-proto/xextproto ) )"
|
||||
|
||||
PDEPEND="dev-lisp/gentoo-init"
|
||||
|
||||
enable_modules() {
|
||||
[[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
|
||||
for m in "$@" ; do
|
||||
einfo "enabling module $m"
|
||||
myconf+=" --with-module=${m}"
|
||||
done
|
||||
}
|
||||
|
||||
BUILDDIR="builddir"
|
||||
|
||||
# modules not enabled:
|
||||
# * dirkey: fails to compile, requiring windows.h, possibly wrong #ifdefs
|
||||
# * matlab, netica: not in portage
|
||||
# * oracle: can't install oracle-instantclient
|
||||
|
||||
src_prepare() {
|
||||
# More than -O1 breaks alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
sed -i -e 's/-O2//g' src/makemake.in || die
|
||||
fi
|
||||
epatch "${FILESDIR}/${P}-bits_ipctypes_to_sys_ipc.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We need this to build on alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
replace-flags -O? -O1
|
||||
append-flags '-D NO_MULTIMAP_SHM -D NO_MULTIMAP_FILE -D NO_SINGLEMAP -D NO_TRIVIALMAP'
|
||||
fi
|
||||
|
||||
# QA issue with lisp.run
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
# built-in features
|
||||
local myconf="--with-ffcall --without-dynamic-modules"
|
||||
# There's a problem with jit_allocai function
|
||||
# if use jit; then
|
||||
# myconf+=" --with-jitc=lightning"
|
||||
# fi
|
||||
if use threads; then
|
||||
myconf+=" --with-threads=POSIX_THREADS"
|
||||
fi
|
||||
|
||||
# default modules
|
||||
enable_modules wildcard rawsock
|
||||
# optional modules
|
||||
use elibc_glibc && enable_modules bindings/glibc
|
||||
if use X; then
|
||||
if use new-clx; then
|
||||
enable_modules clx/new-clx
|
||||
else
|
||||
enable_modules clx/mit-clx
|
||||
fi
|
||||
fi
|
||||
if use postgres; then
|
||||
enable_modules postgresql
|
||||
append-flags -I$(pg_config --includedir)
|
||||
fi
|
||||
if use berkdb; then
|
||||
enable_modules berkeley-db
|
||||
append-flags -I/usr/include/db4.7
|
||||
fi
|
||||
use dbus && enable_modules dbus
|
||||
use fastcgi && enable_modules fastcgi
|
||||
use gdbm && enable_modules gdbm
|
||||
use gtk && enable_modules gtk2
|
||||
use pari && enable_modules pari
|
||||
use pcre && enable_modules pcre
|
||||
use svm && enable_modules libsvm
|
||||
use zlib && enable_modules zlib
|
||||
|
||||
if use hyperspec; then
|
||||
CLHSROOT="file:///usr/share/doc/hyperspec/HyperSpec/"
|
||||
else
|
||||
CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
|
||||
fi
|
||||
|
||||
# configure chokes on --sysconfdir option
|
||||
local configure="./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
|
||||
$(use_with readline) $(use_with unicode) \
|
||||
${myconf} --hyperspec=${CLHSROOT} ${BUILDDIR}"
|
||||
einfo "${configure}"
|
||||
${configure} || die "./configure failed"
|
||||
|
||||
sed -i 's,"vi","nano",g' "${BUILDDIR}"/config.lisp || die
|
||||
|
||||
IMPNOTES="file://${ROOT%/}/usr/share/doc/${PN}-${PVR}/html/impnotes.html"
|
||||
sed -i "s,http://clisp.cons.org/impnotes/,${IMPNOTES},g" \
|
||||
"${BUILDDIR}"/config.lisp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
cd "${BUILDDIR}"
|
||||
# parallel build fails
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILDDIR}"
|
||||
make DESTDIR="${D}" prefix=/usr install-bin || die
|
||||
doman clisp.1 || die
|
||||
dodoc SUMMARY README* NEWS MAGIC.add ANNOUNCE || die
|
||||
fperms a+x /usr/$(get_libdir)/clisp-${PV/_*/}/clisp-link || die
|
||||
# stripping them removes common symbols (defined but uninitialised variables)
|
||||
# which are then needed to build modules...
|
||||
export STRIP_MASK="*/usr/$(get_libdir)/clisp-${PV}/*/*"
|
||||
popd
|
||||
dohtml doc/impnotes.{css,html} doc/regexp.html doc/clisp.png || die
|
||||
dodoc doc/{CLOS-guide,LISP-tutorial}.txt || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use threads || use jit; then
|
||||
while read line; do elog ${line}; done <<EOF
|
||||
|
||||
Upstream considers threads to be of Alpha quality, therefore
|
||||
it is likely that you will encounter bugs in using them. If you do,
|
||||
please report bugs upstream:
|
||||
|
||||
Mailing list: https://lists.sourceforge.net/lists/listinfo/clisp-devel
|
||||
Bug tracker: https://sourceforge.net/tracker/?atid=101355&group_id=1355
|
||||
|
||||
EOF
|
||||
fi
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
|
||||
HOMEPAGE="http://clisp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2/${PV}"
|
||||
KEYWORDS="amd64 ~ppc ~sparc x86"
|
||||
IUSE="hyperspec X berkdb dbus fastcgi gdbm gtk pari +pcre postgres +readline svm -threads +unicode +zlib"
|
||||
# "jit" disabled ATM
|
||||
|
||||
RDEPEND=">=dev-lisp/asdf-2.33-r3
|
||||
virtual/libiconv
|
||||
>=dev-libs/libsigsegv-2.4
|
||||
>=dev-libs/ffcall-1.10
|
||||
dbus? ( sys-apps/dbus )
|
||||
fastcgi? ( dev-libs/fcgi )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
gtk? ( >=x11-libs/gtk+-2.10 >=gnome-base/libglade-2.6 )
|
||||
pari? ( <sci-mathematics/pari-2.5.0 )
|
||||
postgres? ( >=dev-db/postgresql-8.0 )
|
||||
readline? ( >=sys-libs/readline-5.0 <sys-libs/readline-7.0 )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
svm? ( sci-libs/libsvm )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? ( x11-libs/libXpm )
|
||||
hyperspec? ( dev-lisp/hyperspec )
|
||||
berkdb? ( sys-libs/db:4.8 )"
|
||||
# jit? ( >=dev-libs/lightning-1.2 )
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake x11-proto/xextproto )"
|
||||
|
||||
enable_modules() {
|
||||
[[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
|
||||
for m in "$@" ; do
|
||||
einfo "enabling module $m"
|
||||
myconf+=" --with-module=${m}"
|
||||
done
|
||||
}
|
||||
|
||||
BUILDDIR="builddir"
|
||||
|
||||
# modules not enabled:
|
||||
# * berkdb: must figure out a way to make the configure script pick up the
|
||||
# currect version of the library and headers
|
||||
# * dirkey: fails to compile, requiring windows.h, possibly wrong #ifdefs
|
||||
# * matlab, netica: not in portage
|
||||
# * oracle: can't install oracle-instantclient
|
||||
|
||||
src_prepare() {
|
||||
# More than -O1 breaks alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
sed -i -e 's/-O2//g' src/makemake.in || die
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-bits_ipctypes_to_sys_ipc.patch
|
||||
epatch "${FILESDIR}"/${P}-get_hostname.patch
|
||||
epatch "${FILESDIR}"/${P}-tinfo.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We need this to build on alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
replace-flags -O? -O1
|
||||
append-flags '-D NO_MULTIMAP_SHM -D NO_MULTIMAP_FILE -D NO_SINGLEMAP -D NO_TRIVIALMAP'
|
||||
fi
|
||||
|
||||
# QA issue with lisp.run
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
# built-in features
|
||||
local myconf="--with-ffcall --without-dynamic-modules"
|
||||
# There's a problem with jit_allocai function
|
||||
# if use jit; then
|
||||
# myconf+=" --with-jitc=lightning"
|
||||
# fi
|
||||
if use threads; then
|
||||
myconf+=" --with-threads=POSIX_THREADS"
|
||||
fi
|
||||
|
||||
# default modules
|
||||
enable_modules wildcard rawsock
|
||||
# optional modules
|
||||
use elibc_glibc && enable_modules bindings/glibc
|
||||
use X && enable_modules clx/new-clx
|
||||
if use postgres; then
|
||||
enable_modules postgresql
|
||||
append-cppflags -I$(pg_config --includedir)
|
||||
fi
|
||||
if use berkdb; then
|
||||
enable_modules berkeley-db
|
||||
append-cppflags -I/usr/include/db4.8
|
||||
fi
|
||||
use dbus && enable_modules dbus
|
||||
use fastcgi && enable_modules fastcgi
|
||||
use gdbm && enable_modules gdbm
|
||||
use gtk && enable_modules gtk2
|
||||
use pari && enable_modules pari
|
||||
use pcre && enable_modules pcre
|
||||
use svm && enable_modules libsvm
|
||||
use zlib && enable_modules zlib
|
||||
|
||||
if use hyperspec; then
|
||||
CLHSROOT="file:///usr/share/doc/hyperspec/HyperSpec/"
|
||||
else
|
||||
CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
|
||||
fi
|
||||
|
||||
# configure chokes on --sysconfdir option
|
||||
local configure="./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
|
||||
$(use_with readline) $(use_with unicode) \
|
||||
${myconf} --hyperspec=${CLHSROOT} ${BUILDDIR}"
|
||||
einfo "${configure}"
|
||||
${configure} || die "./configure failed"
|
||||
|
||||
IMPNOTES="file://${ROOT%/}/usr/share/doc/${PN}-${PVR}/html/impnotes.html"
|
||||
sed -i "s,http://clisp.cons.org/impnotes/,${IMPNOTES},g" \
|
||||
"${BUILDDIR}"/config.lisp || die "Cannot fix link to implementation notes"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
cd "${BUILDDIR}"
|
||||
# parallel build fails
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILDDIR}"
|
||||
make DESTDIR="${D}" prefix=/usr install-bin || die "Installation failed"
|
||||
doman clisp.1
|
||||
dodoc ../SUMMARY README* ../src/NEWS ../unix/MAGIC.add ../ANNOUNCE
|
||||
# stripping them removes common symbols (defined but uninitialised variables)
|
||||
# which are then needed to build modules...
|
||||
export STRIP_MASK="*/usr/$(get_libdir)/clisp-${PV}/*/*"
|
||||
popd
|
||||
dohtml doc/impnotes.{css,html} doc/regexp.html doc/clisp.png
|
||||
dodoc doc/{CLOS-guide,LISP-tutorial}.txt
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
|
||||
HOMEPAGE="http://clisp.sourceforge.net/"
|
||||
SRC_URI="https://haible.de/bruno/gnu/clisp-2.49.60.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2/7"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="hyperspec X berkdb dbus fastcgi gdbm gtk pari +pcre postgres +readline svm -threads +unicode +zlib"
|
||||
# "jit" disabled ATM
|
||||
|
||||
RDEPEND=">=dev-lisp/asdf-2.33-r3
|
||||
virtual/libiconv
|
||||
>=dev-libs/libsigsegv-2.10
|
||||
>=dev-libs/ffcall-1.10
|
||||
dbus? ( sys-apps/dbus )
|
||||
fastcgi? ( dev-libs/fcgi )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
gtk? ( >=x11-libs/gtk+-2.10:2 >=gnome-base/libglade-2.6 )
|
||||
pari? ( <sci-mathematics/pari-2.5.0 )
|
||||
postgres? ( >=dev-db/postgresql-8.0:* )
|
||||
readline? ( >=sys-libs/readline-7.0:0= )
|
||||
pcre? ( dev-libs/libpcre:3 )
|
||||
svm? ( sci-libs/libsvm )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? ( x11-libs/libXpm )
|
||||
hyperspec? ( dev-lisp/hyperspec )
|
||||
berkdb? ( sys-libs/db:4.8 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake x11-proto/xextproto )"
|
||||
|
||||
enable_modules() {
|
||||
[[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
|
||||
for m in "$@" ; do
|
||||
einfo "enabling module $m"
|
||||
myconf+=" --with-module=${m}"
|
||||
done
|
||||
}
|
||||
|
||||
BUILDDIR="builddir"
|
||||
|
||||
# modules not enabled:
|
||||
# * berkdb: must figure out a way to make the configure script pick up the
|
||||
# currect version of the library and headers
|
||||
# * dirkey: fails to compile, requiring windows.h, possibly wrong #ifdefs
|
||||
# * matlab, netica: not in portage
|
||||
# * oracle: can't install oracle-instantclient
|
||||
|
||||
src_prepare() {
|
||||
# More than -O1 breaks alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
sed -i -e 's/-O2//g' src/makemake.in || die
|
||||
fi
|
||||
eapply "${FILESDIR}"/"${P}"-after_glibc_cfree_bdb.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We need this to build on alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
replace-flags -O? -O1
|
||||
append-flags '-D NO_MULTIMAP_SHM -D NO_MULTIMAP_FILE -D NO_SINGLEMAP -D NO_TRIVIALMAP'
|
||||
fi
|
||||
|
||||
if use x86; then
|
||||
append-flags -falign-functions=4
|
||||
fi
|
||||
|
||||
# QA issue with lisp.run
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
# built-in features
|
||||
local myconf="--with-ffcall --without-dynamic-modules"
|
||||
# There's a problem with jit_allocai function
|
||||
# if use jit; then
|
||||
# myconf+=" --with-jitc=lightning"
|
||||
# fi
|
||||
if use threads; then
|
||||
myconf+=" --with-threads=POSIX_THREADS"
|
||||
fi
|
||||
|
||||
# default modules
|
||||
enable_modules rawsock
|
||||
# optional modules
|
||||
use elibc_glibc && enable_modules bindings/glibc
|
||||
use X && enable_modules clx/new-clx
|
||||
if use postgres; then
|
||||
enable_modules postgresql
|
||||
append-cppflags -I$(pg_config --includedir)
|
||||
fi
|
||||
if use berkdb; then
|
||||
enable_modules berkeley-db
|
||||
append-cppflags -I/usr/include/db4.8
|
||||
fi
|
||||
use dbus && enable_modules dbus
|
||||
use fastcgi && enable_modules fastcgi
|
||||
use gdbm && enable_modules gdbm
|
||||
use gtk && enable_modules gtk2
|
||||
use pari && enable_modules pari
|
||||
use pcre && enable_modules pcre
|
||||
use svm && enable_modules libsvm
|
||||
use zlib && enable_modules zlib
|
||||
|
||||
if use hyperspec; then
|
||||
CLHSROOT="file:///usr/share/doc/hyperspec/HyperSpec/"
|
||||
else
|
||||
CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
|
||||
fi
|
||||
|
||||
# configure chokes on --sysconfdir option
|
||||
local configure="./configure --prefix=/usr --enable-portability \
|
||||
--libdir=/usr/$(get_libdir) $(use_with readline) $(use_with unicode) \
|
||||
${myconf} --hyperspec=${CLHSROOT} ${BUILDDIR}"
|
||||
einfo "${configure}"
|
||||
${configure} || die "./configure failed"
|
||||
|
||||
IMPNOTES="file://${ROOT%/}/usr/share/doc/${PN}-${PVR}/html/impnotes.html"
|
||||
sed -i "s,http://clisp.cons.org/impnotes/,${IMPNOTES},g" \
|
||||
"${BUILDDIR}"/config.lisp || die "Cannot fix link to implementation notes"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
cd "${BUILDDIR}" || die
|
||||
# parallel build fails
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILDDIR}"
|
||||
make DESTDIR="${D}" prefix=/usr install-bin || die "Installation failed"
|
||||
doman clisp.1
|
||||
dodoc ../SUMMARY README* ../src/NEWS ../unix/MAGIC.add ../ANNOUNCE
|
||||
# stripping them removes common symbols (defined but uninitialised variables)
|
||||
# which are then needed to build modules...
|
||||
export STRIP_MASK="*/usr/$(get_libdir)/clisp-${PV}/*/*"
|
||||
popd
|
||||
dohtml doc/impnotes.{css,html} doc/regexp.html doc/clisp.png
|
||||
dodoc doc/{CLOS-guide,LISP-tutorial}.txt
|
||||
}
|
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