parent
3429586eb2
commit
a9e50a6527
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231 SHA512 42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
|
||||
DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c SHA512 9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314
|
||||
DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73 SHA512 222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145
|
||||
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
cd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
cd ../ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}/"
|
||||
exeinto "/usr/$(get_libdir)/${PN}/"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages/
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
pushd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}"
|
||||
exeinto "/usr/$(get_libdir)/${PN}"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
pushd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}"
|
||||
exeinto "/usr/$(get_libdir)/${PN}"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,254 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 autotools flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PXE_VERSION="1478.0.0"
|
||||
PXE_SYSTEMD_VERSION="v233"
|
||||
KVM_LINUX_VERSION="4.9.2"
|
||||
KVMTOOL_VERSION="cfae4d64482ed745214e3c62dd84b79c2ae0f325"
|
||||
QEMU_VERSION="v2.8.0"
|
||||
PXE_URI="http://alpha.release.core-os.net/amd64-usr/${PXE_VERSION}/coreos_production_pxe_image.cpio.gz"
|
||||
PXE_FILE="${PN}-pxe-${PXE_VERSION}.img"
|
||||
|
||||
SRC_URI_KVM="mirror://kernel/linux/kernel/v4.x/linux-${KVM_LINUX_VERSION}.tar.xz
|
||||
${PXE_URI} -> ${PXE_FILE}
|
||||
"
|
||||
|
||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
rkt_stage1_coreos? ( $PXE_URI -> $PXE_FILE )
|
||||
rkt_stage1_kvm_lkvm? (
|
||||
https://kernel.googlesource.com/pub/scm/linux/kernel/git/will/kvmtool/+archive/${KVMTOOL_VERSION}.tar.gz -> kvmtool-${KVMTOOL_VERSION}.tar.gz
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/patch/?id=c0a985531f49c06fd05069024f4664740e6a0baf -> kvmtool-include-sysmacros-c0a985531f49c06fd05069024f4664740e6a0baf.patch
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/patch/?id=1cc05b24bfe0211bb408f3264af8e0c42dcdde9c -> kvmtool-include-asm-msr-index-1cc05b24bfe0211bb408f3264af8e0c42dcdde9c.patch
|
||||
${SRC_URI_KVM}
|
||||
)
|
||||
rkt_stage1_kvm_qemu? (
|
||||
http://wiki.qemu-project.org/download/qemu-${QEMU_VERSION#v}.tar.bz2
|
||||
${SRC_URI_KVM}
|
||||
)"
|
||||
|
||||
DESCRIPTION="rkt is an App Container runtime for Linux"
|
||||
HOMEPAGE="https://github.com/coreos/rkt"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
# The rkt_stage1_kvm flag has been replaced by the rkt_stage1_kvm_lkvm and rkt_stage1_kvm_qemu flags
|
||||
IUSE="doc examples +rkt_stage1_coreos +rkt_stage1_fly rkt_stage1_host rkt_stage1_kvm rkt_stage1_kvm_lkvm rkt_stage1_kvm_qemu +actool systemd"
|
||||
REQUIRED_USE="!systemd? ( !rkt_stage1_host ) || ( rkt_stage1_coreos rkt_stage1_fly rkt_stage1_host rkt_stage1_kvm_lkvm rkt_stage1_kvm_qemu ) !rkt_stage1_kvm"
|
||||
|
||||
# Some tests fail.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.5
|
||||
app-arch/cpio
|
||||
app-crypt/trousers
|
||||
sys-fs/squashfs-tools
|
||||
dev-perl/Capture-Tiny
|
||||
rkt_stage1_kvm_qemu? (
|
||||
sys-apps/attr[static-libs(+)]
|
||||
sys-libs/libcap[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
)"
|
||||
|
||||
RDEPEND="!app-emulation/rocket
|
||||
rkt_stage1_host? ( systemd? (
|
||||
>=sys-apps/systemd-222
|
||||
app-shells/bash:0
|
||||
) )"
|
||||
|
||||
BUILDDIR="build-${P}"
|
||||
STAGE1_DEFAULT_LOCATION="/usr/share/rkt/stage1.aci"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup rkt-admin
|
||||
enewgroup rkt
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local dest x
|
||||
for x in ${A}; do
|
||||
case ${x} in
|
||||
*.img|linux-*) continue ;;
|
||||
kvmtool-include-*) #627564 #635274
|
||||
dest=${S}/stage1/usr_from_kvm/lkvm/patches
|
||||
mkdir -p "${dest}" || die
|
||||
cp "${DISTDIR}/${x}" "${dest}" || die
|
||||
;;
|
||||
kvmtool-*)
|
||||
mkdir kvmtool || die
|
||||
pushd kvmtool >/dev/null || die
|
||||
unpack ${x}
|
||||
popd >/dev/null || die
|
||||
;;
|
||||
*)
|
||||
unpack ${x}
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
# This patch breaks linux kernel cc-option checks when the
|
||||
# compiler doesn't recognize the -no-pie option.
|
||||
rm stage1/usr_from_kvm/kernel/patches/0002-for-debian-gcc.patch || die
|
||||
|
||||
# avoid sdjournal include for bug 595874
|
||||
if ! use systemd; then
|
||||
sed -e "s/^\\(LOCAL_DIST_SRC_FILTER := .*\\)'$/\\1|api_service'/" \
|
||||
-i rkt/rkt.mk || die
|
||||
fi
|
||||
|
||||
sed -e 's|^RKT_REQ_PROG(\[GIT\],.*|#\0|' -i configure.ac || die
|
||||
|
||||
# disable git fetch of systemd
|
||||
sed -e 's~^include makelib/git.mk$~'\
|
||||
'ifneq ($(wildcard $(RKT_STAGE1_SYSTEMD_SRC)),)\n\n'\
|
||||
'get_systemd_sources: | $(UFS_SYSTEMDDIR)\n'\
|
||||
'\tmv "$(RKT_STAGE1_SYSTEMD_SRC)" "$(UFS_SYSTEMD_SRCDIR)"\n\n'\
|
||||
'$(UFS_SYSTEMD_CONFIGURE): get_systemd_sources\n\n'\
|
||||
'else ifneq ($(wildcard $(UFS_SYSTEMD_SRCDIR)),)\n\n'\
|
||||
'else\n'\
|
||||
'\t\0\n'\
|
||||
'endif~' -i stage1/usr_from_src/usr_from_src.mk || die
|
||||
|
||||
# disable git fetch of kvmtool
|
||||
sed -e 's~^include makelib/git.mk$~'\
|
||||
'ifneq ($(wildcard $(shell echo "$${WORKDIR}/kvmtool")),)\n\n'\
|
||||
'$(call forward-vars, get_lkvm_sources, LKVM_SRCDIR)\n'\
|
||||
'get_lkvm_sources: | $(LKVM_TMPDIR)\n'\
|
||||
'\tmv "$${WORKDIR}/kvmtool" "$(LKVM_SRCDIR)"\n\n'\
|
||||
'$(LKVM_PATCH_STAMP): get_lkvm_sources\n\n'\
|
||||
'else ifneq ($(wildcard $(LKVM_SRCDIR)),)\n\n'\
|
||||
'else\n'\
|
||||
'\t\0\n'\
|
||||
'endif~' -i stage1/usr_from_kvm/lkvm.mk || die
|
||||
|
||||
# disable git fetch of qemu
|
||||
sed -e 's~^include makelib/git.mk$~'\
|
||||
'ifneq ($(wildcard $(shell echo "$${WORKDIR}/qemu-'${QEMU_VERSION#v}'")),)\n\n'\
|
||||
'$(call forward-vars, get_qemu_sources, QEMU_SRCDIR)\n'\
|
||||
'get_qemu_sources: | $(QEMU_TMPDIR)\n'\
|
||||
'\tmv "$${WORKDIR}/qemu-'${QEMU_VERSION#v}'" "$(QEMU_SRCDIR)"\n\n'\
|
||||
'$(QEMU_CONF_STAMP): get_qemu_sources\n\n'\
|
||||
'else ifneq ($(wildcard $(QEMU_SRCDIR)),)\n\n'\
|
||||
'else\n'\
|
||||
'\t\0\n'\
|
||||
'endif~' \
|
||||
-e 's|QEMU_CONFIGURATION_OPTS :=|\0 --disable-bzip2 --disable-libssh2 --disable-opengl|' \
|
||||
-i stage1/usr_from_kvm/qemu.mk || die
|
||||
|
||||
# disable fetch of kernel sources
|
||||
sed -e 's|wget .*|ln -s "$${DISTDIR}/linux-'${KVM_LINUX_VERSION}'.tar.xz" "$@"|' \
|
||||
-i stage1/usr_from_kvm/kernel.mk || die
|
||||
|
||||
if use rkt_stage1_host; then
|
||||
# Make systemdUnitsPath consistent with host
|
||||
sed -e 's|\(systemdUnitsPath := \).*|\1"'$(systemd_get_systemunitdir)'"|' \
|
||||
-i stage1/init/init.go || die
|
||||
fi
|
||||
|
||||
if use rkt_stage1_kvm_qemu; then
|
||||
sed '1i#include <sys/sysmacros.h>' -i "${WORKDIR}/qemu-${QEMU_VERSION#v}/hw/9pfs/9p.c" || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local flavors hypervisors myeconfargs=(
|
||||
--with-stage1-default-images-directory="/usr/share/rkt"
|
||||
--with-stage1-default-location="${STAGE1_DEFAULT_LOCATION}"
|
||||
)
|
||||
|
||||
use systemd || myeconfargs+=( --enable-sdjournal=no )
|
||||
|
||||
# enable flavors (first is default)
|
||||
use rkt_stage1_host && flavors+=",host"
|
||||
use rkt_stage1_coreos && flavors+=",coreos"
|
||||
use rkt_stage1_fly && flavors+=",fly"
|
||||
{ use rkt_stage1_kvm_lkvm || use rkt_stage1_kvm_qemu; } && flavors+=",kvm"
|
||||
myeconfargs+=( --with-stage1-flavors="${flavors#,}" )
|
||||
|
||||
if use rkt_stage1_coreos || use rkt_stage1_kvm_lkvm || use rkt_stage1_kvm_qemu; then
|
||||
myeconfargs+=(
|
||||
--with-coreos-local-pxe-image-path="${DISTDIR}/${PXE_FILE}"
|
||||
--with-coreos-local-pxe-image-systemd-version="${PXE_SYSTEMD_VERSION}"
|
||||
)
|
||||
fi
|
||||
|
||||
if use rkt_stage1_kvm_lkvm || use rkt_stage1_kvm_qemu; then
|
||||
use rkt_stage1_kvm_lkvm && hypervisors+=",lkvm"
|
||||
use rkt_stage1_kvm_qemu && hypervisors+=",qemu"
|
||||
myeconfargs+=( --with-stage1-kvm-hypervisors="${hypervisors#,}" )
|
||||
fi
|
||||
|
||||
# Go's 6l linker does not support PIE, disable so cgo binaries
|
||||
# which use 6l+gcc for linking can be built correctly.
|
||||
if gcc-specs-pie; then
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
export CC=$(tc-getCC)
|
||||
export CGO_ENABLED=1
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export BUILDDIR
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local arch=${ARCH}
|
||||
case ${arch} in
|
||||
amd64) arch=x86_64;;
|
||||
esac
|
||||
ARCH=${arch} emake V=3
|
||||
ARCH=${arch} emake V=3 bash-completion
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
use examples && dodoc -r examples
|
||||
use actool && dobin "${S}/${BUILDDIR}/tools/actool"
|
||||
|
||||
dobin "${S}/${BUILDDIR}/target/bin/rkt"
|
||||
|
||||
insinto /usr/share/rkt
|
||||
doins "${S}/${BUILDDIR}/target/bin/"*.aci
|
||||
|
||||
# create symlink for default stage1 image path
|
||||
if use rkt_stage1_host; then
|
||||
dosym stage1-host.aci "${STAGE1_DEFAULT_LOCATION}"
|
||||
elif use rkt_stage1_coreos; then
|
||||
dosym stage1-coreos.aci "${STAGE1_DEFAULT_LOCATION}"
|
||||
elif use rkt_stage1_fly; then
|
||||
dosym stage1-fly.aci "${STAGE1_DEFAULT_LOCATION}"
|
||||
elif use rkt_stage1_kvm_lkvm; then
|
||||
dosym stage1-kvm-lkvm.aci "${STAGE1_DEFAULT_LOCATION}"
|
||||
elif use rkt_stage1_kvm_qemu; then
|
||||
dosym stage1-kvm-qemu.aci "${STAGE1_DEFAULT_LOCATION}"
|
||||
fi
|
||||
|
||||
systemd_dounit "${S}"/dist/init/systemd/*.service \
|
||||
"${S}"/dist/init/systemd/*.timer \
|
||||
"${S}"/dist/init/systemd/*.socket
|
||||
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
doins "${S}"/dist/init/systemd/tmpfiles.d/*
|
||||
|
||||
newbashcomp "${S}"/dist/bash_completion/rkt.bash rkt
|
||||
|
||||
keepdir /etc/${PN}
|
||||
fowners :rkt-admin /etc/${PN}
|
||||
fperms 2775 /etc/${PN}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
--- VirtualBox-6.0.0_BETA2/src/VBox/Main/include/ConsoleImpl.h
|
||||
+++ VirtualBox-6.0.0_BETA2/src/VBox/Main/include/ConsoleImpl.h
|
||||
@@ -147,9 +147,13 @@
|
||||
int i_recordingGetSettings(settings::RecordingSettings &Settings);
|
||||
int i_recordingStart(void);
|
||||
int i_recordingStop(void);
|
||||
+# ifdef VBOX_WITH_AUDIO_RECORDING
|
||||
AudioVideoRec *i_recordingGetAudioDrv(void) const { return Recording.mAudioRec; }
|
||||
+# endif
|
||||
RecordingContext *i_recordingGetContext(void) const { return Recording.mpCtx; }
|
||||
+# ifdef VBOX_WITH_AUDIO_RECORDING
|
||||
HRESULT i_recordingSendAudio(const void *pvData, size_t cbData, uint64_t uDurationMs);
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
const ComPtr<IMachine> &i_machine() const { return mMachine; }
|
||||
@@ -1038,7 +1042,10 @@
|
||||
{
|
||||
Recording()
|
||||
: mpCtx(NULL)
|
||||
- , mAudioRec(NULL) { }
|
||||
+# ifdef VBOX_WITH_AUDIO_RECORDING
|
||||
+ , mAudioRec(NULL)
|
||||
+# endif
|
||||
+ { }
|
||||
|
||||
/** The recording context. */
|
||||
RecordingContext *mpCtx;
|
||||
--- VirtualBox-6.0.0_BETA2/src/VBox/Main/src-client/Recording.cpp
|
||||
+++ VirtualBox-6.0.0_BETA2/src/VBox/Main/src-client/Recording.cpp
|
||||
@@ -587,7 +587,7 @@
|
||||
|
||||
return rc;
|
||||
#else
|
||||
- RT_NOREF(pCtx, pvData, cbData, uTimeStampMs);
|
||||
+ RT_NOREF(pvData, cbData, uTimeStampMs);
|
||||
return VINF_SUCCESS;
|
||||
#endif
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST gnumeric-1.12.38.tar.xz 19807364 BLAKE2B 5b250991d2a635334d1799b421733a50cbe5dc92c3b792f0c8f3635a37bb72601f62e444ed7cb705ae7456b804fd16e8ab7c1b6567db27a9f12b4b5407b30e1b SHA512 71cf29355b865a3c0f966482ef0cbc90553326fcdc10103762d6c35c1f932371b5dffa3d3d89cd575d3f202ba041e4caaf987db08051b700757ea165508ea217
|
||||
DIST gnumeric-1.12.39.tar.xz 20040688 BLAKE2B 5d99da20b567a939208881b962de3c79ab115a24953dc04d6c882e9a54946e5c5fbd32808a8006e396d70bc9a2a9783b20106536da1c19f7ed7dccd3b12c2fff SHA512 8ae09ea857989e65a8fe2070b30c2309d82daa4142816ef3a1b107035aea0d71498d84eaeeaa870a1587e3785146fad3304321a531c75f6e2f200def53a8e898
|
||||
DIST gnumeric-1.12.43.tar.xz 18033636 BLAKE2B 32cbbefc10c0537b02b56564ed37f03d69d0865e9bd16dc8cb77aacf682087fce60f01a2e70b5dbef4d73840b6ccbe198d3c5cc5f13b0f1b2a48d0af635e607f SHA512 d2702000e6c4f4c0c7ff442a2b81e10f4d55f0cffbf7b7f1e7c9fed98fb46172b0118ca05102aa53fb4f953799e2be3534f0518b025ece26647ce67b870a34a7
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
|
||||
|
||||
inherit gnome2 flag-o-matic python-r1
|
||||
|
||||
DESCRIPTION="The GNOME Spreadsheet"
|
||||
HOMEPAGE="http://www.gnumeric.org/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE="+introspection libgda perl python"
|
||||
# python-loader plugin is python2.7 only
|
||||
REQUIRED_USE="python? ( $(python_gen_useflags -2) )"
|
||||
|
||||
# Missing gnome-extra/libgnomedb required version in tree
|
||||
# but its upstream is dead and will be dropped soon.
|
||||
|
||||
# lots of missing files, also fails tests due to 80-bit long story
|
||||
# upstream bug #721556
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=gnome-extra/libgsf-1.14.33:=
|
||||
>=x11-libs/goffice-0.10.42:0.10
|
||||
>=dev-libs/libxml2-2.4.12:2
|
||||
>=x11-libs/pango-1.24.0:=
|
||||
|
||||
>=x11-libs/gtk+-3.8.7:3
|
||||
x11-libs/cairo:=[svg]
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS}
|
||||
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}] )
|
||||
libgda? ( gnome-extra/libgda:5[gtk] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/yelp-tools
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Manage gi overrides ourselves
|
||||
sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python ; then
|
||||
python_setup 'python2*'
|
||||
fi
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--with-zlib \
|
||||
$(use_with libgda gda) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with perl) \
|
||||
$(use_with python)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_moduleinto gi.overrides
|
||||
python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST moneydance-2017.8-amd64.tar.gz 132109962 BLAKE2B 4984b6266eed96337ab284168db1a167121daa6b454a338f348d1d724587e6dfd6a52c25ff739ca0e09a9c0441b1b582e59a571f001e8b2ddc6c5e10917100cd SHA512 53e46ee63ee89b86f3108045e9a16fdda637effb5edb719ccf7192632e6ebace607f40871ee54b5c5bde40821fdf2cbf89a5abd6eba0698618a8db8d848971c6
|
||||
DIST moneydance-2017.8-x86.tar.gz 134851425 BLAKE2B 4c40f30798b66d01b5abacc5cfbfa584a107f351de8bd2eb8c291aea6d96c122a36feb5ed092ea0aec4a99be7e1507f79551a1c6a1cd79365b8dfc52892a57bc SHA512 434fbd0c941a455c862963e572b7c1489fa19ccf30efb315af33eac3974acdad57292943d129433e6a59d3f233cd797b6697c0e82d9293ce0464d25ab8c32912
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ck+gentoo@bl4ckb0x.de</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Moneydance is easy to use personal finance software that is loaded
|
||||
with all the features you need: online banking and bill payment,
|
||||
account management, budgeting and investment tracking.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,62 @@
|
||||
# Copyright 2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="Moneydance"
|
||||
|
||||
inherit desktop gnome2-utils java-pkg-2
|
||||
|
||||
DESCRIPTION="A cross-platform personal finance application"
|
||||
HOMEPAGE="https://moneydance.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz )
|
||||
x86? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_x86.tar.gz -> ${P}-x86.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="Apache-1.0 Apache-2.0 BSD CPAL-1.0 CPL-1.0 CSL-2.0 LGPL-2 MIT TIK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
RESTRICT="bindist fetch mirror"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from"
|
||||
elog "https://www.infinitekind.com/download-moneydance-personal-finance-software"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Modify .desktop file, to fix QA errors
|
||||
sed -e 's/Application;//g' -e 's/.png//g' -i resources/moneydance.desktop || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jars/*.jar
|
||||
java-pkg_dolauncher moneydance --main "Moneydance" --java_args "-client -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=on -Xmx1024m"
|
||||
|
||||
doicon resources/*.png
|
||||
domenu resources/moneydance.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,4 +1 @@
|
||||
DIST fetchcommandwrapper-0.7.1.tar.gz 3187 BLAKE2B b2ddce407cb9977ca66da6ca732ef263f4f3e3fe60296882e6266af9c36c1b103d62d8a002d72e1827d02c6b4cb4c0a90ea31938460d598f39b531a2f3e32615 SHA512 be1e382180606d527f85c2f45888373286687c2b521c66cb11ed90f05e107bb54cbfe83b0509bf52e31108db3a52b9089259c83e63cae3a1d25dbca583faaf74
|
||||
DIST fetchcommandwrapper-0.7.2.tar.gz 3134 BLAKE2B af98fa7ad46bb1179c71db36a2465f904e5f0c28b573272eb84da328fc0a5c0f209674a9e23f2d482f14c472e5d6879fb872c2e09465638b3249b503f583cc53 SHA512 f268cbef691320106b3f929b0ab3b63085ffdd3e1988fbada2d37c6abcdf7e417758055fff503bb70490840dfde7704e87bb7434faa1d1115cc42729ad10de61
|
||||
DIST fetchcommandwrapper-0.7.3.tar.gz 3431 BLAKE2B c9c03eb0cb39c1f61f741cf716cc9c857bab8400cfc4c622350b0b65e03cdc618c86922cf6dc2cd5f2b841f8771ab9d0f2b39eca326fa4806eb77c56376b938a SHA512 df314331b66b89842285a175be686fe800de4a93ad382b72659429a62de02c4fc708d8964f766c7203c3c2aa838a684e808442d410d37ab9f8b9af8328442a51
|
||||
DIST fetchcommandwrapper-0.8.tar.gz 3558 BLAKE2B 6e37264382900d9326d7da0546ac870a07b9ba66056221e17cc2a170ccfe367e867d74cf3b6f1a6e9d5ce834a054d26b40e57d9d1bd00a87bda80b77b1b427bd SHA512 b064515d3f4b85f849de53934a45e7a64c9af8bfcfb83ee70d09aad9712623cff2c43a28c93ccd00b74f99679856225201e7c8f33b9b0338121ac1072335e5ba
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrapper integrating aria2 into portage's FETCHCOMMAND"
|
||||
HOMEPAGE="https://github.com/gentoo/fetchcommandwrapper"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=net-misc/aria2-1.10.2"
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn 'You need to append'
|
||||
ewarn ' source /usr/share/fetchcommandwrapper/make.conf'
|
||||
ewarn 'to /etc/portage/make.conf in order to integrate fetchcommandwrapper.'
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrapper integrating aria2 into portage's FETCHCOMMAND"
|
||||
HOMEPAGE="https://github.com/gentoo/fetchcommandwrapper"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=net-misc/aria2-1.10.2"
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn 'You need to append'
|
||||
ewarn ' source /usr/share/fetchcommandwrapper/make.conf'
|
||||
ewarn 'to /etc/portage/make.conf in order to integrate fetchcommandwrapper.'
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrapper integrating aria2 into portage's FETCHCOMMAND"
|
||||
HOMEPAGE="https://github.com/gentoo/fetchcommandwrapper"
|
||||
SRC_URI="https://github.com/gentoo/fetchcommandwrapper/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=net-misc/aria2-1.10.2"
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn 'You need to append'
|
||||
ewarn ' source /usr/share/fetchcommandwrapper/make.conf'
|
||||
ewarn 'to /etc/portage/make.conf in order to integrate fetchcommandwrapper.'
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST tlib-1.20.tar.gz 111202 BLAKE2B 0ee6c662e1658607706516adab9b770942ec948633a75879b5a516b46989a34744acde52d10d5b2ea58af6e7215f1241b18c53267d643d4c2e08da425a93169e SHA512 d8a344483da2a174324dc81472b5d3bdb811e54af22a1599c5567019d33bafdf499845d3efeabf081ecf17dc6965c69640a6a01b208811529e86266ba1871218
|
||||
DIST tlib-1.22.tar.gz 119979 BLAKE2B 2fe1231b6a075989c41aa2cf38d0964b6d9ada390d0729ea417aa1c2ef1a105a07d569f80c75ba91a55f7e68f349faab2dcda66741b0b1da59f76d68a5467e24 SHA512 b7fc7e3741876c92bbccc116d4e170663e3d178aa8fb546f969475723cd82e07d9470af37574f8f97cfd23b8ca8f5dd5daa2e7bef50e2f62beec0015a2355908
|
||||
DIST tlib-1.23.tar.gz 120827 BLAKE2B 7b86a1b0e22e499390239e5898d81c90ac1b3b989b929e3bde3ea516d05419fc8af19e72d5313df36ce856a4c7ee2cddbdbecbace835f24adefb1883d4e76e46 SHA512 5fd5d6e6ccd36117abcfca35173d28602a73b0773e5fc77cb8c1c8660f13dd7882c8a8de9b4335927b807c7d643c480f1371926b4ffb1758e53948132dee1d75
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST gnatcoll-gpl-2016-src.tar.gz 5687584 BLAKE2B 0ff5489f3e02ceeb44292f0d13907959884a55ec8f00fcadb21ee4e8a07f863a3bae3c7ae18d3fc669895a76b5f8f495699d31af71940a5abd32b156ad5fe247 SHA512 8cf06e7c5d58d3b159855534791e7969882e04856ba9d03982a63dcfc630f5b5910c6cad57fec9b00c3d04008b0cb0a1fb238e349766348fa4548868238ede8a
|
||||
DIST gnatcoll-gpl-2017-src.tar.gz 5785988 BLAKE2B 828aff797f7d992bf3f5dda7f8ce8a79e97ecd98253a657fb6e79a2fd08aac97e19cb421f47010f8c1f26442a013b9126ab3a95353d9ce0f29d071601e9dfe2f SHA512 e8b7f2c00816597f33496168bf8928841a2037e517908810761849e23633b2c229d47e4bfaa808e5a619da52bc165f17b8aefa5dee39ecf1a6773b3b1db80363
|
||||
|
@ -1,297 +0,0 @@
|
||||
--- a/Makefile 2017-01-20 19:39:07.131398270 +0100
|
||||
+++ b/Makefile 2017-01-20 19:42:30.088728844 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
# Build either type of library. The argument (%) is the type of library to build
|
||||
|
||||
-GPRBLD_OPTS=-p -m -j${PROCESSORS} -XLIBRARY_TYPE=$(@F) -XGnatcoll_Build=${Gnatcoll_Build}
|
||||
+GPRBLD_OPTS=-p -m -j${PROCESSORS} -XGPR_BUILD=$(@F) -XLIBRARY_TYPE=$(@F) -XGnatcoll_Build=${Gnatcoll_Build}
|
||||
|
||||
build_library_type/%: generate_sources
|
||||
@${RM} src/gnatcoll-atomic.adb
|
||||
@@ -34,19 +36,19 @@
|
||||
@${RM} src/gnatcoll-atomic.adb
|
||||
|
||||
@echo "====== Building $(@F) libraries ======"
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -Pgnatcoll_full
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -Pgnatcoll_full -v -cargs ${ADAFLAGS}
|
||||
|
||||
@# Need to build libgnatcoll_gtk separately, because its project files
|
||||
@# requires gtkada.gpr, which might not exist on the machine.
|
||||
ifeq (${WITH_GTK},yes)
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -Psrc/gnatcoll_gtk
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -Psrc/gnatcoll_gtk -v -cargs ${ADAFLAGS}
|
||||
endif
|
||||
|
||||
@# Build the tools (the list is the project\'s Main attribute)
|
||||
@# They are not build as part of the above because only the Main from
|
||||
@# gnatcoll_full.gpr are build. We could use aggregate projects to
|
||||
@# speed things up.
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -q -Psrc/gnatcoll_tools
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -q -Psrc/gnatcoll_tools -v -cargs ${ADAFLAGS}
|
||||
|
||||
#######################################################################
|
||||
# install
|
||||
@@ -53,6 +53,7 @@
|
||||
|
||||
GPRINST_OPTS=-p -f --prefix=${prefix} --install-name=gnatcoll \
|
||||
--exec-subdir=${bindir} --project-subdir=lib/gnat \
|
||||
+ -XGPR_BUILD=$(@F) \
|
||||
--build-var=LIBRARY_TYPE --build-name=$(@F) -XLIBRARY_TYPE=$(@F)
|
||||
|
||||
install-clean:
|
||||
--- a/gnatcoll_shared.gpr.in 2017-01-20 19:50:03.222808656 +0100
|
||||
+++ b/gnatcoll_shared.gpr.in 2017-01-20 19:50:28.200399274 +0100
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
type Yes_No is ("yes", "no");
|
||||
Gtk : Yes_No := External ("GTK", "@WITH_GTK@");
|
||||
- Python : Yes_No := External ("PYTHON", "@WITH_PYTHON@");
|
||||
+ Python : Yes_No := "@WITH_PYTHON@";
|
||||
Syslog : Yes_No := External ("SYSLOG", "@WITH_SYSLOG@");
|
||||
Postgres : Yes_No := External ("POSTGRES", "@WITH_POSTGRES@");
|
||||
type Sqlite_Inclusion is ("yes", "no", "embedded");
|
||||
--- a/aclocal.m4 2017-04-06 08:25:14.796699365 +0200
|
||||
+++ b/aclocal.m4 2017-04-06 08:25:36.622318016 +0200
|
||||
@@ -45,7 +45,7 @@
|
||||
cat > conftest.ada <<EOF
|
||||
[$3]
|
||||
EOF
|
||||
- if AC_TRY_COMMAND([gnatchop -q conftest.ada && $1 $2 >/dev/null 2>conftest.out])
|
||||
+ if AC_TRY_COMMAND([${GNATCHOP} -q conftest.ada && $1 $2 >/dev/null 2>conftest.out])
|
||||
then
|
||||
: Success
|
||||
$4
|
||||
@@ -68,7 +68,7 @@
|
||||
AC_DEFUN(AM_HAS_INTRINSIC_SYNC_COUNTERS,
|
||||
[
|
||||
AC_MSG_CHECKING([whether platform supports atomic inc/dec])
|
||||
- AM_TRY_ADA([gnatmake], [check.adb],
|
||||
+ AM_TRY_ADA([${GNATMAKE}], [check.adb],
|
||||
[
|
||||
with Interfaces; use Interfaces;
|
||||
procedure Check is
|
||||
--- a/testsuite/json/__init__.py 2017-04-24 17:52:34.158513249 +0200
|
||||
+++ b/testsuite/json/__init__.py 2017-04-24 17:52:52.636207017 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
@requires_not_aix # Storage_Error on that machine
|
||||
@chdir("MB28-001")
|
||||
def test_MB28_001(self):
|
||||
- self.runexec(["python", "make_json.py"])
|
||||
+ self.runexec(["python2.7", "make_json.py"])
|
||||
self.gprbuild()
|
||||
self.runexec("json_stack_test", "test.out")
|
||||
|
||||
--- a/testsuite/projects/__init__.py 2017-04-24 19:10:30.465246199 +0200
|
||||
+++ b/testsuite/projects/__init__.py 2017-04-24 19:10:42.768035080 +0200
|
||||
@@ -105,25 +105,6 @@
|
||||
self.gprbuild("default.gpr")
|
||||
self.runexec("main", "")
|
||||
|
||||
- @support.requires_not_windows
|
||||
- @chdir("N918-040")
|
||||
- def test_bareboard(self):
|
||||
- self.create_fake_bb_compiler('install', 'arm-eabi', '6.1.0w', '3.4.6')
|
||||
-
|
||||
- # Make sure auto.cgpr is not deleted on exit
|
||||
- try:
|
||||
- os.unlink('auto.cgpr')
|
||||
- except:
|
||||
- pass
|
||||
- self.gprbuild('main_prj', switches=['--autoconf=auto.cgpr'])
|
||||
- m = re.search('for Target use "(.*?)"', open('auto.cgpr').read())
|
||||
- target = m.group(1)
|
||||
-
|
||||
- def customFilter(actual):
|
||||
- return actual.replace(target, "<native>")
|
||||
-
|
||||
- self.runexec(['sh', 'test.sh'], 'test.out', customFilter=customFilter)
|
||||
-
|
||||
@chdir("NB12-045")
|
||||
def test_NB12_045(self):
|
||||
# Test registering attribute in unknown package
|
||||
--- a/src/tools/gnatcoll_db2ada.adb 2017-04-24 21:36:09.193973179 +0200
|
||||
+++ b/src/tools/gnatcoll_db2ada.adb 2017-04-24 21:36:16.029858932 +0200
|
||||
@@ -211,7 +211,7 @@
|
||||
|
||||
declare
|
||||
Output : constant String := Get_Command_Output
|
||||
- (Command => "python",
|
||||
+ (Command => "python2.7",
|
||||
Arguments => Args,
|
||||
Input => "",
|
||||
Status => Status'Access,
|
||||
--- a/src/gnatcoll_python.gpr.in 2018-11-11 11:04:46.275182850 +0100
|
||||
+++ b/src/gnatcoll_python.gpr.in 2018-11-11 11:10:22.809783463 +0100
|
||||
@@ -33,14 +33,19 @@
|
||||
"lib" & Project'Library_Name
|
||||
& GnatColl_Shared.So_Ext & "." & GnatColl_Shared.Version;
|
||||
|
||||
- -- When linking a shared library (see Linker_Options below in addition)
|
||||
- for Library_Options use GnatColl_Shared.Python_Libs;
|
||||
-
|
||||
case GnatColl_Shared.Python is
|
||||
when "yes" =>
|
||||
for Languages use ("Ada", "C");
|
||||
for Source_Dirs use ("python");
|
||||
- for Library_Options use (@PYTHON_LIBS_GPR@);
|
||||
+ case Gnatcoll_Shared.Library_Type is
|
||||
+ when "relocatable" =>
|
||||
+ -- When linking a shared library (see Linker_Options
|
||||
+ -- below in addition)
|
||||
+ for Library_Options use GnatColl_Shared.Python_Libs;
|
||||
+ when others =>
|
||||
+ null;
|
||||
+ end case;
|
||||
+
|
||||
when "no" =>
|
||||
for Languages use ("Ada");
|
||||
for Source_Dirs use ("nopython");
|
||||
--- a/src/gnatcoll_iconv.gpr 2018-11-11 11:39:47.736090039 +0100
|
||||
+++ b/src/gnatcoll_iconv.gpr 2018-11-11 11:40:42.161198640 +0100
|
||||
@@ -44,7 +44,13 @@
|
||||
for Source_Dirs use ("iconv", "iconv/no_iconv");
|
||||
when "yes" =>
|
||||
for Source_Dirs use ("iconv", "iconv/with_iconv");
|
||||
- for Library_Options use (GnatColl_Shared.Iconv_Dir) & Gnatcoll_Shared.Iconv_Lib;
|
||||
+ case Gnatcoll_Shared.Library_Type is
|
||||
+ when "relocatable" =>
|
||||
+ for Library_Options use (GnatColl_Shared.Iconv_Dir)
|
||||
+ & Gnatcoll_Shared.Iconv_Lib;
|
||||
+ when others =>
|
||||
+ null;
|
||||
+ end case;
|
||||
end case;
|
||||
|
||||
package Compiler is
|
||||
--- a/src/gnatcoll_sqlite.gpr 2018-11-11 11:45:36.672371038 +0100
|
||||
+++ b/src/gnatcoll_sqlite.gpr 2018-11-11 11:48:24.898610725 +0100
|
||||
@@ -51,8 +51,15 @@
|
||||
for Source_Dirs use ("sqlite", "sqlite/no_sqlite");
|
||||
when "yes" =>
|
||||
for Source_Dirs use ("sqlite", "sqlite/with_sqlite");
|
||||
- for Library_Options use (GnatColl_Shared.Sqlite_Dir)
|
||||
- & "-lsqlite3" & Thread_Lib;
|
||||
+
|
||||
+ case Gnatcoll_Shared.Library_Type is
|
||||
+ when "relocatable" =>
|
||||
+ for Library_Options use (GnatColl_Shared.Sqlite_Dir)
|
||||
+ & "-lsqlite3" & Thread_Lib;
|
||||
+ when others =>
|
||||
+ null;
|
||||
+ end case;
|
||||
+
|
||||
when "embedded" =>
|
||||
for Languages use ("Ada", "C");
|
||||
for Source_Dirs use ("sqlite", "sqlite/with_sqlite", "sqlite/amalgamation");
|
||||
--- a/src/gnatcoll_readline.gpr.in 2018-11-11 11:51:19.119750140 +0100
|
||||
+++ b/src/gnatcoll_readline.gpr.in 2018-11-11 11:52:00.531069930 +0100
|
||||
@@ -6,7 +6,14 @@
|
||||
when "yes" =>
|
||||
for Languages use ("Ada");
|
||||
for Source_Dirs use ("readline", "readline/with_readline");
|
||||
- for Library_Options use ("-lreadline");
|
||||
+
|
||||
+ case Gnatcoll_Shared.Library_Type is
|
||||
+ when "relocatable" =>
|
||||
+ for Library_Options use ("-lreadline");
|
||||
+ when others =>
|
||||
+ null;
|
||||
+ end case;
|
||||
+
|
||||
when "no" =>
|
||||
for Source_Dirs use ("readline", "readline/no_readline");
|
||||
end case;
|
||||
--- a/src/gnatcoll_gtk.gpr.in 2018-11-11 11:55:32.460587328 +0100
|
||||
+++ b/src/gnatcoll_gtk.gpr.in 2018-11-11 11:56:15.930872692 +0100
|
||||
@@ -47,8 +47,15 @@
|
||||
for Source_Dirs use ();
|
||||
when "yes" =>
|
||||
for Source_Dirs use ("gtk");
|
||||
- for Library_Options use GnatColl_Shared.Gtk_Libs
|
||||
- & GnatColl_Shared.Python_Libs;
|
||||
+
|
||||
+ case Gnatcoll_Shared.Library_Type is
|
||||
+ when "relocatable" =>
|
||||
+ for Library_Options use GnatColl_Shared.Gtk_Libs
|
||||
+ & GnatColl_Shared.Python_Libs;
|
||||
+ when others =>
|
||||
+ null;
|
||||
+ end case;
|
||||
+
|
||||
case GnatColl_Shared.Python is
|
||||
when "yes" =>
|
||||
for Source_Dirs use Project'Source_Dirs & ("gtk/python");
|
||||
--- a/src/gnatcoll-projects-normalize.adb 2018-11-13 19:34:01.491003676 +0100
|
||||
+++ b/src/gnatcoll-projects-normalize.adb 2018-11-13 19:34:16.289760553 +0100
|
||||
@@ -2202,7 +2202,7 @@
|
||||
when N_Comment_Zones =>
|
||||
null;
|
||||
|
||||
- when N_Comment =>
|
||||
+ when others =>
|
||||
null;
|
||||
end case;
|
||||
end if;
|
||||
--- a/src/gnatcoll-projects.adb 2018-11-14 18:47:27.760365233 +0100
|
||||
+++ b/src/gnatcoll-projects.adb 2018-11-14 19:10:43.961337201 +0100
|
||||
@@ -3273,9 +3273,9 @@
|
||||
Status : out Status_Type;
|
||||
Result : out GNATCOLL.VFS.File_Array_Access)
|
||||
is
|
||||
- Mains_Str_List : String_List_Access;
|
||||
+ Mains_Str_List : String_Vectors.Vector;
|
||||
Closure_Status : GPR.Util.Status_Type;
|
||||
- Closures_List : String_List_Access;
|
||||
+ Closures_List : String_Vectors.Vector;
|
||||
begin
|
||||
Trace (Me, "Get_Closures");
|
||||
|
||||
@@ -3287,25 +3287,18 @@
|
||||
return;
|
||||
end if;
|
||||
|
||||
- Mains_Str_List := new String_List (Mains'First .. Mains'Last);
|
||||
for I in Mains'Range loop
|
||||
- Mains_Str_List (I) := new String'(Mains (I).Display_Base_Name);
|
||||
+ Mains_Str_List.Append (Mains (I).Display_Base_Name);
|
||||
end loop;
|
||||
|
||||
GPR.Util.Get_Closures
|
||||
(Project.Get_View, Project.Tree_View,
|
||||
- Mains => Mains_Str_List.all,
|
||||
+ Mains => Mains_Str_List,
|
||||
All_Projects => All_Projects,
|
||||
Include_Externally_Built => Include_Externally_Built,
|
||||
Status => Closure_Status,
|
||||
Result => Closures_List);
|
||||
|
||||
- -- Freeing temporary list of mains.
|
||||
- for I in Mains_Str_List'Range loop
|
||||
- Free (Mains_Str_List (I));
|
||||
- end loop;
|
||||
- Free (Mains_Str_List);
|
||||
-
|
||||
case Closure_Status is
|
||||
when Success =>
|
||||
Status := Success;
|
||||
@@ -3321,17 +3314,10 @@
|
||||
end case;
|
||||
|
||||
if Closure_Status in Success | Incomplete_Closure then
|
||||
- for I in Closures_List'Range loop
|
||||
- Append (Result, Create (+Closures_List (I).all));
|
||||
+ for Closure of Closures_List loop
|
||||
+ Append (Result, Create (+Closure));
|
||||
end loop;
|
||||
end if;
|
||||
-
|
||||
- -- Freeing temporary list of closures.
|
||||
- for I in Closures_List'Range loop
|
||||
- Free (Closures_List (I));
|
||||
- end loop;
|
||||
- Free (Closures_List);
|
||||
-
|
||||
end Get_Closures;
|
||||
|
||||
----------------
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit multilib multiprocessing autotools python-single-r1
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="GNAT Component Collection"
|
||||
HOMEPAGE="http://libre.adacore.com"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/5739942ac7a447658d00e1e7
|
||||
-> ${MYP}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gmp +gnat_2016 gnat_2017 gtk iconv postgres pygobject projects readline
|
||||
+shared sqlite static-libs syslog tools"
|
||||
|
||||
RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
${PYTHON_DEPS}
|
||||
gmp? ( dev-libs/gmp:* )
|
||||
gtk? (
|
||||
dev-ada/gtkada[gnat_2016=,gnat_2017=,shared?,static-libs?]
|
||||
dev-libs/atk
|
||||
dev-libs/glib
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
)
|
||||
pygobject? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
projects? (
|
||||
~dev-ada/libgpr-2018[gnat_2016=,gnat_2017=,shared?,static-libs?]
|
||||
dev-ada/xmlada[shared?,static-libs?]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
tools? ( static-libs )
|
||||
pygobject? ( gtk )
|
||||
^^ ( gnat_2016 gnat_2017 )"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use gnat_2016; then
|
||||
GCC_PV=4.9.4
|
||||
else
|
||||
GCC_PV=6.3.0
|
||||
fi
|
||||
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
|
||||
GNATCHOP=${CHOST}-gnatchop-${GCC_PV}
|
||||
if use sqlite; then
|
||||
myConf="--with-sqlite=$(get_libdir)"
|
||||
else
|
||||
myConf="--without-sqlite"
|
||||
fi
|
||||
if use gtk ; then
|
||||
myConf="$myConf --with-gtk=3.0"
|
||||
else
|
||||
myConf="$myConf --with-gtk=no"
|
||||
fi
|
||||
econf \
|
||||
GNATCHOP="${GNATCHOP}" \
|
||||
GNATMAKE="${GNATMAKE}" \
|
||||
--with-python \
|
||||
$(use_with gmp) \
|
||||
$(use_with iconv) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_enable projects) \
|
||||
$(use_enable pygobject) \
|
||||
$(use_enable readline gpl) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable syslog) \
|
||||
--with-python-exec=${EPYTHON} \
|
||||
--enable-shared-python \
|
||||
--disable-pygtk \
|
||||
$myConf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use shared; then
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
build_library_type/relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
build_library_type/static
|
||||
fi
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use shared; then
|
||||
emake prefix="${D}usr" install_library_type/relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
emake prefix="${D}usr" install_library_type/static
|
||||
fi
|
||||
emake prefix="${D}usr" install_gps_plugin
|
||||
einstalldocs
|
||||
dodoc -r features-* known-problems-*
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# The test suite is in
|
||||
# To run you need to have the ada compiler available as gcc
|
||||
# Even in this case there are still some problem
|
||||
# Going into the testsuite directory and running
|
||||
# ./run.py -v -v
|
||||
# run here (having enabled most USE flags)
|
||||
true
|
||||
}
|
Binary file not shown.
@ -1,9 +1,12 @@
|
||||
DIST sqlite-autoconf-3230100.tar.gz 2675362 BLAKE2B 2dd075f0dc05425563a8e679bb463724296294b5845746f06b51a24c9601be203ee0f2213f43eaca0757fcbb54b777cee746d873c98f377a0b010d8066d7fcb5 SHA512 52cae7ed0678b763d40373ae260672b906861379428529a58a017cbc82419a6b109e0b2ac7ff5532e6d941693cc4ab68e6563f424b92b3b27c8916859a6e4826
|
||||
DIST sqlite-autoconf-3240000.tar.gz 2699252 BLAKE2B c8beb3b90bdd06f76cafeba859cbf91cf4d0cb313fc9202d210ccbad5fca7f9a062ede63387e814d664f0ae38bcfa48db222f466dbcd429fecfb53cfdac155c4 SHA512 eaec866de26003ec36559aab15dd18dc0e6029453002a4eec5e176bb35a712b8b06c235436e6c1a226b67c7eb90d7a26c2b3b3d9a5e6e92a5af485236b77c878
|
||||
DIST sqlite-autoconf-3250200.tar.gz 2763876 BLAKE2B 3d97cc60edf8f91855215bd59260362665c8ec7699510f2e07c7ba57e10c400dcc99bb392e216f798bef1ffa7120b48ee62ce144a871741ef57b3aefeab875d6 SHA512 5ef9a6dfbb0822257af1a3a379785a95ab02edecbbb53b57074ddd0b8dc294fc07cbb9a8a7acc4e1640fb1743525ed6331fecebbddce01bc017330b20e127ad9
|
||||
DIST sqlite-autoconf-3250300.tar.gz 2764429 BLAKE2B 6a79a8785c1e84002c031a86c6563e937a45d6ef4aae1b941d42c06cb8630210c33583f25e41f3f90b181ce47da650f81845ad88cafbf9c764164cf8b5d92e81 SHA512 5bc501d15367e097f4070185974b0c3a8246c06b205fb2258ed18870ff3fbf120ac5e0ba031a6744af89f7659206e28e7de2f0367bdb190b8412e453b43de4ba
|
||||
DIST sqlite-doc-3230100.zip 8882546 BLAKE2B 1e80647e3789b9130a93e881933fb1260794d9ccf359969a16bdeb0df5a51787eaf8404641c4b760bedd45063d46f8874fd74a4da1fef0234f3d8e92db754d76 SHA512 d3a42621480a928446c5f71d0f2ee68e245b071971da38438f9070bd5bcbe1930ea5bd20e06c68543df75badd2e4565abc94420df50b7152c9cd129587471471
|
||||
DIST sqlite-doc-3240000.zip 9030826 BLAKE2B 4444e3dd0ce782e19fa01c881e0b5453723419ef1cf95cbe751d759a264bbe288a5c23a2b6514ed459b99b11637349c02def68fed7df8625bfc161307e44564c SHA512 31e9046cea569d7ad1b3af176e1bb18cd59474afb6849871ead6e7c9c096f046162fb313a38684a8c944fad9f689c4c3c692be1d7dc6a8ef5a6685bbc7dfdab6
|
||||
DIST sqlite-doc-3250200.zip 9229732 BLAKE2B 9bc4499c2934d15428dd30e0522362a2c2e703061c293f1b657f01d3945612760be3b4f145ddf76d9cf87953fae26884646887e53c0c55683ce42bc239dcf952 SHA512 a0b764ca0eea0e9719d46b6e1f92db78578457c8331976d4712c56cd10fc062fd73629686a0e45dfdeb505fbfbe0c53652a5e64507702ff4e12b62a2fc8d8211
|
||||
DIST sqlite-doc-3250300.zip 9265285 BLAKE2B 0722f00d849b18dabf82d317eb0deeb5567534a9cb55e189f28b18e7a26b863190911a02a26e21cf39b3106e7e1a872c445a3d8b53876a16d245e77affb6abc4 SHA512 a57cefbb2338a87721fb34f7a0d19129a58fbce026f80719af7dbbeb7512c91ab59e07719d860cc1cf742807ab7b0b5f92cff3bf52f4dbbad8c6ca34ad0a68ac
|
||||
DIST sqlite-src-3230100.zip 10849436 BLAKE2B 6bed0a45c83ddb51d665835d174f623b30b1c3b81562fdea2317b58d876a0852136fe4f8a3ebc7679676f366e19c84d0ad2f54d3d8c73712145099975f80cf1a SHA512 69a87b76860c3b172d9e68b0fc0b8c157b606375e2b7d793ce4bd4b898ef737cd721189bc6a3342c749e224e60fa96203d449668c49dff2ebdc682b49630a59b
|
||||
DIST sqlite-src-3240000.zip 10980065 BLAKE2B 201a59cb34271e5ac79e96e4e2ea64f8b61aa99c44eedf61c0a21752ad4376caaf7980a6923dca66266b1a315d9867871d0d172c17907b4147c15431aa212a70 SHA512 812c2df7179abb1e445b5b3e161c940b120c53366a7b2c1f0bfc3599cd9921e5543ba39ca3f297eeaefec318f10c15f630f00f9cf04133c7cd419a04f3bbdd0e
|
||||
DIST sqlite-src-3250200.zip 11381811 BLAKE2B 6183436f66c862c32d1dfd59ea4ccb5eaf3dd516ffcf9d7edf786e8fbf56eff3cb84d08e291b2e86fae25e537bed452aed693bdb0f0d6bb6581da86641013557 SHA512 7354af2d45c574ba867fab8aabc6ff903279f028aebed50c71019066df78f61a0b941564c572c87b0f3ed3e5783bf325a690a9957d775228fbbb293dd9a5ad37
|
||||
DIST sqlite-src-3250300.zip 11384253 BLAKE2B dbc1d989b1f7ae26e34d629ae7926cfebacc0e3b9e07abb98ac6e6d2d801f111624d5b3f5a1d486580559ff0b42140bb798aa862df60946efa77d8b26c47fbd0 SHA512 7d6a38aea5626f7a32960fcdd109c647dd24a22ecf0772f01ffdba389f70fdfe6455f69733b22c220d4114a7d61d3d10097c23859d303e02d126988a1f663b65
|
||||
|
@ -0,0 +1,320 @@
|
||||
# Copyright 1999-2018 Arfrever Frehtes Taifersar Arahesis and others
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
||||
|
||||
DESCRIPTION="SQL database engine"
|
||||
HOMEPAGE="https://sqlite.org/"
|
||||
SRC_URI="doc? ( https://sqlite.org/2018/${PN}-doc-${DOC_PV}.zip )
|
||||
tcl? ( https://sqlite.org/2018/${PN}-src-${SRC_PV}.zip )
|
||||
test? ( https://sqlite.org/2018/${PN}-src-${SRC_PV}.zip )
|
||||
tools? ( https://sqlite.org/2018/${PN}-src-${SRC_PV}.zip )
|
||||
!tcl? ( !test? ( !tools? ( https://sqlite.org/2018/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="doc? ( app-arch/unzip )
|
||||
tcl? (
|
||||
app-arch/unzip
|
||||
>=dev-lang/tcl-8.6:0
|
||||
)
|
||||
test? (
|
||||
app-arch/unzip
|
||||
>=dev-lang/tcl-8.6:0
|
||||
)
|
||||
tools? (
|
||||
app-arch/unzip
|
||||
>=dev-lang/tcl-8.6:0
|
||||
)"
|
||||
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
||||
|
||||
full_archive() {
|
||||
use tcl || use test || use tools
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if full_archive; then
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
else
|
||||
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if full_archive; then
|
||||
eapply "${FILESDIR}/${PN}-3.25.0-full_archive-build.patch"
|
||||
eapply "${FILESDIR}/${PN}-3.25.2-full_archive-tests.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix AC_CHECK_FUNCS.
|
||||
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||
sed -e "s/AC_CHECK_FUNCS(.*)/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" -i configure.ac || die "sed failed"
|
||||
else
|
||||
eapply "${FILESDIR}/${PN}-3.25.0-nonfull_archive-build.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix AC_CHECK_FUNCS.
|
||||
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||
sed \
|
||||
-e "s/AC_CHECK_FUNCS(\[fdatasync.*/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" \
|
||||
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||
-i configure.ac || die "sed failed"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" options=()
|
||||
|
||||
options+=(
|
||||
--enable-$(full_archive && echo load-extension || echo dynamic-extensions)
|
||||
--enable-threadsafe
|
||||
)
|
||||
if ! full_archive; then
|
||||
options+=(--disable-static-shell)
|
||||
fi
|
||||
|
||||
# Support detection of misuse of SQLite API.
|
||||
# https://sqlite.org/compile.html#enable_api_armor
|
||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||
|
||||
# Support column metadata functions.
|
||||
# https://sqlite.org/c3ref/column_database_name.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support sqlite_dbpage virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
||||
|
||||
# Support dbstat virtual table.
|
||||
# https://sqlite.org/dbstat.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||
|
||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
||||
# https://sqlite.org/compile.html#enable_deserialize
|
||||
# https://sqlite.org/c3ref/serialize.html
|
||||
# https://sqlite.org/c3ref/deserialize.html
|
||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
||||
|
||||
# Support comments in output of EXPLAIN.
|
||||
# https://sqlite.org/compile.html#enable_explain_comments
|
||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||
|
||||
# Support Full-Text Search versions 3, 4 and 5.
|
||||
# https://sqlite.org/fts3.html
|
||||
# https://sqlite.org/fts5.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
options+=(--enable-fts5)
|
||||
|
||||
# Support hidden columns.
|
||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||
|
||||
# Support JSON1 extension.
|
||||
# https://sqlite.org/json1.html
|
||||
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||
|
||||
# Support memsys5 memory allocator.
|
||||
# https://sqlite.org/malloc.html#memsys5
|
||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
||||
|
||||
# Support sqlite_offset() function.
|
||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
||||
|
||||
# Support pre-update hook functions.
|
||||
# https://sqlite.org/c3ref/preupdate_count.html
|
||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
||||
|
||||
# Support Resumable Bulk Update extension.
|
||||
# https://sqlite.org/rbu.html
|
||||
append-cppflags -DSQLITE_ENABLE_RBU
|
||||
|
||||
# Support R*Trees.
|
||||
# https://sqlite.org/rtree.html
|
||||
# https://sqlite.org/geopoly.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
||||
|
||||
# Support scan status functions.
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||
|
||||
# Support sqlite_stmt virtual table.
|
||||
# https://sqlite.org/stmt.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
||||
|
||||
# Support Session extension.
|
||||
# https://sqlite.org/sessionintro.html
|
||||
options+=(--enable-session)
|
||||
|
||||
# Support unknown() function.
|
||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
||||
|
||||
# Support unlock notification.
|
||||
# https://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||
|
||||
# Support PRAGMA function_list, PRAGMA module_list and PRAGMA pragma_list statements.
|
||||
# https://sqlite.org/pragma.html#pragma_function_list
|
||||
# https://sqlite.org/pragma.html#pragma_module_list
|
||||
# https://sqlite.org/pragma.html#pragma_pragma_list
|
||||
append-cppflags -DSQLITE_INTROSPECTION_PRAGMAS
|
||||
|
||||
# Support soundex() function.
|
||||
# https://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# Support URI filenames.
|
||||
# https://sqlite.org/uri.html
|
||||
append-cppflags -DSQLITE_USE_URI
|
||||
|
||||
# debug USE flag.
|
||||
if full_archive; then
|
||||
options+=($(use_enable debug))
|
||||
else
|
||||
if use debug; then
|
||||
append-cppflags -DSQLITE_DEBUG
|
||||
else
|
||||
append-cppflags -DNDEBUG
|
||||
fi
|
||||
fi
|
||||
|
||||
# icu USE flag.
|
||||
if use icu; then
|
||||
# Support ICU extension.
|
||||
# https://sqlite.org/compile.html#enable_icu
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
if full_archive; then
|
||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
else
|
||||
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline USE flag.
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
if full_archive && use readline; then
|
||||
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||
fi
|
||||
|
||||
# secure-delete USE flag.
|
||||
if use secure-delete; then
|
||||
# Enable secure_delete pragma by default.
|
||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
# static-libs USE flag.
|
||||
options+=($(use_enable static-libs static))
|
||||
|
||||
# tcl, test, tools USE flags.
|
||||
if full_archive; then
|
||||
options+=(--enable-tcl)
|
||||
fi
|
||||
|
||||
if [[ "${CHOST}" == *-mint* ]]; then
|
||||
append-cppflags -DSQLITE_OMIT_WAL
|
||||
fi
|
||||
|
||||
if [[ "${ABI}" == "x86" ]]; then
|
||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
||||
append-cflags -mfpmath=sse
|
||||
else
|
||||
append-cflags -ffloat-store
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
emake changeset dbdump dbhash rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
install_tool() {
|
||||
if [[ -f ".libs/${1}" ]]; then
|
||||
newbin ".libs/${1}" "${2}"
|
||||
else
|
||||
newbin "${1}" "${2}"
|
||||
fi
|
||||
}
|
||||
|
||||
install_tool changeset sqlite3-changeset
|
||||
install_tool dbdump sqlite3-db-dump
|
||||
install_tool dbhash sqlite3-db-hash
|
||||
install_tool rbu sqlite3-rbu
|
||||
install_tool scrub sqlite3-scrub
|
||||
install_tool showdb sqlite3-show-db
|
||||
install_tool showjournal sqlite3-show-journal
|
||||
install_tool showshm sqlite3-show-shm
|
||||
install_tool showstat4 sqlite3-show-stat4
|
||||
install_tool showwal sqlite3-show-wal
|
||||
install_tool sqldiff sqlite3-diff
|
||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||
install_tool sqlite3_checker sqlite3-checker
|
||||
install_tool sqlite3_expert sqlite3-expert
|
||||
install_tool sqltclsh sqlite3-tclsh
|
||||
|
||||
unset -f install_tool
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name "*.la" -delete || die
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
rm "${WORKDIR}/${PN}-doc-${DOC_PV}/"*.{db,txt}
|
||||
(
|
||||
docinto html
|
||||
dodoc -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"*
|
||||
)
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tiled-1.2.0.tar.gz 17007687 BLAKE2B 6bb5a34a19868574801a69015f6a05b299dd5b34df865cacf5d2a747a62ae731b80778fe49a432c5487cbfa3d30186dc80011cc8882cb86ac347fb35a7421cbc SHA512 9c0c151348a90344b355e9bc8a7c9d38e2203d48474e8cf496e2c08cc75f764042e4355db2827f0e3518a1c03bfbcc79be7ba643c44c50430c7ecec09fbb8563
|
||||
DIST tiled-1.2.1.tar.gz 16773680 BLAKE2B 1b7c662863d931dadd46d20c90822659b71fe5c7432cc6486813a6db533057d9db9768c2d14832a74b0f768c29b3d340cdc28a67df830ca984ad824610afe662 SHA512 9a66d41ed991b6af226c9456758f27bf5cf2e8d1059042fb684b003608509c0d0e13776710e777bab0e12f55223e4fca4048a07661c36a3273f9c6c5cbf7fa5d
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit gnome2-utils multilib python-single-r1 qmake-utils xdg
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="https://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.9:5
|
||||
>=dev-qt/qtgui-5.9:5
|
||||
>=dev-qt/qtnetwork-5.9:5
|
||||
>=dev-qt/qtwidgets-5.9:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,220 @@
|
||||
--- a/gcc/ada/exp_attr.adb 2018-11-16 20:23:21.775906196 +0100
|
||||
+++ b/gcc/ada/exp_attr.adb 2018-11-16 20:25:57.418211404 +0100
|
||||
@@ -3121,6 +3121,121 @@
|
||||
Analyze_And_Resolve (N, Standard_String);
|
||||
end External_Tag;
|
||||
|
||||
+ -----------------------
|
||||
+ -- Finalization_Size --
|
||||
+ -----------------------
|
||||
+
|
||||
+ when Attribute_Finalization_Size => Finalization_Size : declare
|
||||
+ function Calculate_Header_Size return Node_Id;
|
||||
+ -- Generate a runtime call to calculate the size of the hidden header
|
||||
+ -- along with any added padding which would precede a heap-allocated
|
||||
+ -- object of the prefix type.
|
||||
+
|
||||
+ ---------------------------
|
||||
+ -- Calculate_Header_Size --
|
||||
+ ---------------------------
|
||||
+
|
||||
+ function Calculate_Header_Size return Node_Id is
|
||||
+ begin
|
||||
+ -- Generate:
|
||||
+ -- Universal_Integer
|
||||
+ -- (Header_Size_With_Padding (Pref'Alignment))
|
||||
+
|
||||
+ return
|
||||
+ Convert_To (Universal_Integer,
|
||||
+ Make_Function_Call (Loc,
|
||||
+ Name =>
|
||||
+ New_Occurrence_Of (RTE (RE_Header_Size_With_Padding), Loc),
|
||||
+
|
||||
+ Parameter_Associations => New_List (
|
||||
+ Make_Attribute_Reference (Loc,
|
||||
+ Prefix => New_Copy_Tree (Pref),
|
||||
+ Attribute_Name => Name_Alignment))));
|
||||
+ end Calculate_Header_Size;
|
||||
+
|
||||
+ -- Local variables
|
||||
+
|
||||
+ Size : Entity_Id;
|
||||
+
|
||||
+ -- Start of Finalization_Size
|
||||
+
|
||||
+ begin
|
||||
+ -- An object of a class-wide type first requires a runtime check to
|
||||
+ -- determine whether it is actually controlled or not. Depending on
|
||||
+ -- the outcome of this check, the Finalization_Size of the object
|
||||
+ -- may be zero or some positive value.
|
||||
+ --
|
||||
+ -- In this scenario, Pref'Finalization_Size is expanded into
|
||||
+ --
|
||||
+ -- Size : Integer := 0;
|
||||
+ --
|
||||
+ -- if Needs_Finalization (Pref'Tag) then
|
||||
+ -- Size :=
|
||||
+ -- Universal_Integer
|
||||
+ -- (Header_Size_With_Padding (Pref'Alignment));
|
||||
+ -- end if;
|
||||
+ --
|
||||
+ -- and the attribute reference is replaced with a reference to Size.
|
||||
+
|
||||
+ if Is_Class_Wide_Type (Ptyp) then
|
||||
+ Size := Make_Temporary (Loc, 'S');
|
||||
+
|
||||
+ Insert_Actions (N, New_List (
|
||||
+
|
||||
+ -- Generate:
|
||||
+ -- Size : Integer := 0;
|
||||
+
|
||||
+ Make_Object_Declaration (Loc,
|
||||
+ Defining_Identifier => Size,
|
||||
+ Object_Definition =>
|
||||
+ New_Occurrence_Of (Standard_Integer, Loc),
|
||||
+ Expression => Make_Integer_Literal (Loc, 0)),
|
||||
+
|
||||
+ -- Generate:
|
||||
+ -- if Needs_Finalization (Pref'Tag) then
|
||||
+ -- Size :=
|
||||
+ -- Universal_Integer
|
||||
+ -- (Header_Size_With_Padding (Pref'Alignment));
|
||||
+ -- end if;
|
||||
+
|
||||
+ Make_If_Statement (Loc,
|
||||
+ Condition =>
|
||||
+ Make_Function_Call (Loc,
|
||||
+ Name =>
|
||||
+ New_Occurrence_Of (RTE (RE_Needs_Finalization), Loc),
|
||||
+
|
||||
+ Parameter_Associations => New_List (
|
||||
+ Make_Attribute_Reference (Loc,
|
||||
+ Prefix => New_Copy_Tree (Pref),
|
||||
+ Attribute_Name => Name_Tag))),
|
||||
+
|
||||
+ Then_Statements => New_List (
|
||||
+ Make_Assignment_Statement (Loc,
|
||||
+ Name => New_Occurrence_Of (Size, Loc),
|
||||
+ Expression => Calculate_Header_Size)))));
|
||||
+
|
||||
+ Rewrite (N, New_Occurrence_Of (Size, Loc));
|
||||
+
|
||||
+ -- The prefix is known to be controlled at compile time. Calculate
|
||||
+ -- Finalization_Size by calling function Header_Size_With_Padding.
|
||||
+
|
||||
+ elsif Needs_Finalization (Ptyp) then
|
||||
+ Rewrite (N, Calculate_Header_Size);
|
||||
+
|
||||
+ -- The prefix is not an object with controlled parts, so its
|
||||
+ -- Finalization_Size is zero.
|
||||
+
|
||||
+ else
|
||||
+ Rewrite (N, Make_Integer_Literal (Loc, 0));
|
||||
+ end if;
|
||||
+
|
||||
+ -- Due to cases where the entity type of the attribute is already
|
||||
+ -- resolved the rewritten N must get re-resolved to its appropriate
|
||||
+ -- type.
|
||||
+
|
||||
+ Analyze_And_Resolve (N, Typ);
|
||||
+ end Finalization_Size;
|
||||
+
|
||||
-----------
|
||||
-- First --
|
||||
-----------
|
||||
--- a/gcc/ada/snames.ads-tmpl 2016-05-16 11:29:28.000000000 +0200
|
||||
--- b/gcc/ada/snames.ads-tmpl 2016-05-16 11:29:28.000000000 +0200
|
||||
@@ -884,6 +884,7 @@
|
||||
Name_Exponent : constant Name_Id := N + $;
|
||||
Name_External_Tag : constant Name_Id := N + $;
|
||||
Name_Fast_Math : constant Name_Id := N + $; -- GNAT
|
||||
+ Name_Finalization_Size : constant Name_Id := N + $; -- GNAT
|
||||
Name_First : constant Name_Id := N + $;
|
||||
Name_First_Bit : constant Name_Id := N + $;
|
||||
Name_First_Valid : constant Name_Id := N + $; -- Ada 12
|
||||
@@ -1523,6 +1524,7 @@
|
||||
Attribute_Exponent,
|
||||
Attribute_External_Tag,
|
||||
Attribute_Fast_Math,
|
||||
+ Attribute_Finalization_Size,
|
||||
Attribute_First,
|
||||
Attribute_First_Bit,
|
||||
Attribute_First_Valid,
|
||||
--- a/gcc/ada/sem_attr.ads 2018-11-16 21:35:46.821279875 +0100
|
||||
+++ b/gcc/ada/sem_attr.ads 2018-11-16 21:36:00.028057464 +0100
|
||||
@@ -242,6 +242,16 @@
|
||||
-- enumeration value. Constraint_Error is raised if no value of the
|
||||
-- enumeration type corresponds to the given integer value.
|
||||
|
||||
+ -----------------------
|
||||
+ -- Finalization_Size --
|
||||
+ -----------------------
|
||||
+
|
||||
+ Attribute_Finalization_Size => True,
|
||||
+ -- For every object or non-class-wide-type, Finalization_Size returns
|
||||
+ -- the size of the hidden header used for finalization purposes as if
|
||||
+ -- the object or type was allocated on the heap. The size of the header
|
||||
+ -- does take into account any extra padding due to alignment issues.
|
||||
+
|
||||
-----------------
|
||||
-- Fixed_Value --
|
||||
-----------------
|
||||
--- a/gcc/ada/sem_attr.adb 2018-11-16 21:35:49.698231429 +0100
|
||||
+++ b/gcc/ada/sem_attr.adb 2018-11-16 21:36:00.028057464 +0100
|
||||
@@ -3828,6 +3828,42 @@
|
||||
Check_Standard_Prefix;
|
||||
Rewrite (N, New_Occurrence_Of (Boolean_Literals (Fast_Math), Loc));
|
||||
|
||||
+ -----------------------
|
||||
+ -- Finalization_Size --
|
||||
+ -----------------------
|
||||
+
|
||||
+ when Attribute_Finalization_Size =>
|
||||
+ Check_E0;
|
||||
+
|
||||
+ -- The prefix denotes an object
|
||||
+
|
||||
+ if Is_Object_Reference (P) then
|
||||
+ Check_Object_Reference (P);
|
||||
+
|
||||
+ -- The prefix denotes a type
|
||||
+
|
||||
+ elsif Is_Entity_Name (P) and then Is_Type (Entity (P)) then
|
||||
+ Check_Type;
|
||||
+ Check_Not_Incomplete_Type;
|
||||
+
|
||||
+ -- Attribute 'Finalization_Size is not defined for class-wide
|
||||
+ -- types because it is not possible to know statically whether
|
||||
+ -- a definite type will have controlled components or not.
|
||||
+
|
||||
+ if Is_Class_Wide_Type (Etype (P)) then
|
||||
+ Error_Attr_P
|
||||
+ ("prefix of % attribute cannot denote a class-wide type");
|
||||
+ end if;
|
||||
+
|
||||
+ -- The prefix denotes an illegal construct
|
||||
+
|
||||
+ else
|
||||
+ Error_Attr_P
|
||||
+ ("prefix of % attribute must be a definite type or an object");
|
||||
+ end if;
|
||||
+
|
||||
+ Set_Etype (N, Universal_Integer);
|
||||
+
|
||||
-----------
|
||||
-- First --
|
||||
-----------
|
||||
@@ -8264,6 +8300,13 @@
|
||||
Fold_Uint (N,
|
||||
Eval_Fat.Exponent (P_Base_Type, Expr_Value_R (E1)), Static);
|
||||
|
||||
+ -----------------------
|
||||
+ -- Finalization_Size --
|
||||
+ -----------------------
|
||||
+
|
||||
+ when Attribute_Finalization_Size =>
|
||||
+ null;
|
||||
+
|
||||
-----------
|
||||
-- First --
|
||||
-----------
|
@ -1,3 +1,2 @@
|
||||
DIST mujs-0_p20161202.tar.gz 105413 BLAKE2B a65a343d6f60975c88001cdd8eae881559eaf8ba94cf26c8aa9a9a3837cd47ee798c784ed9e90380a76ef328e56d63d1dccd8a85a4a7496d31046d221cf8d7b9 SHA512 90dd1bce44740715a6f642bdb376be230c4a03c7970c2026479cf014a080b98b56a2131ca7ef8bf9c05b91285fe7dcc21dd4ca83879750351d57088408a62cbc
|
||||
DIST mujs-1.0.4.tar.xz 91520 BLAKE2B 6ffe62b19b140e2ae63ebe59a3b3bd352936ccba53dda3b0fcf575440dc790a0767c7de8c0a1441d26c11c65074520a80050cc0efa1113be0df51a802e719574 SHA512 a32498fee20ab6ddc8bbf79b4fdd82f3560d4e4b28bbe57c4e8f1df4a8a5367a689b6c9a391761abe47a8f15d2832fede4a508330eb181744b9563ae9954c102
|
||||
DIST mujs-1.0.5.tar.gz 119353 BLAKE2B 48f1b598e50d5804b0d64230cdd6b4d3f719187ea0906f45c9f45baee2c8df59c6fd09dc25afc9e1ce4e20a9866d158d16a4632bec552fddd8fac70b20e2363f SHA512 c1c59b5e80e0e5f580f30dfc0b4707b6a1e44a73c746b9783bb24d91429ddf8ed670a7663478300cc568cfc15a511720b6d18be2ade40a3a66fc7ab8f3933c2d
|
||||
|
@ -1,28 +0,0 @@
|
||||
--- mujs-0_p20150202/Makefile
|
||||
+++ mujs-0_p20150202/Makefile
|
||||
@@ -2,23 +2,17 @@
|
||||
HDRS := $(wildcard js*.h mujs.h utf.h regex.h)
|
||||
OBJS := $(SRCS:%.c=build/%.o)
|
||||
|
||||
-prefix ?= /usr/local
|
||||
+prefix ?= /usr
|
||||
bindir ?= $(prefix)/bin
|
||||
incdir ?= $(prefix)/include
|
||||
libdir ?= $(prefix)/lib
|
||||
|
||||
-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
|
||||
+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
|
||||
|
||||
ifeq "$(CC)" "clang"
|
||||
CFLAGS += -Wunreachable-code
|
||||
endif
|
||||
|
||||
-ifeq "$(build)" "debug"
|
||||
-CFLAGS += -g
|
||||
-else
|
||||
-CFLAGS += -O2
|
||||
-endif
|
||||
-
|
||||
default: build build/mujs build/mujsone
|
||||
|
||||
debug:
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="lightweight Javascript interpreter"
|
||||
HOMEPAGE="http://mujs.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mujs.git;a=snapshot;h=fd003eceda531e13fbdd1aeb6e9c73156496e569;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="arm"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0_p20150202-Makefile.patch"
|
||||
# workaround for linkage of app-text/mupdf-1.7a
|
||||
# TODO: generate a shared library and IUSE=static-libs
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
append-cflags -fPIC
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
|
||||
# HG changeset patch
|
||||
# User John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
|
||||
# Date 1482966103 -3600
|
||||
# Node ID 1f4d99d8dff27bcc25eff21dc6a16dae63f48595
|
||||
# Parent ce9e9f0dc752896ac7ba00bb0610b3f731e948b0
|
||||
Bug 1326496 - mozbuild: Fix bitness from 32 to 64 bits on alpha. r=glandium
|
||||
|
||||
|
||||
diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py
|
||||
--- a/python/mozbuild/mozbuild/configure/constants.py
|
||||
+++ b/python/mozbuild/mozbuild/configure/constants.py
|
||||
@@ -35,17 +35,17 @@ Kernel = EnumString.subclass(
|
||||
'Linux',
|
||||
'NetBSD',
|
||||
'OpenBSD',
|
||||
'WINNT',
|
||||
)
|
||||
|
||||
CPU_bitness = {
|
||||
'aarch64': 64,
|
||||
- 'Alpha': 32,
|
||||
+ 'Alpha': 64,
|
||||
'arm': 32,
|
||||
'hppa': 32,
|
||||
'ia64': 64,
|
||||
'mips32': 32,
|
||||
'mips64': 64,
|
||||
'ppc': 32,
|
||||
'ppc64': 64,
|
||||
's390': 32,
|
||||
|
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
Gentoo-bug: https://bugs.gentoo.org/640916
|
||||
Thanks-to: David Haller <gentoo@dhaller.de>
|
||||
|
||||
--- a/po/meson.build 2017-09-04 18:09:52.000000000 +0200
|
||||
+++ b/po/meson.build 2018-05-15 12:24:42.000000000 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
'find ' + meson.current_source_dir() +
|
||||
' -type f' +
|
||||
' -iname "*.po"' +
|
||||
- ' -printf \'%f\\n\'' +
|
||||
+ ' -printf \'%f\n\'' +
|
||||
' | grep -oP \'.*(?=[.])\' | sort' +
|
||||
' > ' + join_paths(meson.current_source_dir(), 'LINGUAS')
|
||||
]
|
@ -0,0 +1,24 @@
|
||||
From 9252de815e4443d1b617211f38685afe7c0f6b0e Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Klumpp <matthias@tenstral.net>
|
||||
Date: Sat, 20 Oct 2018 20:20:09 +0200
|
||||
Subject: [PATCH] Explicitly include string.h in as-tag.c
|
||||
|
||||
This apparently is necessary to fix an FTBFS issue with older GCC
|
||||
releases. Resolves #207
|
||||
---
|
||||
src/as-tag.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/as-tag.c b/src/as-tag.c
|
||||
index 6afba621..91076e69 100644
|
||||
--- a/src/as-tag.c
|
||||
+++ b/src/as-tag.c
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
#include "as-tag.h"
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue