parent
36a3671205
commit
adc5433872
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28829 BLAKE2B db92596dec5e29ddd95ca874e8ef8eb7b3ad9aa8ef5109fcc02d225e3b81e3f283e3a3bf9f09da63cf4db1fef63338a8079d1999dd3e03d9472476f41cebea55 SHA512 aafc8d50ca822ea885c7aa15ac9fbed7580fd936002a4dd4da24cfe885ada57cba891b940b32b80115660ac4a1f08c554e1411be2cc2934604355cb733c6965a
|
||||
TIMESTAMP 2018-12-23T09:38:42Z
|
||||
MANIFEST Manifest.files.gz 28840 BLAKE2B b12aec37a0eede33fac1abc31ef6efea51c17a52fa0cc968f7146f8847b183bab1dca290c2823b43fb0d124069fca5f31da41f1928439a8a471653c5db45ee8c SHA512 fc7609733fc164113fc1427c4a1987a6a1d955d509af4c21e751f8463dad588c9edc351af9bd8b2f8c7fb4854087e78e59019cd7b89df0a186c4417c13e02a6f
|
||||
TIMESTAMP 2018-12-23T20:08:36Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlwfV6JfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlwf60RfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCMDg//QkQcRMyTFwFl8X6RyMNK2WsWtNXeAH744M5e8iC9JDQOa1LbA/CC/Zsa
|
||||
cDybfDeUTYUKvxE/XHNLNNPSBEHbC7Cv1Qo7dh98rREGDD9uhvaxquBB96+SWO7V
|
||||
cjxKG+Wv+NF9e3Vm/I0cVRKzcqdTt4JvdFHDvcBKkErhfvooRJbMcMjzU1OTHFii
|
||||
sumK31nmea3dvPBew9Z+Kc+ZbubJtvvNeu+UPxKt7S8m1lmivus27H+RO5NuYPH6
|
||||
mrBc7x57F3HZmp9Q2ql7E9igJOmpRmAX1Plj9pNUxGdaCW7rNrqzs291HHEBWxxt
|
||||
1o5Ajd5pIcI9t/RRsSoiQFJPgs2xi2YS2/NlgxHWk3DhGBN97gcfWP5WRus9I3w0
|
||||
s8Git71bWlsIobjx373V1tdj9BgDzNFgX5NWeSY7mM7DzFprs00Eh34mtIPy3uPi
|
||||
LUYC4OOF5DBq1RGXpOU5FMhZv9rLmaeQ9RVZhvo4PkAa3pZowMSuE2ZKyrpPG5a8
|
||||
oXzXzFWyOFAwl1SDT3UfJZdA4MrJSXKwUL2EbsvQDu0CIdLJTN33bSc5/3tRop1k
|
||||
tipuke8txz4tMCZ7RSd6onBUu3EhrWGI+gd0qZjScKK7r9Mqr0O8PoIRSMFOO5fa
|
||||
UtiFBYn6MXI1DJi7xci2LeDMd6VIglPdAK08TY37onyBli7t43w=
|
||||
=XinW
|
||||
klBYTw/8C9b2eqT3Txacxj0h9uGnnhSrUwvXkgYXmJB7i2cayZLKflCRQK9QUm4a
|
||||
XjDGwE8JVNnfQaIBZWy1QALbSkYDzv7AER6anXMnQ/COg16i7ZSkUsYZIjGgaTPO
|
||||
TzwcukkD1mT1OeB0iQU4cd5U0OtREGAWtH78d1J0mgejXqY/DM4pft+E/rWMDhfY
|
||||
0w6XiztdSIwEmrKapE3pFiFpGT2z9Fdjt3fNNs6sbWP48qNOcx90YZFGzKPiWIcX
|
||||
37asL9ocpBUdohWsge3CHRCPRY6Q/yeRdWRzC/sdXAg2KV6O/nW0UgAZklJJCkhU
|
||||
IfE5DHmHvDCICYIg50quOp6aeKceYYAvziH9YyY3V91jonHkuX4q97uXbcgj6ndL
|
||||
Co1pQsiNfTnX9+t4NY2vO8bNEwVmdyRf0BJFK8qz3iGpCoWSL/i7CiZuLqJN4PFb
|
||||
BCnSITbrvMTtaaRUPcQxE1xjrkdlvsFTsK5YdYBptZSNqgWcRwNWes41FeFEKoDd
|
||||
PqStvVnUjSjeiAugibrRMtI5SNUdu9edBu0xby+TVgVGnB0GRLA+FVKcjo52Kqp+
|
||||
jQh37PPGnCcH64+TbjAvBnKm21HOIT7mXU9VlG88P/fEZhenqDQKuRu1iWzXTcZ7
|
||||
NRvfbypB7YXzidbL2p5FzGabjyB7IjXoCtjQpxizMClmV3Lc8jU=
|
||||
=CFiQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST osslsigncode-1.4.tar.gz 96512 BLAKE2B 8325153d16b7ad5d0701daf3d5d446bef498aaf45b88a78d5472d86c0899a73bff2350c224f9f3e35475d5dd72792fe24328f4710d25984ae23c5f83c6fef967 SHA512 89f82b5cbab5952b7bb0b1a3ea230db0c38d171924e5150e9cd157158e52d312cc10093ac719265d03a097f995bd3a438fe874c50263659859c625482ef0239f
|
||||
DIST osslsigncode-1.7.1.tar.gz 127631 BLAKE2B f0ced06a33968f03558e189fc9ed2340dba2cdfe823422c760d62476446646f198aed1a95f99734f80e7ec71d23cd286a23e68953f7e432a9a6ff048c76cae63 SHA512 cc5a7e0c5baa2a98db93f1d2cc9d86e732e2a8a55fc20bf8e6aa67e2120af37c6be857dfe4b8eb8c82fd40604dbb3c845190b59c7e6b4147f06b710a256b877f
|
||||
DIST osslsigncode-2.0.tar.gz 57951 BLAKE2B 67057c07bb667a546e3a8abc49e8a20a0ef42ae77edacd2e88486a4357e8e8e789307e1c2abd2e13d18401621ba5607bb42af46ed8451546a26bb6855a07e652 SHA512 aec7b101afd96925fbd70ac67a6752997f0dab3987151c0658e5f011d8a6be6f53518d7a4aba6dff696c722a1e669100143a87d07c3f59364cd62693e9f3e4e5
|
||||
EBUILD osslsigncode-1.4.ebuild 569 BLAKE2B a65ef8297b8e864a0e6e9d429370dad60af3bace297e23ee651e26156fba8eef12d0f532f1720c0c5160d050f0f5e34915973372181e1723a32f7e7705ddbc18 SHA512 633f36d45f39c15a4534a36d7a3ddb946feaa72b5108fa7337473e96f3d8ea3580cb5d93d91fe3fb4c45f4e3db9bb8873c2f5bce152aa0e8ed0df8287f158d58
|
||||
EBUILD osslsigncode-1.7.1.ebuild 566 BLAKE2B b1c16506dc3f8bc5365de9f1012ad43e3f7d24c612b2f165b6a446531e240344a83d92485534e2e164f0c1f0bc4db1e5b339642e206dcce08bf9f9598a7e24e5 SHA512 00925defbd2447e2c4177624d39bcaf203f5600d73eaf6e15fc111119b6ae2a704bf53e7d020b88598ef7709d866b08affbdcac730430de9986440123e5dd1c5
|
||||
EBUILD osslsigncode-2.0.ebuild 661 BLAKE2B 6f1a7d79ad04c62a74675e0f0d8d96a7cc315d00d39c6bbc431433b51066016e2830794184a1e9ff6b5862024f382edab3233f2e7ce16158559c077d5410a6d6 SHA512 dc9e8de629017762d7599223597b583200a521a16739edff3d0137e237fa96c829eebc84e129656844ed74169d0c1dbf7e30b0fed828cb864585c24fe3d76a15
|
||||
MISC metadata.xml 249 BLAKE2B e2269cf35520934d37b0cace5aaa64dc71ba9917bb90ef01e3ddb5e0208ffd0e2c650008fe88df51ebf6c5c304dbf7670608712f4229cacf62f9c7a747fb8f00 SHA512 9d2ea5145e05b199a7c1cff11164a7eaa9179fec4149b5a0c6f17c5c689d041d68243f4e1cc550617f9649f72ca77d7cadf3d488d1c6cab31bdbdb3fdc26aa9a
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Platform-independent tool for Authenticode signing of EXE/CAB files"
|
||||
HOMEPAGE="https://github.com/mtrojnar/osslsigncode"
|
||||
SRC_URI="https://github.com/mtrojnar/osslsigncode/archive/2.0.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl libressl"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
curl? ( net-misc/curl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with curl)
|
||||
}
|
Binary file not shown.
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 linux-info flag-o-matic systemd readme.gentoo-r1 pam
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="apparmor examples pam seccomp selinux +templates"
|
||||
|
||||
RDEPEND="
|
||||
net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
pam? ( virtual/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/docbook-sgml-utils-0.6.14-r2
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
PDEPEND="templates? ( app-emulation/lxc-templates )"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~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
|
||||
~!GRKERNSEC_CHROOT_FINDTASK
|
||||
"
|
||||
|
||||
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_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)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-bash-completion.patch
|
||||
"${FILESDIR}"/${PN}-2.0.5-omit-sysconfig.patch # bug 558854
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# --enable-doc is for manpages which is why we don't link it to a "doc"
|
||||
# USE flag. We always want man pages.
|
||||
local myeconfargs=(
|
||||
--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
|
||||
--disable-werror
|
||||
--enable-doc
|
||||
$(use_enable apparmor)
|
||||
$(use_enable examples)
|
||||
$(use_enable pam)
|
||||
$(use_with pam pamdir $(getpam_mod_dir))
|
||||
$(use_enable seccomp)
|
||||
$(use_enable selinux)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,stop,unfreeze,wait}
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
rmdir "${D}"/var/cache/lxc "${D}"/var/cache || die "rmdir failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.7" ${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"
|
||||
|
||||
DOC_CONTENTS="
|
||||
For openrc, there is an init script provided with the package.
|
||||
You _should_ only need to symlink /etc/init.d/lxc to
|
||||
/etc/init.d/lxc.configname to start the container defined in
|
||||
/etc/lxc/configname.conf.
|
||||
|
||||
Correspondingly, for systemd a service file lxc@.service is installed.
|
||||
Enable and start lxc@configname in order to start the container defined
|
||||
in /etc/lxc/configname.conf.
|
||||
|
||||
If you want checkpoint/restore functionality, please install criu
|
||||
(sys-process/criu)."
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,127 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/83" # 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 cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( app-text/poppler-data )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS README README-XPDF )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.71.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.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
|
||||
|
||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||
sed '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||
-i CMakeLists.txt || die
|
||||
else
|
||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||
fi
|
||||
|
||||
# we need to up the C++ version, bug #622526, #643278
|
||||
append-cxxflags -std=c++11
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
-DSPLASH_CMYK=OFF
|
||||
-DUSE_FIXEDPOINT=OFF
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo=$(usex cairo)
|
||||
-DENABLE_LIBCURL=$(usex curl)
|
||||
-DENABLE_CPP=$(usex cxx)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||
-DWITH_NSS3=$(usex nss)
|
||||
-DWITH_PNG=$(usex png)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DENABLE_UTILS=$(usex utils)
|
||||
)
|
||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
||||
|
||||
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
|
||||
}
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
--- a/spec/std/socket/unix_socket_spec.cr
|
||||
+++ b/spec/std/socket/unix_socket_spec.cr
|
||||
@@ -37,7 +37,9 @@ describe UNIXSocket do
|
||||
end
|
||||
end
|
||||
|
||||
- it "sync flag after accept" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "sync flag after accept" do
|
||||
with_tempfile("unix_socket-accept.sock") do |path|
|
||||
UNIXServer.open(path) do |server|
|
||||
UNIXSocket.open(path) do |client|
|
@ -0,0 +1,90 @@
|
||||
--- a/spec/std/socket/unix_server_spec.cr
|
||||
+++ b/spec/std/socket/unix_server_spec.cr
|
||||
@@ -14,7 +14,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "creates the socket file" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "creates the socket file" do
|
||||
with_tempfile("unix_server.sock") do |path|
|
||||
UNIXServer.open(path) do
|
||||
File.exists?(path).should be_true
|
||||
@@ -24,7 +26,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "deletes socket file on close" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "deletes socket file on close" do
|
||||
with_tempfile("unix_server-close.sock") do |path|
|
||||
server = UNIXServer.new(path)
|
||||
server.close
|
||||
@@ -33,7 +37,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "raises when socket file already exists" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "raises when socket file already exists" do
|
||||
with_tempfile("unix_server-twice.sock") do |path|
|
||||
server = UNIXServer.new(path)
|
||||
|
||||
@@ -45,7 +51,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "won't delete existing file on bind failure" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "won't delete existing file on bind failure" do
|
||||
with_tempfile("unix_server-exist.sock") do |path|
|
||||
File.write(path, "")
|
||||
File.exists?(path).should be_true
|
||||
@@ -60,7 +68,9 @@ describe UNIXServer do
|
||||
end
|
||||
|
||||
describe "accept" do
|
||||
- it "returns the client UNIXSocket" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "returns the client UNIXSocket" do
|
||||
with_tempfile("unix_server-accept.sock") do |path|
|
||||
UNIXServer.open(path) do |server|
|
||||
UNIXSocket.open(path) do |_|
|
||||
@@ -72,7 +82,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "raises when server is closed" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "raises when server is closed" do
|
||||
with_tempfile("unix_server-closed.sock") do |path|
|
||||
server = UNIXServer.new(path)
|
||||
exception = nil
|
||||
@@ -97,7 +109,9 @@ describe UNIXServer do
|
||||
end
|
||||
|
||||
describe "accept?" do
|
||||
- it "returns the client UNIXSocket" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "returns the client UNIXSocket" do
|
||||
with_tempfile("unix_server-accept_.sock") do |path|
|
||||
UNIXServer.open(path) do |server|
|
||||
UNIXSocket.open(path) do |_|
|
||||
@@ -109,7 +123,9 @@ describe UNIXServer do
|
||||
end
|
||||
end
|
||||
|
||||
- it "returns nil when server is closed" do
|
||||
+ # On large non-standard temp paths the test fails as:
|
||||
+ # Path size exceeds the maximum size of 107 bytes
|
||||
+ pending "returns nil when server is closed" do
|
||||
with_tempfile("unix_server-accept2.sock") do |path|
|
||||
server = UNIXServer.new(path)
|
||||
ret = :initial
|
@ -0,0 +1,44 @@
|
||||
--- a/spec/std/socket/tcp_server_spec.cr
|
||||
+++ b/spec/std/socket/tcp_server_spec.cr
|
||||
@@ -76,13 +76,17 @@ describe TCPServer do
|
||||
TCPServer.new("localhost", unused_local_port)
|
||||
end
|
||||
|
||||
- it "raises when host doesn't exist" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
|
||||
+ pending "raises when host doesn't exist" do
|
||||
expect_raises(Socket::Error, "No address") do
|
||||
TCPServer.new("doesnotexist.example.org.", 12345)
|
||||
end
|
||||
end
|
||||
|
||||
- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
|
||||
+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
expect_raises(Socket::Error, "No address") do
|
||||
TCPServer.new("doesnotexist.example.org.", 0)
|
||||
end
|
||||
--- a/spec/std/socket/tcp_socket_spec.cr
|
||||
+++ b/spec/std/socket/tcp_socket_spec.cr
|
||||
@@ -56,13 +56,17 @@ describe TCPSocket do
|
||||
end
|
||||
end
|
||||
|
||||
- it "raises when host doesn't exist" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
|
||||
+ pending "raises when host doesn't exist" do
|
||||
expect_raises(Socket::Error, "No address") do
|
||||
TCPSocket.new("doesnotexist.example.org.", 12345)
|
||||
end
|
||||
end
|
||||
|
||||
- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
|
||||
+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
expect_raises(Socket::Error, "No address") do
|
||||
TCPSocket.new("doesnotexist.example.org.", 0)
|
||||
end
|
@ -0,0 +1,14 @@
|
||||
--- a/spec/std/http/cookie_spec.cr
|
||||
+++ b/spec/std/http/cookie_spec.cr
|
||||
@@ -150,7 +150,10 @@ module HTTP
|
||||
parse_set_cookie("a=1; domain=127.0.0.1; path=/; HttpOnly").domain.should eq "127.0.0.1"
|
||||
end
|
||||
|
||||
- it "parse max-age as seconds from Time.now" do
|
||||
+ # unstable test: sometimes 'now - max-age=0' == 0.0:
|
||||
+ # Failure/Error: delta.should be > 0.seconds
|
||||
+ # Expected 00:00:00 to be > 00:00:00
|
||||
+ pending "parse max-age as seconds from Time.now" do
|
||||
cookie = parse_set_cookie("a=1; max-age=10")
|
||||
delta = cookie.expires.not_nil! - Time.now
|
||||
delta.should be > 9.seconds
|
@ -0,0 +1,12 @@
|
||||
--- a/spec/std/http/server/server_spec.cr
|
||||
+++ b/spec/std/http/server/server_spec.cr
|
||||
@@ -524,7 +524,8 @@ module HTTP
|
||||
end
|
||||
|
||||
describe "#close" do
|
||||
- it "closes gracefully" do
|
||||
+ # fails under gentoo's sandbox
|
||||
+ pending "closes gracefully" do
|
||||
server = Server.new do |context|
|
||||
context.response.flush
|
||||
context.response.puts "foo"
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX libatomic_ops-7.6.4-gcc7.patch 1669 BLAKE2B b37d7940e2a793fcda7f20d509e326fd002260294ae90726a7c23262e97d2f27cf985ce3f2a7e0038441b1d6e2fa39202d800d774d44b8dd69662acc8a35aa7b SHA512 a7e2efa8feb5c8e9f4468f6a74a4191c1e95112a5f646dd9635e76790899504242f94500a1599fa72b781159166b61c39e88da6c01e7febab91afad6f099bcf8
|
||||
DIST libatomic_ops-7.6.4.tar.gz 497571 BLAKE2B 151cd518a346dcf2540c2e8229c2309aa83a7cecc3d66e3e8bab3d09c8688d725e26b27c836c0a3a3a46cde40fedfe26b0cca53cf2b2017f67e72d4a4993371f SHA512 2e6ef0bfd4b77e9260383feb2865c96388fb1ebed9d37605eeb83ac87e3b6a565495d588808129ac7b3ee5f6a58a37440da7784b680cc6590842b09c2625983b
|
||||
DIST libatomic_ops-7.6.6.tar.gz 498187 BLAKE2B 343ebda3a37aef6541efae9e646778cf8b1ea74e722979de4336d6819007f3fb37121d53c7e789f69fe6411c05ca2557a18d10db47c68e95e59c92c991bf9fa7 SHA512 ea6e4e2f8f369f5af18435a6ab8ee18c28832c367d24875cccc5e743761109036894260b4296feec5e269a74934df24a90f0fc4868937e1f36605fca082fbde8
|
||||
EBUILD libatomic_ops-7.6.4.ebuild 777 BLAKE2B 0f1a533dd9fe6603a0b8b4b02263d67830c3751aa31e4b12fcee2eb9c0f93af9f0cad132d2ae7705ccee3645c333ee893f9763aa6f949dbcc3a3a14c0c4b4c26 SHA512 a5ce9721e64aaeb642587edcb6219f0f4ef64448bd995c96b90bd69e75ef390b462ae58f773fc808068797416693ec81bc0e758fd36b79006ef4d6ae15c9c0be
|
||||
DIST libatomic_ops-7.6.8.tar.gz 503550 BLAKE2B ce8e8757cd20fc5d8e5b62fae0a619f3866e496f552e04c1cca6c63a6d954bf256927fe1fe62192cb24b9f7a9fd1727e108098b09d0f22e0987983ccce035274 SHA512 bc448fadcf8e2936fa933a5872d5550ecdff04b0df27120d3182dcbb2147a6594ec6bfc5b214e21b37ffa1b5100c1c56d301ba9cae7df26cee5e6b999dcda14c
|
||||
EBUILD libatomic_ops-7.6.6.ebuild 731 BLAKE2B 38802fab9bde60ad696c1212d51bee17287b47fb1af0219f8a897a241ab9d3c48e73a3503d4b939b811488f9db8e76df4c349380c32b9e5016539c0680a9ce3b SHA512 02090cb3d33b1cc769d99c42f18953585bd266278d7f946d8a8e93607bd1fe0aa3597300a3d639aef3824be04ca8dc489f0bd47ea2a2ce36ca91f1f9e438e5e5
|
||||
EBUILD libatomic_ops-7.6.8.ebuild 805 BLAKE2B 675194b70deb4dd61eeedade79b38968b24540ae52161141168d7f72eb91ebe9878bd4981ae45faefdbec8fee95baa23e7e6d208d3f0698f946356799b75e308 SHA512 58f0b86e937c085af0a284875ecde173053597929248ac8a24da7d03861be58dbea360f4fb3667633cb372bd1384be4c1c67a4e4083eed94ea3dab8a1e96af0d
|
||||
MISC metadata.xml 347 BLAKE2B c8fa80a777d85e172d52bd7eae6523981b9fcc79fa8d6cb7378960adda45dd6489def86930704bb845e64437ff33b39f5401cda0d11ed021342235c7020759e5 SHA512 7a4acee1ccb58c4694e9100d556046c55f508050f6e09dc3d4dd509db9eb747b94eca152e1e98c2ebacd8b8c9c75c362426ad9545cac490f959ec16464f809e5
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST DateTime-Calendar-Julian-0.04.tar.gz 11974 BLAKE2B d93294f77550bd34a6c95373f0efdb40151a4e083994ce5e636e63c9c1b141c6bba8b56149b4133df5925d964f71fc6cd8da193f84d32e9b1b385a28cbe1607c SHA512 e822d57dabbf76dcca9dc1eb097cef9c15579aeb1782a51eb3dd01d47eda0aef2aa92096df67602297a24c387445f6eb381bb3eedfe33486990844f3c96b4960
|
||||
EBUILD DateTime-Calendar-Julian-0.40.0.ebuild 403 BLAKE2B 9b0ef8b8970b1f53e553e6d58314e0a424d2b88ebfe8b07ff2df89df4756fb429c6573592c08e495a199fe5c721f939b1c977d024122b2017b49070f001cf4a5 SHA512 f62072c75af1572757e17e8d443dd8e7625a83ef2aba0b33dba99a48df74e894b5a4212560f7fe8ce690a5b57004bf3fb4ab17f709eb7c958fda9d906b676e1a
|
||||
EBUILD DateTime-Calendar-Julian-0.40.0.ebuild 399 BLAKE2B e8ed09f66a6a4379d2749a9b5eda140fd2daa7ac6fdc070a246c444371d2c3d9e701d94e529a447a8acd612e6e08beb72f85b9ff52e9e284610ffefbdf15961e SHA512 6921500d9e89e0db2ac3345eafef63f7e6447d07967c1212e5ae5a1d7382aab425f05e32af3f652da643e3f44fdc04ae41bc29f04c03a08310ecff02abf9950c
|
||||
MISC metadata.xml 421 BLAKE2B 6aada183f29cb6e2bd0fb7a2b88795192cb75efed7693c7c29d6652747e088adefc04b5a34f958912b309dcca8825ab04a41d815f0d00dcfafc4faf873b24e9d SHA512 19615bf18366bbe8f306a8b04b8660e6c37704eb6f76cbc066dd2682fc5e6c724ed19a04ac53bbb06f11bc2b2fa37ec3c4450b9da24c56e84ca722f008b80513
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST Sort-Key-1.33.tar.gz 58324 BLAKE2B 43b37314bc11142ebbf70db1083c65f1cc9d79c91a0f69f9c271262089286ec8eb7aa6168ad7d8d5724ea120eb0cf1433d9a595a3a5f1fc981e3c25456f556c3 SHA512 cf87cd2f5c0eea662dbdaf7faed5646ebd63925c71a093a79a9980d6de290b1128443954675893f263961e68d1db0e9e4ca1412a2734ce8dcdd271bcf4f1be17
|
||||
EBUILD Sort-Key-1.330.0-r1.ebuild 275 BLAKE2B 76e3615468696265f189d1c3d2062173b3db31dab1f15831f087ab08f6d4d82dc95765de62de8824b64c8ba01c82d242c70a3a9b655387833133d31117c223ad SHA512 ecaedaa8a146207aeba607712cdcf7369c013f3010b5335118079816de4eb1daf39c3c937d5445a76819292c691ce4c61b7bcbcd1b25ef167f2827a22bcf38ec
|
||||
EBUILD Sort-Key-1.330.0-r1.ebuild 271 BLAKE2B 1c174a49c57c410b0baef794b6b4b63ff8ad4a830a14e9f66e9bbfd2ade311a0648073aad08b9652d9219621d254700ed17a9aa423e60c51e4686df5f8a4c37a SHA512 9a9b4e9649ffadb86f2a1cb3eb92641e6efabd8a9f2b0fdb0e820f1c96385465bedb331c144068ca11a09f501700b5cf1cff17debb5fd6b7a39e66c50f84f2e3
|
||||
MISC metadata.xml 708 BLAKE2B 762acb659f5e4aa8b8cc7479a9d65361ebd27a6b723b15aa432666c3f47e37f7701e413ed440013949428c8d26bd4f13293c17904f49c1962ac64f56c7e6129d SHA512 14562824d69a72a1dc0af34114aba453c2b20f25c300d6bce75872fecc78ef447699ca2a67a2f3df9fe7468f81f9b3eb64c3182bfc733bd89eb04fe1b267c6ff
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,3 @@
|
||||
AUX utidylib-0.2-fix_tests.patch 2084 BLAKE2B e17a306a25f14806c33b05a350028ae4f2c8abf58055c5776f2736886dcc6a70d4dda3796b00ecaa50f36367983653507093b209e064e6d310d637eca57dd3ca SHA512 64d66929c0c318f2033877b51b8564fe32ac82512b08e28fb2c6252f591eeaa6ff84d2a23d7e5ea82a1e293371c84049f68033a21c8258fc9483cfb9f7c615cb
|
||||
AUX utidylib-0.2-no-docs-in-site-packages.patch 475 BLAKE2B c909872b10b569b879d65eb7a886953e0b2d1b180704a616da6816604414b9f4a16cce90170e93264e7528fb1ff9100f7a76088ecfd136c51f6ad2278d2668ff SHA512 ffa0d4c261adfa9d49b5b0a3e559d80a627098a07667f935528a41b18a11ef18dbd86d6b48f99a8f10ff3c0ed91b966c00c5a78b9400b9caf7c9c57036b6d1f7
|
||||
DIST uTidylib-0.2.zip 17575 BLAKE2B f13964dc452d05e01fcd4dca601f35b6aaa4675cd0c10086998570e0deb0b8a0f53a1e6c243db8466862feeb1746299895946e381205280c62c6cb741619bc68 SHA512 02f6611f1c7dd42db96012f7067ada8ccd841532744a569492a2f1c0524a3f1777b8f997a716b9bb18f69f31cb922dc89328d0bd284830620a930a038b303893
|
||||
DIST uTidylib-0.3.tar.bz2 13809 BLAKE2B c6b495933ecdc21543c79e3ff200cc06ec4ebc1682cf9172bd988a08afef8b69db17eec4b88665aff5dc6cef371f3c665f6de3ffcc1dc515f778b523333c891b SHA512 4503f2a6366e5110740b312df2300d62bb68e1e1032184e9b56dee75995309c76d4f8e5851c73e7c8e08cca7bba9c74436d8dfc0524f115f3abb2bdf5529cc35
|
||||
EBUILD utidylib-0.2-r2.ebuild 1074 BLAKE2B e932e1a56825dd6897dc32503d30a776d936a58b9100184e64a6721de30313f42ef80ec67826d304eecd391601ea20f1d368424b2d9f2ebe9c5783f4b805dc68 SHA512 105a3114c8541c6d6377a03a3ecceb1e8aa38e3154b941c8936a5c9adeaceb2c0dc8f8b47fdae4932f455f719fc4568831200dbac50cdba90f6098b139f506d7
|
||||
EBUILD utidylib-0.3-r1.ebuild 996 BLAKE2B 00a939d1b4fcebac9501c4f3e85eaf8ef2dc38e56247b765ff1a4e7037d4ca7f1b9fca9be7e8b9c771d246c36b7983045d423d03d74cca91c0af31157803d720 SHA512 b466417d355b1b501453993d1102c7cc557ada59ccd3aa116b8b204bd485c961f5b7dc948aa0c49221cfa3a35b5ab5687e6c02575f58127cd72f15211675f277
|
||||
EBUILD utidylib-0.3-r2.ebuild 964 BLAKE2B c4876467287bf406d6abcb78193a7069897ccbebfc41a1eb667e209995d35c89c55756bc964c88576b4fabc9538d20bbc47717a97dcb0ee371a3642803d725e9 SHA512 74cf7fb803ff9b7ea26b64109bc26fc8b889c8abe9f11183e1b77c71878c23f943573ef87dbbb6273baa0efc1b2a42bd73ac7b58b637bb83d4d11ee6ff3cea8e
|
||||
EBUILD utidylib-0.3.ebuild 968 BLAKE2B 4abb04af906eb0d4c1a5fe381cbd4043f13f87bdf83e436ae380f70d0aaff090f5fa189668ac8a7e153ff17d4107d8cd64438504792d92df3cdec98ee5158739 SHA512 8ab4a0ee4b7953250bb049c06bc8bc1ac2a787f6faab73bd714bab4aa087d5b435a833e7efd382de1e53c52091adbe4687c25bade1f23cf464c0726b42b85637
|
||||
MISC metadata.xml 372 BLAKE2B 58932a89c0765511f1231a3ea43ac6509792a03b345655f7d15ec306a33a0264d49b32352c57e8d3cc73294c8cfcbd679289011312bdbed55459f6751dabffa0 SHA512 d6602ff98aa2ae6a69cad590ab014cbe5b3f1fc1b28c64e91025140fbecaa78c49d6e45bc8b8b5432b0cfe4c91402db3d3954db92905ddc42c13540a9c1e2ab5
|
||||
|
@ -1,48 +0,0 @@
|
||||
diff -uNr uTidylib-0.2.orig/tidy/test_tidy.py uTidylib-0.2/tidy/test_tidy.py
|
||||
--- uTidylib-0.2.orig/tidy/test_tidy.py 2004-02-24 08:53:52.000000000 +0000
|
||||
+++ uTidylib-0.2/tidy/test_tidy.py 2009-07-25 15:50:56.000000000 +0000
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
class TidyTestCase(unittest.TestCase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
+ super(unittest.TestCase, self).__init__(*args, **kwargs)
|
||||
+ self._shared = False
|
||||
+ self._parents = []
|
||||
+
|
||||
foo = u'''<html>
|
||||
<h1>woot</h1>
|
||||
<hr>
|
||||
@@ -13,13 +17,13 @@
|
||||
</body>
|
||||
</html>
|
||||
'''.encode('utf8')
|
||||
- file('foo.htm', 'w').write(foo)
|
||||
+ file('foo.htm', 'w').write(foo)
|
||||
self.input1 = "<html><script>1>2</script>"
|
||||
self.input2 = "<html>\n" + "<p>asdkfjhasldkfjhsldjas\n" * 100
|
||||
def defaultDocs(self):
|
||||
doc1 = tidy.parseString(self.input1)
|
||||
doc2 = tidy.parseString(self.input2)
|
||||
- doc3 = tidy.parse("foo.htm")
|
||||
+ doc3 = tidy.parse("../foo.htm")
|
||||
doc4 = tidy.parse("bar.htm") # doesn't exist
|
||||
return (doc1, doc2, doc3, doc4)
|
||||
def test_badOptions(self):
|
||||
@@ -33,7 +37,7 @@
|
||||
self.fail("Invalid option %s should have raised an error" %
|
||||
repr(dct))
|
||||
def test_encodings(self):
|
||||
- foo = file('foo.htm').read().decode('utf8').encode('ascii',
|
||||
+ foo = file('../foo.htm').read().decode('utf8').encode('ascii',
|
||||
'xmlcharrefreplace')
|
||||
doc1u = tidy.parseString(foo, input_encoding='ascii',
|
||||
output_encoding='latin1')
|
||||
@@ -58,7 +62,7 @@
|
||||
## self.failIf(len(doc2.errors)>1) # FIXME - tidylib doesn't
|
||||
## # support this?
|
||||
self.failUnless(str(doc2).find('\n')<0)
|
||||
- doc3 = tidy.parse('foo.htm', char_encoding='utf8',
|
||||
+ doc3 = tidy.parse('../foo.htm', char_encoding='utf8',
|
||||
alt_text='foo')
|
||||
self.failUnless(str(doc3).find('alt="foo"')>=0)
|
||||
self.failUnless(str(doc3).find('\xc3\xa9')>=0)
|
@ -1,11 +0,0 @@
|
||||
--- uTidylib-0.2-orig/setup.py 2005-12-01 00:48:14.000000000 +0100
|
||||
+++ uTidylib-0.2/setup.py 2005-12-01 01:10:33.000000000 +0100
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
setup_data = dict(packages=['tidy', ],
|
||||
- data_files=data_files,
|
||||
+# data_files=data_files,
|
||||
cmdclass=dict(install_data=install_data_utidylib,
|
||||
bdist_wininst=bdist_wininst_utidylib,
|
||||
install=install_utidylib,
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="uTidylib-${PV}"
|
||||
|
||||
DESCRIPTION="TidyLib Python wrapper"
|
||||
HOMEPAGE="https://cihar.com/software/utidylib/"
|
||||
#SRC_URI="mirror://berlios/${PN}/${MY_P}.zip"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="app-text/htmltidy"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/twisted-core[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/${P}-no-docs-in-site-packages.patch"
|
||||
"${FILESDIR}/${P}-fix_tests.patch"
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
"${PYTHON}" gendoc.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
trial tidy || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( apidoc/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="uTidylib-${PV}"
|
||||
|
||||
DESCRIPTION="TidyLib Python wrapper"
|
||||
HOMEPAGE="https://cihar.com/software/utidylib/"
|
||||
SRC_URI="http://dl.cihar.com/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
|| ( app-text/tidy-html5 app-text/htmltidy )
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
RESTRICT="test" # 1/11 tests fail
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
${EPYTHON} setup.py build_sphinx || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( build/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="uTidylib-${PV}"
|
||||
|
||||
DESCRIPTION="TidyLib Python wrapper"
|
||||
HOMEPAGE="https://cihar.com/software/utidylib/"
|
||||
SRC_URI="http://dl.cihar.com/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
app-text/htmltidy
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RESTRICT="test" # 1/11 tests fail
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
${EPYTHON} setup.py build_sphinx || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( build/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST qt-creator-opensource-src-4.6.2.tar.xz 23397676 BLAKE2B a6c641d2daaa1d692919739de1a26da0a8806db3a8678dffc792fc77855ecf14136ad1e990e678f66afc471950c6bcc0803a6d47a21af6eb91ff010e77383ee6 SHA512 32d583cc3684b268a649e265ebe97bde0a9fdcea60013d8966edef6df3fa0097bcb19d9fc7abf5ece9b59870ad1049e8320477df4321f0f311843e359aaea6b6
|
||||
DIST qt-creator-opensource-src-4.8.0.tar.xz 24545016 BLAKE2B f2c4256ab2d2eb1ac8bf897df2517f8784b97723564a9f53347de858301997c4d02f6a20269a4d74d0305f27babc65491521965b7e1941cd3c3778cb9701c8d5 SHA512 4b6c6778493b7c8b593868ebfe90ccb21eb3daec16853604ea422f29fc57be5623033c79610507931202fa34a648760c29134670d26b1c4c098e1eae28bb1743
|
||||
EBUILD qt-creator-4.6.2.ebuild 5403 BLAKE2B 2ee930417dbfd00c31adb6f84242a384c40456cd9a8e923282eebe9f143f818299efcfca12ae62444cb38955495c42e59999f1eafdbbf0b390f8de6a5f7633c8 SHA512 3cd038d8e73f41529ec9d19cccab2d11b59332b326f3f659b751a8a508c36348c3c719cf6c66bfacf0b671aaa78b9b43267782e67be60090400f4e3e8940c962
|
||||
EBUILD qt-creator-4.6.2.ebuild 5399 BLAKE2B 8bb4a5266e8ace09a90d2eb40ce2e316ab879cde9602021aa5445627a33fd5f4cf300dcc58fc182a90c813b6e81db79570ff3cb6a0816db99567eaab128f5822 SHA512 83f105c2721bff1f9d82870f32e9cffaaaed55d5b5371998a6c7db61a590bd59a0b1521c8d0e62e6cd3ba29f2bcca5fdd2dc1238d1751db14d82722ac8137ce3
|
||||
EBUILD qt-creator-4.8.0.ebuild 5676 BLAKE2B a8613440d063134faddd6616897bd9771924a092998988aa92f8d0149908fe00f39aaf29d5b7ea2e3087db65607da1a9e6b1ff4a25de4eba46cdaa82662b082e SHA512 ffa604a1f5c9c1fe67960960b4ab3c5540728feb1b6374c0100728bce6fa09f1e648056e8a7f08fd1a91aee552e43679d7bfce050572eec6fa1b7527b52a4672
|
||||
EBUILD qt-creator-9999.ebuild 5676 BLAKE2B a8613440d063134faddd6616897bd9771924a092998988aa92f8d0149908fe00f39aaf29d5b7ea2e3087db65607da1a9e6b1ff4a25de4eba46cdaa82662b082e SHA512 ffa604a1f5c9c1fe67960960b4ab3c5540728feb1b6374c0100728bce6fa09f1e648056e8a7f08fd1a91aee552e43679d7bfce050572eec6fa1b7527b52a4672
|
||||
MISC metadata.xml 2716 BLAKE2B 171285a8ef6f2a73d3dba545e7e6f44eba9f1d180ea28d78e8697691e20fb23b871403e6928d0505e464d6a3820837f7060740877c54e7f727fe0706cee94bd5 SHA512 7875017b499987e058a243086cc843d9bb12e8578ffc48831c49185aafa9fa698070e59d4dc3fc1066b14e563a7a76abb0142474577aadd43be798f4ccbd5550
|
||||
|
Binary file not shown.
@ -1,11 +1,7 @@
|
||||
DIST cucumber-2.4.0.gem 250880 BLAKE2B 2d0479695800639340332ab26b745a84cdbe7dfc575e652f6a94eca77b0c3397a48a2f3220a2a4eb164e9f0f747bf4866678b7927cd0ce47e5ce78ee057d273d SHA512 b7f9720e3f9e1f30aba9590ff92209073bdc028b880ac7a378f6dfe2a7f093c0521387cfc9319d7ed994c5e9de7106ccff23ba1f10c1cc5888785c69262c723e
|
||||
DIST cucumber-3.0.2.tar.gz 267557 BLAKE2B 0ce098d9c747a6291e53c647f0e6da7adbcf4cd6f85953023f5fa0e14dc7186a706c43b81cf77a55ad56f932e60146e7e0ca7d4107f85e9c6bd46cbc8b2d1f7a SHA512 1506427fb6d9233231497f0e1396143cfb1495673113fbb26344b171413c1bc9d35fd8a8ca86aa14ffc279d1d9db05712618c3a0e96f2288056d76f39bbf2cf6
|
||||
DIST cucumber-3.1.0.tar.gz 267954 BLAKE2B e309c20a63621859375549d85cd85a89ec399821d7412932337b9d2d39c98204484297ce136b0023bdfb20b0a5844d27901663d5864007609657ca53c59f6572 SHA512 ace42faa4830740e09f484af65eac092cc5f5ac0607d3aaf6b6df1b2a27f16b9647d8759edf15c636f87177ce6b545a07bb22befff79b74234cb0c08c92ea9ca
|
||||
DIST cucumber-3.1.1.tar.gz 267901 BLAKE2B 19e24da4022103de5a65140d19ed7c1626f46fd050e1917f19a912fd89818f29c530f14efe68b82cc853c4388eb212bb44ae3584aa6b5ec6e2065f094e718dd1 SHA512 3a1267119ba6cb2f7ee0961c7a78521fe10c00a0c4e5ddab8364d5213bd09c4d4f5875a2897df853bb981a101cd6bac77acad1e9377eed234c082cce9330112a
|
||||
DIST cucumber-3.1.2.tar.gz 267995 BLAKE2B a55d15d2c5746efd2e9f3518025b3b6d69e7712920b5731e1174ff429a9d6161d9aad7c0065c5ddf8b97fd87c9e658ff86b961b175db2c930bba52d1904d6b62 SHA512 abf0b562476653c393bc5a3c1f9669d91a2e312bcceb98bd20ac3771a61eeb696721cba76299d12871f7c61fdca176310e3a334b53d10c31ef3e201948c762d0
|
||||
EBUILD cucumber-2.4.0-r1.ebuild 2477 BLAKE2B a460408873217510715ffbd842ca3a2b53d24a88b6c53b3e403f2bf1648e75d7fb32737214aa0b5ecbaeeb4db4849b6dbb20e497689d5853b000f251f2713bc3 SHA512 12d5d76a13a278b4d0249441294ca5a69bff6c334fd9db1482649e0acca0d8c83aa4a239ce930d4bf2a89e827aa42d993693a517afaf064bbef0e8bb1a20f795
|
||||
EBUILD cucumber-3.0.2-r1.ebuild 2663 BLAKE2B 02bd1166e8d3ac9d4246acd6613cb052f2fc19ad7af06d66edfd7c7dda16dbb2841fe76828864bd91c7dc31638bb41fe83c41b0c7273487f83a52093222d01da SHA512 17f7d975c305d41a6b7df42499495c9ac814c9a507ec0fbac1984c2f799be7b913e00d38405d35f5c28a81dfbbb70529830fc253afadc86e6cbd05886ae92085
|
||||
EBUILD cucumber-3.1.0-r1.ebuild 2663 BLAKE2B 605d1a4b80a78415245a211669c86b9d2542d42a56cf332c46aa589624cd06c33f18c20f9aa3d5fd634636dceb7dd1d0dab5eb5425d49952b35958d8218807c7 SHA512 4ca6c43523d60c0ddd1a8ffe66ec8c7fb39e471c30ed25113d3fcd1fc78d4d87cb6d08cdbacdd0ccb8f37d6bb2cb3548626c7b01aec52c60c5e4e9bb2f6c4b7f
|
||||
EBUILD cucumber-3.1.1.ebuild 2671 BLAKE2B 1314865391f566884f20cf25a6c639a4e8001f8768aeb2b76d8ea65b0b8c1c249b87a69370e6e878bfb83b4fa20b0f5f2fc532b0e1d572ee889477fdf4783773 SHA512 4f7453013c8f46ebdb779235e7c4984a92e72c4f51bc65c9a313ca229453a9cc48b9659fff11cb7b65d362493ce7c9eb91c1417b79293c00a787c501c4136e1d
|
||||
EBUILD cucumber-3.1.2.ebuild 2679 BLAKE2B 62abdbd5487a32040c347e0f0900f7851217515f690feedddb18b6e35f8158b69850aced5765ca1ec8b86090774bfa320822b351bf4348713988e2568cb34fce SHA512 ac5cf416151853d9104da020a76d91389abde0e1e6fa30b46744bd755ce73dc91791e7be6054caf6b3eb780acc072c12fff07e5883f2547029927f3a0111d1d8
|
||||
EBUILD cucumber-3.0.2-r1.ebuild 2667 BLAKE2B 6caa8fcc64b5ed621e5a3eac0b9f660b2dfb4fcabf7c5d29a9e62e0c86e6762c4f2b741d0569c947c57ec729c266795c7cba5e54957f0ef07df71d784233a4d2 SHA512 232ba5dce6b04745d8e9b4262b80aa6831053b0f7bfb91492c312e1ec0cfcd3feb221b734cd33afd2dd44678e21c0b454b13303dd96136a2d74a71cfa37c537f
|
||||
EBUILD cucumber-3.1.2.ebuild 2683 BLAKE2B b3bc22d0333937ed4085ceaee79ea168027f8028df92ea85397ed00c176c4a6d103f0d1d4cfd3505bce6ac517a7697f007acc55dc119fb18bdb8a2d3f5b75c27 SHA512 a2c3ae363556665d44446970f7f17e30df1b4a8273af406d30c8c7e1de25e26aac37538c1fad83e28382599a7e582cb579c9b6a6c152ba34919622eed37466d8
|
||||
MISC metadata.xml 304 BLAKE2B 1f2a69030fdeaccf7280372ef0e8abc7e1ab0456951e88d6f1839ba3615f8a6588bb3a96d05bffdbe343cf3a4b89fc32fdbefc83faeaf2a54e0cdca9c68e03bd SHA512 1e0e844510269d137017ff7ecbe1b98c9542f7264ec0e5b8858119f06887720645c0d968228825d91fcb69016b78d7f7c7d344482f08c3fe0dd6cc3df4f52902
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
# Documentation task depends on sdoc which we currently don't have.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="cucumber.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Executable feature scenarios"
|
||||
HOMEPAGE="https://github.com/aslakhellesoy/cucumber/wikis"
|
||||
SRC_URI="https://github.com/cucumber/cucumber-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RUBY_S="cucumber-ruby-${PV}"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/rspec:3
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
>=dev-ruby/syntax-1.0.0
|
||||
>=dev-util/aruba-0.6.1 =dev-util/aruba-0.6*
|
||||
>=dev-ruby/json-1.7
|
||||
>=dev-util/cucumber-3
|
||||
>=dev-ruby/mime-types-2.99:2
|
||||
)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/builder-2.1.2:*
|
||||
dev-util/cucumber-core:3.1
|
||||
dev-util/cucumber-expressions:5.0
|
||||
>=dev-util/cucumber-wire-0.0.1:0
|
||||
>=dev-ruby/diff-lcs-1.3:0
|
||||
dev-ruby/gherkin:5
|
||||
>=dev-ruby/multi_json-1.7.5
|
||||
>=dev-ruby/multi_test-0.1.2
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove development dependencies from the gemspec that we don't
|
||||
# need or can't satisfy.
|
||||
sed -i -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Avoid dependency on unpackaged cucumber-pro
|
||||
sed -i -e '/cucumber-pro/ s:^:#:' Gemfile || die
|
||||
|
||||
# Avoid harmless failing spec
|
||||
sed -i -e '/converts the snapshot path to a relative path/,/end/ s:^:#:' \
|
||||
spec/cucumber/formatter/html_spec.rb || die
|
||||
|
||||
# Avoid failing features on new delegate and forwardable behavior in ruby
|
||||
rm -f features/docs/defining_steps/ambiguous_steps.feature features/docs/defining_steps/nested_steps.feature || die
|
||||
|
||||
# Avoid dependency on git
|
||||
sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \
|
||||
-e '/git ls-files/d' cucumber.gemspec || die
|
||||
|
||||
sed -i -e '/pry/ s:^:#:' cucumber.gemspec spec/spec_helper.rb || die
|
||||
|
||||
rm -f Gemfile.lock || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Use the right interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' features/lib/step_definitions/ruby_steps.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec
|
||||
CUCUMBER_USE_RELEASED_CORE=true PATH="${S}"/bin:${PATH} RUBYLIB="${S}"/lib ${RUBY} -Ilib bin/cucumber features || die "Features failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use examples; then
|
||||
cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
|
||||
fi
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
# Documentation task depends on sdoc which we currently don't have.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="cucumber.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Executable feature scenarios"
|
||||
HOMEPAGE="https://github.com/aslakhellesoy/cucumber/wikis"
|
||||
SRC_URI="https://github.com/cucumber/cucumber-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RUBY_S="cucumber-ruby-${PV}"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/rspec:3
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
>=dev-ruby/syntax-1.0.0
|
||||
>=dev-util/aruba-0.6.1 =dev-util/aruba-0.6*
|
||||
>=dev-ruby/json-1.7
|
||||
>=dev-util/cucumber-3
|
||||
>=dev-ruby/mime-types-2.99:2
|
||||
)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/builder-2.1.2:*
|
||||
dev-util/cucumber-core:3.1
|
||||
dev-util/cucumber-expressions:6.0
|
||||
>=dev-util/cucumber-wire-0.0.1:0
|
||||
>=dev-ruby/diff-lcs-1.3:0
|
||||
>=dev-ruby/gherkin-5.1.0:5
|
||||
>=dev-ruby/multi_json-1.7.5
|
||||
>=dev-ruby/multi_test-0.1.2
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove development dependencies from the gemspec that we don't
|
||||
# need or can't satisfy.
|
||||
sed -i -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Avoid dependency on unpackaged cucumber-pro
|
||||
sed -i -e '/cucumber-pro/ s:^:#:' Gemfile || die
|
||||
|
||||
# Avoid harmless failing spec
|
||||
sed -i -e '/converts the snapshot path to a relative path/,/end/ s:^:#:' \
|
||||
spec/cucumber/formatter/html_spec.rb || die
|
||||
|
||||
# Avoid failing features on new delegate and forwardable behavior in ruby
|
||||
rm -f features/docs/defining_steps/ambiguous_steps.feature features/docs/defining_steps/nested_steps.feature || die
|
||||
|
||||
# Avoid dependency on git
|
||||
sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \
|
||||
-e '/git ls-files/d' cucumber.gemspec || die
|
||||
|
||||
sed -i -e '/pry/ s:^:#:' cucumber.gemspec spec/spec_helper.rb || die
|
||||
|
||||
rm -f Gemfile.lock || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Use the right interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' features/lib/step_definitions/ruby_steps.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec
|
||||
CUCUMBER_USE_RELEASED_CORE=true PATH="${S}"/bin:${PATH} RUBYLIB="${S}"/lib ${RUBY} -Ilib bin/cucumber features || die "Features failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use examples; then
|
||||
cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
|
||||
fi
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST qbs-src-1.11.1.tar.gz 4299125 BLAKE2B a2b2670b47bb122ccc586fee0c61d941533dc2dbc5e59028a7ab765eb18fe4a71b85cbd7373f88231b9cd75178982a17dddab0ba965de84ca197c49b2c9eefdf SHA512 90833792cb29b7b886df491263b620d2933c398ad8b2f495d0e5ae6acdde3f816ecd25638ae2e74d3efbf517a762644f751b7c01633aed3369bd7bf85c033ff5
|
||||
DIST qbs-src-1.12.0.tar.gz 4368992 BLAKE2B 5fce4052f349ed787a0948541fbe1397ed8dde5bb6191e6ba37718e4d803b30b1f7a4ba3abb00d0d10078b1cfddeedb45a4c5dc86d800b5a8b941abffb0a5804 SHA512 2d9f23231e3824d67f63f290e4d22bd3d56f161c32b9002e23e615cb2793678eadde033d6e2b744e89ad69f4b6104c69e80095881601d498d9587d3db06c2103
|
||||
DIST qbs-src-1.12.2.tar.gz 4374830 BLAKE2B 8ace5ac7fea9bcd944dd02280a36f0f275749512e44ab9e3221e154d80ccf8aa25e3452eb90b1396323b540ec97e4b72c29b3a1d4727a72791a0e267bd89df13 SHA512 eb8c5db94f6b4e2300951d9cb6e092b873381421a1bff31a9e8422859aee3c0b3d038b6a2927a4f5c8fd871a0a7d283f7b7c3be74834dd30d640a1ed9c87a147
|
||||
EBUILD qbs-1.11.1.ebuild 3066 BLAKE2B 0f44337978b215817f91a6bb6d2bc278a8d7765ef0c7c8ff450a64d2c0324267ddf3a3a7f00ace808db44da440d91bd6949513e7aac56d7afc0387f4beedf3a4 SHA512 09f81791a84a2fd9905b9e7cf9a9271cb88221321be12f69c887215789763de7f77df65a0d37402262aaa0015f68128875b5c1c3ed7b36ceb7d750203d2840d2
|
||||
EBUILD qbs-1.12.0.ebuild 2867 BLAKE2B fc50c95d5c2cf7b4e198c3c1dd9c2da64cb7067ff3bd26ebcc771b9e9e1129691d1b32eed98fbbf9f2382febcb09f238764689354a1f3c8fc1035b57e386954c SHA512 1fb957e2c1d777315dee3f9dc705ebe6f9c5f24ea90ea8ef5ec8a8adda63f9df9242b605564c5867ee1a719e0d42d3ddbfee4be92c68c3091f74c4291a9d5cdf
|
||||
EBUILD qbs-1.12.2.ebuild 2864 BLAKE2B c1b70e58f81cde7889ae07c5e0bee1f5b3d36fcd9b1b404b315090cf19f4eaea9c56367be5f24c99bb1ba56b2c66605b802bef946c5e4f3adfa6feecd9ca7f97 SHA512 2530d59f4a71ad0ba083b588943305af6a063d67aad509328428b2f9126e6438bc44faed40c89bceb2ec72be84e7ae052e224ff3bc71f93106cf675a9b2862ae
|
||||
MISC metadata.xml 920 BLAKE2B ba6000d6db0ee2a6fb2edd9b999fe406e427ebf14f8ccf0dca6f21338dd98b8173c71b3599858a9f89e063c3138a307ac281413e671d5a6c706c93118c2db99e SHA512 ca8c93f9630e818e2f567388fd5f61f47882b843eee39a78f2882ec0ba8c310e0689fb70925762da7548040892d606ef21497503c6fb2a655af608b36bcc98da
|
||||
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
|
||||
DESCRIPTION="Modern build tool for software projects"
|
||||
HOMEPAGE="https://wiki.qt.io/Qbs"
|
||||
SRC_URI="http://download.qt.io/official_releases/${PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
# see bug 581874 for the qttest dep in RDEPEND
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
dev-qt/qdoc:5
|
||||
dev-qt/qthelp:5
|
||||
)
|
||||
test? ( dev-qt/qtdeclarative:5 )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use examples; then
|
||||
sed -i -e '/INSTALLS +=/ s:examples::' static.pro || die
|
||||
fi
|
||||
|
||||
# the qbsres target uses the newly built qbs binary, so we have to tell it where to find its libraries
|
||||
sed -i -e '/qbsres\.commands =/ a\LD_LIBRARY_PATH=$$shell_quote($$shell_path($$QBS_LIBRARY_DIRNAME)) \\' \
|
||||
static-res.pro || die
|
||||
|
||||
echo "SUBDIRS = $(usex test auto '')" >> tests/tests.pro
|
||||
|
||||
# skip several tests that fail and/or have additional deps
|
||||
sed -i \
|
||||
-e 's/findArchiver("7z")/""/' `# requires p7zip, fails` \
|
||||
-e 's/findArchiver(binaryName,.*/"";/' `# requires zip and jar` \
|
||||
-e 's/p\.value("nodejs\./true||&/' `# requires nodejs, bug 527652` \
|
||||
-e 's/\(p\.value\|m_qbsStderr\.contains\)("typescript\./true||&/' `# requires nodejs and typescript` \
|
||||
tests/auto/blackbox/tst_blackbox.cpp || die
|
||||
|
||||
# requires jdk, fails, bug 585398
|
||||
sed -i -e '/blackbox-java\.pro/ d' tests/auto/auto.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
qbs.pro # bug 523218
|
||||
-recursive
|
||||
CONFIG+=qbs_disable_rpath
|
||||
CONFIG+=qbs_enable_project_file_updates
|
||||
$(usex test 'CONFIG+=qbs_enable_unit_tests' '')
|
||||
QBS_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
QBS_LIBRARY_DIRNAME="$(get_libdir)"
|
||||
)
|
||||
eqmake5 "${myqmakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Setting up test environment in ${T}"
|
||||
|
||||
export HOME=${T}
|
||||
export LD_LIBRARY_PATH=${S}/$(get_libdir)
|
||||
export QBS_AUTOTEST_PROFILE=autotests
|
||||
|
||||
"${S}"/bin/qbs-setup-toolchains --detect || die
|
||||
"${S}"/bin/qbs-setup-qt "$(qt5_get_bindir)/qmake" autotests || die
|
||||
|
||||
einfo "Running autotests"
|
||||
|
||||
# simply exporting LD_LIBRARY_PATH doesn't work
|
||||
# we have to use a custom testrunner script
|
||||
local testrunner=${WORKDIR}/gentoo-testrunner
|
||||
cat <<-EOF > "${testrunner}"
|
||||
#!/bin/sh
|
||||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}\${LD_LIBRARY_PATH:+:}\${LD_LIBRARY_PATH}"
|
||||
exec "\$@"
|
||||
EOF
|
||||
chmod +x "${testrunner}"
|
||||
|
||||
emake TESTRUNNER="'${testrunner}'" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
dodoc -r changelogs
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
emake docs
|
||||
dodoc -r doc/qbs/html
|
||||
dodoc doc/qbs.qch
|
||||
docompress -x /usr/share/doc/${PF}/qbs.qch
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,716 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
# Please ensure that all _four_ 9999 ebuilds get updated; they track the 4 upstream branches.
|
||||
# See https://git-scm.com/docs/gitworkflows#_graduation
|
||||
# In order of stability:
|
||||
# 9999-r0: maint
|
||||
# 9999-r1: master
|
||||
# 9999-r2: next
|
||||
# 9999-r3: pu
|
||||
case "${PVR}" in
|
||||
9999) EGIT_BRANCH=maint ;;
|
||||
9999-r1) EGIT_BRANCH=master ;;
|
||||
9999-r2) EGIT_BRANCH=next;;
|
||||
9999-r3) EGIT_BRANCH=pu ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common l10n perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="stupid content tracker: distributed VCS designed for speed and efficiency"
|
||||
HOMEPAGE="https://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="xz"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
[[ "${PV/rc}" != "${PV}" ]] && SRC_URI_KORG+='/testing'
|
||||
SRC_URI="${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
[[ "${PV}" = *_rc* ]] || \
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
gnome-keyring? ( app-crypt/libsecret )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
sys-libs/zlib
|
||||
pcre? (
|
||||
pcre-jit? ( dev-libs/libpcre2[jit(+)] )
|
||||
!pcre-jit? ( dev-libs/libpcre )
|
||||
)
|
||||
perl? ( dev-lang/perl:=[-build(-)] )
|
||||
tk? ( dev-lang/tk:0= )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
perl? (
|
||||
dev-perl/Error
|
||||
dev-perl/MailTools
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? (
|
||||
dev-perl/CGI
|
||||
highlight? ( app-text/highlight )
|
||||
)
|
||||
cvs? (
|
||||
>=dev-vcs/cvsps-2.1:0
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
mediawiki? (
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/MediaWiki-API
|
||||
)
|
||||
subversion? (
|
||||
dev-vcs/subversion[-dso,perl]
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/TermReadKey
|
||||
)
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
app-text/xmlto
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-crypt/gnupg )"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
mediawiki? ( perl )
|
||||
mediawiki-experimental? ( mediawiki )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
pcre-jit? ( pcre )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
"${FILESDIR}"/git-2.18.0_rc1-optional-cvs.patch
|
||||
|
||||
"${FILESDIR}"/git-2.2.0-svn-fe-linking.patch
|
||||
|
||||
# Bug #493306, where FreeBSD 10.x merged libiconv into its libc.
|
||||
"${FILESDIR}"/git-2.5.1-freebsd-10.x-no-iconv.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]"; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts=(
|
||||
ASCIIDOC_NO_ROFF=YesPlease
|
||||
$(usex cvs '' NO_CVS=YesPlease)
|
||||
$(usex elibc_musl NO_REGEX=YesPlease '')
|
||||
$(usex iconv '' NO_ICONV=YesPlease)
|
||||
$(usex nls '' NO_GETTEXT=YesPlease)
|
||||
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
|
||||
$(usex python '' NO_PYTHON=YesPlease)
|
||||
$(usex subversion '' NO_SVN_TESTS=YesPlease)
|
||||
$(usex threads THREADED_DELTA_SEARCH=YesPlease NO_PTHREAD=YesPlease)
|
||||
$(usex tk '' NO_TCLTK=YesPlease)
|
||||
)
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts+=( BLK_SHA1=YesPlease )
|
||||
elif use ppcsha1 ; then
|
||||
myopts+=( PPC_SHA1=YesPlease )
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts+=( NO_EXPAT=YesPlease )
|
||||
else
|
||||
myopts+=( NO_CURL=YesPlease )
|
||||
fi
|
||||
|
||||
# broken assumptions, because of static build system ...
|
||||
myopts+=(
|
||||
NO_FINK=YesPlease
|
||||
NO_DARWIN_PORTS=YesPlease
|
||||
INSTALL=install
|
||||
TAR=tar
|
||||
SHELL_PATH="${EPREFIX}/bin/sh"
|
||||
SANE_TOOL_PATH=
|
||||
OLD_ICONV=
|
||||
NO_EXTERNAL_GREP=
|
||||
)
|
||||
|
||||
# For svn-fe
|
||||
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile || die
|
||||
|
||||
if use pcre; then
|
||||
if use pcre-jit; then
|
||||
myopts+=( USE_LIBPCRE2=YesPlease )
|
||||
extlibs+=" -lpcre2-8"
|
||||
else
|
||||
myopts+=(
|
||||
USE_LIBPCRE1=YesPlease
|
||||
NO_LIBPCRE1_JIT=YesPlease
|
||||
)
|
||||
extlibs+=" -lpcre"
|
||||
fi
|
||||
fi
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts+=(
|
||||
# NO_MMAP=YesPlease
|
||||
# NO_IPV6=YesPlease
|
||||
# NO_STRLCPY=YesPlease
|
||||
# NO_MEMMEM=YesPlease
|
||||
# NO_MKDTEMP=YesPlease
|
||||
# NO_MKSTEMPS=YesPlease
|
||||
# )
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts+=( NO_NSEC=YesPlease )
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts+=( NO_FNMATCH_CASEFOLD=YesPlease )
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts+=(
|
||||
NEEDS_LIBICONV=YesPlease
|
||||
HAVE_CLOCK_MONOTONIC=1
|
||||
)
|
||||
grep -q getdelim "${ROOT}"/usr/include/stdio.h && \
|
||||
myopts+=( HAVE_GETDELIM=1 )
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts+=( ASCIIDOC8=YesPlease )
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts+=( NO_NSEC=YesPlease )
|
||||
|
||||
export MY_MAKEOPTS="${myopts[@]}"
|
||||
export EXTLIBS="${extlibs}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}" || die
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
if use doc ; then
|
||||
pushd "${S}"/Documentation &>/dev/null || die
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
else
|
||||
git-r3_src_unpack
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# add experimental patches to improve mediawiki support
|
||||
# see patches for origin
|
||||
if use mediawiki-experimental ; then
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile contrib/svn-fe/Makefile || die
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die
|
||||
|
||||
# Fix git-subtree missing DESTDIR
|
||||
sed -i \
|
||||
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
|
||||
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
|
||||
contrib/subtree/Makefile || die
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #320647: PYTHON_PATH
|
||||
local PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="${PYTHON}"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
perllibdir="$(perl_get_raw_vendorlib)" \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
DESTDIR="${D}" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
PERL_PATH="${EPREFIX}/usr/bin/perl" \
|
||||
PERL_MM_OPT="" \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
V=1 \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb \
|
||||
|| die "emake gitweb (cgi) failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
pushd contrib/credential/osxkeychain &>/dev/null || die
|
||||
git_emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" \
|
||||
|| die "emake credential-osxkeychain"
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
pushd Documentation &>/dev/null || die
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use subversion ; then
|
||||
pushd contrib/svn-fe &>/dev/null || die
|
||||
# by defining EXTLIBS we override the detection for libintl and
|
||||
# libiconv, bug #516168
|
||||
local nlsiconv=
|
||||
use nls && use !elibc_glibc && nlsiconv+=" -lintl"
|
||||
use iconv && use !elibc_glibc && nlsiconv+=" -liconv"
|
||||
git_emake EXTLIBS="${EXTLIBS} ${nlsiconv}" || die "emake svn-fe failed"
|
||||
if use doc ; then
|
||||
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
|
||||
fi
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
if use gnome-keyring ; then
|
||||
pushd contrib/credential/libsecret &>/dev/null || die
|
||||
git_emake || die "emake git-credential-libsecret failed"
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
pushd contrib/subtree &>/dev/null || die
|
||||
git_emake
|
||||
use doc && git_emake doc
|
||||
popd &>/dev/null || die
|
||||
|
||||
pushd contrib/diff-highlight &>/dev/null || die
|
||||
git_emake
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use mediawiki ; then
|
||||
pushd contrib/mw-to-git &>/dev/null || die
|
||||
git_emake
|
||||
popd &>/dev/null || die
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
if use doc ; then
|
||||
docinto ${d}/html
|
||||
dodoc Documentation${d}*.html
|
||||
fi
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
bashcomp_alias git gitk
|
||||
# Not really a bash-completion file (bug #477920)
|
||||
# but still needed uncompressed (bug #507480)
|
||||
insinto /usr/share/${PN}
|
||||
doins contrib/completion/git-prompt.sh
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc}
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
pushd contrib/subtree &>/dev/null || die
|
||||
git_emake install || die "Failed to emake install git-subtree"
|
||||
if use doc ; then
|
||||
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use mediawiki ; then
|
||||
pushd contrib/mw-to-git &>/dev/null || die
|
||||
git_emake install
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use gnome-keyring ; then
|
||||
pushd contrib/credential/libsecret &>/dev/null || die
|
||||
dobin git-credential-libsecret
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
pushd contrib/svn-fe &>/dev/null || die
|
||||
dobin svn-fe
|
||||
dodoc svn-fe.txt
|
||||
if use doc ; then
|
||||
doman svn-fe.1
|
||||
docinto html
|
||||
dodoc svn-fe.html
|
||||
fi
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# diff-highlight - done above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
local contrib_objects=(
|
||||
buildsystems
|
||||
fast-import
|
||||
hg-to-git
|
||||
hooks
|
||||
remotes2config.sh
|
||||
rerere-train.sh
|
||||
stats
|
||||
workdir
|
||||
)
|
||||
for i in "${contrib_objects[@]}" ; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED%/}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
|
||||
if test -d "$d" ; then find "$d" \
|
||||
-name .packlist \
|
||||
-delete || die
|
||||
fi
|
||||
done
|
||||
else
|
||||
rm -rf "${ED%/}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED%/}"/usr/libexec/git-core/git-svn \
|
||||
"${ED%/}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
perl_delete_localpod
|
||||
|
||||
# Remove disabled linguas
|
||||
# we could remove sources in src_prepare, but install does not
|
||||
# handle missing locale dir well
|
||||
rm_loc() {
|
||||
if [[ -e "${ED%/}/usr/share/locale/${1}" ]]; then
|
||||
rm -r "${ED%/}/usr/share/locale/${1}" || die
|
||||
fi
|
||||
}
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=()
|
||||
local tests_cvs=(
|
||||
t9200-git-cvsexportcommit.sh
|
||||
t9400-git-cvsserver-server.sh
|
||||
t9401-git-cvsserver-crlf.sh
|
||||
t9402-git-cvsserver-refs.sh
|
||||
t9600-cvsimport.sh
|
||||
t9601-cvsimport-vendor-branch.sh
|
||||
t9602-cvsimport-branches-tags.sh
|
||||
t9603-cvsimport-patchsets.sh
|
||||
t9604-cvsimport-timestamps.sh
|
||||
)
|
||||
local tests_perl=(
|
||||
t3701-add-interactive.sh
|
||||
t5502-quickfetch.sh
|
||||
t5512-ls-remote.sh
|
||||
t5520-pull.sh
|
||||
t7106-reset-unborn-branch.sh
|
||||
t7501-commit.sh
|
||||
)
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot=(
|
||||
t0001-init.sh
|
||||
t0004-unwritable.sh
|
||||
t0070-fundamental.sh
|
||||
t1004-read-tree-m-u-wf.sh
|
||||
t3700-add.sh
|
||||
t7300-clean.sh
|
||||
)
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn=( t9100-git-svn-basic.sh )
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled+=( t5000-tar-tree.sh )
|
||||
fi
|
||||
|
||||
local cvs=0
|
||||
use cvs && let cvs=${cvs}+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ ${cvs} -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled+=( ${tests_cvs[@]} )
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled+=( ${tests_nonroot[@]} )
|
||||
else
|
||||
[[ ${cvs} -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=${cvs}+1
|
||||
[[ ${cvs} -gt 1 ]] && \
|
||||
has_version "dev-vcs/cvs[server]" && \
|
||||
let cvs=${cvs}+1
|
||||
if [[ ${cvs} -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled+=( ${tests_cvs[@]} )
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled+=( ${tests_perl[@]} )
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled+=( ${test_svn[@]} )
|
||||
|
||||
# Reset all previously disabled tests
|
||||
pushd t &>/dev/null || die
|
||||
local i
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled[@]} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled ${i}"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i Makefile || die
|
||||
|
||||
# Clean old results first, must always run
|
||||
nonfatal git_emake clean
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
local rc
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
pushd t &>/dev/null || die
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ ${rc} -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
elog "Please read /usr/share/bash-completion/completions/git for Git bash command"
|
||||
elog "completion."
|
||||
elog "Please read /usr/share/git/git-prompt.sh for Git bash prompt"
|
||||
elog "Note that the prompt bash code is now in that separate script"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )"
|
||||
echo
|
||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
AUX snes9x-1.53-cross-compile.patch 892 BLAKE2B 9fb806ad16d48d5f07f1ab84feb5f7eafa52a1157eb25675650f08c8fbab8a42318d3277efbdd45f03250df2e9187c76df43312f7ffb2f226423e757b5f6e91c SHA512 4867b9a3e3f2a65684157b26e4b0b63971d37ad5abb16125567e89bc4116482488416ca51d30f639ef63886b05431c56b75978fe073a4755c48988f5ea9eaee5
|
||||
AUX snes9x-1.55-build-system.patch 1825 BLAKE2B eb9bf6da1d9728c3bd657701d66da72caf185facbfc51030baf532f4757a8562319bf0b4daf9ac79068c63ef9d4fbb0df5681a71ea081effd826dceae6d32448 SHA512 afbd2b70eff128f89d231b7e623775746ad52d29a3f9b9a8dbbb38aff3f5ca7dbef1f938535c69ff9578a6467a25b441215dfab275dd22f2fbd5b22ebfa19731
|
||||
AUX snes9x-1.56-build-system.patch 1633 BLAKE2B 4a0ae3a90a15e29aea8d937f874aed9aa8b29c25eb03a90c9a0bf2b50f8c6271fcc43c7d61c2898e5d99128c0ab663d31de0e3498a5e16ba865d9c5572f12e6e SHA512 3ddc7272dab74ba3125409dbbf427160d08330cfc84c7f3393fbb68884f6129849efe042943899fbf3dca65ac326e15579722e757c3e30ebd4b452b784f1bf59
|
||||
DIST snes9x-1.56.tar.gz 2876904 BLAKE2B b58dd5c31627cbb374183adb5fe0328739bbebda8c6907ab7f9153085c45d612e51c91ad3223cc10694c9c36a00f69c303c5865d3b022f2769353884056a91b2 SHA512 b8c9438a451ed9a52a66dc04e2bea841aaa9403a2fd266e7042555f93a159ced76061233220eb6fac0f106cea08835c13ef008b2432f6d658689e0fa8ee563e6
|
||||
AUX snes9x-1.58-build-system.patch 1654 BLAKE2B e2264b61035a8a06b55a710fe9c5d2c689fccd9869af115706edbb28c8ab0a468482c1848e2fa81ee91e7708f0edcbb9c140d0d911442f570b837a48296982eb SHA512 8b898a96ff316d50e97f8d0a89842b57b22612c8e6e49b0ad4bfd203e462f48fd24647c568e602fdaeb99d6a8cc3674994659aea8d35bcce4071e0e7cac7a8f1
|
||||
DIST snes9x-1.57.tar.gz 2959157 BLAKE2B 6307976247eb3a3bcb506028d75d9054ea853db5c629870a89832fd93ee2fe256799b9191922c67fcd8ef1ed2344d16326212001661c5038a88f290346b9f35c SHA512 d17ec45eeae8f57c618a51243ac54bc3a2a3f09632e4e50c51781cf8557362dbfa7856d9d4ecdebeea344041c2686e2256f6bcd2dcc71660fcf336cf887dcb1c
|
||||
EBUILD snes9x-1.56.ebuild 2789 BLAKE2B 23180ff3ded88ad924eff4e9bebf5745c6e479e91552738b0afb5389d8dadc2bb22edd814d33f9d3fb01eeac2bf344d85dc159812b982b2e1b93e64c60efd991 SHA512 e121f01eba1b46e3b22cf5f2cf8878863a279aa4516ac71a46a30a5380f6fb75ad7979ac96a848f4e399191ac4ebdbed7844d4ee2c509c0baa8b359a1c72b017
|
||||
DIST snes9x-1.58.tar.gz 2830667 BLAKE2B 66446e56a172b318f7cefecc59d927270377f725df0ca89888e1c50eb3f5475729ffc9da86ead5e50f106ab0781ad644ae3b3ed5719724db9b78b687135ead04 SHA512 51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d
|
||||
EBUILD snes9x-1.57.ebuild 2860 BLAKE2B d829620d8308791ea4c31dcc07c061baef25ea7203ab8a536db841a5b5a8213e98b939d990ec0ee071c83e12942ea2c4ef8dba36519f25b04cc7eb4de457c92a SHA512 b01974ee1d46b4e929890a81f847632ec73a364218da4e03a9c4030345e513ef8a3644c2d2e6d822a6ac7928aefb4147314aa6fdf38d1a570025752c574e3318
|
||||
EBUILD snes9x-1.58.ebuild 2749 BLAKE2B b3fd6d9771bce1debfb35fb7c4a4a43ebe98634c583879a8e8b9c4351142f748141a1f1cf34fecdbbb3f108545649400429fa0b34c0d2ff3fdb74160f3adc9ad SHA512 515d1718224ae25c259aa8d765d228851ba7cf2793d13e862581980116db8c4a2f4518f7479a30c71f2bdd83cbb56317d5c076ae33329d001f74d635c0b96650
|
||||
MISC metadata.xml 489 BLAKE2B 3cb6bc463e0eb5ca5203722cc2320eba2bc2e000fbd42e1386fcef807df3aa6e853bbff49fb6b323ae012b44b6add2c354530df0ebc56d232aa89188297426cc SHA512 805a8089e2e324dcf14ca5d25b168fdd79dc72113710b820904982ce9b2c49e2876095cd461ed52f4905041c14b25626f4540db7e1b38e47a9d55bbac98ebbfc
|
||||
|
@ -1,32 +1,22 @@
|
||||
--- a/gtk/configure.ac
|
||||
+++ b/gtk/configure.ac
|
||||
@@ -33,7 +33,7 @@
|
||||
--- snes9x-1.58/gtk/configure.ac
|
||||
+++ snes9x-1.58/gtk/configure.ac
|
||||
@@ -33,8 +33,8 @@
|
||||
AM_GNU_GETTEXT([external])
|
||||
AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
|
||||
-snes9xlocaledir='${prefix}/${DATADIRNAME}/locale'
|
||||
-snes9xlocaledir='${prefix}/share/locale'
|
||||
-snes9xdatadir='${prefix}/share/snes9x'
|
||||
+snes9xlocaledir='$(localedir)'
|
||||
AC_SUBST(snes9xlocaledir)
|
||||
+snes9xdatadir='$(datadir)/snes9x'
|
||||
|
||||
AC_ARG_WITH(debug,
|
||||
--- a/unix/configure.ac
|
||||
+++ b/unix/configure.ac
|
||||
@@ -56,49 +56,6 @@
|
||||
AC_SUBST(snes9xlocaledir)
|
||||
AC_SUBST(snes9xdatadir)
|
||||
--- snes9x-1.58/unix/configure.ac
|
||||
+++ snes9x-1.58/unix/configure.ac
|
||||
@@ -56,37 +56,6 @@
|
||||
# *** Execution begins here ***
|
||||
# *****************************
|
||||
|
||||
-# Remove -g and -O2 flags manually.
|
||||
-
|
||||
-if test "x$CFLAGS" != "x"; then
|
||||
- CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-g//'`"
|
||||
- CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-O2//'`"
|
||||
-fi
|
||||
-
|
||||
-if test "x$CXXFLAGS" != "x"; then
|
||||
- CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-g//'`"
|
||||
- CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-O2//'`"
|
||||
-fi
|
||||
-
|
||||
-# Test what compiler flags we should use.
|
||||
-
|
||||
-AC_ARG_ENABLE([debug],
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue