parent
f4ce8a0ef9
commit
3a862c70f9
@ -1,3 +1 @@
|
||||
DIST lastpass-cli-0.8.1.tar.gz 79981 SHA256 ba845a827501f3c49514e977c8de25e5950d3ea482d7a3c31090148310a83056 SHA512 bc58500165e26dc87b592a7d975fa5b6e6698ca7b68fdd8205d21cfd13f72860cbbf5cd36b162fe928c12eb6c8ab86b42e369b8abc719bd36df5a8d8ea5f1689 WHIRLPOOL 3a332725106a43dc5738ad4b066a5b4c2fd3764e3543257931ba267068d202cb4bafbbdb4b72a336032e66161fba98f3d0c1d9b0f8a194a413fed0bc28a6f692
|
||||
DIST lastpass-cli-0.9.0.tar.gz 84433 SHA256 e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800 SHA512 1e377cfeb9b62c5a69b461312582b6893f88fa12079ad8e52a1e7a3be806225009f0f84eff7d806191ff7f3482e34cd16e10d0b623fa0b0357703d585a015878 WHIRLPOOL 12e6c8ce6ab03ae9586a949f1a9316bf18d80c2ed54b7b883f3888e76932999bb74b8d36bac0361a11da126df20b5b5c39f2dc62cbd76b7d3deacfb57a789406
|
||||
DIST lastpass-cli-1.0.0.tar.gz 92311 SHA256 42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e SHA512 4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 WHIRLPOOL 394bfb597f5262dd1e47c7a3c48ef093b398f90c6dcacac6b172bb008891c76faf448ecf6be0ebfa277d18d335b166b7efadc063acc57ce88274004d1734bf21
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="libressl X +pinentry"
|
||||
|
||||
RDEPEND="
|
||||
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
net-misc/curl
|
||||
dev-libs/libxml2
|
||||
pinentry? ( app-crypt/pinentry )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX="${EPREFIX}/usr"
|
||||
emake PREFIX="${EPREFIX}/usr" doc-man
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-doc
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl X +pinentry"
|
||||
|
||||
RDEPEND="
|
||||
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
net-misc/curl
|
||||
dev-libs/libxml2
|
||||
pinentry? ( app-crypt/pinentry )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Do not include headers from /usr/local/include
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile || die
|
||||
default
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX="${EPREFIX}/usr"
|
||||
emake PREFIX="${EPREFIX}/usr" doc-man
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-doc
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ReText-4.1.3.tar.gz 129283 SHA256 bb4409982d27ac62cab01b0748fe41d9c6660853668b350f3369e76d155edd6c SHA512 d2b3fa901afa9870f6cecc7ab3126b91f1420ca1b14ddd4f609c2ada7121388840b5be679914694664f3bbf876ee8522aa6b0c82a23f837844f788fa10a46323 WHIRLPOOL 3be71e5d7ec612ae4e4fec17ca544f6d0e7cb7421fcdeb517d3c13156ed07f5e5e7c3e352cf604bfb5f2287964fdc173a1bac0eeab41ee1cda8b265ad0f57686
|
||||
DIST ReText-5.3.1.tar.gz 159669 SHA256 515b1aaa57615453f8933f997753072a5c4691793da2280e70d1b333b53904c6 SHA512 76c6f78c10129e4845de819fa6db3deff5441a25331fd3dadbdfeb766caa453f21214f82e6625c919cc8be2fcfdfada970cae32837bb8904c3702dda19890628 WHIRLPOOL 5c2db75c2b2f23419bc2803849f6b7a69f3540911c6e53f46a46baffd150a9a0db75d0343361963a53bcc1a6da4534eb72d99068a26c13c1551b6188ab81f67a
|
||||
DIST ReText-6.0.1.tar.gz 184098 SHA256 7c9785cb022d2f0b123b8a808c2419cf1300249d594a72a5ef5a0030de8bb630 SHA512 aca8db5d82fadee7b8d03279e080b33da696339eb674ba1fc2dd4ced7c92b1608d8ed2d181bdbe913601d63755df38ebdfa06f77398e1b52cc922f54fc0fe867 WHIRLPOOL 0590b347e7ca21d7e6e653c74fd53abe2ccb0852e6ab3f53213f8beb38234b0b757bf60ba77f68e485b68332d3b06def94aa4b9aebae369e472a876ce34d9b77
|
||||
DIST ReText-6.0.2.tar.gz 195339 SHA256 ce28b20673627bd4e17c750d71b73e073776e291b2a1736dd561a1a24aa7f70b SHA512 e8670c03eb2a38b8baeedee4c6e31b52e6e3954f2b1fa0d4249653f77e853aa7fd8ee7a43c98d36194889528dd0da75d4106950385e93d8d2b69139454de1729 WHIRLPOOL a42e4ec9d82e15754bf7aaf4c05a15cbb818a5e4d8b71c7994f0a5dca3f27b5fee56f6a3adfbf49f073e70de11202852b301945884dd8bab63f123128d316557
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
PLOCALES="ca cs cy da de es et eu fr hu it ja pl pt pt_BR ru sk sr sr@latin uk zh_TW"
|
||||
|
||||
inherit distutils-r1 l10n eutils
|
||||
|
||||
MY_PN="ReText"
|
||||
MY_P="${MY_PN}-${PV/_/~}"
|
||||
|
||||
DESCRIPTION="Simple editor for Markdown and reStructuredText"
|
||||
HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+spell"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
>=dev-python/markups-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-2.3[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}]
|
||||
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
remove_locale() {
|
||||
find "${ED}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}."
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
l10n_for_each_disabled_locale_do remove_locale
|
||||
|
||||
make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
--- /config/bash/Makefile.am.orig 2016-05-18 20:40:42.238487678 +0000
|
||||
+++ /config/bash/Makefile.am 2016-05-18 20:43:02.163497779 +0000
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
if ENABLE_BASH
|
||||
install-bash:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/
|
||||
- $(INSTALL_DATA) lxc $(DESTDIR)$(sysconfdir)/bash_completion.d/
|
||||
+ $(MKDIR_P) $(DESTDIR)$(datarootdir)/bash-completion/completions/
|
||||
+ $(INSTALL_DATA) lxc $(DESTDIR)$(datarootdir)/bash-completion/completions/
|
||||
|
||||
uninstall-bash:
|
||||
- rm -f $(DESTDIR)$(sysconfdir)/bash_completion.d/lxc
|
||||
- rmdir $(DESTDIR)$(sysconfdir)/bash_completion.d/ || :
|
||||
+ rm -f $(DESTDIR)$(datarootdir)/bash-completion/completions/lxc
|
||||
+ rmdir $(DESTDIR)$(datarootdir)/bash-completion/completions/ || :
|
||||
|
||||
install-data-local: install-bash
|
||||
uninstall-local: uninstall-bash
|
||||
--- /config/bash/lxc.in.orig 2016-05-18 20:40:51.079488316 +0000
|
||||
+++ /config/bash/lxc.in 2016-05-18 20:45:03.506506538 +0000
|
||||
@@ -1,4 +1,3 @@
|
||||
-_have lxc-start && {
|
||||
_lxc_names() {
|
||||
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
|
||||
}
|
||||
@@ -100,4 +99,3 @@
|
||||
|
||||
complete -o default -F _lxc_generic_o lxc-copy
|
||||
complete -o default -F _lxc_generic_o lxc-start-ephemeral
|
||||
-}
|
@ -0,0 +1,5 @@
|
||||
--- /config/Makefile.am.orig 2016-05-19 02:56:11.891113982 +0000
|
||||
+++ /config/Makefile.am 2016-05-19 02:56:32.596115476 +0000
|
||||
@@ -1 +1 @@
|
||||
-SUBDIRS = apparmor bash etc init selinux templates yum sysconfig
|
||||
+SUBDIRS = apparmor bash etc init selinux templates yum
|
@ -0,0 +1,201 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
PYTHON_COMPAT=( python{3_3,3_4,3_5} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools bash-completion-r1 distutils-r1 linux-info versionator flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cgmanager doc examples lua python seccomp"
|
||||
|
||||
RDEPEND="net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
cgmanager? ( app-admin/cgmanager )
|
||||
lua? ( >=dev-lang/lua-5.1:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-process/criu
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
~!GRKERNSEC_PROC
|
||||
~!GRKERNSEC_SYSFS_RESTRICT
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_PROC="CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
|
||||
ERROR_GRKERNSEC_SYSFS_RESTRICT="CONFIG_GRKERNSEC_SYSFS_RESTRICT: this GRSEC feature is incompatible with unprivileged containers"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
kernel_is -lt 4 7 && CONFIG_CHECK="${CONFIG_CHECK} ~DEVPTS_MULTIPLE_INSTANCES"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-bash-completion.patch
|
||||
#558854
|
||||
eapply "${FILESDIR}"/${P}-omit-sysconfig.patch
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
if use python; then
|
||||
#541932
|
||||
python_setup "python3*"
|
||||
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
fi
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
$(use_enable cgmanager) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable python) \
|
||||
$(use_enable seccomp)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-${PN}" > /dev/null
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
# start-ephemeral is no longer a command but removing it here
|
||||
# generates QA warnings (still in upstream completion script)
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-lxc" > /dev/null
|
||||
# Unset DOCS. This has been handled by the default target
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.5" ${PN}
|
||||
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.4 "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
|
||||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
|
||||
elog "please add the following to your /etc/lxc/default.conf"
|
||||
elog "lxc.lxcpath = /etc/lxc"
|
||||
elog ""
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lxd-2.2.tar.bz2 2234844 SHA256 c76b8698a9266afa5e4aec3ccaa283226cc52232e10ad376f02c4bcd000126b7 SHA512 272cd02f8533a18a51739fd2698f239cd57ae852fbf828d3dc53ed1253629808984720bde9173ae7df1f9e94389ab929b53893e7b57c2d0f6571744365c1c93a WHIRLPOOL d76c5ed9bedde8d51403a452bfc1f33bcb19d71fca79439c63f2b70bd58544ff0c05f4008f2603935dd1c63c4d0ea5c733775c723330de692fc5f6cd471d1529
|
||||
DIST lxd-2.3.tar.bz2 2248758 SHA256 cd746b3f9682e50b7973e6175a5b48b999748face9e4b515491773ade9d754c4 SHA512 746ea9c2e9266a8482a62fc9e9fdb83f0713b0094e1b52957c5bf2fbd00f4bf1d7a0978086ab123d60ac02bd0dd1f00d46801959ced3b01308170dd7911c7bdc WHIRLPOOL f899e78bd3082ddd46dab5d09d83fe23a23aabbee09488f48ef2ff4a9f3bc41878ecb50b4223235c12962b01468c7b0124c0ae54e60d452f224824cbc89d144e
|
||||
DIST lxd-2.4.1.tar.bz2 2257768 SHA256 4a02c74819870be5df71227f90be4bc1b7cb90784c115c9f96a6174c8d4dcf75 SHA512 84ce4911a55d495f809a4174061577eceba0b3cd0381170a23fea91651049e43ec809494bf885b315b2d5fde7cda19ee29eed71259b88d3a789fd87c26aac3db WHIRLPOOL 70a2eb3c6b239e9d8682005134ae5c8e991b2f331685b971e1e8d09173aec8c34848527c9f893af0f937384d0f33f7a9e626f8063a00e2fa450331acf00ad7fe
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- /Makefile.orig 2016-07-11 23:34:40.299664675 +0000
|
||||
+++ /Makefile 2016-07-11 23:37:00.816018727 +0000
|
||||
@@ -12,19 +12,11 @@
|
||||
|
||||
.PHONY: default
|
||||
default:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./...
|
||||
@echo "LXD built successfully"
|
||||
|
||||
.PHONY: client
|
||||
client:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./lxc
|
||||
@echo "LXD client built successfully"
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Group which owns the shared socket
|
||||
LXD_OPTIONS+=" --group lxd"
|
||||
|
||||
|
||||
|
||||
# Enable cpu profiling into the specified file
|
||||
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||
|
||||
# Enable memory profiling into the specified file
|
||||
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||
|
||||
|
||||
|
||||
# Enables debug mode
|
||||
#LXD_OPTIONS+=" --debug"
|
||||
|
||||
# For debugging, print a complete stack trace every n seconds
|
||||
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||
|
||||
# Enables verbose mode
|
||||
#LXD_OPTIONS+=" -v"
|
||||
|
||||
# Logfile to log to
|
||||
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||
|
||||
# Enables syslog logging
|
||||
#LXD_OPTIONS+=" --syslog"
|
@ -0,0 +1,50 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DAEMON=/usr/sbin/lxd
|
||||
PIDFILE=/run/lxd.pid
|
||||
|
||||
extra_commands="stopall"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use lxcfs
|
||||
|
||||
# remove with 2.0 release
|
||||
need cgmanager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lxd server"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${DAEMON} \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
-- \
|
||||
${LXD_OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
|
||||
stopall
|
||||
else
|
||||
ebegin "Stopping lxd service (but not containers)"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stopall() {
|
||||
ebegin "Stopping lxd service and containers"
|
||||
if "${DAEMON}" shutdown; then
|
||||
/etc/init.d/lxd zap
|
||||
rm -f ${PIDFILE}
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,195 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
|
||||
EGO_PN_PARENT="github.com/lxc"
|
||||
EGO_PN="${EGO_PN_PARENT}/lxd"
|
||||
|
||||
# The source is repackaged using a script at:
|
||||
# https://dev.gentoo.org/~stasibear/lxd_repackage.py
|
||||
# This is necessary because go's native package management assumes
|
||||
# that a build starts with checking out many git repositories, often
|
||||
# from HEAD. This provides no way to build the same code repeatably,
|
||||
# and anyway portage requires that fetching is only done from SRC_URI.
|
||||
# The only sane alternative I've seen is in the consul ebuild, which
|
||||
# is more transparent but raises other questions.
|
||||
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PLOCALES="de fr ja"
|
||||
IUSE="+daemon nls test"
|
||||
|
||||
# IUSE and PLOCALES must be defined before l10n inherited
|
||||
inherit bash-completion-r1 golang-build l10n linux-info systemd user vcs-snapshot
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.7.1
|
||||
dev-go/go-crypto
|
||||
dev-libs/protobuf
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
app-misc/jq
|
||||
dev-db/sqlite
|
||||
net-misc/curl
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
daemon? (
|
||||
app-admin/cgmanager
|
||||
app-arch/xz-utils
|
||||
app-emulation/lxc[cgmanager,seccomp]
|
||||
net-dns/dnsmasq[dhcp,ipv6]
|
||||
net-misc/rsync[xattr]
|
||||
sys-apps/iproute2[ipv6]
|
||||
sys-fs/squashfs-tools
|
||||
virtual/acl
|
||||
)
|
||||
"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~BRIDGE
|
||||
~DUMMY
|
||||
~IP6_NF_NAT
|
||||
~IP6_NF_TARGET_MASQUERADE
|
||||
~IPV6
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~MACVLAN
|
||||
~NETFILTER_XT_MATCH_COMMENT
|
||||
~NET_IPGRE
|
||||
~NET_IPGRE_DEMUX
|
||||
~NET_IPIP
|
||||
~NF_NAT_MASQUERADE_IPV4
|
||||
~NF_NAT_MASQUERADE_IPV6
|
||||
~VXLAN
|
||||
"
|
||||
|
||||
ERROR_BRIDGE="BRIDGE: needed for network commands"
|
||||
ERROR_DUMMY="DUMMY: needed for network commands"
|
||||
ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands"
|
||||
ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands"
|
||||
ERROR_IPV6="IPV6: needed for network commands"
|
||||
ERROR_IP_NF_NAT="IP_NF_NAT: needed for network commands"
|
||||
ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands"
|
||||
ERROR_MACVLAN="MACVLAN: needed for network commands"
|
||||
ERROR_NETFILTER_XT_MATCH_COMMENT="NETFILTER_XT_MATCH_COMMENT: needed for network commands"
|
||||
ERROR_NET_IPGRE="NET_IPGRE: needed for network commands"
|
||||
ERROR_NET_IPGRE_DEMUX="NET_IPGRE_DEMUX: needed for network commands"
|
||||
ERROR_NET_IPIP="NET_IPIP: needed for network commands"
|
||||
ERROR_NF_NAT_MASQUERADE_IPV4="NF_NAT_MASQUERADE_IPV4: needed for network commands"
|
||||
ERROR_NF_NAT_MASQUERADE_IPV6="NF_NAT_MASQUERADE_IPV6: needed for network commands"
|
||||
ERROR_VXLAN="VXLAN: needed for network commands"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}-dont-go-get.patch")
|
||||
|
||||
# KNOWN ISSUES:
|
||||
# - Translations may not work. I've been unsuccessful in forcing
|
||||
# localized output. Anyway, upstream (Canonical) doesn't install the
|
||||
# message files.
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
default_src_prepare
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
|
||||
cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
|
||||
|
||||
# Warn on unhandled locale changes
|
||||
l10n_find_plocales_changes po "" .po
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
golang-build_src_compile
|
||||
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
if use daemon; then
|
||||
# Build binaries
|
||||
GOPATH="${S}:${tmpgoroot}" emake
|
||||
else
|
||||
# build client tool
|
||||
GOPATH="${S}:${tmpgoroot}" emake client
|
||||
fi
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use daemon; then
|
||||
# Go native tests should succeed
|
||||
golang-build_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Installs all src,pkg to /usr/lib/go-gentoo
|
||||
golang-build_src_install
|
||||
|
||||
cd "${S}"
|
||||
dobin bin/lxc
|
||||
use daemon && dosbin bin/lxd
|
||||
|
||||
cd "src/${EGO_PN}"
|
||||
|
||||
if use nls; then
|
||||
for lingua in ${PLOCALES}; do
|
||||
if use linguas_${lingua}; then
|
||||
domo po/${lingua}.mo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newinitd "${FILESDIR}"/${P}.initd lxd
|
||||
newconfd "${FILESDIR}"/${P}.confd lxd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/lxd.service
|
||||
fi
|
||||
|
||||
newbashcomp config/bash/lxd-client lxc
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md README.md doc/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
einfo "including a Quick Start."
|
||||
|
||||
# The messaging below only applies to daemon installs
|
||||
use daemon || return 0
|
||||
|
||||
# The control socket will be owned by (and writeable by) this group.
|
||||
enewgroup lxd
|
||||
|
||||
# Ubuntu also defines an lxd user but it appears unused (the daemon
|
||||
# must run as root)
|
||||
|
||||
einfo
|
||||
einfo "Though not strictly required, some features are enabled at run-time"
|
||||
einfo "when the relevant helper programs are detected:"
|
||||
einfo "- sys-apps/apparmor"
|
||||
einfo "- sys-fs/btrfs-progs"
|
||||
einfo "- sys-fs/lvm2"
|
||||
einfo "- sys-fs/lxcfs"
|
||||
einfo "- sys-fs/zfs"
|
||||
einfo "- sys-process/criu"
|
||||
einfo
|
||||
einfo "Since these features can't be disabled at build-time they are"
|
||||
einfo "not USE-conditional."
|
||||
einfo
|
||||
einfo "Networks with bridge.mode=fan are unsupported due to requiring"
|
||||
einfo "a patched kernel and iproute2."
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
From 9714f6b87e19b32d3a6663a20df6610265c4bfe5 Mon Sep 17 00:00:00 2001
|
||||
From: Juergen Gross <jgross@suse.com>
|
||||
Date: Wed, 28 Sep 2016 06:02:44 +0200
|
||||
Subject: [PATCH] pvgrub: fix crash when booting kernel with p2m list outside
|
||||
kernel mapping
|
||||
|
||||
When trying to boot a kernel with the p2m list not mapped by the
|
||||
initial kernel mapping it can happen that pvgrub is failing as it is
|
||||
keeping some page tables mapped.
|
||||
|
||||
Unmap the additional page tables created for the special p2m mapping
|
||||
will avoid this failure.
|
||||
|
||||
Reported-by: Sven Koehler <sven.koehler@gmail.com>
|
||||
Signed-off-by: Juergen Gross <jgross@suse.com>
|
||||
Acked-by: Wei Liu <wei.liu2@citrix.com>
|
||||
---
|
||||
stubdom/grub/kexec.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/stubdom/grub/kexec.c b/stubdom/grub/kexec.c
|
||||
index 8fd9ff9..71c2f3f 100644
|
||||
--- a/stubdom/grub/kexec.c
|
||||
+++ b/stubdom/grub/kexec.c
|
||||
@@ -347,6 +347,8 @@ void kexec(void *kernel, long kernel_size, void *module, long module_size, char
|
||||
/* Unmap libxc's projection of the boot page table */
|
||||
seg = xc_dom_seg_to_ptr(dom, &dom->pgtables_seg);
|
||||
munmap(seg, dom->pgtables_seg.vend - dom->pgtables_seg.vstart);
|
||||
+ seg = xc_dom_seg_to_ptr(dom, &dom->p2m_seg);
|
||||
+ munmap(seg, dom->p2m_seg.vend - dom->p2m_seg.vstart);
|
||||
|
||||
/* Unmap day0 pages to avoid having a r/w mapping of the future page table */
|
||||
for (pfn = 0; pfn < allocated; pfn++)
|
||||
--
|
||||
2.10.0
|
||||
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
|
||||
${UPSTREAM_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo
|
||||
x11-libs/pixman"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-tools-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
# bug 595354
|
||||
epatch "${FILESDIR}"/${P}-fix-boot-p2m.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen"
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ibus-unikey-0.6.1-gcc6.patch 31686 SHA256 928b12d470994072bb4b08472b365b340a24e07e83c2020905de3ecaf61a1dee SHA512 9e1b172a904076ba817c7bab80cbbf7d736c078d3ea285cb946be23552ff0f571ca8e0187cac4e5bfecc2b0032512d6f09af4435056d6b653a3648d07356d9b2 WHIRLPOOL 6e4d232dddf7520da365692180199167a0f9c89f597d984abe0e698b815af174764477df78e220fe8bc5e364be40fd7e6912b69f0d6446fda0244f1a6271e3b8
|
||||
DIST ibus-unikey-0.6.1.tar.gz 516250 SHA256 989bbea706d2d8d7b86630b1f2b4f63d8ed5167a1cc2b8fafd7f2198ec78d734 SHA512 f8d519802d9b304cdaebfcee3f9fef5f17756cde48aa48b9dd357d714e2eaaba0df8f91218b658fdd1d85343804e054b7987caff2734913b29dc76263c30d4e6 WHIRLPOOL 4a14d0145477527b100272801f2ac8e90178c8d6d7ae743619d6babcf1da069bc550a3eac473c8ac9b60e0b5eeaf1ea780a97d1e3ebd81a0b557e51f20615c4c
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME"
|
||||
HOMEPAGE="https://code.google.com/p/ibus-unikey/"
|
||||
SRC_URI="https://ibus-unikey.googlecode.com/files/${P}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/${P}-gcc6.patch"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk3"
|
||||
|
||||
RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3]
|
||||
x11-libs/gtk+:3 )
|
||||
!gtk3? ( >=app-i18n/ibus-1.4.0
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
>=sys-devel/gettext-0.17"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${DISTDIR}"/${P}-gcc6.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use gtk3 && myconf="--with-gtk-version=3" || myconf=""
|
||||
econf ${myconf}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
|
||||
DIST texstudio-2.10.8.tar.gz 26003322 SHA256 0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949 WHIRLPOOL 626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f
|
||||
DIST texstudio-2.11.0.tar.gz 26263749 SHA256 170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be WHIRLPOOL 3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142
|
||||
DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9
|
||||
|
@ -1,42 +0,0 @@
|
||||
From f9a633402c81b7c252e33c0d9386ba4b48fcde7c Mon Sep 17 00:00:00 2001
|
||||
From: hannes <hannes@fedoraproject.org>
|
||||
Date: Sun, 9 Sep 2012 10:56:06 +0200
|
||||
Subject: [PATCH] viewer
|
||||
|
||||
---
|
||||
buildmanager.cpp | 18 +++---------------
|
||||
1 file changed, 3 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git buildmanager.cpp buildmanager.cpp
|
||||
index ac7027a..ac913d0 100644
|
||||
--- buildmanager.cpp
|
||||
+++ buildmanager.cpp
|
||||
@@ -762,25 +762,13 @@
|
||||
// xdvi %.dvi -sourceposition @:%.tex
|
||||
// kdvi "file:%.dvi#src:@ %.tex"
|
||||
QString getCommandLineViewDvi(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kdvi %.dvi > /dev/null";
|
||||
- case 4: return "okular %.dvi > /dev/null";
|
||||
- default:return "evince %.dvi > /dev/null";
|
||||
- }
|
||||
+ return "xdg-open %.dvi > /dev/null";
|
||||
};
|
||||
QString getCommandLineViewPs(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kghostview %.ps > /dev/null";
|
||||
- case 4: return "okular %.ps > /dev/null";
|
||||
- default: return "evince %.ps > /dev/null";
|
||||
- };
|
||||
+ return "xdg-open %.ps > /dev/null";
|
||||
}
|
||||
QString getCommandLineViewPdfExternal(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kpdf %.pdf > /dev/null";
|
||||
- case 4: return "okular %.pdf > /dev/null";
|
||||
- default: return "evince %.pdf > /dev/null";
|
||||
- };
|
||||
+ return "xdg-open %.pdf > /dev/null";
|
||||
}
|
||||
QString getCommandLineGhostscript(){ return ""; }
|
||||
|
@ -1,22 +0,0 @@
|
||||
utilities/texstudio.desktop | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/utilities/texstudio.desktop b/utilities/texstudio.desktop
|
||||
index 199255f..9c95afd 100644
|
||||
--- a/utilities/texstudio.desktop
|
||||
+++ b/utilities/texstudio.desktop
|
||||
@@ -1,13 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
|
||||
-Encoding=UTF-8
|
||||
Exec=texstudio %F
|
||||
GenericName=LaTeX Editor
|
||||
GenericName[fr]=Editeur LaTeX
|
||||
Comment=LaTeX development environment
|
||||
Comment[fr]=Environnement de développement LaTeX
|
||||
Icon=texstudio
|
||||
-MimeType=text/x-tex;
|
||||
+MimeType=text/X-tex;
|
||||
Name=TeXstudio
|
||||
StartupNotify=false
|
||||
Terminal=false
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/64" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cairo-qt cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt4 qt5 tiff +utils"
|
||||
|
||||
REQUIRED_USE="cairo-qt? ( qt4 )"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
>=dev-libs/glib-2.41:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1:= )
|
||||
)
|
||||
cairo-qt? ( >=x11-libs/cairo-1.10.0 )
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.7 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.33.0-openjpeg2.patch"
|
||||
"${FILESDIR}/${PN}-0.40-FindQt4.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if [[ ${CC} == *clang ]] ; then
|
||||
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
|
||||
# Enable experimental patchset for subpixel font rendering using cairo
|
||||
# backend for poppler-qt4 from https://github.com/giddie/poppler-qt4-cairo-backend.
|
||||
if use cairo-qt; then
|
||||
ewarn "Enabling unsupported, experimental cairo-qt patchset. Please do not report bugs."
|
||||
epatch "${FILESDIR}/cairo-qt-experimental/0001-Cairo-backend-added-to-Qt4-wrapper.patch"
|
||||
epatch "${FILESDIR}/cairo-qt-experimental/0002-Setting-default-Qt4-backend-to-Cairo.patch"
|
||||
epatch "${FILESDIR}/cairo-qt-experimental/0003-Forcing-subpixel-rendering-in-Cairo-backend.patch"
|
||||
epatch "${FILESDIR}/cairo-qt-experimental/0004-Enabling-slight-hinting-in-Cairo-Backend.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
-DENABLE_LIBCURL="$(usex curl)"
|
||||
-DENABLE_CPP="$(usex cxx)"
|
||||
-DENABLE_UTILS="$(usex utils)"
|
||||
-DSPLASH_CMYK=OFF
|
||||
-DUSE_FIXEDPOINT=OFF
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo="$(usex cairo)"
|
||||
-DWITH_GObjectIntrospection="$(usex introspection)"
|
||||
-DWITH_JPEG="$(usex jpeg)"
|
||||
-DWITH_NSS3="$(usex nss)"
|
||||
-DWITH_PNG="$(usex png)"
|
||||
-DWITH_Qt4="$(usex qt4)"
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF="$(usex tiff)"
|
||||
)
|
||||
if use jpeg2k; then
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=)
|
||||
fi
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != 9999 ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST muParser-2.2.5.tar.gz 761315 SHA256 0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708 SHA512 d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682 WHIRLPOOL 86b8d4c13982b4748abbc379b6a2e4d421fc5d734b36daa8ed9525d451404996f0099404464908f144c5be3319db2cbbc92d697a5c56326bc303cc48a4f9520b
|
||||
DIST muparser_v2_2_3.zip 1481359 SHA256 dfe831b69392ab0b1eb59d3601b7b1575554a85057cf2f234f64f930c4148902 SHA512 86d140c07161757e2f0de516a4c2922ce5b135d06b01466bc15ad90833bd3e9f99b9b9c528617262597a7a5a6b09bff5ae8ced5d51c413ea611059e0bdb22e6d WHIRLPOOL 3a53d04382feec889c4a54fe2edf762d9cf8629f4ec0543cfde12b6848e3594391a778c54747d6b4cf7608fcc0ac557f71132741935716704b160601057ff312
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library for parsing mathematical expressions"
|
||||
HOMEPAGE="http://muparser.beltoforion.de/"
|
||||
SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
S=${WORKDIR}/muparser-${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch
|
||||
sed -i \
|
||||
-e 's:-O2::g' \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable test samples)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cat > test.sh <<- EOFTEST
|
||||
LD_LIBRARY_PATH="${S}/lib" samples/example1/example1 <<- EOF
|
||||
quit
|
||||
EOF
|
||||
EOFTEST
|
||||
sh ./test.sh || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc Changes.txt
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1 +1 @@
|
||||
DIST fsharp-4.0.1.1.tar.gz 39480242 SHA256 133b5c3ae2364417be15a3768158a6fbab4411e73fb6ffb607f8137a39df7557 SHA512 60ff2a30c4bdaf3d34c0d7d690ee771cd3d5d09656cdacb12e398dee2416b501360998f3a88831aaca6fe089544b5eccc8c7807267a5676ccb176761ea328508 WHIRLPOOL aa2588a1c5346bcbd6121be0126c565780ce2bff5522dfc50a4223a525cdb8edc1fc73019ab3f587a5de1d200d9b6179bb54f25729a300da1dcc8fa749584c65
|
||||
DIST fsharp-4.0.1.13.tar.gz 37316381 SHA256 b5cbdd260fe0d8db6799e56df03c51df474081393cacbea5a2f6c1af59b56fe9 SHA512 2542a809f27e0e60110cbb35d633b9039ab4cf55a76a2d2032a7b63f34d39fe57d9ccc2b6737ad4467a2540faa9c7ec692f3904e06146576a636341a043ac6e7 WHIRLPOOL 6dd5fa8a0a75448731a9377425b88bbb3595e0a317fc15b70bfc22ef08e94078ae986c68dbecd4cd151ea2cb81a51dcd77205faa53593753de43a603177e0a18
|
||||
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="OpenCL implementation for Intel GPUs"
|
||||
HOMEPAGE="https://01.org/beignet"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/beignet"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz"
|
||||
S=${WORKDIR}/Beignet-${PV}-Source
|
||||
fi
|
||||
|
||||
COMMON="${PYTHON_DEPS}
|
||||
media-libs/mesa
|
||||
sys-devel/clang
|
||||
>=sys-devel/llvm-3.5
|
||||
<sys-devel/llvm-3.9
|
||||
>=x11-libs/libdrm-2.4.70[video_cards_intel]
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes"
|
||||
RDEPEND="${COMMON}
|
||||
app-eselect/eselect-opencl"
|
||||
DEPEND="${COMMON}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/no-debian-multiarch.patch
|
||||
"${FILESDIR}"/${P}_no-hardcoded-cflags.patch
|
||||
"${FILESDIR}"/llvm-terminfo.patch
|
||||
"${FILESDIR}"/${P}-drm_intel_get_pooled_eu.patch
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
docs/.
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||
if tc-is-gcc; then
|
||||
if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# See Bug #593968
|
||||
append-flags -fPIC
|
||||
|
||||
cmake-utils_src_prepare
|
||||
# We cannot run tests because they require permissions to access
|
||||
# the hardware, and building them is very time-consuming.
|
||||
cmake_comment_add_subdirectory utests
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
|
||||
|
||||
cmake-utils_src_install
|
||||
|
||||
insinto /etc/OpenCL/vendors/
|
||||
echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file"
|
||||
doins "${PN}-${ABI}.icd"
|
||||
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c
|
||||
index 5f4afda..cf8f829 100644
|
||||
--- a/src/intel/intel_driver.c
|
||||
+++ b/src/intel/intel_driver.c
|
||||
@@ -958,14 +958,14 @@ intel_update_device_info(cl_device_id device)
|
||||
|
||||
#ifdef HAS_POOLED_EU
|
||||
/* BXT pooled eu, 3*6 to 2*9, like sub slice count is 2 */
|
||||
- unsigned int has_pooled_eu = 0;
|
||||
- if(!drm_intel_get_pooled_eu(driver->fd, &has_pooled_eu) && has_pooled_eu)
|
||||
+ int has_pooled_eu;
|
||||
+ if((has_pooled_eu = drm_intel_get_pooled_eu(driver->fd)) > 0)
|
||||
device->sub_slice_count = 2;
|
||||
|
||||
#ifdef HAS_MIN_EU_IN_POOL
|
||||
- unsigned int min_eu;
|
||||
+ int min_eu;
|
||||
/* for fused down 2x6 devices, beignet don't support. */
|
||||
- if (has_pooled_eu && !drm_intel_get_min_eu_in_pool(driver->fd, &min_eu)) {
|
||||
+ if (has_pooled_eu > 0 && (min_eu = drm_intel_get_min_eu_in_pool(driver->fd)) > 0) {
|
||||
assert(min_eu == 9); //don't support fuse down device.
|
||||
}
|
||||
#endif //HAS_MIN_EU_IN_POOL
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A linkable library for Git"
|
||||
HOMEPAGE="https://libgit2.github.com/"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0/24"
|
||||
IUSE="examples gssapi libressl ssh test threads trace"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
sys-libs/zlib
|
||||
net-libs/http-parser:=
|
||||
gssapi? ( virtual/krb5 )
|
||||
ssh? ( net-libs/libssh2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
# skip online tests
|
||||
sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
$(cmake-utils_use_build test CLAR)
|
||||
$(cmake-utils_use_enable trace TRACE)
|
||||
$(cmake-utils_use_use gssapi GSSAPI)
|
||||
$(cmake-utils_use_use ssh SSH)
|
||||
$(cmake-utils_use threads THREADSAFE)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ ${EUID} -eq 0 ]] ; then
|
||||
# repo::iterator::fs_preserves_error fails if run as root
|
||||
# since root can still access dirs with 0000 perms
|
||||
ewarn "Skipping tests: non-root privileges are required for all tests to pass"
|
||||
else
|
||||
local TEST_VERBOSE=1
|
||||
cmake-utils_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use examples ; then
|
||||
egit_clean examples
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lua-zlib-0.3.tgz 11220 SHA256 c7d687e9fddc0a094cb47587e50bebf9fd632bf72f74b61b2dcf1a37dd8c4b3a SHA512 99711166637d394c806dd16b86a3588ff84eb9180d2da05725ff6d4e86458d1ded7a5fbb303284fa442fd0925bc94fe34772057e0190c1a3e00cbb853865941d WHIRLPOOL 6735aad7e34ca1b19548e2c130c02807e269329f3296664a5bf18577e678304b5a20040358966eed6b9c3a94756df5e82ffa878df956982effd3d1e447b1b643
|
||||
DIST lua-zlib-0.4.tgz 11257 SHA256 dba2590cae117f8ba1bc94319ac159cbeeddb3f9715d1528b982460721097178 SHA512 1c28be12b000cb729a82336a4cfc6d2f7367b2fb9941bd200d2aab561f51715f02b54858d38b3d1a65eced81d31d932dc45d214e3410e7f313238fddf5766a3a WHIRLPOOL 418a5afef4ff5b6ba49a3cb10c79a46f3d1e8aa472fb701d8d5a0e6238b2fddcb350bd25d3dafa9839909596458581f7dd9dcd1e6de852bab44046a563ba3619
|
||||
DIST lua-zlib-0.5.tar.gz 11362 SHA256 57b6d406f0785a796d470eb60c6a59e4902f3d5af9e083cee5c85acd7afc54ba SHA512 5397c73cf19a94d2c9cbe9c2ab2504af1b59c38c4ab75fc1c0bb47a584ae2696b31d19c99938c5bbfaa2ac75496f62e9e60cb025070b7462f7dc54ced279c027 WHIRLPOOL a09674d84a70db9a88912e96c9a556e2b7f0831baf9447ee6d748459a06fee71250de28edcbfbf1182476c9a5e7e41833e83998c94d3312955efd7c405aee366
|
||||
|
@ -1,32 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Lua bindings to zlib"
|
||||
HOMEPAGE="https://github.com/brimworks/lua-zlib"
|
||||
SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
|
||||
SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/lua:0
|
||||
RDEPEND="dev-lang/lua:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
|
||||
local mycmakeargs=(-DINSTALL_CMOD="$(pkg-config --variable INSTALL_CMOD lua)")
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,361 @@
|
||||
Backported from:
|
||||
|
||||
commit 4edaf2275e2f7a027f3c7dc52e1e295a6e56b19a
|
||||
Author: Vasilis Papavasileiou <git@vasilis.airpost.net>
|
||||
Date: Thu Aug 18 19:40:56 2016 +0200
|
||||
|
||||
Fix ocsigen/js_of_ocaml#518
|
||||
|
||||
upstream.
|
||||
|
||||
Index: eliom-5.0.0/src/lib/eliom_client.client.ml
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_client.client.ml
|
||||
+++ eliom-5.0.0/src/lib/eliom_client.client.ml
|
||||
@@ -461,23 +461,29 @@ let raw_event_handler value =
|
||||
|
||||
let closure_name_prefix = Eliom_lib_base.RawXML.closure_name_prefix
|
||||
let closure_name_prefix_len = String.length closure_name_prefix
|
||||
-let reify_caml_event name node ce : string * (#Dom_html.event Js.t -> bool) =
|
||||
+let reify_caml_event name node ce =
|
||||
match ce with
|
||||
- | Xml.CE_call_service None -> name,(fun _ -> true)
|
||||
+ | Xml.CE_call_service None -> name, `Other (fun _ -> true)
|
||||
| Xml.CE_call_service (Some (`A, cookies_info, tmpl)) ->
|
||||
- name, (fun ev ->
|
||||
+ name, `Other (fun ev ->
|
||||
let node = Js.Opt.get (Dom_html.CoerceTo.a node)
|
||||
(fun () -> Lwt_log.raise_error ~section "not an anchor element")
|
||||
in
|
||||
raw_a_handler node cookies_info tmpl ev)
|
||||
| Xml.CE_call_service
|
||||
(Some ((`Form_get | `Form_post) as kind, cookies_info, tmpl)) ->
|
||||
- name, (fun ev ->
|
||||
+ name, `Other (fun ev ->
|
||||
let form = Js.Opt.get (Dom_html.CoerceTo.form node)
|
||||
(fun () -> Lwt_log.raise_error ~section "not a form element") in
|
||||
raw_form_handler form kind cookies_info tmpl ev)
|
||||
| Xml.CE_client_closure f ->
|
||||
- name, (fun ev -> try f ev; true with False -> false)
|
||||
+ name, `Other (fun ev -> try f ev; true with False -> false)
|
||||
+ | Xml.CE_client_closure_keyboard f ->
|
||||
+ name,
|
||||
+ `Keyboard (fun ev -> try f ev; true with Eliom_lib.False -> false)
|
||||
+ | Xml.CE_client_closure_mouse f ->
|
||||
+ name,
|
||||
+ `Mouse (fun ev -> try f ev; true with Eliom_lib.False -> false)
|
||||
| Xml.CE_registered_closure (_, cv) ->
|
||||
let name =
|
||||
let len = String.length name in
|
||||
@@ -485,16 +491,27 @@ let reify_caml_event name node ce : stri
|
||||
then String.sub name closure_name_prefix_len
|
||||
(len - closure_name_prefix_len)
|
||||
else name in
|
||||
- name, raw_event_handler cv
|
||||
+ name, `Other (raw_event_handler cv)
|
||||
|
||||
let register_event_handler, flush_load_script =
|
||||
let add, _, flush = create_buffer () in
|
||||
let register node (name, ev) =
|
||||
- let name,f = reify_caml_event name node ev in
|
||||
- if name = "onload"
|
||||
- then add f
|
||||
- else Js.Unsafe.set node (Js.bytestring name)
|
||||
- (Dom_html.handler (fun ev -> Js.bool (f ev)))
|
||||
+ match reify_caml_event name node ev with
|
||||
+ | "onload", `Other f ->
|
||||
+ add f
|
||||
+ | "onload", `Keyboard _ ->
|
||||
+ failwith "keyboard event handler for onload"
|
||||
+ | "onload", `Mouse _ ->
|
||||
+ failwith "keyboard event handler for onload"
|
||||
+ | name, `Other f ->
|
||||
+ Js.Unsafe.set node (Js.bytestring name)
|
||||
+ (Dom_html.handler (fun ev -> Js.bool (f ev)))
|
||||
+ | name, `Keyboard f ->
|
||||
+ Js.Unsafe.set node (Js.bytestring name)
|
||||
+ (Dom_html.handler (fun ev -> Js.bool (f ev)))
|
||||
+ | name, `Mouse f ->
|
||||
+ Js.Unsafe.set node (Js.bytestring name)
|
||||
+ (Dom_html.handler (fun ev -> Js.bool (f ev)))
|
||||
in
|
||||
let flush () =
|
||||
let fs = flush () in
|
||||
Index: eliom-5.0.0/src/lib/eliom_content.server.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_content.server.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_content.server.mli
|
||||
@@ -114,7 +114,7 @@ module Xml : sig
|
||||
example {% <<a_api project="js_of_ocaml" | type
|
||||
Dom_html.mouseEvent>>%} or {% <<a_api project="js_of_ocaml" | type
|
||||
Dom_html.keyboardEvent >>%}. *)
|
||||
- type -'a caml_event_handler constraint 'a = #Dom_html.event
|
||||
+ type caml_event_handler
|
||||
|
||||
(**/**)
|
||||
|
||||
@@ -129,18 +129,14 @@ module Xml : sig
|
||||
val make_event_handler_table : elt -> Eliom_lib.RawXML.event_handler_table
|
||||
val make_client_attrib_table : elt -> Eliom_lib.RawXML.client_attrib_table
|
||||
|
||||
- val caml_event_handler : ((#Dom_html.event as 'a) Js.t -> unit) Eliom_lib.client_value -> 'a caml_event_handler
|
||||
-
|
||||
- class type biggest_event = object
|
||||
- inherit Dom_html.event
|
||||
- inherit Dom_html.mouseEvent
|
||||
- inherit Dom_html.keyboardEvent
|
||||
- end
|
||||
+ val caml_event_handler :
|
||||
+ (Dom_html.event Js.t -> unit) Eliom_lib.client_value ->
|
||||
+ caml_event_handler
|
||||
|
||||
type racontent =
|
||||
| RA of acontent
|
||||
| RAReact of acontent option React.signal
|
||||
- | RACamlEventHandler of biggest_event caml_event_handler
|
||||
+ | RACamlEventHandler of caml_event_handler
|
||||
| RALazyStr of string Eliom_lazy.request
|
||||
| RALazyStrL of separator * string Eliom_lazy.request list
|
||||
| RAClient of string * attrib option * Eliom_lib.poly
|
||||
Index: eliom-5.0.0/src/lib/eliom_content_core.client.ml
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_content_core.client.ml
|
||||
+++ eliom-5.0.0/src/lib/eliom_content_core.client.ml
|
||||
@@ -87,21 +87,19 @@ module Xml = struct
|
||||
let node ?(a = []) name children = make (Node (name, a, children))
|
||||
let lazy_node ?a name children = node ?a name (Eliom_lazy.force children)
|
||||
|
||||
- type biggest_event_handler = biggest_event Js.t -> unit
|
||||
-
|
||||
type event_handler = Dom_html.event Js.t -> unit
|
||||
type mouse_event_handler = Dom_html.mouseEvent Js.t -> unit
|
||||
type keyboard_event_handler = Dom_html.keyboardEvent Js.t -> unit
|
||||
|
||||
let event_handler_attrib name (value : event_handler) =
|
||||
internal_event_handler_attrib name
|
||||
- (Caml (CE_client_closure (value :> biggest_event_handler)))
|
||||
+ (Caml (CE_client_closure value))
|
||||
let mouse_event_handler_attrib name (value : mouse_event_handler) =
|
||||
internal_event_handler_attrib name
|
||||
- (Caml (CE_client_closure (value :> biggest_event_handler)))
|
||||
+ (Caml (CE_client_closure_mouse value))
|
||||
let keyboard_event_handler_attrib name (value : keyboard_event_handler) =
|
||||
internal_event_handler_attrib name
|
||||
- (Caml (CE_client_closure (value :> biggest_event_handler)))
|
||||
+ (Caml (CE_client_closure_keyboard value))
|
||||
|
||||
let node_react_children ?(a = []) name children =
|
||||
{elt = Lazy.from_val (ReactChildren (Node (name,a,[]),children)); node_id=NoId}
|
||||
Index: eliom-5.0.0/src/lib/eliom_content_core.client.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_content_core.client.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_content_core.client.mli
|
||||
@@ -35,24 +35,21 @@ module Xml : sig
|
||||
type aname = string
|
||||
type attrib
|
||||
|
||||
- type -'a caml_event_handler =
|
||||
+ type caml_event_handler =
|
||||
| CE_registered_closure of string * Eliom_lib.poly
|
||||
(* 'a Js.t -> unit) client_value_server *)
|
||||
- | CE_client_closure of ((#Dom_html.event as 'a) Js.t -> unit)
|
||||
+ | CE_client_closure of
|
||||
+ (Dom_html.event Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_mouse of
|
||||
+ (Dom_html.mouseEvent Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_keyboard of
|
||||
+ (Dom_html.keyboardEvent Js.t -> unit) (* Client side-only *)
|
||||
| CE_call_service of
|
||||
([ `A | `Form_get | `Form_post] * (bool * string list) option * string option) option Eliom_lazy.request
|
||||
|
||||
- (* Inherit from all events.
|
||||
- Necessary for subtyping since caml_event_handler is contravariant. *)
|
||||
- class type biggest_event = object
|
||||
- inherit Dom_html.event
|
||||
- inherit Dom_html.mouseEvent
|
||||
- inherit Dom_html.keyboardEvent
|
||||
- end
|
||||
-
|
||||
type internal_event_handler =
|
||||
| Raw of string
|
||||
- | Caml of biggest_event caml_event_handler
|
||||
+ | Caml of caml_event_handler
|
||||
type event_handler = Dom_html.event Js.t -> unit
|
||||
type mouse_event_handler = Dom_html.mouseEvent Js.t -> unit
|
||||
type keyboard_event_handler = Dom_html.keyboardEvent Js.t -> unit
|
||||
@@ -89,7 +86,7 @@ module Xml : sig
|
||||
type racontent =
|
||||
| RA of acontent
|
||||
| RAReact of acontent option React.signal
|
||||
- | RACamlEventHandler of biggest_event caml_event_handler
|
||||
+ | RACamlEventHandler of caml_event_handler
|
||||
| RALazyStr of string Eliom_lazy.request
|
||||
| RALazyStrL of separator * string Eliom_lazy.request list
|
||||
| RAClient of string * attrib option * Eliom_lib.poly
|
||||
Index: eliom-5.0.0/src/lib/eliom_content_core.server.ml
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_content_core.server.ml
|
||||
+++ eliom-5.0.0/src/lib/eliom_content_core.server.ml
|
||||
@@ -114,7 +114,6 @@ module Xml = struct
|
||||
let lazy_node ?(a = []) name children =
|
||||
make_lazy (Eliom_lazy.from_fun (fun () -> (Node (name, a, Eliom_lazy.force children))))
|
||||
|
||||
- type biggest_event_handler = (biggest_event Js.t -> unit) Eliom_lib.client_value
|
||||
type event_handler = (Dom_html.event Js.t -> unit) Eliom_lib.client_value
|
||||
type mouse_event_handler = (Dom_html.mouseEvent Js.t -> unit) Eliom_lib.client_value
|
||||
type keyboard_event_handler = (Dom_html.keyboardEvent Js.t -> unit) Eliom_lib.client_value
|
||||
@@ -133,11 +132,11 @@ module Xml = struct
|
||||
let biggest_event_handler_attrib name cf =
|
||||
internal_event_handler_attrib name (event_handler cf)
|
||||
let event_handler_attrib name (cf : event_handler) =
|
||||
- biggest_event_handler_attrib name (cf :> biggest_event_handler)
|
||||
+ biggest_event_handler_attrib name cf
|
||||
let mouse_event_handler_attrib name (cf : mouse_event_handler) =
|
||||
- biggest_event_handler_attrib name (cf :> biggest_event_handler)
|
||||
+ biggest_event_handler_attrib name cf
|
||||
let keyboard_event_handler_attrib name (cf : keyboard_event_handler) =
|
||||
- biggest_event_handler_attrib name (cf :> biggest_event_handler)
|
||||
+ biggest_event_handler_attrib name cf
|
||||
|
||||
let client_attrib ?init (x : attrib Eliom_lib.client_value) =
|
||||
let crypto = make_cryptographic_safe_string () in
|
||||
Index: eliom-5.0.0/src/lib/eliom_content_core.server.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_content_core.server.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_content_core.server.mli
|
||||
@@ -28,7 +28,7 @@ module Xml : sig
|
||||
and type mouse_event_handler = (Dom_html.mouseEvent Js.t -> unit) Eliom_lib.client_value
|
||||
and type keyboard_event_handler = (Dom_html.keyboardEvent Js.t -> unit) Eliom_lib.client_value
|
||||
|
||||
- type -'a caml_event_handler constraint 'a = #Dom_html.event
|
||||
+ type caml_event_handler
|
||||
|
||||
(**/**)
|
||||
|
||||
@@ -43,15 +43,9 @@ module Xml : sig
|
||||
val make_event_handler_table : elt -> Eliom_lib.RawXML.event_handler_table
|
||||
val make_client_attrib_table : elt -> Eliom_lib.RawXML.client_attrib_table
|
||||
|
||||
- class type biggest_event = object
|
||||
- inherit Dom_html.event
|
||||
- inherit Dom_html.mouseEvent
|
||||
- inherit Dom_html.keyboardEvent
|
||||
- end
|
||||
-
|
||||
type internal_event_handler =
|
||||
| Raw of string
|
||||
- | Caml of biggest_event caml_event_handler
|
||||
+ | Caml of caml_event_handler
|
||||
|
||||
val internal_event_handler_attrib : aname -> internal_event_handler -> attrib
|
||||
val internal_event_handler_of_service :
|
||||
@@ -59,12 +53,14 @@ module Xml : sig
|
||||
* (bool * string list) option
|
||||
* string option) option Eliom_lazy.request -> internal_event_handler
|
||||
|
||||
- val caml_event_handler : ((#Dom_html.event as 'a) Js.t -> unit) Eliom_lib.client_value -> 'a caml_event_handler
|
||||
+ val caml_event_handler :
|
||||
+ (Dom_html.event Js.t -> unit) Eliom_lib.client_value ->
|
||||
+ caml_event_handler
|
||||
|
||||
type racontent =
|
||||
| RA of acontent
|
||||
| RAReact of acontent option React.signal
|
||||
- | RACamlEventHandler of biggest_event caml_event_handler
|
||||
+ | RACamlEventHandler of caml_event_handler
|
||||
| RALazyStr of string Eliom_lazy.request
|
||||
| RALazyStrL of separator * string Eliom_lazy.request list
|
||||
| RAClient of string * attrib option * Eliom_lib.poly
|
||||
Index: eliom-5.0.0/src/lib/eliom_lib_base.shared.ml
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_lib_base.shared.ml
|
||||
+++ eliom-5.0.0/src/lib/eliom_lib_base.shared.ml
|
||||
@@ -70,26 +70,22 @@ module RawXML = struct
|
||||
|
||||
type cookie_info = (bool * string list) deriving (Json)
|
||||
|
||||
- type -'a caml_event_handler =
|
||||
+ type caml_event_handler =
|
||||
| CE_registered_closure of
|
||||
string * poly (* 'a Js.t -> unit) client_value *)
|
||||
| CE_client_closure of
|
||||
- ((#Dom_html.event as 'a) Js.t -> unit) (* Client side-only *)
|
||||
+ (Dom_html.event Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_mouse of
|
||||
+ (Dom_html.mouseEvent Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_keyboard of
|
||||
+ (Dom_html.keyboardEvent Js.t -> unit) (* Client side-only *)
|
||||
| CE_call_service of
|
||||
([ `A | `Form_get | `Form_post] * (cookie_info option) * string option)
|
||||
option Eliom_lazy.request
|
||||
|
||||
- (* Inherit from all events.
|
||||
- Necessary for subtyping since caml_event_handler is contravariant. *)
|
||||
- class type biggest_event = object
|
||||
- inherit Dom_html.event
|
||||
- inherit Dom_html.mouseEvent
|
||||
- inherit Dom_html.keyboardEvent
|
||||
- end
|
||||
-
|
||||
type internal_event_handler =
|
||||
| Raw of string
|
||||
- | Caml of biggest_event caml_event_handler
|
||||
+ | Caml of caml_event_handler
|
||||
|
||||
type uri = string Eliom_lazy.request
|
||||
let string_of_uri = Eliom_lazy.force
|
||||
@@ -128,7 +124,7 @@ module RawXML = struct
|
||||
type racontent =
|
||||
| RA of acontent
|
||||
| RAReact of acontent option React.signal
|
||||
- | RACamlEventHandler of biggest_event caml_event_handler
|
||||
+ | RACamlEventHandler of caml_event_handler
|
||||
| RALazyStr of string Eliom_lazy.request
|
||||
| RALazyStrL of separator * string Eliom_lazy.request list
|
||||
| RAClient of string * attrib option * poly (*attrib client_value *)
|
||||
Index: eliom-5.0.0/src/lib/eliom_lib_base.shared.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_lib_base.shared.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_lib_base.shared.mli
|
||||
@@ -73,24 +73,21 @@ module RawXML : sig
|
||||
|
||||
type cookie_info = (bool * string list) deriving (Json)
|
||||
|
||||
- type -'a caml_event_handler =
|
||||
+ type caml_event_handler =
|
||||
| CE_registered_closure of
|
||||
string * poly (* 'a Js.t -> unit) client_value *)
|
||||
- | CE_client_closure of ((#Dom_html.event as 'a) Js.t -> unit)
|
||||
+ | CE_client_closure of
|
||||
+ (Dom_html.event Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_mouse of
|
||||
+ (Dom_html.mouseEvent Js.t -> unit) (* Client side-only *)
|
||||
+ | CE_client_closure_keyboard of
|
||||
+ (Dom_html.keyboardEvent Js.t -> unit) (* Client side-only *)
|
||||
| CE_call_service of
|
||||
([ `A | `Form_get | `Form_post] * (cookie_info option) * string option) option Eliom_lazy.request
|
||||
|
||||
- (* Inherit from all events.
|
||||
- Necessary for subtyping since caml_event_handler is contravariant. *)
|
||||
- class type biggest_event = object
|
||||
- inherit Dom_html.event
|
||||
- inherit Dom_html.mouseEvent
|
||||
- inherit Dom_html.keyboardEvent
|
||||
- end
|
||||
-
|
||||
type internal_event_handler =
|
||||
| Raw of string
|
||||
- | Caml of biggest_event caml_event_handler
|
||||
+ | Caml of caml_event_handler
|
||||
|
||||
type uri = string Eliom_lazy.request
|
||||
val string_of_uri : uri -> string
|
||||
@@ -127,7 +124,7 @@ module RawXML : sig
|
||||
type racontent =
|
||||
| RA of acontent
|
||||
| RAReact of acontent option React.signal
|
||||
- | RACamlEventHandler of biggest_event caml_event_handler
|
||||
+ | RACamlEventHandler of caml_event_handler
|
||||
| RALazyStr of string Eliom_lazy.request
|
||||
| RALazyStrL of separator * string Eliom_lazy.request list
|
||||
| RAClient of string * attrib option * poly (* attrib client_value *)
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MONSIEURP
|
||||
MODULE_VERSION=0.003000
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Readily merge Pull Requests from the Gentoo Github repository"
|
||||
HOMEPAGE="https://github.com/monsieurp/Gentoo-App-Pram"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
dev-perl/Module-Build-Tiny
|
||||
dev-perl/File-Which
|
||||
dev-vcs/git
|
||||
${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST Gentoo-App-Pram-0.001000.tar.gz 4412 SHA256 f6151a53dd261e0059856da5d9d73740e03a82f74ef00842ffbe0b849e912221 SHA512 9bd7c03220d42c05d0d2c3109160ccb6062bb8713b324d6819745bcd61a72691afc010d70e1aeb26ad4930990dbe16627098329ba415ef76babcbe5518fa8fe9 WHIRLPOOL 5ef2f841fb38aab855903e07c93dcf09344263f1d7675ed5587a9fdb696008143a7236f7cf59f4730d048396a8555f2bc857cfeb96f863132383e26aba66bf15
|
||||
DIST Gentoo-App-Pram-0.003000.tar.gz 11035 SHA256 c7731bc329204844f8fe5be6ca60d478bc619a3b071c29fc8fe3ec000f4dfbea SHA512 beebd27fa63f45308cfe9e43a392f33157556bd427a350d16b13d4c953f09d14737260226e1804ef10d597437cbb57301c7ea7595c2a947889563b7bc5142310 WHIRLPOOL 5abbc0d6871f64d180a3c6d462b866a9f6ca7ac6689339e56922b5d519c310a702034c8990e5868b7b27c869fe44ebb9f6270fe3f50a57b5ea1fb368dbaecfb0
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST dnspython-1.12.0.tar.gz 135164 SHA256 03fb82af866001c4afa58c48027bcc4b80bbf0a7f27e1d861cf06393eea4724f SHA512 583d069ed7ee9b20f16a964023fa0300f15032c27de6d084205f73394f19a2d5bb1641ef95b08a8ddf1f622eeb5fa8cbfa62b8a2ee478a49b0dff0995e4ae42e WHIRLPOOL abf515aad901b0c752a0f133c293654f60750522cee69985126547602f321f6577e135077cbfa330a30fbc838b125af30b75cbb4f8fdd60d1444b0bd2446bb39
|
||||
DIST dnspython-1.15.0.zip 252157 SHA256 40f563e1f7a7b80dc5a4e76ad75c23da53d62f1e15e6e517293b04e1f84ead7c SHA512 942f7cf083d1b0a9f03f040ceca194c38777f2e40862c388051986112b3f2a4a8426733ff46ec5a155319776e4a856412c3430b052b2f92f251f0e3260eb9bc1 WHIRLPOOL 83c43d0a53c514d91c096a3f7a761f47583ffb79dde9c233fd063f5b556287671d6012267239c1271696cf2b5e8965525b6612721781749bcdabb484f0dc5d5f
|
||||
DIST dnspython3-1.12.0.zip 226945 SHA256 e9630946207864c7a780798809cd2ec9c6bbde6ac88b97a2fda66f018eec1c8d SHA512 02c61eb91c2e872f2c8fa0e09b88d593a067130b5ac3ea6eabd0abec413ecb6d3b7d5472ca502334f4c441af249511109006ae6a7b41d36ba1db3e777971b3ae WHIRLPOOL d3624f8545c607441931dcc71a1e43c83df6e1bd938222d52c8d798b342c4faf15f200bf1da7ea1fd59d2fe96e82644b22c8815764bf7d6304573deee6261f5a
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="http://www.dnspython.org/ https://pypi.python.org/pypi/dnspython"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
app-arch/unzip"
|
||||
|
||||
# For testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
"${PYTHON}" utest.py || die "tests failed under ${EPYTHON}"
|
||||
einfo "Testsuite passed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
DIST pygit2-0.20.3.tar.gz 141887 SHA256 2957db7d9616db910e9274051fbfe66a496b910113548fbf2a7acdeef01e9ef9 SHA512 13355f2eccb591c7e1e18f66724aa0b68b94e65580aa20464e8669a8f54844557902f029127a9c5e50c3d4dafdc504f1d3aca65c0d26d9f147ff08eab2b002dc WHIRLPOOL a4496cb3dd2799c77240e1eae9c06f167727cb5948081da6f8864feb5ab38a046f8382e994dd3cdf28f4ac8b9e7675b3671b4369a8268f7f09b3c11d3e8bee3d
|
||||
DIST pygit2-0.21.4.tar.gz 417750 SHA256 1952332b48e87e918bc807305220075bfb611c96fbc529a43c78d73fdce25593 SHA512 835369ec9302d27ed361ccf3317fece4192e765c5e6e014ed6dd87cba38fe833eff3ba36558aa2951f42542408e3dba07777937aedaf539583db4454198d3112 WHIRLPOOL 90204b7dd28216ddfa82667e246bdaf154b19753b6382b7467a3cae85140a4672342045ba2713ba0eba8e0add5b6facd2ae4f72a0214d3eca0b49acccf14744f
|
||||
DIST pygit2-0.22.1.tar.gz 451351 SHA256 54b6e229ca2bf87efe4b5b8279d8f355b8c49613f0b8cbe7e0c1c98c001c39e0 SHA512 8ffcea4a94ca4667112b79e4adda43a75a9b677e609af528f79d4e6f8e84873a4c8478b89743d1de35d28ae00b1254e2287cd912776d96e3bf6a0030477e86a3 WHIRLPOOL 8eeec7ae2bc29264022f59067f93cb5375ead2285a30c27bd9f0c48c1be2b308c5413a3b3b8ede4a9be152727978971b0a6d2f23aeafc7f985ee0eeaf29aa72b
|
||||
DIST pygit2-0.23.0.tar.gz 453779 SHA256 90101a7a4b3c3563662c4047d5b6c52d84d9150570a7262e88892c604545dcb2 SHA512 904b0c35a44529373e308dea9e8147874688685c881a5a611e4e2b095737e5f15fffa4dc892d9d276ece4f787a9df8d55fb41cc9e9dd0c1961ea6a480b6ecb43 WHIRLPOOL e3a5c112ea0863a84bfae2295a6371ec7a7712f8c56bf2be75823fe71419716d6b63d6b23c9e0c36b827e95c950eee96b06fe422b08b76e464a80b5a121a0db9
|
||||
DIST pygit2-0.23.3.tar.gz 467484 SHA256 aaff3646ac2e19fe9c2b022a85f91814698c7573f3a962dedcf3da9cdecc47c5 SHA512 8da98b254fc000987acf65ac118ba38ce8eb91345fa6540c22e8e8d304f1c4f3a92db6fb90e6641f69c58622cbda7c75401644237184cf02d03aeff7300dc593 WHIRLPOOL 4a00c6e4708f8d12dee4fd5a9ae2e1e98343daec1598f04d2890574334e9e7849249b73cca998e60256b633aee575f031560948e64ffa1e9dbb8860226e4e46c
|
||||
DIST pygit2-0.24.1.tar.gz 468951 SHA256 4d1d0196b38d6012faf0a7c45e235c208315672b6035da504566c605ba494064 SHA512 517f32e3be5684f3ea521419608dd1e61ebe7a052ccf8da0b8ddf79022971966dfa87b8b7aae5280fdcecafb2cbb05d951a9f647c83d65f61fea3d64949eff59 WHIRLPOOL 1c7e34097eb79812a67c2b84191eedb44d6850951a2088a6b88c5651339ff28d1566fde42b96ddc40be6c2851513129819983197f80601865f06d49ed3b73a1d
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
DESCRIPTION="Python bindings for libgit2"
|
||||
HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.python.org/pypi/pygit2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
=dev-libs/libgit2-$(get_version_component_range 1-2)*
|
||||
dev-python/cffi:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pylast-1.0.0.tar.gz 29099 SHA256 948bc9efb2e2785db8c303cc6559358b943538cc45f902838db770b84843d605 SHA512 1d6183596ff994f37722be493e22c65a2c441f5890b539fd9e19d515a5a38afc7017524600903879a8c76b938a52dec6ef4753c0e01dd59bae4e1596962755a0 WHIRLPOOL fd81c5143574f7685383719d76db67b24dbf78d387f3f73846ee2fc2433bf1ea65b1d35961b8f9424fb083f42872bb150e505cbfda93134fcb4509a74d8a8980
|
||||
DIST pylast-1.6.0.tar.gz 41307 SHA256 6bf325ee0fdeb35780554843cf64df99304abb98c5ce2e451c0df7e95e08b42e SHA512 2e47eca2282da8637d5fc79b8fc6784f6f7e9c88975f10e5f162be1445f81dbce0a01c6d7e8ff14162bc3b48a8a4171bf4c81239b17fb08ea5c6b1eaf432f18f WHIRLPOOL f76dbae7326c2b973c8ac1e68e4f31145e449a37d5a342f7ab551cdc737fe529bf9839b05f74d67805bd97aa66f7808a56abea6f57bf0e74390a33d59aa07179
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python interface to last.fm and other api-compatible websites"
|
||||
HOMEPAGE="https://github.com/pylast/pylast"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# As the testing requires a last.fm account and online access it is restricted
|
||||
RESTRICT="test"
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
|
||||
HOMEPAGE="http://gofreerange.com/mocha/docs/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/metaclass-0.0*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
export MOCHA_NO_DOCS=true
|
||||
each_fakegem_test
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A ruby parser written in pure ruby"
|
||||
HOMEPAGE="https://github.com/seattlerb/ruby_parser"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/sexp_processor-4.7.0:4
|
||||
!<dev-ruby/ruby_parser-2.3.1-r1"
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 )"
|
||||
|
||||
DEPEND+=" test? ( dev-util/unifdef )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove reference to perforce method that is not in a released
|
||||
# version of hoe-seattlerb.
|
||||
#sed -i -e '/perforce/d' Rakefile || die
|
||||
sed -i -e '/license/d' Rakefile || die
|
||||
sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST cmocka-0.3.1.tar.gz 100606 SHA256 4b6c61a4d880a66c4d6b3de2f488273394f4455722cd0bd7c5b8d19e21881e25 SHA512 906b977eeaf208b086a65866897b22450abb05040778959f485e616d85149e6c331426550f9478addf1034aed4df4938ed421e60b1980b1955a08421104b639a WHIRLPOOL bfc188d4208036ae92eccc6e10ac6e5f8991bf1ed60167c2edda9d1a55f34b17429bbec0f7186de6f365f1f87fc7dc428300a83251857d860b805c6a7072a963
|
||||
DIST cmocka-0.4.1.tar.xz 68688 SHA256 5bba53c108a693d1cad33a2edd2ee36b0cb7ea0d9b1b94b608784d41f7fec803 SHA512 355334dbdfcda88d37bd2c60a9e714567632e481423fc45627f72a2fe13e2498152c61ad67c83da3cff7843e3e64c6bd4b806240ab714a2420c974a98a7fed96 WHIRLPOOL 52d7b51d3ae2716f0e21a7763678e3755024eba4734f44c0f719979887efa019e0d55b91c68670ab59eee6487c5d5a28c509fee472e92bcf9591210a3952f86a
|
||||
DIST cmocka-1.0.1.tar.xz 80240 SHA256 b36050d7a1224296803d216cba1a9d4c58c31bf308b2d6d6649d61aa5a36753b SHA512 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e WHIRLPOOL c733d08a4907242bce6e8fb6989934fa8c9ae333a6c9a746c8824001722a7897cebdf8c0501bfb22d2ad29536ab32b0d004e327a1ce7b7740c9d24c6a453d6f9
|
||||
DIST cmocka-1.1.0.tar.xz 85132 SHA256 e960d3bf1be618634a4b924f18bb4d6f20a825c109a8ad6d1af03913ba421330 SHA512 b45b6c6bf6c1a0e12cbbfa203afc0172aa53215e0bd43a21b30db04c0490609a7a262f1b4d87be9df0c5c486c4f4891d3432e0e053418d373d9750a6cf5adf70 WHIRLPOOL 972f1fec0c850beac388d9c8e8ff549dd4fad086fd73463df3f718f81ed84e6b47cf3e9aee184c0d25aaa6bb8b86167113b7b24b4f3a1f90371b9a446a02b1db
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="A unit testing framework for C"
|
||||
HOMEPAGE="http://cmocka.org/"
|
||||
SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
DEPEND="
|
||||
doc? ( app-doc/doxygen[latex] )
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with static-libs STATIC_LIB)
|
||||
$(cmake-utils_use test UNIT_TESTING)
|
||||
$(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
|
||||
|| echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi && use doc; then
|
||||
pushd doc || die
|
||||
doxygen Doxyfile || die
|
||||
rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die
|
||||
dohtml html/*
|
||||
dodoc latex/*
|
||||
doman man/man3/*.3
|
||||
popd || die
|
||||
fi
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1,687 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
||||
Exception
|
||||
|
||||
In addition, as a special exception, the copyright holders give permission
|
||||
to link the code of portions of this program with the OpenSSL library under
|
||||
certain conditions as described in each individual source file, and distribute
|
||||
linked combinations including the two.
|
||||
You must obey the GNU General Public License in all respects for all of the
|
||||
code used other than OpenSSL. If you modify file(s) with this exception, you
|
||||
may extend this exception to your version of the file(s), but you are not
|
||||
obligated to do so. If you do not wish to do so, delete this exception
|
||||
statement from your version. If you delete this exception statement from all
|
||||
source files in the program, then also delete it here.
|
@ -1,4 +1,4 @@
|
||||
DIST ImageMagick-6.9.5-10.tar.xz 8794440 SHA256 2805ab7945ca92251172335da992df800bcc09fee993eeb4711b20c53efeb233 SHA512 7ee467cf8b1776300c12f135c7fea73afe888d4592c2008e76e578afa436efadccc62e7f2fd9d356aeb8559cc5ff9168ee477bab5474f7495a332756aba294bb WHIRLPOOL 3105e524182f81d1210fd3f56c3457259c04d3d95d5a5a118f0854dd5f5851e43c70256f915221a0c3dd772e344fc5d9e1d36c3d2b77fccde68d70f66471c299
|
||||
DIST ImageMagick-6.9.6-0.tar.xz 8785676 SHA256 7905cd179e1d0fabdf58fca77a682ed68443999bfd6e0941f93bf9c08218e5e4 SHA512 be8953be1fa7b66cb914b44a8e21ee5551f9f7537a9da2593b5e8d7a512a07dc9fdd2097fb455444e2cb0e3b94e2161ba7557ea612b9a51740a986c5098afb04 WHIRLPOOL 6db8f0b196c42d39ab667d38d4fd6c922b727e77fa7f87f2e782b6237135774f1ed4a17dea723ad2f324bbd35384bf1069a003dec8c288575b8ff3551aef15b0
|
||||
DIST ImageMagick-6.9.6-1.tar.xz 8785568 SHA256 cf9486439ca05e5e0e3738647f077d207c3812a4c5f3925240e0c042010bcc5b SHA512 b81b52a31d8d0af72495daa8b5c158a2f6f98c8e1014833858deeadf09e818cc50244dca8a0a21f9f86669d1033945bd2348e42b886c5da79b745ac837aa3fa2 WHIRLPOOL c507afc3016f06620526af5249c1c643f4b845e4a94a2cf5b5baa88949ad42183ebbb2d7f75aa803c297873aa8d45ec7ae47fe38ef05f5397ef936cfaa7c71f4
|
||||
DIST ImageMagick-7.0.3-2.tar.xz 8292420 SHA256 d9ff718c09b88216aa3fba2f3f251b171b9e74fbda9e9e38a581ef3e4af8b363 SHA512 3d7dc8097005cb541e59ebe40dac08059ce8a7087c0ce47f1d42c14b50000e373425df4f6261b48362932df993ac78e56a84ad89ad971205320d30fb1a5e54e6 WHIRLPOOL c45a30e90a955902fa0816047c9e80d5b50877dc7d4b49658f06fd8f7f067864715fc01e018ce3fe8e5d73cb6a0b3cd36fb25a5adc07b26a63acb0cd43e460f6
|
||||
DIST ImageMagick-6.9.6-2.tar.xz 8784120 SHA256 39244823fe736626fb4ea22c4b6cb4cae30c6a27a38a02ecd774f0ce3c4d308d SHA512 7d639684474eb5da7fc85adba0977d81252eca92d671ce1d16863e4e66118b0231f9c926b1adf2623fb029b3663715217c60f97b852915c105b4ec92f5cb4df1 WHIRLPOOL ad735cddb6d5a53d989124abf98c39f29bb291b15b98b84f2691b9ab432a703ca2ee2ca479147809762d315babd519c5252a9c742c26385997d24c3ed5e57645
|
||||
DIST ImageMagick-7.0.3-4.tar.xz 8291304 SHA256 86a1f04077de2b1486a93088030b010780067b25ab0284560435e2f458e247ca SHA512 b3934867fae86c9d6257aaab32fad6ad9cacd217bdffa6bb218966d8a9b739c463b43b4f704c323707dd04b70a673bed8df94163d822a222323c77125a6ebd61 WHIRLPOOL 2bba31c20450080bc9d164927200a294b208884108b0d6aa00f4c58d5fe4b92169c80e6c5952dea3d6495be4db8a95791753525765f69795640cfd1cefe18466
|
||||
|
@ -0,0 +1,620 @@
|
||||
* Fix completely broken build system
|
||||
* Change pdf+examples installation directory
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,6 +1,7 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(OpenEXR, 2.2.0)
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AC_SUBST(OPENEXR_VERSION_MAJOR, 2)
|
||||
AC_SUBST(OPENEXR_VERSION_MINOR, 2)
|
||||
@@ -11,9 +12,8 @@
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
AC_CONFIG_SRCDIR(IlmImfTest/main.cpp)
|
||||
-AC_CONFIG_HEADER(config/OpenEXRConfig.h)
|
||||
-AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
|
||||
-AM_MAINTAINER_MODE
|
||||
+AC_CONFIG_HEADERS([config/OpenEXRConfig.h])
|
||||
+AM_INIT_AUTOMAKE
|
||||
|
||||
|
||||
LIBTOOL_CURRENT=22
|
||||
@@ -27,46 +27,21 @@
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_CC
|
||||
AC_PROG_LN_S
|
||||
-AC_PROG_LIBTOOL
|
||||
+LT_INIT
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl
|
||||
dnl PKGCONFIG preparations
|
||||
dnl
|
||||
-
|
||||
-if test -z "${PKG_CONFIG_PATH}"; then
|
||||
- PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
|
||||
-fi
|
||||
-
|
||||
-LIB64_IF_EXISTS=""
|
||||
-if [[ -e /usr/lib64 ]]; then
|
||||
- LIB64_IF_EXISTS="-L/usr/lib64"
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-export PKG_CONFIG_PATH
|
||||
-
|
||||
-dnl
|
||||
-dnl get ccflags and libs from openexr packages, then check
|
||||
-dnl whether test programs compile
|
||||
-AM_PATH_PKGCONFIG(
|
||||
- [ILMBASE_CXXFLAGS],
|
||||
- [ILMBASE_LDFLAGS],
|
||||
- [ILMBASE_LIBS],
|
||||
- [IlmBase],
|
||||
- [OpenEXR],
|
||||
- [$LIB64_IF_EXISTS -L/usr/local/lib],
|
||||
- [-lImath -lHalf -lIex -lIlmThread -lpthread],
|
||||
- [ilmbase-prefix])
|
||||
+PKG_CHECK_MODULES([ILMBASE], [IlmBase])
|
||||
|
||||
|
||||
dnl Define the version string
|
||||
-AC_DEFINE_UNQUOTED(OPENEXR_VERSION_STRING, "${VERSION}")
|
||||
-AC_DEFINE_UNQUOTED(OPENEXR_PACKAGE_STRING, "${PACKAGE_STRING}")
|
||||
-AC_DEFINE_UNQUOTED(OPENEXR_VERSION_MAJOR, ${OPENEXR_VERSION_MAJOR})
|
||||
-AC_DEFINE_UNQUOTED(OPENEXR_VERSION_MINOR, ${OPENEXR_VERSION_MINOR})
|
||||
-AC_DEFINE_UNQUOTED(OPENEXR_VERSION_PATCH, ${OPENEXR_VERSION_PATCH})
|
||||
+AC_DEFINE_UNQUOTED([OPENEXR_VERSION_STRING], [${VERSION}], [OpenEXR version string])
|
||||
+AC_DEFINE_UNQUOTED([OPENEXR_PACKAGE_STRING], [${PACKAGE_STRING}], [OpenEXR version string])
|
||||
+AC_DEFINE_UNQUOTED([OPENEXR_VERSION_MAJOR], [${OPENEXR_VERSION_MAJOR}], [OpenEXR version string])
|
||||
+AC_DEFINE_UNQUOTED([OPENEXR_VERSION_MINOR], [${OPENEXR_VERSION_MINOR}], [OpenEXR version string])
|
||||
+AC_DEFINE_UNQUOTED([OPENEXR_VERSION_PATCH], [${OPENEXR_VERSION_PATCH}], [OpenEXR version string])
|
||||
|
||||
|
||||
dnl --enable-threading
|
||||
@@ -75,19 +50,16 @@
|
||||
[enable multi-threading [[default=yes]]]),
|
||||
[multithread="${enableval}"], [multithread=yes])
|
||||
|
||||
-if test x$PKG_CONFIG == xno && test "x${multithread}" != xno ; then
|
||||
- ACX_PTHREAD(
|
||||
- [
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_PTHREAD)
|
||||
- ILMBASE_LIBS="$PTHREAD_LIBS $ILMBASE_LIBS"
|
||||
- ILMBASE_CXXFLAGS="$ILMBASE_CXXFLAGS $PTHREAD_CFLAGS"
|
||||
- CC="$PTHREAD_CC"
|
||||
-
|
||||
- AM_POSIX_SEM()
|
||||
- ],
|
||||
- [AC_MSG_ERROR([POSIX thread support required])])
|
||||
- AC_MSG_NOTICE([multithread true, LIBS = $LIBS, CC = $CC, CXXFLAGS = $CXXFLAGS])
|
||||
-fi
|
||||
+AS_IF([test "x${multithread}" != xno], [
|
||||
+ AX_PTHREAD
|
||||
+
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_PTHREAD], [1], [Define if pthreads are available])
|
||||
+
|
||||
+ CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
||||
+ CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}"
|
||||
+ LIBS="${LIBS} ${PTHREAD_CFLAGS}"
|
||||
+])
|
||||
+
|
||||
|
||||
dnl --enable-large-stack
|
||||
case "$host" in
|
||||
@@ -110,21 +82,25 @@
|
||||
esac
|
||||
|
||||
if test "x${large_stack}" != xno ; then
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_LARGE_STACK)
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_LARGE_STACK], [1], [Define if large stack sizes are supported])
|
||||
fi
|
||||
|
||||
-AM_COMPILELINKRUN(
|
||||
- [IlmBase],
|
||||
- [ilmbasetest],
|
||||
- [$ILMBASE_CXXFLAGS],
|
||||
- [$ILMBASE_LDFLAGS],
|
||||
- [$ILMBASE_LIBS],[[
|
||||
-#include <stdlib.h>
|
||||
-#include <ImathFun.h>
|
||||
-]],
|
||||
- [[double d = IMATH_NAMESPACE::succd(.23); d+= .2;]],
|
||||
- AC_MSG_RESULT([Compiled and ran IlmBase test program.]),
|
||||
- AC_MSG_ERROR([Could not compile IlmBase test program.]))
|
||||
+
|
||||
+
|
||||
+save_CXXFLAGS="${CXXFLAGS}"
|
||||
+save_LIBS="${LIBS}"
|
||||
+CXXFLAGS="${save_CXXFLAGS} ${ILMBASE_CFLAGS}"
|
||||
+LIBS="${save_LIBS} ${ILMBASE_LIBS}"
|
||||
+AC_LINK_IFELSE([
|
||||
+ AC_LANG_PROGRAM([[
|
||||
+ #include <stdlib.h>
|
||||
+ #include <ImathFun.h>
|
||||
+ ]], [[
|
||||
+ double d = IMATH_NAMESPACE::succd(.23); d+= .2;
|
||||
+ ]])
|
||||
+])
|
||||
+CXXFLAGS="${save_CXXFLAGS}"
|
||||
+LIBS="${save_LIBS}"
|
||||
|
||||
|
||||
dnl Checks for header files.
|
||||
@@ -137,74 +113,27 @@
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
dnl Checks for zlib
|
||||
-AC_CHECK_LIB(z, compress,
|
||||
- [:],
|
||||
- [AC_MSG_ERROR([
|
||||
-*** OpenEXR requires a recent version of zlib, which you don't appear to
|
||||
-*** have.
|
||||
-***
|
||||
-*** This could be because the run-time linker is not finding zlib, or it
|
||||
-*** is finding the wrong version. In this case, you'll need to set your
|
||||
-*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
|
||||
-*** to the proper version. Also, make sure you have run ldconfig if
|
||||
-*** that is required on your system.
|
||||
- ])]
|
||||
-)
|
||||
+PKG_CHECK_MODULES([ZLIB], [zlib])
|
||||
+
|
||||
+
|
||||
+dnl We use a modern toolchain, don't care
|
||||
+dnl about ancient broken stuff
|
||||
+AC_DEFINE([OPENEXR_IMF_HAVE_COMPLETE_IOMANIP], [1], [Define when std::right is available])
|
||||
|
||||
-dnl Checks for std::right etc. in iomanip
|
||||
-AC_MSG_CHECKING(for complete iomanip support in C++ standard library)
|
||||
-complete_iomanip="no"
|
||||
-AC_LANG_SAVE
|
||||
-AC_LANG_CPLUSPLUS
|
||||
-AC_TRY_COMPILE([#include <iomanip>],[
|
||||
-
|
||||
- std::right;
|
||||
-],
|
||||
-AC_DEFINE(OPENEXR_IMF_HAVE_COMPLETE_IOMANIP) complete_iomanip=yes)
|
||||
-AC_MSG_RESULT($complete_iomanip)
|
||||
-AC_LANG_RESTORE
|
||||
-
|
||||
-
|
||||
-AC_MSG_CHECKING(for gcc optimization flags)
|
||||
-old_cflags=$CFLAGS
|
||||
-CFLAGS="$CFLAGS -pipe"
|
||||
-AC_TRY_COMPILE([#include <stdio.h>],
|
||||
-[ printf ("hello, world"); ],
|
||||
-[ EXTRA_OPT_CFLAGS="-pipe"],[ EXTRA_OPT_CFLAGS=""])
|
||||
-CFLAGS=$old_cflags
|
||||
-AC_MSG_RESULT([$EXTRA_OPT_CFLAGS])
|
||||
|
||||
dnl Check to see if the toolset supports AVX instructions in inline asm
|
||||
-AC_MSG_CHECKING(for AVX instructions in GCC style inline asm)
|
||||
-gcc_inline_asm_avx="no"
|
||||
-AC_COMPILE_IFELSE(
|
||||
- [
|
||||
- AC_LANG_PROGRAM([],
|
||||
- [
|
||||
- #if defined(__GNUC__) && defined(__SSE2__)
|
||||
- int n = 0;
|
||||
- int eax = 0;
|
||||
- int edx = 0;
|
||||
- __asm__(
|
||||
- "xgetbv \n"
|
||||
- "vzeroupper "
|
||||
- : "=a"(eax), "=d"(edx) : "c"(n) : );
|
||||
- #else
|
||||
- #error No GCC style inline asm supported for AVX instructions
|
||||
- #endif
|
||||
- ])
|
||||
- ],
|
||||
- [
|
||||
- gcc_inline_asm_avx="yes"
|
||||
- ],
|
||||
- [
|
||||
- gcc_inline_asm_avx="no"
|
||||
- ]
|
||||
-)
|
||||
-AC_MSG_RESULT([$gcc_inline_asm_avx])
|
||||
-if test "x${gcc_inline_asm_avx}" == xyes ; then
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX)
|
||||
-fi
|
||||
+AC_ARG_ENABLE([avx],
|
||||
+ AS_HELP_STRING([--enable-avx], [Enable avx optimization]))
|
||||
+
|
||||
+AS_IF([test "x$enable_avx" = "xyes"], [
|
||||
+ dnl Enable AVX
|
||||
+ gcc_inline_asm_avx="yes"
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX], [1], [Define if AVX is available])
|
||||
+], [
|
||||
+ dnl Disable AVX
|
||||
+ gcc_inline_asm_avx="no"
|
||||
+])
|
||||
+
|
||||
|
||||
dnl Check if sysconf(_SC_NPROCESSORS_ONLN) can be used for CPU count
|
||||
AC_MSG_CHECKING([for sysconf(_SC_NPROCESSORS_ONLN)])
|
||||
@@ -221,16 +150,16 @@
|
||||
)
|
||||
AC_MSG_RESULT([$sysconf_nproc])
|
||||
if test "x${sysconf_nproc}" == xyes ; then
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN)
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN], [1], [Define if sysconf(_SC_NPROCESSORS_ONLN) can be used for CPU count])
|
||||
fi
|
||||
|
||||
dnl Platform-specific stuff
|
||||
case "$host" in
|
||||
*linux*)
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_LINUX_PROCFS)
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_LINUX_PROCFS], [1], [Define if procfs is available])
|
||||
;;
|
||||
*darwin*)
|
||||
- AC_DEFINE(OPENEXR_IMF_HAVE_DARWIN)
|
||||
+ AC_DEFINE([OPENEXR_IMF_HAVE_DARWIN], [1], [Define if on Darwin])
|
||||
|
||||
dnl OS X universal binary support, requires --disable-dependency-tracking
|
||||
AC_ARG_ENABLE(osx-universal-binaries,
|
||||
@@ -245,19 +174,13 @@
|
||||
--disable-dependency-tracking --enable-osx-universal-binary
|
||||
])
|
||||
fi
|
||||
- CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
|
||||
+ dnl CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
|
||||
dnl LDFLAGS="$LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
|
||||
fi
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
-AM_CFLAGS="$EXTRA_OPT_CFLAGS"
|
||||
-AM_CXXFLAGS="$EXTRA_OPT_CFLAGS"
|
||||
-
|
||||
-AC_SUBST(AM_CFLAGS)
|
||||
-AC_SUBST(AM_CXXFLAGS)
|
||||
-
|
||||
dnl build imfexamples example program?
|
||||
build_imfexamples="no"
|
||||
AC_ARG_ENABLE(imfexamples,
|
||||
@@ -286,7 +209,7 @@
|
||||
AM_CONDITIONAL(BUILD_IMFHUGETEST, test "x$build_imfhugetest" = xyes)
|
||||
|
||||
if test "x${build_imfhugetest}" != xno ; then
|
||||
- AC_DEFINE(OPENEXR_IMF_HUGETEST)
|
||||
+ AC_DEFINE([OPENEXR_IMF_HUGETEST], [1], [Define if IlmImf huge input resilience])
|
||||
fi
|
||||
|
||||
|
||||
@@ -307,19 +230,19 @@
|
||||
|
||||
lib_namespace="Imf"
|
||||
if test "x${library_namespace_versioning}" == xyes ; then
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_INTERNAL_NAMESPACE, Imf_${OPENEXR_VERSION_API})
|
||||
- AC_DEFINE(OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_INTERNAL_NAMESPACE], [Imf_${OPENEXR_VERSION_API}], [OpenEXR])
|
||||
+ AC_DEFINE([OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM], [1], [OpenEXR])
|
||||
|
||||
lib_namespace="Imf_${OPENEXR_VERSION_API}"
|
||||
LIB_SUFFIX="${OPENEXR_VERSION_API}"
|
||||
lib_suffix_valid="yes"
|
||||
elif test "x${library_namespace_versioning}" == xno ; then
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_INTERNAL_NAMESPACE, Imf)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_INTERNAL_NAMESPACE], [Imf], [OpenEXR])
|
||||
|
||||
lib_namespace="Imf"
|
||||
else
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_INTERNAL_NAMESPACE, ${library_namespace_versioning} )
|
||||
- AC_DEFINE(OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_INTERNAL_NAMESPACE], [${library_namespace_versioning}], [OpenEXR])
|
||||
+ AC_DEFINE([OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM], [1], [OpenEXR])
|
||||
|
||||
lib_namespace="${library_namespace_versioning}"
|
||||
LIB_SUFFIX="${library_namespace_versioning}"
|
||||
@@ -349,14 +272,14 @@
|
||||
|
||||
if test "x${custom_usr_namespace}" == xyes ; then
|
||||
AC_MSG_WARN([Enabling 'custom user namespace' requires an additional argument, reverting to 'Imf'])
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_NAMESPACE, Imf)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_NAMESPACE], [Imf], [OpenEXR])
|
||||
usr_namespace="Imf"
|
||||
elif test "x${custom_usr_namespace}" == xno ; then
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_NAMESPACE, Imf)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_NAMESPACE], [Imf], [OpenEXR])
|
||||
usr_namespace="Imf"
|
||||
else
|
||||
- AC_DEFINE_UNQUOTED(OPENEXR_IMF_NAMESPACE, ${custom_usr_namespace})
|
||||
- AC_DEFINE(OPENEXR_IMF_NAMESPACE_CUSTOM)
|
||||
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_NAMESPACE], [${custom_usr_namespace}], [OpenEXR])
|
||||
+ AC_DEFINE([OPENEXR_IMF_NAMESPACE_CUSTOM], [1], [OpenEXR])
|
||||
|
||||
usr_namespace=${custom_usr_namespace}
|
||||
fi
|
||||
--- a/doc/Makefile.am
|
||||
+++ b/doc/Makefile.am
|
||||
@@ -6,5 +6,4 @@
|
||||
InterpretingDeepPixels.pdf \
|
||||
TheoryDeepPixels.pdf
|
||||
|
||||
-docdir=$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@
|
||||
doc_DATA = $(EXTRA_DIST)
|
||||
--- a/exrenvmap/Makefile.am
|
||||
+++ b/exrenvmap/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@\
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrenvmap_SOURCES = main.cpp EnvmapImage.cpp EnvmapImage.h \
|
||||
readInputImage.cpp readInputImage.h \
|
||||
--- a/exrheader/Makefile.am
|
||||
+++ b/exrheader/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrheader_SOURCES = main.cpp
|
||||
|
||||
--- a/exrmakepreview/Makefile.am
|
||||
+++ b/exrmakepreview/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@\
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrmakepreview_SOURCES = main.cpp makePreview.cpp makePreview.h
|
||||
|
||||
--- a/exrmaketiled/Makefile.am
|
||||
+++ b/exrmaketiled/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrmaketiled_SOURCES = main.cpp \
|
||||
Image.h Image.cpp \
|
||||
--- a/exrmultipart/Makefile.am
|
||||
+++ b/exrmultipart/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
-@ILMBASE_CXXFLAGS@
|
||||
+$(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
-$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
--lz
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
+ $(top_builddir)/IlmImf/libIlmImf.la \
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrmultipart_SOURCES = exrmultipart.cpp
|
||||
|
||||
--- a/exrmultiview/Makefile.am
|
||||
+++ b/exrmultiview/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrmultiview_SOURCES = main.cpp \
|
||||
Image.h Image.cpp \
|
||||
--- a/exrstdattr/Makefile.am
|
||||
+++ b/exrstdattr/Makefile.am
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
-LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
+LDADD = $(ILMBASE_LIBS) \
|
||||
$(top_builddir)/IlmImf/libIlmImf.la \
|
||||
- -lz
|
||||
+ $(ZLIB_LIBS)
|
||||
|
||||
exrstdattr_SOURCES = main.cpp CMakeLists.txt
|
||||
|
||||
--- a/IlmImf/Makefile.am
|
||||
+++ b/IlmImf/Makefile.am
|
||||
@@ -93,7 +93,7 @@
|
||||
ImfSystemSpecific.cpp ImfZip.h ImfZip.cpp
|
||||
|
||||
|
||||
-libIlmImf_la_LDFLAGS = @ILMBASE_LDFLAGS@ -version-info @LIBTOOL_VERSION@ \
|
||||
+libIlmImf_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
|
||||
-no-undefined
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
endif
|
||||
|
||||
|
||||
-libIlmImf_la_LIBADD = -lz @ILMBASE_LIBS@
|
||||
+libIlmImf_la_LIBADD = $(ZLIB_LIBS) $(ILMBASE_LIBS)
|
||||
|
||||
libIlmImfincludedir = $(includedir)/OpenEXR
|
||||
|
||||
@@ -188,20 +188,21 @@
|
||||
EXTRA_DIST = $(noinst_HEADERS) b44ExpLogTable.cpp b44ExpLogTable.h dwaLookups.cpp dwaLookups.h CMakeLists.txt
|
||||
|
||||
|
||||
-INCLUDES = @ILMBASE_CXXFLAGS@ \
|
||||
- -I$(top_builddir) \
|
||||
- -I$(top_srcdir)/config
|
||||
+INCLUDES = \
|
||||
+ -I$(top_builddir) \
|
||||
+ -I$(top_srcdir)/config \
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
CLEANFILES = b44ExpLogTable b44ExpLogTable.h dwaLookups dwaLookups.h
|
||||
|
||||
b44ExpLogTable_SOURCES = b44ExpLogTable.cpp
|
||||
-b44ExpLogTable_LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@
|
||||
+b44ExpLogTable_LDADD = $(ILMBASE_LIBS)
|
||||
|
||||
b44ExpLogTable.h: b44ExpLogTable
|
||||
./b44ExpLogTable > b44ExpLogTable.h
|
||||
|
||||
dwaLookups_SOURCES = dwaLookups.cpp
|
||||
-dwaLookups_LDADD = @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@
|
||||
+dwaLookups_LDADD = $(ILMBASE_LIBS)
|
||||
|
||||
dwaLookups.h: dwaLookups
|
||||
./dwaLookups > dwaLookups.h
|
||||
--- a/IlmImfExamples/Makefile.am
|
||||
+++ b/IlmImfExamples/Makefile.am
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf -I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
LDADD = -L$(top_builddir)/IlmImf \
|
||||
- @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
- -lIlmImf -lz
|
||||
+ $(ILMBASE_LIBS) \
|
||||
+ -lIlmImf $(ZLIB_CFLAGS)
|
||||
|
||||
imfexamples_SOURCES = main.cpp drawImage.cpp rgbaInterfaceExamples.cpp \
|
||||
rgbaInterfaceTiledExamples.cpp \
|
||||
@@ -23,7 +23,7 @@
|
||||
lowLevelIoExamples.h previewImageExamples.h \
|
||||
namespaceAlias.h
|
||||
|
||||
-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
|
||||
+examplesdir = $(docdir)/examples
|
||||
examples_DATA = $(imfexamples_SOURCES)
|
||||
|
||||
imfexamplesdir = $(examplesdir)
|
||||
--- a/IlmImfFuzzTest/Makefile.am
|
||||
+++ b/IlmImfFuzzTest/Makefile.am
|
||||
@@ -14,11 +14,11 @@
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf \
|
||||
-I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
LDADD = -L$(top_builddir)/IlmImf \
|
||||
- @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
- -lIlmImf -lz
|
||||
+ $(ILMBASE_LIBS) \
|
||||
+ -lIlmImf $(ZLIB_LIBS)
|
||||
|
||||
if BUILD_IMFFUZZTEST
|
||||
TESTS = IlmImfFuzzTest
|
||||
--- a/IlmImfTest/Makefile.am
|
||||
+++ b/IlmImfTest/Makefile.am
|
||||
@@ -62,11 +62,11 @@
|
||||
INCLUDES = -I$(top_builddir) \
|
||||
-I$(top_srcdir)/IlmImf \
|
||||
-I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
LDADD = -L$(top_builddir)/IlmImf \
|
||||
- @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
- -lIlmImf -lz
|
||||
+ $(ILMBASE_LIBS) \
|
||||
+ -lIlmImf $(ZLIB_LIBS)
|
||||
|
||||
TESTS = IlmImfTest
|
||||
|
||||
--- a/IlmImfUtil/Makefile.am
|
||||
+++ b/IlmImfUtil/Makefile.am
|
||||
@@ -20,7 +20,7 @@
|
||||
ImfImageChannelRenaming.h
|
||||
|
||||
|
||||
-libIlmImfUtil_la_LDFLAGS = @ILMBASE_LDFLAGS@ -version-info @LIBTOOL_VERSION@ \
|
||||
+libIlmImfUtil_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
|
||||
-no-undefined
|
||||
|
||||
|
||||
@@ -29,14 +29,15 @@
|
||||
endif
|
||||
|
||||
|
||||
-libIlmImfUtil_la_LIBADD = -L$(top_builddir)/IlmImf @ILMBASE_LIBS@ -lIlmImf
|
||||
+libIlmImfUtil_la_LIBADD = -L$(top_builddir)/IlmImf $(ILMBASE_LIBS) -lIlmImf
|
||||
|
||||
libIlmImfUtilincludedir = $(includedir)/OpenEXR
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt
|
||||
|
||||
-INCLUDES = @ILMBASE_CXXFLAGS@ \
|
||||
- -I$(top_builddir) \
|
||||
- -I$(top_srcdir)/IlmImf \
|
||||
- -I$(top_srcdir)/config
|
||||
+INCLUDES = \
|
||||
+ -I$(top_builddir) \
|
||||
+ -I$(top_srcdir)/IlmImf \
|
||||
+ -I$(top_srcdir)/config \
|
||||
+ $(ILMBASE_CFLAGS)
|
||||
|
||||
--- a/IlmImfUtilTest/Makefile.am
|
||||
+++ b/IlmImfUtilTest/Makefile.am
|
||||
@@ -11,12 +11,12 @@
|
||||
-I$(top_srcdir)/IlmImf \
|
||||
-I$(top_srcdir)/IlmImfUtil \
|
||||
-I$(top_srcdir)/config \
|
||||
- @ILMBASE_CXXFLAGS@
|
||||
+ $(ILMBASE_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
LDADD = -L$(top_builddir)/IlmImf \
|
||||
-L$(top_builddir)/IlmImfUtil \
|
||||
- @ILMBASE_LDFLAGS@ @ILMBASE_LIBS@ \
|
||||
- -lIlmImfUtil -lIlmImf -lz
|
||||
+ $(ILMBASE_LIBS) \
|
||||
+ -lIlmImfUtil -lIlmImf $(ZLIB_LIBS)
|
||||
|
||||
TESTS = IlmImfUtilTest
|
||||
|
@ -0,0 +1,43 @@
|
||||
Rename enum from VERSION to MYVERSION due to
|
||||
collision with VERSION from autoheader.
|
||||
|
||||
--- a/IlmImf/ImfDwaCompressor.cpp
|
||||
+++ b/IlmImf/ImfDwaCompressor.cpp
|
||||
@@ -1944,7 +1944,7 @@
|
||||
|
||||
#define OBIDX(x) (Int64 *)&_outBuffer[x * sizeof (Int64)]
|
||||
|
||||
- Int64 *version = OBIDX (VERSION);
|
||||
+ Int64 *version = OBIDX (MYVERSION);
|
||||
Int64 *unknownUncompressedSize = OBIDX (UNKNOWN_UNCOMPRESSED_SIZE);
|
||||
Int64 *unknownCompressedSize = OBIDX (UNKNOWN_COMPRESSED_SIZE);
|
||||
Int64 *acCompressedSize = OBIDX (AC_COMPRESSED_SIZE);
|
||||
@@ -2356,7 +2356,7 @@
|
||||
|
||||
const Int64 *inPtr64 = (const Int64*) inPtr;
|
||||
|
||||
- Int64 version = *(inPtr64 + VERSION);
|
||||
+ Int64 version = *(inPtr64 + MYVERSION);
|
||||
Int64 unknownUncompressedSize = *(inPtr64 + UNKNOWN_UNCOMPRESSED_SIZE);
|
||||
Int64 unknownCompressedSize = *(inPtr64 + UNKNOWN_COMPRESSED_SIZE);
|
||||
Int64 acCompressedSize = *(inPtr64 + AC_COMPRESSED_SIZE);
|
||||
@@ -3142,7 +3142,7 @@
|
||||
|
||||
|
||||
//
|
||||
-// Setup channel classification rules when reading files with VERSION < 2
|
||||
+// Setup channel classification rules when reading files with MYVERSION < 2
|
||||
//
|
||||
|
||||
void
|
||||
--- a/IlmImf/ImfDwaCompressor.h
|
||||
+++ b/IlmImf/ImfDwaCompressor.h
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
enum DataSizesSingle
|
||||
{
|
||||
- VERSION = 0, // Version number:
|
||||
+ MYVERSION = 0, // Version number:
|
||||
// 0: classic
|
||||
// 1: adds "end of block" to the AC RLE
|
||||
|
@ -0,0 +1,63 @@
|
||||
diff -Naur a/IlmImf/ImfSystemSpecific.cpp b/IlmImf/ImfSystemSpecific.cpp
|
||||
--- a/IlmImf/ImfSystemSpecific.cpp 2016-06-14 01:19:15.070511555 +0930
|
||||
+++ b/IlmImf/ImfSystemSpecific.cpp 2016-06-14 01:36:08.776496862 +0930
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "ImfSystemSpecific.h"
|
||||
#include "ImfNamespace.h"
|
||||
#include "OpenEXRConfig.h"
|
||||
+#include <cpuid.h>
|
||||
|
||||
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
|
||||
|
||||
@@ -42,19 +43,15 @@
|
||||
#if defined(IMF_HAVE_SSE2) && defined(__GNUC__)
|
||||
|
||||
// Helper functions for gcc + SSE enabled
|
||||
- void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx)
|
||||
+ void cpuid(unsigned int n, unsigned int &eax, unsigned int &ebx, unsigned int &ecx, unsigned int &edx)
|
||||
{
|
||||
- __asm__ __volatile__ (
|
||||
- "cpuid"
|
||||
- : /* Output */ "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
|
||||
- : /* Input */ "a"(n)
|
||||
- : /* Clobber */);
|
||||
+ __get_cpuid(n, &eax, &ebx, &ecx, &edx );
|
||||
}
|
||||
|
||||
#else // IMF_HAVE_SSE2 && __GNUC__
|
||||
|
||||
// Helper functions for generic compiler - all disabled
|
||||
- void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx)
|
||||
+ void cpuid(unsigned int n, unsigned int &eax, unsigned int &ebx, unsigned int &ecx, unsigned int &edx)
|
||||
{
|
||||
eax = ebx = ecx = edx = 0;
|
||||
}
|
||||
@@ -64,7 +61,7 @@
|
||||
|
||||
#ifdef OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX
|
||||
|
||||
- void xgetbv(int n, int &eax, int &edx)
|
||||
+ void xgetbv(unsigned int n, unsigned int &eax, unsigned int &edx)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
"xgetbv"
|
||||
@@ -75,7 +72,7 @@
|
||||
|
||||
#else // OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX
|
||||
|
||||
- void xgetbv(int n, int &eax, int &edx)
|
||||
+ void xgetbv(unsigned int n, unsigned int &eax, unsigned int &edx)
|
||||
{
|
||||
eax = edx = 0;
|
||||
}
|
||||
@@ -94,8 +91,8 @@
|
||||
f16c(false)
|
||||
{
|
||||
bool osxsave = false;
|
||||
- int max = 0;
|
||||
- int eax, ebx, ecx, edx;
|
||||
+ unsigned int max = 0;
|
||||
+ unsigned int eax, ebx, ecx, edx;
|
||||
|
||||
cpuid(0, max, ebx, ecx, edx);
|
||||
if (max > 0)
|
@ -0,0 +1,60 @@
|
||||
From 57ecf581d053f5cacf2e8fc3c024490e0bbe536f Mon Sep 17 00:00:00 2001
|
||||
From: Brendan Bolles <brendan@fnordware.com>
|
||||
Date: Wed, 13 Aug 2014 19:54:10 -0700
|
||||
Subject: [PATCH] Use ULL for 64-bit literals
|
||||
|
||||
On a 32-bit architecture, these literals are too big for just a long,
|
||||
they need to be ULL, since Int64 is unsigned.
|
||||
---
|
||||
IlmImf/ImfFastHuf.cpp | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/IlmImf/ImfFastHuf.cpp b/IlmImf/ImfFastHuf.cpp
|
||||
index 86c84dc..01edad4 100644
|
||||
--- a/IlmImf/ImfFastHuf.cpp
|
||||
+++ b/IlmImf/ImfFastHuf.cpp
|
||||
@@ -107,7 +107,7 @@ FastHufDecoder::FastHufDecoder
|
||||
for (int i = 0; i <= MAX_CODE_LEN; ++i)
|
||||
{
|
||||
codeCount[i] = 0;
|
||||
- base[i] = 0xffffffffffffffffL;
|
||||
+ base[i] = 0xffffffffffffffffULL;
|
||||
offset[i] = 0;
|
||||
}
|
||||
|
||||
@@ -352,7 +352,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset)
|
||||
|
||||
for (int i = 0; i <= MAX_CODE_LEN; ++i)
|
||||
{
|
||||
- if (base[i] != 0xffffffffffffffffL)
|
||||
+ if (base[i] != 0xffffffffffffffffULL)
|
||||
{
|
||||
_ljBase[i] = base[i] << (64 - i);
|
||||
}
|
||||
@@ -362,7 +362,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset)
|
||||
// Unused code length - insert dummy values
|
||||
//
|
||||
|
||||
- _ljBase[i] = 0xffffffffffffffffL;
|
||||
+ _ljBase[i] = 0xffffffffffffffffULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -417,7 +417,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset)
|
||||
|
||||
int minIdx = TABLE_LOOKUP_BITS;
|
||||
|
||||
- while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffL)
|
||||
+ while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffULL)
|
||||
minIdx--;
|
||||
|
||||
if (minIdx < 0)
|
||||
@@ -427,7 +427,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset)
|
||||
// Set the min value such that the table is never tested.
|
||||
//
|
||||
|
||||
- _tableMin = 0xffffffffffffffffL;
|
||||
+ _tableMin = 0xffffffffffffffffULL;
|
||||
}
|
||||
else
|
||||
{
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
|
||||
HOMEPAGE="http://openexr.com/"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/22" # based on SONAME
|
||||
KEYWORDS="~amd64 -arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="cpu_flags_x86_avx examples static-libs"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
>=media-libs/ilmbase-${PV}:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-archive-2016.09.16"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-cpuid-on-abi_x86_32.patch"
|
||||
"${FILESDIR}/${P}-use-ull-for-64-bit-literals.patch"
|
||||
"${FILESDIR}/${P}-fix-build-system.patch"
|
||||
"${FILESDIR}/${P}-fix-config.h-collision.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fix path for testsuite
|
||||
sed -i -e "s:/var/tmp/:${T}:" IlmImfTest/tmpDir.h || die
|
||||
|
||||
# delete stray config files causing havoc
|
||||
rm -f config*/OpenEXRConfig.h* || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--enable-threading \
|
||||
$(use_enable cpu_flags_x86_avx avx) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable examples imfexamples)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
if ! use examples; then
|
||||
rm -rf "${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
fi
|
||||
|
||||
# package provides .pc files
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 10 Oct 2016 14:10:39 +0000
|
||||
Tue, 11 Oct 2016 12:40:38 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 10 Oct 2016 14:10:39 +0000
|
||||
Tue, 11 Oct 2016 12:40:38 +0000
|
||||
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=X? ( || ( x11-misc/xclip x11-misc/xsel ) ) !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) net-misc/curl dev-libs/libxml2 pinentry? ( app-crypt/pinentry ) app-text/asciidoc virtual/pkgconfig
|
||||
DESCRIPTION=Interfaces with LastPass.com from the command line.
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/lastpass/lastpass-cli
|
||||
IUSE=libressl X +pinentry
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=X? ( || ( x11-misc/xclip x11-misc/xsel ) ) !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) net-misc/curl dev-libs/libxml2 pinentry? ( app-crypt/pinentry )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/lastpass/lastpass-cli/archive/v0.8.1.tar.gz -> lastpass-cli-0.8.1.tar.gz
|
||||
_eclasses_=multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=04f08de3c940b209ff7e1a8916bede05
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=X? ( || ( x11-misc/xclip x11-misc/xsel ) ) !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) net-misc/curl dev-libs/libxml2 pinentry? ( app-crypt/pinentry ) app-text/asciidoc virtual/pkgconfig
|
||||
DESCRIPTION=Interfaces with LastPass.com from the command line.
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/lastpass/lastpass-cli
|
||||
IUSE=libressl X +pinentry
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=X? ( || ( x11-misc/xclip x11-misc/xsel ) ) !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) net-misc/curl dev-libs/libxml2 pinentry? ( app-crypt/pinentry )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/lastpass/lastpass-cli/archive/v0.9.0.tar.gz -> lastpass-cli-0.9.0.tar.gz
|
||||
_eclasses_=multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=9f21e7e7aa22123d0fc1e917f852d015
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Simple editor for Markdown and reStructuredText
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki
|
||||
IUSE=+spell python_targets_python3_4 python_targets_python3_5 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/markdown[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/markups-2[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/chardet-2.3[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pygments[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/R/ReText/ReText-6.0.2.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 l10n e26ea0642846685782f1813642e7ff0f multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=3b70546aed7f4cf8ff688f6cd5e8232c
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=net-libs/gnutls sys-libs/libcap cgmanager? ( app-admin/cgmanager ) lua? ( >=dev-lang/lua-5.1:= ) python? ( python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) seccomp? ( sys-libs/libseccomp ) doc? ( app-text/docbook-sgml-utils ) >=sys-kernel/linux-headers-3.2 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=LinuX Containers userspace utilities
|
||||
EAPI=6
|
||||
HOMEPAGE=https://linuxcontainers.org/
|
||||
IUSE=cgmanager doc examples lua python seccomp python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~arm ~arm64
|
||||
LICENSE=LGPL-3
|
||||
RDEPEND=net-libs/gnutls sys-libs/libcap cgmanager? ( app-admin/cgmanager ) lua? ( >=dev-lang/lua-5.1:= ) python? ( python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) seccomp? ( sys-libs/libseccomp ) sys-process/criu sys-apps/util-linux app-misc/pax-utils virtual/awk
|
||||
REQUIRED_USE=python? ( || ( python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/lxc/lxc/archive/lxc-2.0.5.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc libtool 4890219c51da247200223277f993e054 linux-info fd1e29abbb02cbc49f1a14299846e9c4 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=ce2769364cce1ad91f84b95c0ce1be15
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst prepare setup test unpack
|
||||
DEPEND=>=dev-lang/go-1.7.1 dev-go/go-crypto dev-libs/protobuf nls? ( sys-devel/gettext ) test? ( app-misc/jq dev-db/sqlite net-misc/curl sys-devel/gettext ) >=dev-lang/go-1.4.2:= virtual/pkgconfig
|
||||
DESCRIPTION=Fast, dense and secure container management
|
||||
EAPI=6
|
||||
HOMEPAGE=https://linuxcontainers.org/lxd/introduction/
|
||||
IUSE=+daemon nls test linguas_de linguas_fr linguas_ja
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=daemon? ( app-admin/cgmanager app-arch/xz-utils app-emulation/lxc[cgmanager,seccomp] net-dns/dnsmasq[dhcp,ipv6] net-misc/rsync[xattr] sys-apps/iproute2[ipv6] sys-fs/squashfs-tools virtual/acl )
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~stasibear/distfiles/lxd-2.4.1.tar.bz2
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 eutils b83a2420b796f7c6eff682679d08fe25 golang-base 08fe6e0e2b4750daff8887a7f0e1f873 golang-build a44f10e6bd86ecccf2a07cc0d4cf6bec l10n e26ea0642846685782f1813642e7ff0f linux-info fd1e29abbb02cbc49f1a14299846e9c4 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 user 80aaa71614ced86f02ee1a513821dc87 vcs-snapshot 2b65ecb2d0f91e4322c2ac8d673993bd versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=dca6699b83eef95d0bc4918eab853429
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=sys-devel/gettext sys-devel/bin86 sys-apps/texinfo x11-libs/pixman
|
||||
DESCRIPTION=allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem
|
||||
EAPI=5
|
||||
HOMEPAGE=http://xen.org/
|
||||
IUSE=custom-cflags python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=app-emulation/xen-tools-4.7.0
|
||||
REQUIRED_USE=python_targets_python2_7
|
||||
SLOT=0
|
||||
SRC_URI=http://bits.xensource.com/oss-xen/release/4.7.0/xen-4.7.0.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz http://xenbits.xensource.com/xen-extfiles/zlib-1.2.3.tar.gz ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-2.2.9.tar.bz2 http://xenbits.xensource.com/xen-extfiles/lwip-1.3.0.tar.gz http://xenbits.xensource.com/xen-extfiles/newlib/newlib-1.16.0.tar.gz http://xenbits.xensource.com/xen-extfiles/polarssl-1.1.4-gpl.tgz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 python-single-r1 2ebea8fbab356d63110245129a67a6dd python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=dfc4b4cadcccb159b2d8d0fc3fc31f07
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure prepare
|
||||
DEPEND=gtk3? ( >app-i18n/ibus-1.4.0[gtk3] x11-libs/gtk+:3 ) !gtk3? ( >=app-i18n/ibus-1.4.0 >=x11-libs/gtk+-2.12:2 ) x11-libs/libX11 virtual/pkgconfig dev-util/intltool >=sys-devel/gettext-0.17
|
||||
DESCRIPTION=Vietnamese Input Method Engine for IBUS using Unikey IME
|
||||
EAPI=5
|
||||
HOMEPAGE=https://code.google.com/p/ibus-unikey/
|
||||
IUSE=gtk3
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=gtk3? ( >app-i18n/ibus-1.4.0[gtk3] x11-libs/gtk+:3 ) !gtk3? ( >=app-i18n/ibus-1.4.0 >=x11-libs/gtk+-2.12:2 ) x11-libs/libX11
|
||||
SLOT=0
|
||||
SRC_URI=https://ibus-unikey.googlecode.com/files/ibus-unikey-0.6.1.tar.gz https://dev.gentoo.org/~dlan/distfiles/ibus-unikey-0.6.1-gcc6.patch
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=9fae4d199d704df0d48b28a053fe4e8a
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=media-libs/fontconfig-2.6.0 >=media-libs/freetype-2.3.9 sys-libs/zlib cairo? ( >=dev-libs/glib-2.41:2 >=x11-libs/cairo-1.10.0 introspection? ( >=dev-libs/gobject-introspection-1.32.1:= ) ) cairo-qt? ( >=x11-libs/cairo-1.10.0 ) curl? ( net-misc/curl ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:2= ) lcms? ( media-libs/lcms:2 ) nss? ( >=dev-libs/nss-3.19:0 ) png? ( media-libs/libpng:0= ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtxml:5 ) tiff? ( media-libs/tiff:0 ) virtual/pkgconfig sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=PDF rendering library based on the xpdf-3.0 code base
|
||||
EAPI=6
|
||||
HOMEPAGE=https://poppler.freedesktop.org/
|
||||
IUSE=cairo cairo-qt cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt4 qt5 tiff +utils
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=media-libs/fontconfig-2.6.0 >=media-libs/freetype-2.3.9 sys-libs/zlib cairo? ( >=dev-libs/glib-2.41:2 >=x11-libs/cairo-1.10.0 introspection? ( >=dev-libs/gobject-introspection-1.32.1:= ) ) cairo-qt? ( >=x11-libs/cairo-1.10.0 ) curl? ( net-misc/curl ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:2= ) lcms? ( media-libs/lcms:2 ) nss? ( >=dev-libs/nss-3.19:0 ) png? ( media-libs/libpng:0= ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtxml:5 ) tiff? ( media-libs/tiff:0 ) cjk? ( >=app-text/poppler-data-0.4.7 )
|
||||
REQUIRED_USE=cairo-qt? ( qt4 )
|
||||
RESTRICT=test
|
||||
SLOT=0/64
|
||||
SRC_URI=https://poppler.freedesktop.org/poppler-0.48.0.tar.xz
|
||||
_eclasses_=cmake-utils f3d38665b0a86e08ba3a5473cdbfafd3 eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=68a7f1d28e1577698d8ff05fb58e145c
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=configure install prepare test
|
||||
DESCRIPTION=Library for parsing mathematical expressions
|
||||
EAPI=5
|
||||
HOMEPAGE=http://muparser.beltoforion.de/
|
||||
IUSE=doc test
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
LICENSE=MIT
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz -> muParser-2.2.5.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=7a669cd230b4318d5b1a7907311b8ade
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DEPEND=>=dev-lang/erlang-18[ssl]
|
||||
DESCRIPTION=Elixir programming language
|
||||
EAPI=6
|
||||
HOMEPAGE=http://elixir-lang.org
|
||||
KEYWORDS=~amd64 ~arm ~ia64 ~ppc ~sparc ~x86
|
||||
LICENSE=Apache-2.0 ErlPL-1.1
|
||||
RDEPEND=>=dev-lang/erlang-18[ssl]
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/elixir-lang/elixir/archive/v1.3.4.tar.gz -> elixir-1.3.4.tar.gz
|
||||
_eclasses_=multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=ea98f19bb2f20ebf35aca4f0102f4ab9
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue