diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-10 00:51:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-10 00:51:40 +0000 |
| commit | 9b8ae6928f24405575bb6ea9d58c6d563fc663de (patch) | |
| tree | f64b33e8bc3937f19404cc2e0e37ceabc9f5ba06 | |
| parent | 99c37cf96d02cb0cec52ca7bb2ead375ef197880 (diff) | |
| download | baldeagleos-repo-9b8ae6928f24405575bb6ea9d58c6d563fc663de.tar.gz baldeagleos-repo-9b8ae6928f24405575bb6ea9d58c6d563fc663de.tar.xz baldeagleos-repo-9b8ae6928f24405575bb6ea9d58c6d563fc663de.zip | |
Updating liguros repo
137 files changed, 3659 insertions, 1034 deletions
diff --git a/app-emulation/libguestfs/libguestfs-1.38.6-r100.ebuild b/app-emulation/libguestfs/libguestfs-1.38.6-r100.ebuild index 03f9b856df4f..8cdf19b56f1c 100644 --- a/app-emulation/libguestfs/libguestfs-1.38.6-r100.ebuild +++ b/app-emulation/libguestfs/libguestfs-1.38.6-r100.ebuild @@ -6,7 +6,7 @@ EAPI=7 LUA_COMPAT=( lua5-1 ) PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit autotools bash-completion-r1 linux-info lua-single perl-functions python-single-r1 xdg-utils +inherit autotools bash-completion-r1 l10n linux-info lua-single perl-functions python-single-r1 xdg-utils MY_PV_1="$(ver_cut 1-2)" MY_PV_2="$(ver_cut 2)" diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest index 5dd8a4c2408c..8110f0e3e7dc 100644 --- a/app-emulation/qemu/Manifest +++ b/app-emulation/qemu/Manifest @@ -1 +1,2 @@ DIST qemu-5.1.0.tar.xz 62911540 BLAKE2B 6a3ecbda2d9274f2736ffbc88d2006be31f153e7687e1425c1a297975f0e828cd2eafc11d11b589991acda87a489dd256ccf5a8947f91bb9431e515e979d8f29 SHA512 e213edb71d93d5167ddce7546220ecb7b52a7778586a4f476f65bd1e510c9cfc6d1876238a7b501d9cc3fd31cc2ae4b7fb9e753bc3f12cc17cd16dfce2a96ba3 +DIST qemu-5.2.0.tar.xz 106902800 BLAKE2B 4413d5591cbabf80faba5b0b7347ee7749ff0a71af44bdf7f64b1995e17ecf1f3df539fa8e63959e0d50cd0502a41a2921e60cc6d078ed8ab5b09ab4b86d4ed7 SHA512 bddd633ce111471ebc651e03080251515178808556b49a308a724909e55dac0be0cc0c79c536ac12d239678ae94c60100dc124be9b9d9538340c03a2f27177f3 diff --git a/app-emulation/qemu/qemu-5.2.0.ebuild b/app-emulation/qemu/qemu-5.2.0.ebuild new file mode 100644 index 000000000000..0ac176578994 --- /dev/null +++ b/app-emulation/qemu/qemu-5.2.0.ebuild @@ -0,0 +1,864 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="ncurses,readline" + +PLOCALES="bg de_DE fr_FR hu it sv tr zh_CN" + +FIRMWARE_ABI_VERSION="4.0.0-r50" + +inherit eutils linux-info toolchain-funcs multilib python-r1 \ + udev fcaps readme.gentoo-r1 pax-utils l10n xdg-utils + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://git.qemu.org/git/qemu.git" + EGIT_SUBMODULES=( + meson + tests/fp/berkeley-softfloat-3 + tests/fp/berkeley-testfloat-3 + ui/keycodemapdb + ) + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://download.qemu.org/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +fi + +DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" +HOMEPAGE="https://www.qemu.org http://www.linux-kvm.org" + +LICENSE="GPL-2 LGPL-2 BSD-2" +SLOT="0" + +IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc + +fdt glusterfs gnutls gtk infiniband iscsi io-uring + jack jemalloc +jpeg kernel_linux + kernel_FreeBSD lzo multipath + ncurses nfs nls numa opengl +oss +pin-upstream-blobs + plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux + +slirp + smartcard snappy spice ssh static static-user systemtap test usb + usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen + xfs +xkb zstd" + +COMMON_TARGETS="aarch64 alpha arm cris hppa i386 m68k microblaze microblazeel + mips mips64 mips64el mipsel nios2 or1k ppc ppc64 riscv32 riscv64 s390x + sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb" +IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} + avr lm32 moxie rx tricore unicore32" +IUSE_USER_TARGETS="${COMMON_TARGETS} + aarch64_be armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus + tilegx" + +use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS}) +use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS}) +IUSE+=" ${use_softmmu_targets} ${use_user_targets}" + +RESTRICT="!test? ( test )" +# Allow no targets to be built so that people can get a tools-only build. +# Block USE flag configurations known to not work. +REQUIRED_USE="${PYTHON_REQUIRED_USE} + qemu_softmmu_targets_arm? ( fdt ) + qemu_softmmu_targets_microblaze? ( fdt ) + qemu_softmmu_targets_mips64el? ( fdt ) + qemu_softmmu_targets_ppc64? ( fdt ) + qemu_softmmu_targets_ppc? ( fdt ) + qemu_softmmu_targets_riscv32? ( fdt ) + qemu_softmmu_targets_riscv64? ( fdt ) + static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy ) + static-user? ( !plugins ) + virtfs? ( caps xattr ) + vte? ( gtk ) + plugins? ( !static !static-user ) +" + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# and user/softmmu targets (qemu-*, qemu-system-*). +# +# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. +# +# The attr lib isn't always linked in (although the USE flag is always +# respected). This is because qemu supports using the C library's API +# when available rather than always using the external library. +ALL_DEPEND=" + >=dev-libs/glib-2.0[static-libs(+)] + sys-libs/zlib[static-libs(+)] + python? ( ${PYTHON_DEPS} ) + systemtap? ( dev-util/systemtap ) + xattr? ( sys-apps/attr[static-libs(+)] )" + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# softmmu targets (qemu-system-*). +SOFTMMU_TOOLS_DEPEND=" + dev-libs/libxml2[static-libs(+)] + xkb? ( x11-libs/libxkbcommon[static-libs(+)] ) + >=x11-libs/pixman-0.28.0[static-libs(+)] + accessibility? ( + app-accessibility/brltty[api] + app-accessibility/brltty[static-libs(+)] + ) + aio? ( dev-libs/libaio[static-libs(+)] ) + alsa? ( >=media-libs/alsa-lib-1.0.13 ) + bzip2? ( app-arch/bzip2[static-libs(+)] ) + capstone? ( dev-libs/capstone:= ) + caps? ( sys-libs/libcap-ng[static-libs(+)] ) + curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) + fdt? ( >=sys-apps/dtc-1.5.0[static-libs(+)] ) + glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] ) + gnutls? ( + dev-libs/nettle:=[static-libs(+)] + >=net-libs/gnutls-3.0:=[static-libs(+)] + ) + gtk? ( + x11-libs/gtk+:3 + vte? ( x11-libs/vte:2.91 ) + ) + infiniband? ( + sys-fabric/libibumad:=[static-libs(+)] + sys-fabric/libibverbs:=[static-libs(+)] + sys-fabric/librdmacm:=[static-libs(+)] + ) + iscsi? ( net-libs/libiscsi ) + io-uring? ( sys-libs/liburing:=[static-libs(+)] ) + jack? ( virtual/jack ) + jemalloc? ( dev-libs/jemalloc ) + jpeg? ( virtual/jpeg:0=[static-libs(+)] ) + lzo? ( dev-libs/lzo:2[static-libs(+)] ) + multipath? ( sys-fs/multipath-tools ) + ncurses? ( + sys-libs/ncurses:0=[unicode] + sys-libs/ncurses:0=[static-libs(+)] + ) + nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] ) + numa? ( sys-process/numactl[static-libs(+)] ) + opengl? ( + virtual/opengl + media-libs/libepoxy[static-libs(+)] + media-libs/mesa[static-libs(+)] + media-libs/mesa[egl,gbm] + ) + png? ( media-libs/libpng:0=[static-libs(+)] ) + pulseaudio? ( media-sound/pulseaudio ) + rbd? ( sys-cluster/ceph ) + sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) + sdl? ( + media-libs/libsdl2[video] + media-libs/libsdl2[static-libs(+)] + ) + sdl-image? ( media-libs/sdl2-image[static-libs(+)] ) + seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) + slirp? ( net-libs/libslirp[static-libs(+)] ) + smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] ) + snappy? ( app-arch/snappy:= ) + spice? ( + >=app-emulation/spice-protocol-0.12.3 + >=app-emulation/spice-0.12.0[static-libs(+)] + ) + ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] ) + usb? ( >=virtual/libusb-1-r2[static-libs(+)] ) + usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] ) + vde? ( net-misc/vde[static-libs(+)] ) + virgl? ( media-libs/virglrenderer[static-libs(+)] ) + virtfs? ( sys-libs/libcap ) + xen? ( app-emulation/xen-tools:= ) + xfs? ( sys-fs/xfsprogs[static-libs(+)] ) + zstd? ( >=app-arch/zstd-1.4.0[static-libs(+)] ) +" + +X86_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/edk2-ovmf-201905[binary] + ~sys-firmware/ipxe-1.0.0_p20190728[binary] + ~sys-firmware/seabios-1.12.0[binary,seavgabios] + ~sys-firmware/sgabios-0.1_pre8[binary] + ) + !pin-upstream-blobs? ( + sys-firmware/edk2-ovmf + sys-firmware/ipxe + >=sys-firmware/seabios-1.10.2[seavgabios] + sys-firmware/sgabios + )" +PPC64_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/seabios-1.12.0[binary,seavgabios] + ) + !pin-upstream-blobs? ( + >=sys-firmware/seabios-1.10.2[seavgabios] + ) +" + +BDEPEND=" + $(python_gen_impl_dep) + dev-lang/perl + sys-apps/texinfo + virtual/pkgconfig + doc? ( dev-python/sphinx ) + gtk? ( nls? ( sys-devel/gettext ) ) + test? ( + dev-libs/glib[utils] + sys-devel/bc + ) +" +CDEPEND=" + !static? ( + ${ALL_DEPEND//\[static-libs(+)]} + ${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]} + ) + qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_ppc64? ( ${PPC64_FIRMWARE_DEPEND} ) +" +DEPEND="${CDEPEND} + kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 ) + static? ( + ${ALL_DEPEND} + ${SOFTMMU_TOOLS_DEPEND} + ) + static-user? ( ${ALL_DEPEND} )" +RDEPEND="${CDEPEND} + acct-group/kvm + selinux? ( sec-policy/selinux-qemu )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch +) + +QA_PREBUILT=" + usr/share/qemu/hppa-firmware.img + usr/share/qemu/openbios-ppc + usr/share/qemu/openbios-sparc64 + usr/share/qemu/openbios-sparc32 + usr/share/qemu/palcode-clipper + usr/share/qemu/s390-ccw.img + usr/share/qemu/s390-netboot.img + usr/share/qemu/u-boot.e500" + +QA_WX_LOAD="usr/bin/qemu-i386 + usr/bin/qemu-x86_64 + usr/bin/qemu-alpha + usr/bin/qemu-arm + usr/bin/qemu-cris + usr/bin/qemu-m68k + usr/bin/qemu-microblaze + usr/bin/qemu-microblazeel + usr/bin/qemu-mips + usr/bin/qemu-mipsel + usr/bin/qemu-or1k + usr/bin/qemu-ppc + usr/bin/qemu-ppc64 + usr/bin/qemu-ppc64abi32 + usr/bin/qemu-sh4 + usr/bin/qemu-sh4eb + usr/bin/qemu-sparc + usr/bin/qemu-sparc64 + usr/bin/qemu-armeb + usr/bin/qemu-sparc32plus + usr/bin/qemu-s390x + usr/bin/qemu-unicore32" + +DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the +kernel module loaded before running kvm. The easiest way to ensure that the +kernel module is loaded is to load it on boot. + For AMD CPUs the module is called 'kvm-amd'. + For Intel CPUs the module is called 'kvm-intel'. +Please review /etc/conf.d/modules for how to load these. + +Make sure your user is in the 'kvm' group. Just run + $ gpasswd -a <USER> kvm +then have <USER> re-login. + +For brand new installs, the default permissions on /dev/kvm might not let +you access it. You can tell udev to reset ownership/perms: + $ udevadm trigger -c add /dev/kvm + +If you want to register binfmt handlers for qemu user targets: +For openrc: + # rc-update add qemu-binfmt +For systemd: + # ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf" + +pkg_pretend() { + if use kernel_linux && kernel_is lt 2 6 25; then + eerror "This version of KVM requires a host kernel of 2.6.25 or higher." + elif use kernel_linux; then + if ! linux_config_exists; then + eerror "Unable to check your kernel for KVM support" + else + CONFIG_CHECK="~KVM ~TUN ~BRIDGE" + ERROR_KVM="You must enable KVM in your kernel to continue" + ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in" + ERROR_KVM_AMD+=" your kernel configuration." + ERROR_KVM_INTEL="If you have an Intel CPU, you must enable" + ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration." + ERROR_TUN="You will need the Universal TUN/TAP driver compiled" + ERROR_TUN+=" into your kernel or loaded as a module to use the" + ERROR_TUN+=" virtual network device if using -net tap." + ERROR_BRIDGE="You will also need support for 802.1d" + ERROR_BRIDGE+=" Ethernet Bridging for some network configurations." + use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" + ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" + ERROR_VHOST_NET+=" support" + + if use amd64 || use x86 || use amd64-linux || use x86-linux; then + if grep -q AuthenticAMD /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_AMD" + elif grep -q GenuineIntel /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_INTEL" + fi + fi + + use python && CONFIG_CHECK+=" ~DEBUG_FS" + ERROR_DEBUG_FS="debugFS support required for kvm_stat" + + # Now do the actual checks setup above + check_extra_config + fi + fi + + if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then + eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt" + eerror "instances are still pointing to it. Please update your" + eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag" + eerror "and the right system binary (e.g. qemu-system-x86_64)." + die "update your virt configs to not use qemu-kvm" + fi +} + +# Sanity check to make sure target lists are kept up-to-date. +check_targets() { + local var=$1 mak=$2 + local detected sorted + + pushd "${S}"/default-configs/targets/ >/dev/null || die + + # Force C locale until glibc is updated. #564936 + detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u)) + sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u)) + if [[ ${sorted} != "${detected}" ]] ; then + eerror "The ebuild needs to be kept in sync." + eerror "${var}: ${sorted}" + eerror "$(printf '%-*s' ${#var} configure): ${detected}" + die "sync ${var} to the list of targets" + fi + + popd >/dev/null +} + +handle_locales() { + # Make sure locale list is kept up-to-date. + local detected sorted + detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u)) + sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u)) + if [[ ${sorted} != "${detected}" ]] ; then + eerror "The ebuild needs to be kept in sync." + eerror "PLOCALES: ${sorted}" + eerror " po/*.po: ${detected}" + die "sync PLOCALES" + fi + + # Deal with selective install of locales. + if use nls ; then + # Delete locales the user does not want. #577814 + rm_loc() { rm po/$1.po || die; } + l10n_for_each_disabled_locale_do rm_loc + else + # Cheap hack to disable gettext .mo generation. + rm -f po/*.po + fi +} + +src_prepare() { + check_targets IUSE_SOFTMMU_TARGETS softmmu + check_targets IUSE_USER_TARGETS linux-user + + default + + # Use correct toolchain to fix cross-compiling + tc-export AR AS LD NM OBJCOPY PKG_CONFIG RANLIB + export WINDRES=${CHOST}-windres + + # Verbose builds + MAKEOPTS+=" V=1" + + # Run after we've applied all patches. + handle_locales + + # Remove bundled copy of libfdt + rm -r dtc || die +} + +## +# configures qemu based on the build directory and the build type +# we are using. +# +qemu_src_configure() { + debug-print-function ${FUNCNAME} "$@" + + local buildtype=$1 + local builddir="${S}/${buildtype}-build" + + mkdir "${builddir}" + + local conf_opts=( + --prefix=/usr + --sysconfdir=/etc + --bindir=/usr/bin + --libdir=/usr/$(get_libdir) + --datadir=/usr/share + --docdir=/usr/share/doc/${PF}/html + --mandir=/usr/share/man + --localstatedir=/var + --disable-bsd-user + --disable-containers # bug #732972 + --disable-guest-agent + --disable-strip + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + + --disable-werror + # We support gnutls/nettle for crypto operations. It is possible + # to use gcrypt when gnutls/nettle are disabled (but not when they + # are enabled), but it's not really worth the hassle. Disable it + # all the time to avoid automatically detecting it. #568856 + --disable-gcrypt + --python="${PYTHON}" + --cc="$(tc-getCC)" + --cxx="$(tc-getCXX)" + --host-cc="$(tc-getBUILD_CC)" + $(use_enable debug debug-info) + $(use_enable debug debug-tcg) + $(use_enable doc docs) + $(use_enable plugins) + $(use_enable xattr attr) + ) + + # Disable options not used by user targets. This simplifies building + # static user targets (USE=static-user) considerably. + conf_notuser() { + if [[ ${buildtype} == "user" ]] ; then + echo "--disable-${2:-$1}" + else + use_enable "$@" + fi + } + # Enable option only for softmmu build, but not 'user' or 'tools' + conf_softmmu() { + if [[ ${buildtype} == "softmmu" ]] ; then + use_enable "$@" + else + echo "--disable-${2:-$1}" + fi + } + conf_opts+=( + $(conf_notuser accessibility brlapi) + $(conf_notuser aio linux-aio) + $(conf_notuser bzip2) + $(conf_notuser capstone) + $(conf_notuser caps cap-ng) + $(conf_notuser curl) + $(conf_notuser fdt) + $(conf_notuser glusterfs) + $(conf_notuser gnutls) + $(conf_notuser gnutls nettle) + $(conf_notuser gtk) + $(conf_notuser infiniband rdma) + $(conf_notuser iscsi libiscsi) + $(conf_notuser io-uring linux-io-uring) + $(conf_notuser jemalloc jemalloc) + $(conf_notuser jpeg vnc-jpeg) + $(conf_notuser kernel_linux kvm) + $(conf_notuser lzo) + $(conf_notuser multipath mpath) + $(conf_notuser ncurses curses) + $(conf_notuser nfs libnfs) + $(conf_notuser numa) + $(conf_notuser opengl) + $(conf_notuser png vnc-png) + $(conf_notuser rbd) + $(conf_notuser sasl vnc-sasl) + $(conf_notuser sdl) + $(conf_softmmu sdl-image) + $(conf_notuser seccomp) + $(conf_notuser slirp slirp system) + $(conf_notuser smartcard) + $(conf_notuser snappy) + $(conf_notuser spice) + $(conf_notuser ssh libssh) + $(conf_notuser usb libusb) + $(conf_notuser usbredir usb-redir) + $(conf_notuser vde) + $(conf_notuser vhost-net) + $(conf_notuser vhost-user-fs) + $(conf_notuser virgl virglrenderer) + $(conf_notuser virtfs) + $(conf_notuser vnc) + $(conf_notuser vte) + $(conf_notuser xen) + $(conf_notuser xen xen-pci-passthrough) + $(conf_notuser xfs xfsctl) + $(conf_notuser xkb xkbcommon) + $(conf_notuser zstd) + ) + + if [[ ${buildtype} == "user" ]] ; then + conf_opts+=( --disable-libxml2 ) + else + conf_opts+=( --enable-libxml2 ) + fi + + if [[ ! ${buildtype} == "user" ]] ; then + # audio options + local audio_opts=( + # Note: backend order matters here: #716202 + # We iterate from higher-level to lower level. + $(usex pulseaudio pa "") + $(usev jack) + $(usev sdl) + $(usev alsa) + $(usev oss) + ) + conf_opts+=( + --audio-drv-list=$(printf "%s," "${audio_opts[@]}") + ) + fi + + case ${buildtype} in + user) + conf_opts+=( + --enable-linux-user + --disable-system + --disable-blobs + --disable-tools + ) + local static_flag="static-user" + ;; + softmmu) + conf_opts+=( + --disable-linux-user + --enable-system + --disable-tools + ) + local static_flag="static" + ;; + tools) + conf_opts+=( + --disable-linux-user + --disable-system + --disable-blobs + --enable-tools + ) + local static_flag="static" + ;; + esac + + local targets="${buildtype}_targets" + [[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" ) + + # Add support for SystemTAP + use systemtap && conf_opts+=( --enable-trace-backend=dtrace ) + + # We always want to attempt to build with PIE support as it results + # in a more secure binary. But it doesn't work with static or if + # the current GCC doesn't have PIE support. + if use ${static_flag}; then + conf_opts+=( --static --disable-pie ) + else + tc-enables-pie && conf_opts+=( --enable-pie ) + fi + + # Plumb through equivalent of EXTRA_ECONF to allow experiments + # like bug #747928. + conf_opts+=( ${EXTRA_CONF_QEMU} ) + + echo "../configure ${conf_opts[*]}" + cd "${builddir}" + ../configure "${conf_opts[@]}" || die "configure failed" + + # FreeBSD's kernel does not support QEMU assigning/grabbing + # host USB devices yet + use kernel_FreeBSD && \ + sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak +} + +src_configure() { + local target + + python_setup + + softmmu_targets= softmmu_bins=() + user_targets= user_bins=() + + for target in ${IUSE_SOFTMMU_TARGETS} ; do + if use "qemu_softmmu_targets_${target}"; then + softmmu_targets+=",${target}-softmmu" + softmmu_bins+=( "qemu-system-${target}" ) + fi + done + + for target in ${IUSE_USER_TARGETS} ; do + if use "qemu_user_targets_${target}"; then + user_targets+=",${target}-linux-user" + user_bins+=( "qemu-${target}" ) + fi + done + + softmmu_targets=${softmmu_targets#,} + user_targets=${user_targets#,} + + [[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu" + [[ -n ${user_targets} ]] && qemu_src_configure "user" + qemu_src_configure "tools" +} + +src_compile() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" + default + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" + default + fi + + cd "${S}/tools-build" + default +} + +src_test() { + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" + pax-mark m */qemu-system-* #515550 + emake check + fi +} + +qemu_python_install() { + python_domodule "${S}/python/qemu" + + python_doscript "${S}/scripts/kvm/vmxcap" + python_doscript "${S}/scripts/qmp/qmp-shell" + python_doscript "${S}/scripts/qmp/qemu-ga-client" +} + +# Generate binfmt support files. +# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc) +# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt) +generate_initd() { + local out="${T}/qemu-binfmt" + local out_systemd="${T}/qemu.conf" + local d="${T}/binfmt.d" + + einfo "Generating qemu binfmt scripts and configuration files" + + # Generate the debian fragments first. + mkdir -p "${d}" + "${S}"/scripts/qemu-binfmt-conf.sh \ + --debian \ + --exportdir "${d}" \ + --qemu-path "${EPREFIX}/usr/bin" \ + || die + # Then turn the fragments into a shell script we can source. + sed -E -i \ + -e 's:^([^ ]+) (.*)$:\1="\2":' \ + "${d}"/* || die + + # Generate the init.d script by assembling the fragments from above. + local f qcpu package interpreter magic mask + cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die + for f in "${d}"/qemu-* ; do + source "${f}" + + # Normalize the cpu logic like we do in the init.d for the native cpu. + qcpu=${package#qemu-} + case ${qcpu} in + arm*) qcpu="arm";; + mips*) qcpu="mips";; + ppc*) qcpu="ppc";; + s390*) qcpu="s390";; + sh*) qcpu="sh";; + sparc*) qcpu="sparc";; + esac + + # we use 'printf' here to be portable across 'sh' + # implementations: #679168 + cat <<EOF >>"${out}" + if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then + printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register + fi +EOF + + echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}" + + done + cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die +} + +src_install() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" + emake DESTDIR="${ED}" install + + # Install binfmt handler init script for user targets. + generate_initd + doinitd "${T}/qemu-binfmt" + + # Install binfmt/qemu.conf. + insinto "/usr/share/qemu/binfmt.d" + doins "${T}/qemu.conf" + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" + emake DESTDIR="${ED}" install + + # This might not exist if the test failed. #512010 + [[ -e check-report.html ]] && dodoc check-report.html + + if use kernel_linux; then + udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules + fi + + if use python; then + python_foreach_impl qemu_python_install + fi + fi + + cd "${S}/tools-build" + emake DESTDIR="${ED}" install + + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348 + pushd "${ED}"/usr/bin >/dev/null + pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594 + popd >/dev/null + + # Install config file example for qemu-bridge-helper + insinto "/etc/qemu" + doins "${FILESDIR}/bridge.conf" + + cd "${S}" + dodoc MAINTAINERS docs/specs/pci-ids.txt + newdoc pc-bios/README README.pc-bios + + # Disallow stripping of prebuilt firmware files. + dostrip -x ${QA_PREBUILT} + + if [[ -n ${softmmu_targets} ]]; then + # Remove SeaBIOS since we're using the SeaBIOS packaged one + rm "${ED}/usr/share/qemu/bios.bin" + rm "${ED}/usr/share/qemu/bios-256k.bin" + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../seabios/bios.bin /usr/share/qemu/bios.bin + dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin + fi + + # Remove vgabios since we're using the seavgabios packaged one + rm "${ED}/usr/share/qemu/vgabios.bin" + rm "${ED}/usr/share/qemu/vgabios-cirrus.bin" + rm "${ED}/usr/share/qemu/vgabios-qxl.bin" + rm "${ED}/usr/share/qemu/vgabios-stdvga.bin" + rm "${ED}/usr/share/qemu/vgabios-virtio.bin" + rm "${ED}/usr/share/qemu/vgabios-vmware.bin" + # PPC64 loads vgabios-stdvga + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || use qemu_softmmu_targets_ppc64; then + dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin + dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin + dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin + dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin + dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin + dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin + fi + + # Remove sgabios since we're using the sgabios packaged one + rm "${ED}/usr/share/qemu/sgabios.bin" + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin + fi + + # Remove iPXE since we're using the iPXE packaged one + rm "${ED}"/usr/share/qemu/pxe-*.rom + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom + dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom + dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom + dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom + dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom + dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom + fi + fi + + DISABLE_AUTOFORMATTING=true + readme.gentoo_create_doc +} + +firmware_abi_change() { + local pv + for pv in ${REPLACING_VERSIONS}; do + if ver_test $pv -lt ${FIRMWARE_ABI_VERSION}; then + return 0 + fi + done + return 1 +} + +pkg_postinst() { + if [[ -n ${softmmu_targets} ]] && use kernel_linux; then + udev_reload + fi + + xdg_icon_cache_update + + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper + + DISABLE_AUTOFORMATTING=true + readme.gentoo_print_elog + + if use pin-upstream-blobs && firmware_abi_change; then + ewarn "This version of qemu pins new versions of firmware blobs:" + ewarn " $(best_version sys-firmware/edk2-ovmf)" + ewarn " $(best_version sys-firmware/ipxe)" + ewarn " $(best_version sys-firmware/seabios)" + ewarn " $(best_version sys-firmware/sgabios)" + ewarn "This might break resume of hibernated guests (started with a different" + ewarn "firmware version) and live migration to/from qemu versions with different" + ewarn "firmware. Please (cold) restart all running guests. For functional" + ewarn "guest migration ensure that all" + ewarn "hosts run at least" + ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}." + fi +} + +pkg_info() { + echo "Using:" + echo " $(best_version app-emulation/spice-protocol)" + echo " $(best_version sys-firmware/edk2-ovmf)" + if has_version 'sys-firmware/edk2-ovmf[binary]'; then + echo " USE=binary" + else + echo " USE=''" + fi + echo " $(best_version sys-firmware/ipxe)" + echo " $(best_version sys-firmware/seabios)" + if has_version 'sys-firmware/seabios[binary]'; then + echo " USE=binary" + else + echo " USE=''" + fi + echo " $(best_version sys-firmware/sgabios)" +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-emulation/wine-gecko/Manifest b/app-emulation/wine-gecko/Manifest index 7daaaf510bfd..c62e3824b01b 100644 --- a/app-emulation/wine-gecko/Manifest +++ b/app-emulation/wine-gecko/Manifest @@ -1,4 +1,6 @@ DIST wine-gecko-2.47.1-x86.msi 50735104 BLAKE2B c082e22fdbf1681e0c38e8822bc1a8f99b47d91f7d32f22bfad716685553d3d10fd4004f90135d90f39f4ff05cba37665455679e08ce3a140ca8ded76cb7a9ea SHA512 ef13838bf7d5bdd74d06bbbdccc6b18cc75b4d0c2b3db8c978b9500cdfeb058bf5532d89b77c164eab52c1f93ae2e2540b37f6694a3e560aace3ebc7da2c7596 DIST wine-gecko-2.47.1-x86_64.msi 52311040 BLAKE2B 2a9aa68461d2b9f69ada1e50925de7ba9804a4992c9d0a717c9c5d1340179e7f10e550c8db170bb33c79e24dcd068e00648c572c6b4e4d836a507ada6e7bbccd SHA512 f875d9a7c68a33abf6dd25d61ff6dd3e5ff246768880e3ee4984ab63b065a7b0ef55411b710e4cb9db48bd2114cbd3fbd97f24e819d7d71c2212dd612abaaf43 +DIST wine-gecko-2.47.2-x86.msi 59162112 BLAKE2B 75197c5145dd047d637ea950ed1df918b79446bbb5aae642a90d95af96870cd1756b8469deca105d986ae2dc166ad1b2b89dd7e16c7d13baa4b215b30c3ba909 SHA512 4e6e688fada1edd3d7e0e131246dcae8c6db1a2fde946540b6f8c8b2deee8aa19f210368132f00789d4f49bf2b5e5ac671d4d3699f557e652ece50e55fbcbd43 +DIST wine-gecko-2.47.2-x86_64.msi 55354880 BLAKE2B c234602e29a6597d26e7a78ec85ac66471ecd8fcea5360d6f32323e4cbee4aca2ccd5530706e8779346ff2d08f1c4900fef198763e431ce7cd232ef117933336 SHA512 9bbaf061d5d2035e6df0898a847697bbed071abaf95ccde08b5ace7a2c6fc871db16443596b23a889def82f98591973fe8ca88063021d8779f8faa48973f239c DIST wine_gecko-2.47-x86.msi 49266176 BLAKE2B 6b1d4ebf53fac422c2da9ae7f5b6ab9064d2b6cc20d57fe13707395e71305ac1607a440624d3a545fe1e0391bc92bf5b594173549e519eda967bb833b69b2f52 SHA512 e0d06102dcb8ec2d24e8c8c3f5c2ee5cb47c18e203dfb43d85de008d682ff874fb664fef1df909a5a7857de39c7e8ce5175e734a11964ec4cd35f8fbacaea3a4 DIST wine_gecko-2.47-x86_64.msi 50806272 BLAKE2B 6f91d4661a322eca41042cb7a246d5bff76ab72b4bda67183fc36735c923bd6d76624f21fd3e59f63fd872704edcf0116a6e7ab4fa6f074f5098c8fb5307534c SHA512 7c2496b15a06bc6906bc60afb3ac082e3f9931207fa624e60297020211d66aa9b420a61e95730a0dbdcefbe4b26c811d0c896ecd9c363b5107d08c3fa22fef41 diff --git a/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild new file mode 100644 index 000000000000..6f99f662aee1 --- /dev/null +++ b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A Mozilla Gecko based version of Internet Explorer for Wine" +HOMEPAGE="https://winehq.org" +SRC_URI=" + abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.msi ) + abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.msi ) +" + +LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="abi_x86_32 abi_x86_64" + +DEPEND="!!app-emulation/wine:0" + +S="${WORKDIR}" + +src_install(){ + insinto /usr/share/wine/gecko + use abi_x86_32 && doins "${DISTDIR}/${PN}-${PV}-x86.msi" + use abi_x86_64 && doins "${DISTDIR}/${PN}-${PV}-x86_64.msi" +} diff --git a/app-metrics/fusioninventory-agent/fusioninventory-agent-2.5.2.ebuild b/app-metrics/fusioninventory-agent/fusioninventory-agent-2.5.2.ebuild index d3075adcfa32..aca88819222f 100644 --- a/app-metrics/fusioninventory-agent/fusioninventory-agent-2.5.2.ebuild +++ b/app-metrics/fusioninventory-agent/fusioninventory-agent-2.5.2.ebuild @@ -23,17 +23,31 @@ DEPEND=" dev-perl/XML-TreePP dev-perl/XML-XPath virtual/perl-IO-Compress + virtual/perl-threads dev-perl/HTTP-Daemon dev-perl/IO-Socket-SSL dev-perl/LWP-Protocol-https dev-perl/Proc-Daemon - " +" RDEPEND="${DEPEND}" BDEPEND=" dev-perl/Module-Install - " + dev-perl/File-Copy-Recursive + app-portage/gentoolkit +" + PATCHES=( "${FILESDIR}/${P}-dirs.patch" ) +src_prepare() { + # gentoo has ip under /bin/ip and ifconfig under /bin/ifconfig + sed \ + -e "s:/sbin/ifconfig:/bin/ifconfig:g" \ + -e "s:/sbin/ip:/bin/ip:g" \ + -i lib/FusionInventory/Agent/Task/Inventory/Linux/Networks.pm \ + -i lib/FusionInventory/Agent/Tools/Linux.pm || die + default +} + src_install() { default systemd_dounit contrib/unix/fusioninventory-agent.service diff --git a/app-misc/mc/mc-4.8.25.ebuild b/app-misc/mc/mc-4.8.25.ebuild index ee448d7d00b0..5567c7a319ee 100644 --- a/app-misc/mc/mc-4.8.25.ebuild +++ b/app-misc/mc/mc-4.8.25.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" IUSE="+edit gpm nls samba sftp slang spell test +unicode X +xdg" REQUIRED_USE="spell? ( edit )" diff --git a/app-misc/pax-utils/pax-utils-1.2.6.ebuild b/app-misc/pax-utils/pax-utils-1.2.6.ebuild index 5226337cdb27..3482d46f4fd2 100644 --- a/app-misc/pax-utils/pax-utils-1.2.6.ebuild +++ b/app-misc/pax-utils/pax-utils-1.2.6.ebuild @@ -29,7 +29,7 @@ RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) # >=linux-headers-4.11 to pick linux headers with statx, bug #737094 DEPEND=" ${RDEPEND} - kernel_linux? ( >=sys-kernel/linux-headers-4.11 ) + kernel_linux? ( !prefix-guest? ( >=sys-kernel/linux-headers-4.11 ) ) " BDEPEND=" caps? ( virtual/pkgconfig ) diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest index 7543617325bf..c050975443f0 100644 --- a/app-office/wps-office/Manifest +++ b/app-office/wps-office/Manifest @@ -1,2 +1,2 @@ -DIST wps-office_11.1.0.9505.XA_amd64.deb 212685550 BLAKE2B 56c38f01837c33e55ea2266a6b55781a911becb3af89baa8089c59ae43a565a46558e677c7d84f91ef51e64dd3024f4729027dd0621ea9b4a10188f4e63a1db5 SHA512 d6d7e4fd85fbf24b08281d68ad3be9280d9b337555e328f75db1e53b9ce1bb47b2265b73e2da00df7b1a9b0a9775152920bd439368307f2373f611de6eaf19a7 DIST wps-office_11.1.0.9615.XA_amd64.deb 226220962 BLAKE2B 4ef64d1e610bf9eb8cd03b204229d6dbc7d50e1850034aeaa6b80863cf060db8c7ac276f33047b84948af29cfa511ab5141f57d821d01999828a47066281303e SHA512 23a788c592688649a7d3e789934af37e1892b3a817b1ea3689fa88322500a2ef16794623e98b8ab61288ca800925df243579e0b76c5bec1dda0b77d8f704e3db +DIST wps-office_11.1.0.9719.XA_amd64.deb 225790936 BLAKE2B fea8ccda302605525904d4399b134dec1567b702a9a30f337ae24bd35459512661539be27b4c06ae9fb71f893e4dcb1d906dc1221abc09264dc349cf9bbfe224 SHA512 231d5e824a66c64a41a38d3b421061da8562d53a0c5517b452d57f25dd2bb3252faaf8a3d3ac83f57d916b38cc288c13eaaa20bfba83fc334b6db508db015ce5 diff --git a/app-office/wps-office/wps-office-11.1.0.9505.ebuild b/app-office/wps-office/wps-office-11.1.0.9719.ebuild index d5f3f6b5f1cd..9989ac889b6b 100644 --- a/app-office/wps-office/wps-office-11.1.0.9505.ebuild +++ b/app-office/wps-office/wps-office-11.1.0.9719.ebuild @@ -24,44 +24,54 @@ IUSE="" # ldd /opt/kingsoft/wps-office/office6/wps # ldd /opt/kingsoft/wps-office/office6/wpp RDEPEND=" - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrender - x11-libs/libxcb - media-libs/fontconfig:1.0 - media-libs/freetype:2 - dev-libs/glib:2 - sys-libs/zlib:0 - net-print/cups - media-libs/libpng-compat:1.2 - virtual/glu - - dev-libs/libpcre:3 - dev-libs/libffi - media-sound/pulseaudio app-arch/bzip2:0 - media-libs/libpng:0 + app-arch/xz-utils + app-arch/lz4 + dev-libs/atk dev-libs/expat - sys-apps/util-linux + dev-libs/glib:2 dev-libs/libbsd - x11-libs/libXau - x11-libs/libXdmcp - sys-apps/dbus - x11-libs/libXtst - sys-apps/tcp-wrappers - media-libs/libsndfile - net-libs/libasyncns + dev-libs/libffi dev-libs/libgcrypt:0 - app-arch/xz-utils - app-arch/lz4 - sys-libs/libcap + dev-libs/libgpg-error + dev-libs/libpcre:3 + dev-libs/nspr + dev-libs/nss + media-libs/fontconfig:1.0 + media-libs/freetype:2 media-libs/flac media-libs/libogg + media-libs/libsndfile media-libs/libvorbis - dev-libs/libgpg-error + media-libs/libpng-compat:1.2 + media-libs/libpng:0 + media-sound/pulseaudio + net-libs/libasyncns + net-print/cups sys-apps/attr + sys-apps/util-linux + sys-apps/dbus + sys-apps/tcp-wrappers + sys-libs/libcap + sys-libs/zlib:0 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXau + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXv + x11-libs/libxcb + x11-libs/pango + virtual/glu " DEPEND="" BDEPEND="" diff --git a/dev-lang/python-exec/metadata.xml b/dev-lang/python-exec/metadata.xml index ea1adab75486..4e6b045856ae 100644 --- a/dev-lang/python-exec/metadata.xml +++ b/dev-lang/python-exec/metadata.xml @@ -13,5 +13,12 @@ <bugs-to>https://github.com/mgorny/python-exec/issues/</bugs-to> <remote-id type="github">mgorny/python-exec</remote-id> </upstream> + <use> + <flag name="native-symlinks"> + Install generic symlinks like python and python3. If this flag + is disabled, only versioned python3.X executables will + be available to end users and ebuilds not using python eclasses. + </flag> + </use> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild b/dev-lang/python-exec/python-exec-2.4.6-r3.ebuild index 07538b12ef43..d049c3fb76dc 100644 --- a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild +++ b/dev-lang/python-exec/python-exec-2.4.6-r3.ebuild @@ -11,9 +11,11 @@ SRC_URI="https://github.com/mgorny/python-exec/releases/download/v${PV}/${P}.tar LICENSE="BSD-2" SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Internal Python project hack. Do not copy it. Ever. -IUSE="${_PYTHON_ALL_IMPLS[@]/#/python_targets_}" +IUSE="${_PYTHON_ALL_IMPLS[@]/#/python_targets_} +native-symlinks" + +RDEPEND="!<=dev-lang/python-2.7.18-r3:2.7" src_configure() { local pyimpls=() i EPYTHON @@ -40,33 +42,22 @@ src_install() { newins - python-exec.conf \ < <(sed -n -e '/^#/p' config/python-exec.conf.example) - local programs=( python ) - local scripts=( python-config 2to3 idle pydoc pyvenv ) - local i - for i in "${_PYTHON_ALL_IMPLS[@]}"; do - if use "python_targets_${i}"; then - # NB: duplicate entries are harmless - if python_is_python3 "${i}"; then - programs+=( python3 ) - scripts+=( python3-config ) - else - programs+=( python2 ) - scripts+=( python2-config ) - fi - fi - done + if use native-symlinks; then + local programs=( python python3 ) + local scripts=( python-config python3-config 2to3 idle pydoc pyvenv ) - local f - for f in "${programs[@]}"; do - # symlink the C wrapper for python to avoid shebang recursion - # bug #568974 - dosym python-exec2c /usr/bin/"${f}" - done - for f in "${scripts[@]}"; do - # those are python scripts (except for new python-configs) - # so symlink them via the python wrapper - dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}" - done + local f + for f in "${programs[@]}"; do + # symlink the C wrapper for python to avoid shebang recursion + # bug #568974 + dosym python-exec2c /usr/bin/"${f}" + done + for f in "${scripts[@]}"; do + # those are python scripts (except for new python-configs) + # so symlink them via the python wrapper + dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}" + done + fi } pkg_preinst() { diff --git a/dev-libs/elfutils/elfutils-0.182.ebuild b/dev-libs/elfutils/elfutils-0.182.ebuild index e8eb53df21ea..9e7aed790ed1 100644 --- a/dev-libs/elfutils/elfutils-0.182.ebuild +++ b/dev-libs/elfutils/elfutils-0.182.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind zstd" RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] diff --git a/dev-libs/glib/glib-2.66.2.ebuild b/dev-libs/glib/glib-2.66.2.ebuild index 142a20311393..5ae983393685 100644 --- a/dev-libs/glib/glib-2.66.2.ebuild +++ b/dev-libs/glib/glib-2.66.2.ebuild @@ -41,10 +41,9 @@ RDEPEND=" xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) ) !kernel_Winnt? ( virtual/libelf:0= ) fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} sysprof? ( >=dev-util/sysprof-capture-3.38:4[${MULTILIB_USEDEP}] ) " +DEPEND="${RDEPEND}" # libxml2 used for optional tests that get automatically skipped BDEPEND=" app-text/docbook-xsl-stylesheets diff --git a/dev-libs/glib/glib-2.66.3.ebuild b/dev-libs/glib/glib-2.66.3.ebuild index 4c161e6cbae5..23a4ff335d11 100644 --- a/dev-libs/glib/glib-2.66.3.ebuild +++ b/dev-libs/glib/glib-2.66.3.ebuild @@ -41,10 +41,9 @@ RDEPEND=" xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) ) !kernel_Winnt? ( virtual/libelf:0= ) fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} sysprof? ( >=dev-util/sysprof-capture-3.38:4[${MULTILIB_USEDEP}] ) " +DEPEND="${RDEPEND}" # libxml2 used for optional tests that get automatically skipped BDEPEND=" app-text/docbook-xsl-stylesheets diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild index c4388575c8b5..aec7e51e5932 100644 --- a/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild +++ b/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="|| ( public-domain MIT )" SLOT="0/24" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x64-macos ~x64-solaris" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/libpeas/libpeas-1.26.0-r100.ebuild b/dev-libs/libpeas/libpeas-1.26.0-r100.ebuild new file mode 100644 index 000000000000..8a2759201034 --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.26.0-r100.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 luajit ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit gnome.org lua-single meson python-single-r1 vala virtualx xdg + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="https://developer.gnome.org/libpeas/stable/" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +IUSE="glade +gtk gtk-doc lua +python vala" +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-1.39:= + gtk? ( >=x11-libs/gtk+-3.0.0:3[introspection] ) + glade? ( >=dev-util/glade-3.9.1:3.10 ) + lua? ( + ${LUA_DEPS} + $(lua_gen_cond_dep ' + >=dev-lua/lgi-0.9.0[${LUA_USEDEP}] + ') + ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/pygobject-3.2:3[${PYTHON_MULTI_USEDEP}] + ') + ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + gtk-doc? ( >=dev-util/gtk-doc-1.11 + app-text/docbook-xml-dtd:4.3 ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + # Gentoo-specific lua tweak hack + "${FILESDIR}"/${PV}-lua.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + xdg_src_prepare + use vala && vala_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_feature $(usex lua '!lua_single_target_luajit' 'lua') lua51) + $(meson_feature $(usex lua 'lua_single_target_luajit' 'lua') luajit) + -Dpython2=false + $(meson_use python python3) + # introspection was always enabled in autotools; would need readiness by consumers + # to USE flag it, but most need it for python plugins anyways + -Dintrospection=true + $(meson_use vala vapi) + $(meson_use gtk widgetry) + $(meson_use glade glade_catalog) + -Ddemos=false + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} diff --git a/dev-libs/libressl/libressl-3.3.1.ebuild b/dev-libs/libressl/libressl-3.3.1.ebuild index 2ffee4c0167e..2592744bafd4 100644 --- a/dev-libs/libressl/libressl-3.3.1.ebuild +++ b/dev-libs/libressl/libressl-3.3.1.ebuild @@ -14,7 +14,7 @@ LICENSE="ISC openssl" # we'll try to use the max of either. However, if either change between # versions, we have to change the subslot to trigger rebuild of consumers. SLOT="0/48" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+asm static-libs test" RESTRICT="!test? ( test )" REQUIRED_USE="test? ( static-libs )" diff --git a/dev-php/igbinary/igbinary-3.1.6-r1.ebuild b/dev-php/igbinary/igbinary-3.1.6-r1.ebuild new file mode 100644 index 000000000000..49b4f02bfb38 --- /dev/null +++ b/dev-php/igbinary/igbinary-3.1.6-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PHP_EXT_NAME="${PN}" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( CREDITS NEWS README.md ) +PHP_EXT_ECONF_ARGS=( --enable-${PN} ) + +USE_PHP="php7-2 php7-3 php7-4 php8-0" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +DESCRIPTION="A fast drop-in replacement for the standard PHP serialize" +HOMEPAGE="https://github.com/igbinary/igbinary" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +#IUSE="" + +#DEPEND="" +#RDEPEND="" diff --git a/dev-php/pecl-dbase/Manifest b/dev-php/pecl-dbase/Manifest index 4a0a8d238c6e..0d3e3920193f 100644 --- a/dev-php/pecl-dbase/Manifest +++ b/dev-php/pecl-dbase/Manifest @@ -1 +1,2 @@ DIST dbase-7.0.1.tgz 33588 BLAKE2B 50cc5b4e0096dbdd7067e9c05cb7b580ff5a9d548ec6acb8a777fa3ba62ac4fa06b30e040bdec2a77b87736cdd0684a662aab344db11806e6ca2c6824cee6908 SHA512 8aa743545e807773be6a3f74cd9ae686a982a5455e494ff2bc0e3fe6f1fdf25574702054253eaefc55a6e9529b3e70c8390a02bd317b74db17bfe6b7797d4ba2 +DIST dbase-7.1.0RC2.tgz 37029 BLAKE2B 93c011c428c4bc989481505fade25a6bd6f2841c32146b8efbaf67cbea4193b7362bf6dbb7dca382c607dd04f217f04dbdd529443e1b931f2149e7e32e30a6dd SHA512 dd3d0f67ffb1f8e8b7bd87f83f134d06cece225bcca52609e395771430d337632bbf1daff2a7db25dd163e3707db9ca2aaebace359c5f95a52debb1ceaefb379 diff --git a/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild b/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild index 43d998a62c33..e39dbd9f0ad1 100644 --- a/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild +++ b/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild @@ -1,17 +1,12 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -# Define 5.6 here so we get the USE and REQUIRED_USE from the eclass -# This allows us to depend on the other slot -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" +USE_PHP="php7-2 php7-3 php7-4" inherit php-ext-pecl-r3 -# However, we only really build for 7.x; so redefine it here -USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4" - KEYWORDS="~amd64 ~x86" DESCRIPTION="dBase database file access functions" @@ -20,25 +15,5 @@ SLOT="7" IUSE="" DEPEND="" -RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-dbase:0[php_targets_php5-6] )" - -src_prepare() { - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then - php-ext-source-r3_src_prepare - else - eapply_user - fi -} - -src_configure() { - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then - local PHP_EXT_ECONF_ARGS=( ) - php-ext-source-r3_src_configure - fi -} - -src_install() { - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then - php-ext-pecl-r3_src_install - fi -} +RDEPEND="${DEPEND}" +PHP_EXT_ECONF_ARGS=( ) diff --git a/dev-php/pecl-dbase/pecl-dbase-7.1.0_rc2.ebuild b/dev-php/pecl-dbase/pecl-dbase-7.1.0_rc2.ebuild new file mode 100644 index 000000000000..86cf3a4e3909 --- /dev/null +++ b/dev-php/pecl-dbase/pecl-dbase-7.1.0_rc2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_PHP="php7-2 php7-3 php7-4 php8-0" + +MY_PV="${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="dbase-${MY_PV}.tgz" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="dBase database file access functions" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PHP_EXT_PECL_FILENAME%.tgz}" +PHP_EXT_S="${S}" diff --git a/dev-php/pecl-redis/pecl-redis-5.3.2.ebuild b/dev-php/pecl-redis/pecl-redis-5.3.2.ebuild index 9f7ec9e88930..65762af9b8d8 100644 --- a/dev-php/pecl-redis/pecl-redis-5.3.2.ebuild +++ b/dev-php/pecl-redis/pecl-redis-5.3.2.ebuild @@ -4,8 +4,8 @@ EAPI=7 PHP_EXT_NAME="redis" -USE_PHP="php7-2 php7-3 php7-4" -PHP_EXT_NEEDED_USE="json?,session?" +USE_PHP="php7-2 php7-3 php7-4 php8-0" +PHP_EXT_NEEDED_USE="json(+)?,session?" DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS ) MY_P="${PN/pecl-/}-${PV/_rc/RC}" PHP_EXT_PECL_FILENAME="${MY_P}.tgz" @@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~arm" IUSE="igbinary +json lz4 +session zstd" DEPEND=" - igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] ) + igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?,php_targets_php8-0(-)?] ) lz4? ( app-arch/lz4:= ) zstd? ( app-arch/zstd:= ) " diff --git a/dev-php/xdebug/Manifest b/dev-php/xdebug/Manifest index 65cb9595e140..cc14e8baedb3 100644 --- a/dev-php/xdebug/Manifest +++ b/dev-php/xdebug/Manifest @@ -3,3 +3,4 @@ DIST xdebug-2.9.5.tar.gz 434947 BLAKE2B 08fd7cc92880c9b00180d495341fc7e54998cf3c DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2 DIST xdebug-2.9.7.tar.gz 437517 BLAKE2B 6d3cb615b6b75354e5dc993a2de9f90b5865ee1a98935c084a9d7a4e1d03cceb71278b06da1d5e47f2b4105937f6d24cb8d767c7179fa55798e61a599e173c13 SHA512 ec23f7b5b2e2b109a753e12f1cb01377db52716600fbb31ca5b9a749e9d98e0eb60942b272c25a42efcb56add016310c79eda2c7385a3e0fc18e563f2f486d1e DIST xdebug-2.9.8.tar.gz 438295 BLAKE2B 8645052faceb354817ddb448f46af5b849507d31255b43ac59bcef4ece7837ef835ae2ad624ed8a95f8f98d552ef0e7195a4ade7df9176bc300d855a0156f405 SHA512 c431d51a0d9c5ac1c7fc529c2819db480cbfff6f65c35c3c0dbef4e78427aa28ede164f397f92c409e58e386a6be34ecd2ded0ee35e01df1cbf92a49fd2f2aab +DIST xdebug-3.0.1.tar.gz 432140 BLAKE2B f326de9a24c7c766b0f49213625ab7c455f7fd564af1848f2acb728fe513457140ee9669a05ddf83fd4ca07ecd591896d06bd570b60319178b484eaa7664cf88 SHA512 c50dea2abcad9c7e78ad7b7600a71c1bf0543c5fa31280a41c2acad2423bb6af8160e9d6b1e653f350f20660cfb2d8e4de07ae8f1181a465cc858dec13331c67 diff --git a/dev-php/xdebug/files/3.0-xdebug.ini b/dev-php/xdebug/files/3.0-xdebug.ini new file mode 100644 index 000000000000..ed95a1214d97 --- /dev/null +++ b/dev-php/xdebug/files/3.0-xdebug.ini @@ -0,0 +1,41 @@ +;xdebug.cli_color = 0 +;xdebug.client_discovery_header = +;xdebug.client_host = localhost +;xdebug.client_port = 9003 +;xdebug.collect_params = 0 +;xdebug.collect_return = 0 +;xdebug.connect_timeout_ms = 200 +;xdebug.discover_client_host = 0 +;xdebug.dump.* = Empty +;xdebug.dump_globals = 1 +;xdebug.dump_once = 1 +;xdebug.dump_undefined = 0 +;xdebug.file_link_format = +;xdebug.filename_format = ...%s%n +;xdebug.force_display_errors = 0 +;xdebug.force_error_reporting = 0 +;xdebug.gc_stats_output_name = gcstats.%p +;xdebug.halt_level = 0 +;xdebug.idekey = *complex* +;xdebug.log = +;xdebug.log_level = 7 +;xdebug.max_nesting_level = 256 +;xdebug.max_stack_frames = -1 +xdebug.mode=off +;xdebug.output_dir = /tmp +;xdebug.profiler_append = 0 +;xdebug.profiler_output_name = cachegrind.out.%p +;xdebug.scream = 0 +;xdebug.show_error_trace = 0 +;xdebug.show_exception_trace = 0 +;xdebug.show_local_vars = 0 +;xdebug.start_upon_error = default +;xdebug.start_with_request = default +;xdebug.trace_format = 0 +;xdebug.trace_options = 0 +;xdebug.trace_output_dir = /tmp +;xdebug.trace_output_name = trace.%c +;xdebug.trigger_value = "" +;xdebug.var_display_max_children = 128 +;xdebug.var_display_max_data = 512 +;xdebug.var_display_max_depth = 3 diff --git a/dev-php/xdebug/xdebug-3.0.1.ebuild b/dev-php/xdebug/xdebug-3.0.1.ebuild new file mode 100644 index 000000000000..26eee1e35033 --- /dev/null +++ b/dev-php/xdebug/xdebug-3.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="xdebug" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" +PHP_EXT_INIFILE="3.0-xdebug.ini" + +USE_PHP="php7-2 php7-3 php7-4 php8-0" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DESCRIPTION="A PHP debugging and profiling extension" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="" + +# Tests are known to fail +RESTRICT="test" + +DEPEND="" +RDEPEND="${DEPEND}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + TEST_PHP_EXECUTABLE="${PHPCLI}" \ + TEST_PHP_CGI_EXECUTABLE="${PHPCGI}" \ + TEST_PHPDBG_EXECUTABLE="${PHPCLI}dbg" \ + "${PHPCLI}" run-xdebug-tests.php + done +} + +pkg_postinst() { + ewarn "We have set xdebug.mode to off, as xdebug can be" + ewarn "installed as a dependency, and not all users will want xdebug to be" + ewarn "enabled by default. If you want to enable it, you should edit the" + ewarn "ini file and set xdebug.mode to one or more modes e.g. develop,debug,trace" + elog "" + elog "The 3.0 major release changes many options." + elog "Review https://xdebug.org/docs/upgrade_guide for differences from 2.x" +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 048584b5158f..6b829947816e 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1 +1,2 @@ DIST fonttools-4.1.0.tar.gz 2253792 BLAKE2B 470207d74404851aa111142ad8541d45820ded0212029867c289f2e7741d4b41b4ac824f65555a23d4f3dcc974428537cd319a8787bc4d80f2fb67561a21d1ee SHA512 3d9485cd34b5ea3dfdcc26474e0b21a96811b84eda16341c39165aea72bb09c3cf3360a069b316ae6575a399e26f6518c199180caec7bb959f245ced7ca45e3b +DIST fonttools-4.18.1.tar.gz 2498166 BLAKE2B 9ea9fd372c71883e37756c9b0b5bcd193782d49a99df37e7245f788362b284af8e5b9456c31b1c6b84fb6cccd8bce0339e95c87cecc008f0130e47a40c74bfe5 SHA512 d87c466e87ffa70bb15ee40f889b25e1187d51a1074b6e47a259d5984d51d7ce988ef50db91796fcbd06b5692b2c627d0a4cd76e3be6d0da348c0872ff01317c diff --git a/dev-python/fonttools/fonttools-4.18.1.ebuild b/dev-python/fonttools/fonttools-4.18.1.ebuild new file mode 100644 index 000000000000..fd020bfebe8a --- /dev/null +++ b/dev-python/fonttools/fonttools-4.18.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE="https://github.com/fonttools/fonttools/" +SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +RESTRICT="!test? ( test )" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + )" + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx pytest -vv Tests fontTools +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index baff6beb843e..0bb2d432d755 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,3 +3,4 @@ DIST hypothesis-python-5.41.1.tar.gz 9095771 BLAKE2B 29c5c091f4b827d1f1e6276d040 DIST hypothesis-python-5.41.3.tar.gz 9095982 BLAKE2B 3a1b7052b3f71d1f8139101d16f2f74c2d434514a201b7e04e5452ac2c5fbe7288d592c0020769f3a48f73347cdce53f507ab65db7bfb4f3823d0f7997e48058 SHA512 974dee6040222fa55729257cea4e3c4c049625a2a5dfddbc12667dbd58dfe31718474ce8e9de81519e998c7a0c8ff01920e0aa2bca9fb7100754e985177f4b69 DIST hypothesis-python-5.41.4.tar.gz 9098296 BLAKE2B ef471172039251129d03faea722fc190135ed3d2e94a9bc6d4ad4f9676bc819e641dd0c893352168425ce987128e73d8844f622e57a7c161d33f75ea0f4b7312 SHA512 215f2e4479eca10d8ca590ffe0623f8994c7061fddabfe2737d0f3bba2f403042ad8e75730361417a1c9c32d3e261c8daa84032f6963ef6526e6b0067a156658 DIST hypothesis-python-5.41.5.tar.gz 9098660 BLAKE2B 6caa742d34a3a2aeb6c6fdec3f8772e5221e1d0b2becc1362b657d383387f2a1152756222cfe86ffbb3e23a53e395050a16325d74ec9e03822a5c0020505b38e SHA512 b220a48e5746bacc6fa257f79feed0dc2c0a9f66862aba74806fb1ac3d06f380620410c9c46c377c50e4fa7c3171d5b31ce2759e7a3e0e2abd0920b237242dd6 +DIST hypothesis-python-5.43.0.tar.gz 9103047 BLAKE2B c9c8262fb32dfdb48b52ad11cd18f907d488802f1af04d7677e260abf24598afd5f89bf3f1a42c919460d5ea48b1d6979da5215ef9877260c601b133076bbd05 SHA512 129760a9c58f264e25c403fcacf9e1ab41267faee637856230341a91d6965a6c2fd05b9a8a12b6977377f8abc26ed7151384ad08195b03ddf62e8445b216eacf diff --git a/dev-python/hypothesis/hypothesis-5.43.0.ebuild b/dev-python/hypothesis/hypothesis-5.43.0.ebuild new file mode 100644 index 000000000000..eb74be2fa846 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.43.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..9}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing --via-root + pytest -vv tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/nototools/Manifest b/dev-python/nototools/Manifest index 2b1c8df680b8..85d46ea7052b 100644 --- a/dev-python/nototools/Manifest +++ b/dev-python/nototools/Manifest @@ -1 +1,2 @@ +DIST nototools-0.2.13.tar.gz 9574809 BLAKE2B 8c5f59721ed3294162d9578955f0493007fdcebe5aecb3364abf22add5cedb12de99c63064574ea84b553cf2547af2ac2203e68b4a380527695edd72cf05f6c7 SHA512 8e46ed8d5c683dd93a14890df059a86824fda7f39011570cb414a471c380ed5464cfbe2ee6c8b0c2819d35fabf51ed5495df4c49d5c562fed5467ac2bde135e6 DIST nototools-9731cb825a5c7c7c88c043009f15d4d1e5708df1.tar.gz 9703187 BLAKE2B 9767b79514b8d7da8cac879c71fa76054993d17bee41f978ccca1648bed525567cfec48bfe06ae2b1de2146d2c2898afd4e53b746d5b03c0e48e6c93632407e6 SHA512 6888b00a11fb7d54947c438ba9e654f97e4ccd1ba292ad6219c7a2f4cc56fc75d249b89eb688b2f99ea3f321472eeb5103b33f4641d17e9983c70e9ad3cf6cb3 diff --git a/dev-python/nototools/nototools-0.2.13.ebuild b/dev-python/nototools/nototools-0.2.13.ebuild new file mode 100644 index 000000000000..6464932cb01c --- /dev/null +++ b/dev-python/nototools/nototools-0.2.13.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PN="notofonttools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Noto fonts support tools and scripts plus web site generation" +HOMEPAGE="https://github.com/googlei18n/nototools" +#SRC_URI="https://github.com/googlefonts/nototools/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + media-gfx/scour + >=dev-python/booleanOperations-0.7.0[${PYTHON_USEDEP}] + >=dev-python/defcon-0.3.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-3.36.0[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pyclipper-1.0.6[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +# Some tests weren't ported to python3 yet and lots of failures +RESTRICT="test" + +distutils_enable_tests setup.py diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 625abd0e9d12..d7ce23bfdf35 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -357,6 +357,19 @@ eautoconf() { eqawarn "when it finds this file. See https://bugs.gentoo.org/426262 for details." fi + # Install config.guess and config.sub which are required by many macros + # in Autoconf >=2.70. + local gnuconfig + case ${EAPI:-0} in + 0|1|2|3|4|5|6) + gnuconfig="${EPREFIX}/usr/share/gnuconfig" + ;; + *) + gnuconfig="${BROOT}/usr/share/gnuconfig" + ;; + esac + cp "${gnuconfig}"/config.{guess,sub} . || die + autotools_run_tool --at-m4flags autoconf "$@" } diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest index 42dd2833ce2a..cc2ba05abf1a 100644 --- a/games-arcade/cdogs-sdl/Manifest +++ b/games-arcade/cdogs-sdl/Manifest @@ -1,2 +1 @@ -DIST cdogs-data-2007-07-06.tar.bz2 218810 BLAKE2B fb788ed11ef220b4f244a74be838536281a87a5c8055cb9674b4269f0a63cb07120b31af113fab63f820c1b293c97b310e91d3638bc41d5d3ef4a12472481aaa SHA512 9e645d64bcc0b99df9fb113f7103590eb8045ca9439700279c8ea55a6277d10fc38aff38bb1137887bc5697c505fe18e15d6c62eaf2790c065b1261fa7418a84 -DIST cdogs-sdl-0.4.tar.bz2 164804 BLAKE2B 91498d981b2318d4f1d68112fe8d574b447290f9cad7b232a56cd6d516ca2fd3983b01789c87914f81eaa6d1c593dac95fe88ec1cd2823e6769d9f5980c6c2d5 SHA512 69fbac533207e38c85cf0f71db47df50405a5ff220a6662f7e186d1f54c4181ee56e1ff8049a427acec7fcf0529b8df66db36a693978bb0aa04eb0594a8b5adc +DIST cdogs-sdl-0.10.1.tar.gz 25035447 BLAKE2B 7f1ab1c210daaa44080cfca335cbcf0cd3ae069ef0638bd34c437e7b08833dfecfdf010ccdf9d5a4d3ede66cb75fd6258d3e8b7d907425fc0b73a792568ed205 SHA512 97bc23848536e98207afeaf74c172fe138dd0425dde6bb888b5c64f244b3c6ecea16245630628ab7aa4277da16c25c623574e8d123993bc9e840a3c26c1edce7 diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild new file mode 100644 index 000000000000..63957cdb3af6 --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg + +DESCRIPTION="Classic overhead run-and-gun game" +HOMEPAGE="https://cxong.github.io/cdogs-sdl/" +SRC_URI="https://github.com/cxong/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/protobuf-python + media-libs/libsdl2[haptic,opengl] + media-libs/sdl2-image[png] + media-libs/sdl2-mixer[vorbis,wav] + net-libs/enet:1.3=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-Add-BUILD_EDITOR-option.patch" +) + +src_prepare() { + rm -f doc/{COPYING.,LICENSE.,license.,README_DATA.md}* || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCDOGS_DATA_DIR="${EPREFIX}/usr/share/${PN}/" + -DCDOGS_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/" + -DBUILD_EDITOR=OFF + -DUSE_SHARED_ENET=ON + ) + cmake_src_configure +} diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild deleted file mode 100644 index f6adb0e47620..000000000000 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic games - -CDOGS_DATA="cdogs-data-2007-07-06" -DESCRIPTION="A port of the old DOS arcade game C-Dogs" -HOMEPAGE="https://lumaki.com/code/cdogs" -SRC_URI="http://icculus.org/cdogs-sdl/files/src/${P}.tar.bz2 - http://icculus.org/cdogs-sdl/files/data/${CDOGS_DATA}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl[video] - media-libs/sdl-mixer" -RDEPEND=${DEPEND} - -S=${WORKDIR}/${P}/src - -src_unpack() { - unpack ${A} - mv ${CDOGS_DATA} ${P}/data || die -} - -src_prepare() { - sed -i \ - -e "/^CF_OPT/d" \ - -e "/^CC/d" \ - Makefile || die - sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die - epatch "${FILESDIR}"/${P}-64bit.patch - append-cflags -std=gnu89 # build with gcc5 (bug #571112) -} - -src_compile() { - emake I_AM_CONFIGURED=yes \ - SYSTEM="\"linux\"" \ - STRIP=true \ - DATADIR="${GAMES_DATADIR}/${PN}" \ - cdogs -} - -src_install() { - dogamesbin cdogs - insinto "${GAMES_DATADIR}/${PN}" - doins -r ../data/* - newicon ../data/cdogs_icon.png ${PN}.png - dodoc ../doc/{README,AUTHORS,ChangeLog,README_DATA,TODO,original_readme.txt} - make_desktop_entry "cdogs -fullscreen" C-Dogs - prepgamesdirs -} diff --git a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch new file mode 100644 index 000000000000..5a5912e9b3af --- /dev/null +++ b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch @@ -0,0 +1,89 @@ +From f8adfb66ea686366edddc89e92c9a5537b8dfbef Mon Sep 17 00:00:00 2001 +From: William Breathitt Gray <vilhelm.gray@gmail.com> +Date: Wed, 9 Dec 2020 07:45:54 -0500 +Subject: [PATCH] Add BUILD_EDITOR option to control cdogs-sdl-editor build + +--- + CMakeLists.txt | 10 +++++++--- + src/CMakeLists.txt | 6 +++--- + 2 files changed, 10 insertions(+), 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 169a17ca..510e4802 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -29,12 +29,14 @@ SET(WEBSITE "http://cxong.github.io/cdogs-sdl/") + option(DEBUG "Enable debug build" OFF) + option(DEBUG_PROFILE "Enable debug profile build" OFF) + option(USE_SHARED_ENET "Use system installed copy of enet" OFF) ++option(BUILD_EDITOR "Build cdogs-sdl-editor" ON) + + # check for crosscompiling (defined when using a toolchain file) + if(CMAKE_CROSSCOMPILING) + # check for gcw0 + if(CMAKE_C_COMPILER MATCHES ".*gcw0-linux.*") + set(GCW0 1) ++ set(BUILD_EDITOR OFF) + endif() + endif() + +@@ -65,7 +67,9 @@ find_package(Nanopb REQUIRED) + find_package(SDL2 REQUIRED) + find_package(SDL2_image REQUIRED) + find_package(SDL2_mixer REQUIRED) +-find_package(OpenGL REQUIRED) ++if(BUILD_EDITOR) ++ find_package(OpenGL REQUIRED) ++endif() + find_package(CCache) + link_directories(${SDL2_LIBRARY_DIRS} ${SDL2_IMAGE_LIBRARY_DIRS} ${SDL2_MIXER_LIBRARY_DIRS}) + +@@ -165,7 +169,7 @@ set_target_properties(cdogs-sdl PROPERTIES + RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/src + RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}/src + ) +-if(NOT "${GCW0}") ++if(BUILD_EDITOR) + set_target_properties(cdogs-sdl-editor PROPERTIES + RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/src + RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}/src +@@ -200,7 +204,7 @@ install( + PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/src/cdogs-sdl${EXE_EXTENSION} + DESTINATION ${CDOGS_BIN_DIR}) +-if(NOT "${GCW0}") ++if(BUILD_EDITOR) + install( + PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/src/cdogs-sdl-editor${EXE_EXTENSION} +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 8fb82667..564cbf3f 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -4,12 +4,12 @@ include_directories( + ${SDL2_INCLUDE_DIRS} + ${SDL2_IMAGE_INCLUDE_DIRS} + ${SDL2_MIXER_INCLUDE_DIRS}) +-if(NOT "${GCW0}") ++if(BUILD_EDITOR) + include_directories(${OPENGL_INCLUDE_DIRS}) + endif() + + add_subdirectory(cdogs) +-if(NOT "${GCW0}") ++if(BUILD_EDITOR) + add_subdirectory(cdogsed) + endif() + add_subdirectory(json) +@@ -82,7 +82,7 @@ if(GCW0) + ) + endif() + +-if(NOT "${GCW0}") ++if(BUILD_EDITOR) + add_executable(cdogs-sdl-editor cdogsed/cdogsed.c ${CDOGS_SDL_EXTRA}) + if(APPLE) + set_target_properties(cdogs-sdl-editor PROPERTIES +-- +2.29.2 + diff --git a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch deleted file mode 100644 index bcab13c0ebfd..000000000000 --- a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- src/grafx.c -+++ src/grafx.c -@@ -216,12 +216,6 @@ - SDL_VideoQuit(); - } - --typedef struct _Pic { -- short int w; -- short int h; -- char *data; --} Pic; -- - int ReadPics(const char *filename, void **pics, int maxPics, - color * palette) - { -@@ -241,12 +235,12 @@ - fread(&size, sizeof(size), 1, f); - swap16(&size); - if (size) { -- Pic *p = sys_mem_alloc(size); -+ unsigned char *p = sys_mem_alloc(size); - -- f_read16(f, &p->w, 2); -- f_read16(f, &p->h, 2); -+ f_read16(f, &p[0], 2); // w -+ f_read16(f, &p[2], 2); // h - -- f_read(f, &p->data, size - 4); -+ f_read(f, &p[4], size - 4); // data - - pics[i] = p; - -@@ -278,11 +272,11 @@ - fread(&size, sizeof(size), 1, f); - swap16(&size); - if (size) { -- Pic *p = sys_mem_alloc(size); -+ unsigned char *p = sys_mem_alloc(size); - -- f_read16(f, &p->w, 2); -- f_read16(f, &p->h, 2); -- f_read(f, &p->data, size - 4); -+ f_read16(f, &p[0], 2); // w -+ f_read16(f, &p[2], 2); // h -+ f_read(f, &p[4], size - 4); // data - - pics[i] = p; - diff --git a/games-arcade/cdogs-sdl/metadata.xml b/games-arcade/cdogs-sdl/metadata.xml index e5ad887c09c7..853b1ace8e50 100644 --- a/games-arcade/cdogs-sdl/metadata.xml +++ b/games-arcade/cdogs-sdl/metadata.xml @@ -6,10 +6,15 @@ <name>Gentoo Games Project</name> </maintainer> <longdescription lang="en"> -C-Dogs is an arcade shoot-em-up which lets players work alone and -cooperatively during missions or fight against each other in the "dogfight" -deathmatch mode. The DOS version of C-Dogs came with severla built in missions -and dogfight maps. This version does too. +C-Dogs SDL is a classic overhead run-and-gun game, supporting up to 4 players in +co-op and deathmatch modes. Customize your player, choose from many weapons, and +blast, slide and slash your way through over 100 user-created campaigns. Have +fun! </longdescription> +<upstream> + <bugs-to>https://github.com/cxong/cdogs-sdl/issues</bugs-to> + <doc lang="en">https://cxong.github.io/cdogs-sdl/</doc> + <remote-id type="github">cxong/cdogs-sdl</remote-id> +</upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest index fc828b0d97a2..a38e77d66373 100644 --- a/games-arcade/jazz2/Manifest +++ b/games-arcade/jazz2/Manifest @@ -1 +1 @@ -DIST jazz2-0.6.4.tar.gz 11028330 BLAKE2B f0f6ca00af950d494baf71a38fcb0e5e14f144bb862475b62a028ce88ebf94905afc6a08da01a40fc68a11292d50c63f638b11973b3eb32811fe42f27dfd1012 SHA512 33216722aa9ce31ca2af4bd1657c8053414678f9d050ed56a802e281b4743860aae40dfdb1ae4047fbdbe5ae7f3ef0b90170184aabfa8279d9f886f7c9bfd24e +DIST jazz2-0.6.5.tar.gz 11028837 BLAKE2B 5174aae360ffd17ed7051b50995282f761e1403728fc87775b2955c98db4d5198593c0ccf022733f9a7253f9633bc9844f8291471f2103e74015f097c3ac7943 SHA512 4caafff531d5f22c08013a1aea9604a49b56b3deb964255c8e400a55f7943d29e8230ad78baa68d4ce5f0f122982e0a880b05fe2a97ddaa0ae3503194d947e56 diff --git a/games-arcade/jazz2/jazz2-0.6.4.ebuild b/games-arcade/jazz2/jazz2-0.6.5.ebuild index a4cacd6e44e8..a4cacd6e44e8 100644 --- a/games-arcade/jazz2/jazz2-0.6.4.ebuild +++ b/games-arcade/jazz2/jazz2-0.6.5.ebuild diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest index 9f243c6c8d5f..9e98898b8f69 100644 --- a/games-rpg/bastion/Manifest +++ b/games-rpg/bastion/Manifest @@ -1 +1 @@ -DIST Bastion-HIB-2012-06-20.sh 1055161705 BLAKE2B 615ff88a3fab37aa70e60d1e692cb0b6a1e03dd90bf6294c65a134cbceb4d59675c341c4fca0b4e08ebda24007df727f09c31adfbe2f5f0e97d8e3b9010af4e1 SHA512 e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad +DIST bastion-10162016-bin 1080484945 BLAKE2B 0f755c54ff975afbb3ee087990849831fd405ddbe8ce83a062ba70d25ca6cbe69c9baf2535e8b1892fbbf4375830a3c7fe1ae7eb247d1ed3e46e2b10330270ca SHA512 108e181ad2a9a7eaedc84700f9399fd32d221259eea5200a41dfe21663cf6d3ac8ebd0c168095a7b9f6e71b953cc45203874bb4d32d319ee3547c99da924c8bc diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild b/games-rpg/bastion/bastion-20120620-r1.ebuild deleted file mode 100644 index e35826a5faa6..000000000000 --- a/games-rpg/bastion/bastion-20120620-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils gnome2-utils check-reqs unpacker games - -TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2} -DESCRIPTION="An original action role-playing game set in a lush imaginative world" -HOMEPAGE="https://supergiantgames.com/games/bastion/" -SRC_URI="Bastion-HIB-${TIMESTAMP}.sh" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="bindist fetch splitdebug" - -MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} -QA_PREBUILT="${MYGAMEDIR#/}/Bastion.bin* - ${MYGAMEDIR#/}/lib/* - ${MYGAMEDIR#/}/lib64/*" - -# mono shit: vague dependencies -RDEPEND=" - virtual/opengl - media-libs/freealut - media-libs/openal - media-libs/sdl-gfx - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-net - media-libs/sdl-ttf - media-libs/smpeg - x11-libs/libX11 - x11-libs/libXft" - -CHECKREQS_DISK_BUILD="2400M" - -pkg_nofetch() { - einfo "Please buy & download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "and move it to your DISTDIR directory." -} - -src_unpack() { - myarch=$(usex amd64 "x86_64" "x86") - - unpack_makeself - - mv instarchive_all{,.tar.lzma} || die - mv instarchive_linux_${myarch}{,.tar.lzma} || die - - mkdir ${P} || die - cd ${P} || die - - unpack ./../instarchive_{all,linux_${myarch}}.tar.lzma -} - -src_install() { - insinto "${MYGAMEDIR}" - doins -r * - - newicon -s 256 Bastion.png ${PN}.png - make_desktop_entry ${PN} - games_make_wrapper ${PN} "./Bastion.bin.${myarch}" "${MYGAMEDIR}" "${MYGAMEDIR}/$(get_libdir)" - - fperms +x "${MYGAMEDIR}"/Bastion.bin.${myarch} - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-rpg/bastion/bastion-20161016.ebuild b/games-rpg/bastion/bastion-20161016.ebuild new file mode 100644 index 000000000000..d0388d065a8f --- /dev/null +++ b/games-rpg/bastion/bastion-20161016.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop check-reqs unpacker wrapper xdg + +TIMESTAMP=${PV:4:2}${PV:6:2}${PV:0:4} +DESCRIPTION="An original action role-playing game set in a lush imaginative world" +HOMEPAGE="https://supergiantgames.com/games/bastion/" +SRC_URI="bastion-${TIMESTAMP}-bin" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR#/}/*" + +# Being a Mono-based game, it is tricky to determine the precise +# dependencies. These were found by trial and error. +RDEPEND=" + media-libs/libsdl2[joystick,opengl,sound,video] + media-libs/libvorbis +" +BDEPEND=" + app-arch/unzip +" + +CHECKREQS_DISK_BUILD="2400M" +S="${WORKDIR}/data" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.humblebundle.com/store/${PN}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_prepare() { + default + rm -v lib*/libSDL2-2.0.so.0 || die +} + +src_install() { + local \ + arch=$(usex amd64 x86_64 x86) \ + libdir=lib$(usex amd64 64 "") + + insinto "${DIR}" + doins -r *.dll* Bastion.exe steam_appid.txt Content/ mono/ + + exeinto "${DIR}" + doexe Bastion.bin.${arch} + + exeinto "${DIR}"/${libdir} + doexe ${libdir}/*.so* + + dodoc Linux.README + + make_wrapper ${PN} "env -u TERM \"${EPREFIX}${DIR}/Bastion.bin.${arch}\"" + make_desktop_entry ${PN} Bastion applications-games +} diff --git a/games-strategy/julius/Manifest b/games-strategy/julius/Manifest new file mode 100644 index 000000000000..1e31cd76e509 --- /dev/null +++ b/games-strategy/julius/Manifest @@ -0,0 +1 @@ +DIST julius-1.4.1.tar.gz 8592785 BLAKE2B 8eb91522fccdee33600b02de766727beb19f138c0f695eb92aaa77ea2f25ec293906d0c75d31d42159097a12317ba38b22c01e7edf722670f51fe56d625d9ae7 SHA512 8488cee4a229299fd771f7ebddf076888b2e11458b2edbb6058b29b1f7e79d372ec2f913df3afacd8191551ba692a900508e64661ead1029916e28f356f79f7b diff --git a/games-strategy/julius/files/90julius.sh b/games-strategy/julius/files/90julius.sh new file mode 100644 index 000000000000..e88111f8994b --- /dev/null +++ b/games-strategy/julius/files/90julius.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +alias julius-game='julius-game ~/.cache/julius/app' diff --git a/games-strategy/julius/julius-1.4.1.ebuild b/games-strategy/julius/julius-1.4.1.ebuild new file mode 100644 index 000000000000..811dfaebf3f6 --- /dev/null +++ b/games-strategy/julius/julius-1.4.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg + +DESCRIPTION="Feature-faithful open source re-implementation of Caesar III" +HOMEPAGE="https://github.com/bvschaik/julius" +SRC_URI="https://github.com/bvschaik/julius/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + media-libs/libpng:0= + media-libs/libsdl2[joystick,video,sound] + media-libs/sdl2-mixer +" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + xdg_src_prepare +} + +src_install() { + insinto /etc/profile.d + doins "${FILESDIR}"/90julius.sh + cmake_src_install + mv "${ED}"/usr/bin/julius "${ED}"/usr/bin/julius-game || + die "Failed to rename executable (required as per conflict with app-accessibility/julius)" +} + +pkg_postinst() { + xdg_pkg_postinst + + ewarn "Julius requires you to download the original Caesar 3 resources." + ewarn + ewarn "You need to obtain these files from a vendor of the proprietary software." + ewarn "You will then need to copy the 'app' directory into '~/.cache/julius/'." + ewarn "One way to obtain this directory is to download the GOG Cesar 3 edition." + ewarn "You can then produce this directory by running:" + ewarn " innoextract -m setup_caesar3_2.0.0.9.exe" + ewarn + ewarn "Lastly, run 'source /etc/profile' to refresh your environment and be able" + ewarn "to start the game directly by running 'julius-game' in the command line." +} diff --git a/games-strategy/julius/metadata.xml b/games-strategy/julius/metadata.xml new file mode 100644 index 000000000000..f03366e86b28 --- /dev/null +++ b/games-strategy/julius/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <maintainer type="person"> + <email>chr@chymera.eu</email> + <name>Horea Christian</name> + </maintainer> + <longdescription lang="en"> + The aim of this project is to create an open-source version of + Caesar 3, with the same logic as the original, but with some UI + enhancements, that is able to be played on multiple platforms. + The same logic means that the saved games are 100% compatible, + and any gameplay bugs present in the original Caesar 3 game will + also be present in Julius. It is meant as a drop-in replacement + for Caesar 3, with the same look and feel, so there will be no + major UI changes. + </longdescription> + <upstream> + <remote-id type="github">bvschaik/julius</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/games-util/game-device-udev-rules/Manifest b/games-util/game-device-udev-rules/Manifest index 0ee19b7cf455..7acd4da6b56b 100644 --- a/games-util/game-device-udev-rules/Manifest +++ b/games-util/game-device-udev-rules/Manifest @@ -1 +1 @@ -DIST steam-devices-442b412ae2c1e20d6aa09f04f0245f9281788a71.tar.gz 2132 BLAKE2B ee8b22d5d29886f4dff126af6f54487212b8758afe4fc4b080ccccccbbc7d7893cee05612386f72cccd7050d415fc07b5fb8c9e4ca19b115304970c4934d1df7 SHA512 efc5359aa9b2015092df1c06079790739d11c955478aa91fc08d077ad51df9cc1be5ec6bc8596a68501fc987ba1993d66af2482a444df42f62b88142d50e660c +DIST steam-devices-3f9f151f8bb3caed0bee9e68d421562166605fd9.tar.gz 2149 BLAKE2B ac5d242649f77e1fce2facde990872abf98d51cfe353f1ff202e577cf01f917d49aaec292d74f495cddb5e6e8e5eceb21526131fbb65178efba80ed211fd9329 SHA512 c2f60a7e3a6ca6a122707914787bf12a11cc2fa4b70195446edf24b6ea2510569dfb12113116169d98438d8be1dedab6f828e3ca28ce52c4673fb693deb9603d diff --git a/games-util/game-device-udev-rules/files/60-game-input-20201121.rules b/games-util/game-device-udev-rules/files/60-game-input-20201121.rules deleted file mode 100644 index 04a6ce41f4a6..000000000000 --- a/games-util/game-device-udev-rules/files/60-game-input-20201121.rules +++ /dev/null @@ -1,3 +0,0 @@ - -# Thrustmaster T-Wireless -KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="d007", TAG+="uaccess" diff --git a/games-util/game-device-udev-rules/files/60-game-input-20201209.rules b/games-util/game-device-udev-rules/files/60-game-input-20201209.rules new file mode 100644 index 000000000000..be2c499891a7 --- /dev/null +++ b/games-util/game-device-udev-rules/files/60-game-input-20201209.rules @@ -0,0 +1,6 @@ + +# Thrustmaster T-Wireless +KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="d007", TAG+="uaccess" + +# Google Stadia Controller +KERNEL=="hidraw*", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="9400", TAG+="uaccess" diff --git a/games-util/game-device-udev-rules/game-device-udev-rules-20201121.ebuild b/games-util/game-device-udev-rules/game-device-udev-rules-20201209.ebuild index 4b228d828ccf..986e181fec3d 100644 --- a/games-util/game-device-udev-rules/game-device-udev-rules-20201121.ebuild +++ b/games-util/game-device-udev-rules/game-device-udev-rules-20201209.ebuild @@ -9,7 +9,7 @@ inherit udev # also has its own rules and more may be added later so we version it # independently. -STEAM_COMMIT="442b412ae2c1e20d6aa09f04f0245f9281788a71" +STEAM_COMMIT="3f9f151f8bb3caed0bee9e68d421562166605fd9" MY_P="steam-devices-${STEAM_COMMIT}" DESCRIPTION="udev rules for various game hardware devices" diff --git a/games-util/steam-launcher/Manifest b/games-util/steam-launcher/Manifest index baad77293f63..3a93a1410923 100644 --- a/games-util/steam-launcher/Manifest +++ b/games-util/steam-launcher/Manifest @@ -1 +1 @@ -DIST steam_1.0.0.67.tar.gz 2959520 BLAKE2B 1a47f1d5a1fea7ba01c250f8765b2ee8bea87f0cd242ae52bdc78b51fb05c43c333efb667d3e7cf7b401a2fa5131efce176cead3c5ecdb214257fb2da75a36cf SHA512 74af8019b9d216c02860654e9a0162b1089b979e63bbe13645be2ee79414f896e9e57cbb85d762725756e99ed6333a75c8712a827dd88de2b3631bc119b6b0b8 +DIST steam_1.0.0.64.tar.gz 3013735 BLAKE2B f8e19a768ecc507fa503ad774ce2bbf31f79f8bbaf205d687153a523761cb067ae83b718a0954ec6389dbdc7b97001932163efd888de7c73a12e1dec7e429dab SHA512 4a287b993d0ba6f49041d116512a28ca827eeac280808b70542d304f0de2d489be1f75d66d614f65ae11686a78e0d026b12e983ead7843e9ad0a28f1d21bdf4c diff --git a/games-util/steam-launcher/metadata.xml b/games-util/steam-launcher/metadata.xml deleted file mode 100644 index 907f2c278497..000000000000 --- a/games-util/steam-launcher/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dev@kicherer.org</email> - <name>Mario Kicherer</name> - </maintainer> - <longdescription> - This ebuild installs common files for the Steam environment, - like bootstrap archive and icons, but not the client itself. - </longdescription> - <upstream> - <bugs-to>https://github.com/anyc/steam-overlay</bugs-to> - </upstream> - <use> - <flag name='steamruntime'>Use the official steam runtime libraries</flag> - </use> - <origin>steam-overlay</origin> -</pkgmetadata> diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.67.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.64.ebuild index 87f35fafd126..350d9e8c7d5b 100644 --- a/games-util/steam-launcher/steam-launcher-1.0.0.67.ebuild +++ b/games-util/steam-launcher/steam-launcher-1.0.0.64.ebuild @@ -6,16 +6,16 @@ EAPI=7 # Please report bugs/suggestions on: https://github.com/anyc/steam-overlay # or come to #gentoo-gamerlay in freenode IRC -inherit linux-info prefix xdg-utils +inherit linux-info prefix udev xdg-utils DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client" HOMEPAGE="https://steampowered.com" -SRC_URI="https://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz" +SRC_URI="https://repo-steampowered-com.steamos.cloud/steam/pool/steam/s/steam/steam_${PV}.tar.gz" LICENSE="ValveSteamLicense MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+joystick +steamruntime +udev" +IUSE="+steamruntime" RESTRICT="bindist mirror test" RDEPEND=" @@ -27,9 +27,6 @@ RDEPEND=" x11-terms/xterm ) - joystick? ( - udev? ( games-util/game-device-udev-rules ) - ) steamruntime? ( virtual/opengl[abi_x86_32] x11-libs/libX11[abi_x86_32] @@ -89,6 +86,9 @@ src_prepare() { xdg_environment_reset default + sed -i 's:TAG+="uaccess":\0, TAG+="udev-acl":g' \ + subprojects/steam-devices/*.rules || die + sed \ -e "s#@@PVR@@#${PVR}#g" \ -e "s#@@GENTOO_LD_LIBRARY_PATH@@#$(multilib_path_entries debiancompat fltk)#g" \ @@ -110,11 +110,14 @@ src_install() { dodoc README debian/changelog doman steam.6 + + udev_dorules subprojects/steam-devices/60-steam-{input,vr}.rules } pkg_postinst() { xdg_icon_cache_update xdg_desktop_database_update + udev_reload elog "Execute ${EPREFIX}/usr/bin/steam to download and install the actual" elog "client into your home folder. After installation, the script" diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest index 3e4e4fceeaa9..189bd8c63858 100644 --- a/gnome-base/gnome-shell/Manifest +++ b/gnome-base/gnome-shell/Manifest @@ -1,4 +1,3 @@ DIST gnome-shell-3.36.7-patchset.tar.xz 6364 BLAKE2B 80a2e2a03e4cc3b15db6af872a2330c0921a63bcd03db78a970190fee93c982296b381d08ac4bd1cb5dbe5b14d9732e447445f5dcc06d607826a9026395f10bb SHA512 6f9145fd00117e6b4170e7457c83a8c3bbbbfc6086ce3bcd07813b5a4f05e58f42e889cc90799d6988af05fce9791a792e4d8d60ffe58818563c852f9923930d DIST gnome-shell-3.36.7.tar.xz 1777236 BLAKE2B 4dd3b98e8a2ffa711bffe0b3b78708c85c1979122ee71e7e0d7c55626a608ba4598071bf8659338c960ba4b0349e5b621b97f294a4961cf021b9047753136af5 SHA512 7275d1e2d2629abd2fbfae910a77c25485464e39f8317ba1b0e8e1ae3368e69af4eb85c2611e82ea04270bfd8185e24f13002df9b13335adbdff144847790656 -DIST gnome-shell-3.38.1.tar.xz 1812860 BLAKE2B d58dd9f5962d953f4bfa8aede62e24007185e0b4b82781c54cce87d8505657e01b0f76a9119b60634e6c723b7dd9320f5c56b984b59cc8fce61ad4a897291b44 SHA512 7ab580f892c4b4dac2fc8625343dfab1bf7a11e148dc01e6e805a5b1ac1d4cb17943b9a3058ec69fc086c270d76ef8073dca494991a5da1dcfa52b42dcc03f01 DIST gnome-shell-3.38.2.tar.xz 1814152 BLAKE2B 765f584ad8f71ac185e9dc6683f1866308c126d8ce8ba9330068e324ea9586b57315cf7feade62eb4142bb3a4effd80c7e6e0d7b36b6c5fb7d547e3bff9c2ab2 SHA512 ac37549039a11f4f1b2cdd8b0f8cab72093efca74a5909ad187121565cce737c6a6f296c7241ac5f2174fdfcf11070f7584e713e244fafc911fe039d8fd05f04 diff --git a/gnome-base/gnome-shell/gnome-shell-3.38.1.ebuild b/gnome-base/gnome-shell/gnome-shell-3.38.1.ebuild deleted file mode 100644 index bc4f3309d716..000000000000 --- a/gnome-base/gnome-shell/gnome-shell-3.38.1.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg - -DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell" - -LICENSE="GPL-2+ LGPL-2+" -SLOT="0" -IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy" -REQUIRED_USE="${PYTHON_REQUIRED_USE} - ?? ( elogind systemd )" - -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h> -# FIXME: -# * gstreamer/pipewire support is currently automagic -DEPEND=" - >=gnome-extra/evolution-data-server-3.33.1:= - >=app-crypt/gcr-3.7.5[introspection] - >=dev-libs/glib-2.57.2:2 - >=dev-libs/gobject-introspection-1.49.1:= - >=dev-libs/gjs-1.65.1 - >=x11-libs/gtk+-3.15.0:3[introspection] - >=x11-wm/mutter-3.38.0:0/7[introspection] - >=sys-auth/polkit-0.100[introspection] - >=gnome-base/gsettings-desktop-schemas-3.33.1 - >=x11-libs/startup-notification-0.11 - >=app-i18n/ibus-1.5.2 - >=gnome-base/gnome-desktop-3.35.90:3=[introspection] - bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] ) - >=media-libs/gstreamer-0.11.92:1.0 - media-libs/gst-plugins-base:1.0 - >=media-video/pipewire-0.3.0:0/0.3 - networkmanager? ( - >=net-misc/networkmanager-1.10.4:=[introspection] - net-libs/libnma[introspection] - >=app-crypt/libsecret-0.18 - dev-libs/dbus-glib ) - systemd? ( >=sys-apps/systemd-31 - >=gnome-base/gnome-desktop-3.34.2:3=[systemd] ) - elogind? ( >=sys-auth/elogind-237 ) - app-arch/gnome-autoar - dev-libs/json-glib - - >=app-accessibility/at-spi2-atk-2.5.3 - x11-libs/gdk-pixbuf:2[introspection] - dev-libs/libxml2:2 - x11-libs/libX11 - - >=media-sound/pulseaudio-2[glib] - >=dev-libs/atk-2[introspection] - dev-libs/libical:= - >=x11-libs/libXfixes-5.0 - - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] - ') - media-libs/mesa[X(+)] -" -# Runtime-only deps are probably incomplete and approximate. -# Introspection deps generated using: -# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq -# Each block: -# 1. Introspection stuff needed via imports.gi.* -# 2. gnome-session needed for shutdown/reboot/inhibitors/etc -# 3. Control shell settings -# 4. logind interface needed for suspending support -# 5. xdg-utils needed for xdg-open, used by extension tool -# 6. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+) -# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review -# 8. IBus is needed for nls integration -# 9. Optional telepathy chat integration -# 10. Cantarell font used in gnome-shell global CSS (if removing this for some reason, make sure it's pulled in somehow for non-meta users still too) -# 11. TODO: semi-optional webkit-gtk[introspection] for captive portal helper -RDEPEND="${DEPEND} - >=sys-apps/accountsservice-0.6.14[introspection] - app-accessibility/at-spi2-core:2[introspection] - app-misc/geoclue[introspection] - >=dev-libs/libgweather-3.26:2[introspection] - >=sys-power/upower-0.99:=[introspection] - x11-libs/pango[introspection] - gnome-base/librsvg:2[introspection] - - >=gnome-base/gnome-session-2.91.91 - >=gnome-base/gnome-settings-daemon-3.8.3 - - x11-misc/xdg-utils - - >=x11-themes/adwaita-icon-theme-3.26 - - networkmanager? ( - net-misc/mobile-broadband-provider-info - sys-libs/timezone-data ) - ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] ) - telepathy? ( - >=net-im/telepathy-logger-0.2.4[introspection] - >=net-libs/telepathy-glib-0.19[introspection] ) - media-fonts/cantarell -" -# avoid circular dependency, see bug #546134 -PDEPEND=" - >=gnome-base/gdm-3.5[introspection] - >=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?] - browser-extension? ( gnome-extra/chrome-gnome-shell ) -" -BDEPEND=" - dev-lang/sassc - dev-libs/libxslt - app-text/asciidoc - >=dev-util/gdbus-codegen-2.45.3 - dev-util/glib-utils - gtk-doc? ( >=dev-util/gtk-doc-1.17 - app-text/docbook-xml-dtd:4.3 ) - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig -" - -PATCHES=( - # Fix automagic gnome-bluetooth dep, bug #398145 - "${FILESDIR}"/3.34-optional-bluetooth.patch - # Change favorites defaults, bug #479918 - "${FILESDIR}"/3.36-defaults.patch -) - -src_prepare() { - xdg_src_prepare - # Hack in correct python shebang - sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_use bluetooth) - -Dextensions_tool=true - -Dextensions_app=true - $(meson_use gtk-doc gtk_doc) - -Dman=true - $(meson_use networkmanager) - $(meson_use systemd) # this controls journald integration and desktop file user services related property only as of 3.34.4 - # (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session) - # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary - ) - meson_src_configure -} - -src_test() { - virtx meson_src_test -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update - - if ! has_version 'media-libs/gst-plugins-good:1.0' || \ - ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then - ewarn "To make use of GNOME Shell's built-in screen recording utility," - ewarn "you need to either install media-libs/gst-plugins-good:1.0" - ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" - ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." - fi - - if ! has_version "media-libs/mesa[llvm]"; then - elog "llvmpipe is used as fallback when no 3D acceleration" - elog "is available. You will need to enable llvm USE for" - elog "media-libs/mesa if you do not have hardware 3D setup." - fi - - # https://bugs.gentoo.org/show_bug.cgi?id=563084 - # TODO: Is this still the case after various fixed in 3.28 for detecting non-working KMS for wayland (to fall back to X)? - if has_version "x11-drivers/nvidia-drivers[-kms]"; then - ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers," - ewarn "otherwise Gnome will fail to start" - fi -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/gnome-extra/nemo-fileroller/Manifest b/gnome-extra/nemo-fileroller/Manifest index 21000abd033a..eb25f7e430ae 100644 --- a/gnome-extra/nemo-fileroller/Manifest +++ b/gnome-extra/nemo-fileroller/Manifest @@ -1,2 +1,2 @@ -DIST nemo-extensions-4.6.0.tar.gz 754433 BLAKE2B 83ce84f78a1b991edc7eca156ce7ddb792b70e467004671a00a713227488ca96576c9ab280805eff71090dc47b6eecfdeec636aa4e20d046e38241cba95de987 SHA512 b496732b984f3d4f3fc93dc96ef65b711eaa55bb9c777c19ab224e7ab138f8c6784aa2f16e9a0cc77e79581ed7a04a439955369804dbf930b835df042d7dbd32 -EBUILD nemo-fileroller-4.6.0.ebuild 633 BLAKE2B 7b754a69a1fa0ce08c74eb153eec2fc791cf79b3ddccd8ec65f26a0326e40ea41825eab08632fb7d0eb2dd52f128350ced9ce703ae5ba77479f46dd3a37dc17a SHA512 31853fae4d30f41474523f2f253270744a41bed55fa8d2cd9d3f1e61190771f169247de33ef27ffb971e6c6e4be58014d321eb9f3c25e4810030efcbc2538b86 +DIST 3.2.0.tar.gz 1162843 BLAKE2B 79c864f4d74e2e8d382185abd16c873b64e745ac176a2aa162db37a86a3644d3f0d8ff83c6f2e2a1986d35dba18b5ce0769926a81afd8a193cf35c443f3a1097 SHA512 961aafd1f48033e538b6da2ceee11f98e4319944709b874ad78416790e7d42fd1a82e94a1625fbcd1dbf1fac52f7734be1f58684476e97a66ca63b13ccd7a626 +DIST 4.4.0.tar.gz 790589 BLAKE2B 655edfcfb99baf2b36cc8fea4ee12a1d2f6ed9740bbae0231d8e4daacbf8e2117cbcc12420c0d6eac56eb45dd91dd632e5544581b72063d7095ed6a4dc784c8c SHA512 5ca2cf57950986fdc0f3ed5962fa8ee914ac34bf46c702a0fe0323169060ae8f300406bcb5194fbf88b50aa41e6deb8fa2ee32fdf14eedb7fd9553b10240a2c9 diff --git a/gnome-extra/nemo-fileroller/nemo-fileroller-3.2.0.ebuild b/gnome-extra/nemo-fileroller/nemo-fileroller-3.2.0.ebuild new file mode 100644 index 000000000000..83a06b536884 --- /dev/null +++ b/gnome-extra/nemo-fileroller/nemo-fileroller-3.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="File Roller integration for Nemo" +HOMEPAGE="https://github.com/linuxmint/nemo-extensions" +SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz" +S="${WORKDIR}/nemo-extensions-${PV}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +DEPEND="app-arch/file-roller + >=gnome-extra/nemo-${PV}[introspection]" +RDEPEND="${DEPEND}" + +src_prepare() { + if [[ ! -e configure ]] ; then + ./autogen.sh || die + fi +} diff --git a/gnome-extra/nemo-fileroller/nemo-fileroller-4.4.0.ebuild b/gnome-extra/nemo-fileroller/nemo-fileroller-4.4.0.ebuild new file mode 100644 index 000000000000..a35d1af48b05 --- /dev/null +++ b/gnome-extra/nemo-fileroller/nemo-fileroller-4.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="File Roller integration for Nemo" +HOMEPAGE="https://github.com/linuxmint/nemo-extensions" +SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz" +S="${WORKDIR}/nemo-extensions-${PV}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +DEPEND="app-arch/file-roller + >=gnome-extra/nemo-${PV}" +RDEPEND="${DEPEND}" + +src_prepare() { + if [[ ! -e configure ]] ; then + ./autogen.sh || die + fi +} diff --git a/gnome-extra/nemo-fileroller/nemo-fileroller-4.6.0.ebuild b/gnome-extra/nemo-fileroller/nemo-fileroller-4.6.0.ebuild deleted file mode 100644 index 06de99fc4051..000000000000 --- a/gnome-extra/nemo-fileroller/nemo-fileroller-4.6.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Nemo file-roller integration" -HOMEPAGE="https://github.com/linuxmint/nemo-extensions" -SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz -> nemo-extensions-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="gnome-extra/nemo" -RDEPEND="${DEPEND} - app-arch/file-roller" - -S="${WORKDIR}/nemo-extensions-${PV}/${PN}" - -src_prepare() { - default - eautoreconf -} - -src_install() { - default - - find "${D}" \( -name '*.a' -o -name '*.la' \) -delete || die -} diff --git a/mail-filter/opendkim/files/opendkim-2.10.3-fix-libmilter-search.patch b/mail-filter/opendkim/files/opendkim-2.10.3-fix-libmilter-search.patch new file mode 100644 index 000000000000..5e03a9931cf5 --- /dev/null +++ b/mail-filter/opendkim/files/opendkim-2.10.3-fix-libmilter-search.patch @@ -0,0 +1,223 @@ +From a1371d8c81d5fc22cbc8ea2b1c9eb465e9a8e874 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Fri, 6 Nov 2020 07:40:06 -0500 +Subject: [PATCH] configure.ac: simplify the search for libmilter. + +This commit (temporarily?) reverts the --with-milter flag to a boolean, +disallowing the user to pass it a path. This is done for several reasons: + + * There's only one standard major version of libmilter, so people are + unlikely to have multiple copies of it installed side-by-side. And + When only one copy is present and usable with "-lmilter", the + ability to specify a path is redundant. + + * The "milter path" was used for both the headers and the library + itself. As a result, the user was expected to specify something + like "/usr" as the milter path, whence OpenDKIM would infer that + the headers live in /usr/include and that the libraries live + in /usr/<somewhere>. If multiple libraries live in multiple + somewheres -- as is the case with "lib" and "lib64" on multilib + systems -- OpenDKIM is prone to guessing incorrectly. In other + words, the "milter path" mechanism was not fine-grained enough + to specify the correct library, and this led to link failures + in some not-too-uncommon cases. + + * Headers and libraries in non-standard paths should be handled with + pkg-config, anyway. +--- + configure.ac | 129 +++++++------------------------------------ + opendkim/Makefile.am | 9 ++- + 2 files changed, 23 insertions(+), 115 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 828fe53f..8234e588 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -932,120 +932,29 @@ AC_SUBST(LIBCRYPTO_LIBS) + AC_MSG_CHECKING([for milter library and includes]) + AC_ARG_WITH([milter], + AS_HELP_STRING([--with-milter], +- [location of milter includes and library]), +- [milterpath="$withval"], [milterpath="auto"]) +- +-if test x"$enable_filter" = x"no" +-then +- milterpath="no" +-fi +- +-if test "$milterpath" = "auto" -o "$milterpath" = "yes" +-then +- milterdirs="/usr/local /opt/local /usr" +- for d in $milterdirs +- do +- if test -f $d/include/libmilter/mfapi.h +- then +- milterpath=$d +- break +- fi +- done +-fi +-case "$milterpath" in +- no) +- if test x"$enable_filter" = x"yes" +- then +- AC_MSG_ERROR([milter is required]) +- fi +- AC_MSG_RESULT(disabled) +- ;; +- auto) +- AC_MSG_ERROR([milter not found]) +- ;; +- */*) +- if ! test -f $milterpath/include/libmilter/mfapi.h +- then +- AC_MSG_ERROR([milter includes not found at $milterpath]) +- fi +- AC_MSG_RESULT([$milterpath]) +- ;; +- *) +- AC_MSG_ERROR([milter not found]) +- ;; +-esac +- +-LIBMILTER_INCDIRS="" +-LIBMILTER_LIBDIRS="" +-LIBMILTER_LIBS="" ++ [whether or not (yes or no) to use libmilter]), ++ [milterpath="$withval"], [milterpath="no"]) ++ ++AS_IF([test x"$enable_filter" = x"no"],[milterpath="no"]) ++AS_IF([test x"$milterpath" = x"no"], [ ++ AS_IF([test x"$enable_filter" = x"yes"],[ ++ AC_MSG_ERROR([libmilter is required if filtering is enabled]) ++ ]) ++]) + +-if test x"$milterpath" != x"no" +-then +- LIBMILTER_INCDIRS="-I$milterpath/include" ++AS_IF([test x"$milterpath" = x"yes"], [ ++ AC_CHECK_HEADER(libmilter/mfapi.h, ++ [], ++ AC_MSG_ERROR([libmilter/mfapi.h not found])) + +- saved_CC="$CC" +- saved_CFLAGS="$CFLAGS" +- saved_CPPFLAGS="$CPPFLAGS" +- saved_LDFLAGS="$LDFLAGS" +- saved_LIBS="$LIBS" ++ AC_SEARCH_LIBS([smfi_register], ++ [milter], ++ [LIBMILTER_LIBS="-lmilter"], ++ AC_MSG_ERROR([libmilter not found])) + +- CC="$PTHREAD_CC" +- LIBS="$outer_LIBS $PTHREAD_LIBS $saved_LIBS" +- CPPFLAGS="$LIBMILTER_INCDIRS $saved_CPPFLAGS" +- CFLAGS="$PTHREAD_CFLAGS $saved_CFLAGS" +- LDFLAGS="$outer_LDFLAGS $PTHREAD_CFLAGS $saved_LDFLAGS" +- +- breakloop="no" +- for d in lib lib64 lib/libmilter +- do +- unset ac_cv_search_smfi_register +- LDFLAGS="$outer_LDFLAGS $PTHREAD_CFLAGS -L$milterpath/$d $saved_LDFLAGS" +- AC_SEARCH_LIBS([smfi_register], [milter], +- [ +- LIBMILTER_LIBDIRS="-L$milterpath/$d" +- LIBMILTER_LIBS="-lmilter" +- breakloop="yes" +- ]) +- +- AC_CHECK_FUNC([smfi_insheader], +- AC_DEFINE([HAVE_SMFI_INSHEADER], 1, +- [Define if libmilter has smfi_insheader()])) +- +- AC_CHECK_FUNC([smfi_opensocket], +- AC_DEFINE([HAVE_SMFI_OPENSOCKET], 1, +- [Define if libmilter has smfi_opensocket()])) +- +- AC_CHECK_FUNC([smfi_progress], +- AC_DEFINE([HAVE_SMFI_PROGRESS], 1, +- [Define if libmilter has smfi_progress()])) +- +- AC_CHECK_FUNC([smfi_setsymlist], +- AC_DEFINE([HAVE_SMFI_SETSYMLIST], 1, +- [Define if libmilter has smfi_setsymlist()])) +- +- AC_CHECK_FUNC([smfi_version], +- AC_DEFINE([HAVE_SMFI_VERSION], 1, +- [Define if libmilter has smfi_version()])) +- +- if test x"$breakloop" = x"yes" +- then +- break +- fi +- done +- if test x"$LIBMILTER_LIBDIRS" = x"" +- then +- AC_MSG_ERROR([libmilter not found]) +- fi +- +- CC="$saved_CC" +- CPPFLAGS="$saved_CPPFLAGS" +- CFLAGS="$saved_CFLAGS" +- LDFLAGS="$saved_LDFLAGS" +- LIBS="$saved_LIBS" +-fi ++ AC_CHECK_FUNCS([smfi_insheader smfi_opensocket smfi_progress smfi_setsymlist smfi_version]) ++]) + +-AC_SUBST(LIBMILTER_INCDIRS) +-AC_SUBST(LIBMILTER_LIBDIRS) + AC_SUBST(LIBMILTER_LIBS) + + # +diff --git a/opendkim/Makefile.am b/opendkim/Makefile.am +index 4aa615c1..e3d1d10e 100644 +--- a/opendkim/Makefile.am ++++ b/opendkim/Makefile.am +@@ -26,7 +26,7 @@ opendkim_SOURCES = opendkim.c opendkim.h opendkim-ar.c opendkim-ar.h opendkim-ar + opendkim_CC = $(PTHREAD_CC) + opendkim_CFLAGS = $(PTHREAD_CFLAGS) $(LIBCRYPTO_CFLAGS) $(COV_CFLAGS) + opendkim_CPPFLAGS = -I$(srcdir)/../libopendkim $(LIBCRYPTO_CPPFLAGS) +-opendkim_LDFLAGS = $(LIBCRYPTO_LIBDIRS) $(LIBMILTER_LIBDIRS) $(PTHREAD_CFLAGS) $(COV_LDFLAGS) ++opendkim_LDFLAGS = $(LIBCRYPTO_LIBDIRS) $(PTHREAD_CFLAGS) $(COV_LDFLAGS) + opendkim_LDADD = ../libopendkim/libopendkim.la $(LIBMILTER_LIBS) $(LIBCRYPTO_LIBS) $(PTHREAD_LIBS) $(COV_LIBADD) $(LIBRESOLV) + if USE_DB_OPENDKIM + opendkim_CPPFLAGS += $(LIBDB_INCDIRS) +@@ -88,7 +88,6 @@ opendkim_CPPFLAGS += -I$(srcdir)/../reprrd + opendkim_LDADD += ../reprrd/libreprrd.la + endif + +-opendkim_CPPFLAGS += $(LIBMILTER_INCDIRS) + endif + + if STATS +@@ -108,7 +107,7 @@ opendkim_testkey_CFLAGS = $(LIBCRYPTO_CFLAGS) $(COV_CFLAGS) $(PTHREAD_CFLAGS) + opendkim_testkey_LDFLAGS = $(LIBCRYPTO_LIBDIRS) $(COV_LDFLAGS) $(PTHREAD_CFLAGS) + opendkim_testkey_LDADD = ../libopendkim/libopendkim.la $(LIBCRYPTO_LIBS) $(LIBRESOLV) $(COV_LIBADD) $(PTHREAD_LIBS) + if LUA +-opendkim_testkey_CPPFLAGS += $(LIBLUA_INCDIRS) $(LIBMILTER_INCDIRS) ++opendkim_testkey_CPPFLAGS += $(LIBLUA_INCDIRS) + opendkim_testkey_LDFLAGS += $(LIBLUA_LIBDIRS) + opendkim_testkey_LDADD += $(LIBLUA_LIBS) + endif +@@ -200,7 +199,7 @@ opendkim_genzone_CPPFLAGS += $(OPENLDAP_CPPFLAGS) + opendkim_genzone_LDADD += $(OPENLDAP_LIBS) + endif + if LUA +-opendkim_genzone_CPPFLAGS += $(LIBLUA_INCDIRS) $(LIBMILTER_INCDIRS) ++opendkim_genzone_CPPFLAGS += $(LIBLUA_INCDIRS) + opendkim_genzone_LDFLAGS += $(LIBLUA_LIBDIRS) + opendkim_genzone_LDADD += $(LIBLUA_LIBS) + endif +@@ -250,7 +249,7 @@ opendkim_atpszone_CPPFLAGS += $(OPENLDAP_CPPFLAGS) + opendkim_atpszone_LDADD += $(OPENLDAP_LIBS) + endif + if LUA +-opendkim_atpszone_CPPFLAGS += $(LIBLUA_INCDIRS) $(LIBMILTER_INCDIRS) ++opendkim_atpszone_CPPFLAGS += $(LIBLUA_INCDIRS) + opendkim_atpszone_LDFLAGS += $(LIBLUA_LIBDIRS) + opendkim_atpszone_LDADD += $(LIBLUA_LIBS) + endif diff --git a/mail-filter/opendkim/opendkim-2.10.3-r18.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r19.ebuild index 7982aba9d385..d49e1f6a3625 100644 --- a/mail-filter/opendkim/opendkim-2.10.3-r18.ebuild +++ b/mail-filter/opendkim/opendkim-2.10.3-r19.ebuild @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}/${P}-openssl-1.1.1.patch.r2" "${FILESDIR}/${P}-lua-pkgconfig.patch" "${FILESDIR}/${P}-define-P-macro-in-libvbr.patch" + "${FILESDIR}/${P}-fix-libmilter-search.patch" ) src_prepare() { @@ -98,6 +99,7 @@ src_configure() { $(use_with memcached libmemcached) \ "${myconf[@]}" \ --enable-filter \ + --with-milter \ --enable-atps \ --enable-identity_header \ --enable-rate_limit \ diff --git a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild new file mode 100644 index 000000000000..b38499601ac8 --- /dev/null +++ b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild @@ -0,0 +1,235 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 lua5-2} ) + +inherit autotools db-use eutils systemd tmpfiles lua-single + +DESCRIPTION="A milter providing DKIM signing and verification" +HOMEPAGE="https://opendkim.org/" +SRC_URI="https://downloads.sourceforge.net/project/opendkim/${P}.tar.gz" + +# The GPL-2 is for the init script, bug 425960. +LICENSE="BSD GPL-2 Sendmail-Open-Source" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="berkdb ldap libressl lmdb lua memcached opendbx poll sasl selinux +ssl static-libs stats querycache test unbound" + +BDEPEND="acct-user/opendkim + test? ( ${LUA_DEPS} )" + +COMMON_DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) + dev-libs/libbsd + sys-apps/grep + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + berkdb? ( >=sys-libs/db-3.2:* ) + opendbx? ( >=dev-db/opendbx-1.4.0 ) + lua? ( ${LUA_DEPS} ) + ldap? ( net-nds/openldap ) + lmdb? ( dev-db/lmdb ) + memcached? ( dev-libs/libmemcached ) + sasl? ( dev-libs/cyrus-sasl ) + unbound? ( >=net-dns/unbound-1.4.1:= net-dns/dnssec-root ) + !unbound? ( net-libs/ldns )" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + acct-user/opendkim + sys-process/psmisc + selinux? ( sec-policy/selinux-dkim )" + +REQUIRED_USE="sasl? ( ldap ) + stats? ( opendbx ) + querycache? ( berkdb ) + lua? ( ${LUA_REQUIRED_USE} ) + test? ( ${LUA_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${P}-openrc.patch" + "${FILESDIR}/${P}-openssl-1.1.1.patch.r2" + "${FILESDIR}/${P}-lua-pkgconfig.patch" + "${FILESDIR}/${P}-define-P-macro-in-libvbr.patch" + "${FILESDIR}/${P}-fix-libmilter-search.patch" +) + +src_prepare() { + default + sed -e 's:/var/db/dkim:/var/lib/opendkim:g' \ + -i opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \ + || die + sed -e 's:dist_doc_DATA:dist_html_DATA:' \ + -i libopendkim/docs/Makefile.am \ + || die + eautoreconf +} + +src_configure() { + local myconf=() + if use berkdb ; then + myconf+=( --with-db-incdir=$(db_includedir) ) + fi + if use unbound; then + myconf+=( --with-unbound ) + else + myconf+=( --with-ldns ) + fi + if use ldap; then + myconf+=( $(use_with sasl) ) + fi + + # We install the our configuration filed under e.g. /etc/opendkim, + # so the next line is necessary to point the daemon and all of its + # documentation to the right location by default. + myconf+=( --sysconfdir="${EPREFIX}/etc/${PN}" ) + + econf \ + $(use_with berkdb db) \ + $(use_with opendbx odbx) \ + $(use_with lua) \ + $(use_enable lua rbl) \ + $(use_with ldap openldap) \ + $(use_with lmdb) \ + $(use_enable poll) \ + $(use_enable querycache query_cache) \ + $(use_enable static-libs static) \ + $(use_enable stats) \ + $(use_with memcached libmemcached) \ + "${myconf[@]}" \ + --enable-filter \ + --with-milter \ + --enable-atps \ + --enable-identity_header \ + --enable-rate_limit \ + --enable-resign \ + --enable-replace_rules \ + --enable-default_sender \ + --enable-sender_macro \ + --enable-vbr \ + --disable-live-testing \ + --with-test-socket="${T}/opendkim.sock" +} + +src_compile() { + emake runstatedir=/run +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die + + dosbin stats/opendkim-reportstats + + newinitd "${S}/contrib/OpenRC/opendkim.openrc" "${PN}" + systemd_newtmpfilesd "${S}/contrib/systemd/opendkim.tmpfiles" "${PN}.conf" + systemd_newunit "contrib/systemd/opendkim.service" "${PN}.service" + + dodir /etc/opendkim + keepdir /var/lib/opendkim + + # The OpenDKIM data (particularly, your keys) should be read-only to + # the UserID that the daemon runs as. + fowners root:opendkim /var/lib/opendkim + fperms 750 /var/lib/opendkim + + # Tweak the "simple" example configuration a bit before installing + # it unconditionally. + local cf="${T}/opendkim.conf" + # Some MTAs are known to break DKIM signatures with "simple" + # canonicalization [1], so we choose the "relaxed" policy + # over OpenDKIM's current default settings. + # [1] https://wordtothewise.com/2016/12/dkim-canonicalization-or-why-microsoft-breaks-your-mail/ + sed -E -e 's:^(Canonicalization)[[:space:]]+.*:\1\trelaxed/relaxed:' \ + "${S}/opendkim/opendkim.conf.simple" >"${cf}" || die + cat >>"${cf}" <<EOT || die + +# The UMask is really only used for the PID file (root:root) and the +# local UNIX socket, if you're using one. It should be 0117 for the +# socket. +UMask 0117 +UserID opendkim + +# For use with unbound +#TrustAnchorFile /etc/dnssec/root-anchors.txt +EOT + insinto /etc/opendkim + doins "${cf}" +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" + if [[ -z ${REPLACING_VERSION} ]]; then + elog "If you want to sign your mail messages and need some help" + elog "please run:" + elog " emerge --config ${CATEGORY}/${PN}" + elog "It will help you create your key and give you hints on how" + elog "to configure your DNS and MTA." + + elog "If you are using a local (UNIX) socket, then you will" + elog "need to make sure that your MTA has read/write access" + elog "to the socket file. This is best accomplished by creating" + elog "a completely-new group with only your MTA user and the" + elog "\"opendkim\" user in it. Step-by-step instructions can be" + elog "found on our Wiki, at https://wiki.gentoo.org/wiki/OpenDKIM ." + else + ewarn "The user account for the OpenDKIM daemon has changed" + ewarn "from \"milter\" to \"opendkim\" to prevent unrelated services" + ewarn "from being able to read your private keys. You should" + ewarn "adjust your existing configuration to use the \"opendkim\"" + ewarn "user and group, and change the permissions on" + ewarn "${ROOT}/var/lib/opendkim to root:opendkim with mode 0750." + ewarn "The owner and group of the files within that directory" + ewarn "will likely need to be adjusted as well." + fi +} + +pkg_config() { + local selector keysize pubkey + + read -p "Enter the selector name (default ${HOSTNAME}): " selector + [[ -n "${selector}" ]] || selector="${HOSTNAME}" + if [[ -z "${selector}" ]]; then + eerror "Oddly enough, you don't have a HOSTNAME." + return 1 + fi + if [[ -f "${ROOT}/var/lib/opendkim/${selector}.private" ]]; then + ewarn "The private key for this selector already exists." + else + keysize=1024 + # Generate the private and public keys. Note that opendkim-genkeys + # sets umask=077 on its own to keep these safe. However, we want + # them to be readable (only!) to the opendkim user, and we manage + # that by changing their groups and making everything group-readable. + opendkim-genkey -b ${keysize} -D "${ROOT}/var/lib/opendkim/" \ + -s "${selector}" -d '(your domain)' && \ + chgrp --no-dereference opendkim \ + "${ROOT}/var/lib/opendkim/${selector}".{private,txt} || \ + { eerror "Failed to create private and public keys."; return 1; } + chmod g+r "${ROOT}/var/lib/opendkim/${selector}".{private,txt} + fi + + # opendkim selector configuration + echo + einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:" + einfo " Keyfile /var/lib/opendkim/${selector}.private" + einfo " Selector ${selector}" + + # MTA configuration + echo + einfo "If you are using Postfix, add following lines to your main.cf:" + einfo " smtpd_milters = unix:/run/opendkim/opendkim.sock" + einfo " non_smtpd_milters = unix:/run/opendkim/opendkim.sock" + einfo " and read http://www.postfix.org/MILTER_README.html" + + # DNS configuration + einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:" + cat "${ROOT}/var/lib/opendkim/${selector}.txt" + einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:" + einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text" +} diff --git a/mail-filter/rspamd/files/rspamd-2.6-cmake-lua-version.patch b/mail-filter/rspamd/files/rspamd-2.6-cmake-lua-version.patch new file mode 100644 index 000000000000..141b13dfa8af --- /dev/null +++ b/mail-filter/rspamd/files/rspamd-2.6-cmake-lua-version.patch @@ -0,0 +1,44 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -139,40 +139,8 @@ + ELSE(ENABLE_LUAJIT MATCHES "ON") + + ProcessPackage(LIBLUA LIBRARY "lua" +- "lua-5.3" +- INCLUDE lua.h INCLUDE_SUFFIXES +- "include/lua-5.3" +- "include/lua5.3" +- "include/lua53" +- "include/lua" + ROOT ${LUA_ROOT} +- MODULES lua53 +- OPTIONAL) +- +- IF (NOT WITH_LIBLUA) +- ProcessPackage(LIBLUA LIBRARY "lua" +- "lua-5.2" +- INCLUDE lua.h INCLUDE_SUFFIXES +- "include/lua-5.2" +- "include/lua5.2" +- "include/lua52" +- "include/lua" +- ROOT ${LUA_ROOT} +- MODULES lua52 +- OPTIONAL) +- +- IF (NOT WITH_LIBLUA) +- ProcessPackage(LIBLUA LIBRARY "lua" +- "lua-5.1" +- INCLUDE lua.h INCLUDE_SUFFIXES +- "include/lua-5.1" +- "include/lua5.1" +- "include/lua51" +- "include/lua" +- ROOT ${LUA_ROOT} +- MODULES lua51) +- ENDIF() +- ENDIF() ++ MODULES lua) + ENDIF(ENABLE_LUAJIT MATCHES "ON") + + IF(ENABLE_JEMALLOC MATCHES "ON" AND NOT SANITIZE) diff --git a/mail-filter/rspamd/rspamd-2.5-r1.ebuild b/mail-filter/rspamd/rspamd-2.5-r1.ebuild index eb97eb1d040b..c1020d552c74 100644 --- a/mail-filter/rspamd/rspamd-2.5-r1.ebuild +++ b/mail-filter/rspamd/rspamd-2.5-r1.ebuild @@ -38,7 +38,7 @@ RDEPEND=" dev-lang/luajit:2 ) !jit? ( - dev-lang/lua:* + dev-lang/lua:0= dev-lua/LuaBitOp ) !libressl? ( dev-libs/openssl:0=[-bindist] ) diff --git a/mail-filter/rspamd/rspamd-2.6-r100.ebuild b/mail-filter/rspamd/rspamd-2.6-r100.ebuild new file mode 100644 index 000000000000..e8100951ee1d --- /dev/null +++ b/mail-filter/rspamd/rspamd-2.6-r100.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) + +inherit cmake lua-single pax-utils systemd tmpfiles + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/rspamd/rspamd.git" + inherit git-r3 +else + SRC_URI="https://github.com/rspamd/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Rapid spam filtering system" +HOMEPAGE="https://rspamd.com https://github.com/rspamd/rspamd" +LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain unicode ZLIB" +SLOT="0" +IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit libressl pcre2" + +REQUIRED_USE="${LUA_REQUIRED_USE} + jit? ( lua_single_target_luajit )" + +RDEPEND="${LUA_DEPS} + $(lua_gen_cond_dep ' + dev-lua/LuaBitOp[${LUA_USEDEP}] + ' lua5-{1,2}) + acct-group/rspamd + acct-user/rspamd + app-arch/zstd + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/icu:= + dev-libs/libev + dev-libs/libsodium + dev-libs/snowball-stemmer + net-libs/libnsl + sys-apps/file + blas? ( + virtual/blas + virtual/lapack + ) + cpu_flags_x86_ssse3? ( dev-libs/hyperscan ) + jemalloc? ( dev-libs/jemalloc ) + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + pcre2? ( dev-libs/libpcre2[jit=] ) + !pcre2? ( dev-libs/libpcre[jit=] )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/ragel + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/rspamd-2.6-cmake-lua-version.patch" + "${FILESDIR}/rspamd-2.6-unbundle-lua.patch" + "${FILESDIR}/rspamd-2.6-unbundle-zstd.patch" + "${FILESDIR}/rspamd-2.5-unbundle-snowball.patch" +) + +src_prepare() { + cmake_src_prepare + + rm -vrf contrib/{lua-bit,snowball,zstd} || die + + sed -i -e 's/User=_rspamd/User=rspamd/g' \ + rspamd.service \ + || die +} + +src_configure() { + local mycmakeargs=( + -DCONFDIR=/etc/rspamd + -DRUNDIR=/var/run/rspamd + -DDBDIR=/var/lib/rspamd + -DLOGDIR=/var/log/rspamd + -DENABLE_BLAS=$(usex blas ON OFF) + -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) + -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) + -DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF) + -DENABLE_PCRE2=$(usex pcre2 ON OFF) + ) + cmake_src_configure +} + +src_test() { + cmake_src_test +} + +src_install() { + cmake_src_install + + newconfd "${FILESDIR}"/rspamd.conf rspamd + newinitd "${FILESDIR}/rspamd-r7.init" rspamd + systemd_newunit rspamd.service rspamd.service + + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + + # Remove mprotect for JIT support + if use lua_single_target_luajit; then + pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* + fi + + insinto /etc/logrotate.d + newins "${FILESDIR}"/rspamd-r1.logrotate rspamd + + diropts -o rspamd -g rspamd + keepdir /var/{lib,log}/rspamd +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" +} diff --git a/mail-filter/rspamd/rspamd-2.6-r2.ebuild b/mail-filter/rspamd/rspamd-2.6-r2.ebuild index 380080e13fba..a31a0897fc9a 100644 --- a/mail-filter/rspamd/rspamd-2.6-r2.ebuild +++ b/mail-filter/rspamd/rspamd-2.6-r2.ebuild @@ -41,7 +41,7 @@ RDEPEND=" dev-lang/luajit:2 ) !jit? ( - dev-lang/lua:* + dev-lang/lua:0= dev-lua/LuaBitOp ) !libressl? ( dev-libs/openssl:0=[-bindist] ) diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index e51965b8983e..8f97da55c2b1 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -3,7 +3,9 @@ EAPI=7 -inherit cmake pax-utils systemd tmpfiles +LUA_COMPAT=( lua5-{1..3} luajit ) + +inherit cmake lua-single pax-utils systemd tmpfiles if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/rspamd/rspamd.git" @@ -19,7 +21,13 @@ LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain u SLOT="0" IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit libressl pcre2" -RDEPEND=" +REQUIRED_USE="${LUA_REQUIRED_USE} + jit? ( lua_single_target_luajit )" + +RDEPEND="${LUA_DEPS} + $(lua_gen_cond_dep ' + dev-lua/LuaBitOp[${LUA_USEDEP}] + ' lua5-{1,2}) acct-group/rspamd acct-user/rspamd app-arch/zstd @@ -37,13 +45,6 @@ RDEPEND=" ) cpu_flags_x86_ssse3? ( dev-libs/hyperscan ) jemalloc? ( dev-libs/jemalloc ) - jit? ( - dev-lang/luajit:2 - ) - !jit? ( - dev-lang/lua:* - dev-lua/LuaBitOp - ) !libressl? ( dev-libs/openssl:0=[-bindist] ) libressl? ( dev-libs/libressl:0= ) pcre2? ( dev-libs/libpcre2[jit=] ) @@ -55,6 +56,7 @@ BDEPEND=" " PATCHES=( + "${FILESDIR}/rspamd-2.6-cmake-lua-version.patch" "${FILESDIR}/rspamd-2.6-unbundle-lua.patch" "${FILESDIR}/rspamd-9999-unbundle-zstd.patch" "${FILESDIR}/rspamd-2.5-unbundle-snowball.patch" @@ -79,7 +81,7 @@ src_configure() { -DENABLE_BLAS=$(usex blas ON OFF) -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_LUAJIT=$(usex jit ON OFF) + -DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF) -DENABLE_PCRE2=$(usex pcre2 ON OFF) ) cmake_src_configure @@ -99,7 +101,7 @@ src_install() { newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf # Remove mprotect for JIT support - if use jit; then + if use lua_single_target_luajit; then pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* fi diff --git a/media-fonts/noto-emoji/Manifest b/media-fonts/noto-emoji/Manifest index 6a60a0dc645a..633d32236e65 100644 --- a/media-fonts/noto-emoji/Manifest +++ b/media-fonts/noto-emoji/Manifest @@ -1,2 +1,2 @@ -DIST noto-emoji-20200311.tar.gz 58539077 BLAKE2B 837ae7ef6a571e40b4ed83a0aa1edfd13404c3ca65e671cdc86f650e63cf77179ef283e6dc032fb93f5107411565f980e594be8880626417fa89c67347e6fe62 SHA512 cfafe9c06ccbf888eb1309dc2090abef2f92c0592460693cb45db8ab147311fdd63655d8df182043f05cf503bdfbe16563bc8cea0bddcd830fe193ca86f7fcfb DIST noto-emoji-20200317.tar.gz 60841240 BLAKE2B aab99a5cbab6943b9e282b33dc113601489c7d02a3670db8675e6c90be615ceaf0f2900bdbc68ffaca6130f4e724b2ec1001cfccce80a181208ace0638492b7e SHA512 958a589ef7d7a0b9e4fa3eb1caa20284fa7463419a740d0ca05f850618324883c13498f92839476042cfd1daffa7eff925b2f22ec318c0726391f69c04911bfb +DIST noto-emoji-20200916.tar.gz 60016327 BLAKE2B 980a4e960f200567e34c1314d9269029749e1d9cd29ab1c5da30418d8a016b894223adf8f263222512c513feab4de856a2f48b1695011ced0c49c30e7a487e47 SHA512 d497c4ecaf299ade23b1f6a3bc6e98d7dbbb619e51f067496d4a4dbf71693c96de26263af595c0aae86c63dcea8be190718f5477af645d4338989f25cc3ab848 diff --git a/media-fonts/noto-emoji/noto-emoji-20200311.ebuild b/media-fonts/noto-emoji/noto-emoji-20200311.ebuild deleted file mode 100644 index 7cafb7ce4106..000000000000 --- a/media-fonts/noto-emoji/noto-emoji-20200311.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit font python-any-r1 - -DESCRIPTION="Google Noto Emoji fonts" -HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-emoji" - -COMMIT="4325631b45027a3d4da9a0f08f829e790f86ff4d" -SRC_URI="https://github.com/googlei18n/noto-emoji/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 OFL-1.1" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -BDEPEND="${PYTHON_DEPS} - app-arch/zopfli - $(python_gen_any_dep ' - dev-python/fonttools[${PYTHON_USEDEP}] - dev-python/nototools[${PYTHON_USEDEP}] - ') - media-gfx/pngquant - x11-libs/cairo - || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) -" - -RESTRICT="binchecks strip" - -S="${WORKDIR}/${PN}-${COMMIT}" - -FONT_S="${S}" -FONT_SUFFIX="ttf" - -python_check_deps() { - has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" && - has_version -b "dev-python/nototools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - font_pkg_setup -} - -PATCHES=( - # From Fedora - "${FILESDIR}/${PN}-build-all-flags.patch" - - # https://github.com/googlei18n/noto-emoji/issues/240 - "${FILESDIR}/${PN}-20180823-build-path.patch" -) - -src_prepare() { - default - - # Based on Fedora patch to allow graphicsmagick usage - if has_version media-gfx/graphicsmagick; then - eapply "${FILESDIR}/${PN}-20190328-use-gm.patch" - fi -} - -src_compile() { - python_setup - default -} - -src_install() { - font_src_install - - # Don't lose fancy emoji icons - insinto /usr/share/icons/"${PN}"/128x128/emotes/ - doins png/128/*.png - - insinto /usr/share/icons/"${PN}"/scalable/emotes/ - doins svg/*.svg -} diff --git a/media-fonts/noto-emoji/noto-emoji-20200317.ebuild b/media-fonts/noto-emoji/noto-emoji-20200317.ebuild deleted file mode 100644 index bf4d3ac19386..000000000000 --- a/media-fonts/noto-emoji/noto-emoji-20200317.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit font python-any-r1 - -DESCRIPTION="Google Noto Emoji fonts" -HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-emoji" - -COMMIT="ac1703e9d7feebbf5443a986e08332b1e1c5afcf" -SRC_URI="https://github.com/googlei18n/noto-emoji/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 OFL-1.1" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -BDEPEND="${PYTHON_DEPS} - app-arch/zopfli - $(python_gen_any_dep ' - dev-python/fonttools[${PYTHON_USEDEP}] - dev-python/nototools[${PYTHON_USEDEP}] - ') - media-gfx/pngquant - x11-libs/cairo - || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) -" - -RESTRICT="binchecks strip" - -S="${WORKDIR}/${PN}-${COMMIT}" - -FONT_S="${S}" -FONT_SUFFIX="ttf" - -python_check_deps() { - has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" && - has_version -b "dev-python/nototools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - font_pkg_setup -} - -PATCHES=( - # From Fedora - "${FILESDIR}/${PN}-build-all-flags.patch" - - # https://github.com/googlei18n/noto-emoji/issues/240 - "${FILESDIR}/${PN}-20180823-build-path.patch" -) - -src_prepare() { - default - - # Based on Fedora patch to allow graphicsmagick usage - if has_version media-gfx/graphicsmagick; then - eapply "${FILESDIR}/${PN}-20190328-use-gm.patch" - fi -} - -src_compile() { - python_setup - default -} - -src_install() { - font_src_install - - # Don't lose fancy emoji icons - insinto /usr/share/icons/"${PN}"/128x128/emotes/ - doins png/128/*.png - - insinto /usr/share/icons/"${PN}"/scalable/emotes/ - doins svg/*.svg -} diff --git a/media-fonts/noto-emoji/noto-emoji-20200916.ebuild b/media-fonts/noto-emoji/noto-emoji-20200916.ebuild new file mode 100644 index 000000000000..7ec2e8706367 --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-20200916.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit font python-any-r1 + +DESCRIPTION="Google Noto Emoji fonts" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-emoji" + +COMMIT="aac7ccaa4d1dea4543453b96f7d6fc47066a57ff" +SRC_URI="https://github.com/googlefonts/noto-emoji/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="buildfont" + +BDEPEND=" + buildfont? ( + ${PYTHON_DEPS} + app-arch/zopfli + $(python_gen_any_dep ' + >=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}] + >=dev-python/nototools-0.2.13[${PYTHON_USEDEP}] + ') + media-gfx/pngquant + x11-libs/cairo + || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) + ) +" + +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-${COMMIT}" + +python_check_deps() { + has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" && + has_version -b "dev-python/nototools[${PYTHON_USEDEP}]" +} + +pkg_setup() { + font_pkg_setup +} + +src_prepare() { + default + + if use buildfont; then + # From Fedora + eapply "${FILESDIR}/${PN}-build-all-flags.patch" + + # https://github.com/googlei18n/noto-emoji/issues/240 + eapply "${FILESDIR}/${PN}-20180823-build-path.patch" + + # Be more verbose, bug #717654 + eapply "${FILESDIR}"/${PN}-pngquant-verbose.patch + sed -i -e 's:@$(ZOPFLIPNG) -y "$<" "$@" 1> /dev/null 2>&1:@$(ZOPFLIPNG) -y "$<" "$@":g' Makefile || die + + # Based on Fedora patch to allow graphicsmagick usage + if has_version -b media-gfx/graphicsmagick; then + eapply "${FILESDIR}/${PN}-20190328-use-gm.patch" + fi + fi +} + +src_compile() { + if ! use buildfont; then + einfo "Installing pre-built fonts provided by upstream." + einfo "They could be not fully updated or miss some items." + einfo "To build fonts based on latest images enable 'buildfont'" + einfo "USE (that will require more time and resources too)." + else + python_setup + einfo "Building fonts..." + + # From Debian: + # The build requires a VIRTUAL_ENV variable and sequence check isn't working + VIRTUAL_ENV=true \ + BYPASS_SEQUENCE_CHECK=true \ + default + fi +} + +src_install() { + if ! use buildfont; then + FONT_S="${S}/fonts" + else + mv -i fonts/NotoEmoji-Regular.ttf "${S}" || die + # Built font and Regular font + FONT_S="${S}" + + # Don't lose fancy emoji icons + insinto /usr/share/icons/"${PN}"/128x128/emotes/ + doins png/128/*.png + + insinto /usr/share/icons/"${PN}"/scalable/emotes/ + doins svg/*.svg + fi + + FONT_SUFFIX="ttf" + font_src_install + + dodoc README.md +} diff --git a/media-libs/sbc/Manifest b/media-libs/sbc/Manifest index 95b5e0471cad..41721d26859d 100644 --- a/media-libs/sbc/Manifest +++ b/media-libs/sbc/Manifest @@ -1 +1,2 @@ DIST sbc-1.4.tar.xz 250656 BLAKE2B a5b59a0ac209b44843af49e63f7b6a6b397b3905f0efc52c18a3b92785d297d39dad80f5b124e97c50a9535f892f1451bf0a2945ba223a522eafbcad46eaad9d SHA512 f35250c202034e93ce4046d29883d76b162164d42fb59e6af8ff5e57f197244238f5f8087309cef2d44755c179e7f0869cf096735c8de510b1ac7e0f6c29d84f +DIST sbc-1.5.tar.xz 264472 BLAKE2B 421a4cb5ab0e282255f8bdb810384e0a4d6d66835869489c22d51d2a0cabd7ef834bef3756ff887b9d9166dcfe88f4d661c26cb804e2868fb6106cc4886f9dcc SHA512 0243586188acede595317f2afbfdb41be5850d2a6133c374edbe5cbcf59a2a0fd4570d0b8f2d13ce9637ce48b2f1910c3e4ab1c0354dbf273ee67b09db8c4915 diff --git a/media-libs/sbc/sbc-1.5.ebuild b/media-libs/sbc/sbc-1.5.ebuild new file mode 100644 index 000000000000..65d68e49819c --- /dev/null +++ b/media-libs/sbc/sbc-1.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit multilib-minimal + +DESCRIPTION="Audio codec to connect bluetooth HQ audio devices as headphones or loudspeakers" +HOMEPAGE="https://git.kernel.org/?p=bluetooth/sbc.git" +SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="static-libs" + +# --enable-tester is building src/sbctester but the tarball is missing required +# .wav file to execute it +RESTRICT="test" + +RDEPEND="" +DEPEND="virtual/pkgconfig" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + --disable-tester +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r100.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r100.ebuild new file mode 100644 index 000000000000..fa12808a3cd6 --- /dev/null +++ b/media-video/aegisub/aegisub-3.2.2_p20160518-r100.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( luajit ) +LUA_REQ_USE="lua52compat" + +WX_GTK_VER=3.0 +PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS sr_RS@latin uk_UA vi zh_CN zh_TW" +COMMIT_ID="b118fe7e7a5c37540e2f0aa75af105e272bad234" + +inherit autotools flag-o-matic l10n lua-single wxwidgets xdg-utils vcs-snapshot + +DESCRIPTION="Advanced subtitle editor" +HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub" +SRC_URI="https://github.com/Aegisub/Aegisub/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet" +RESTRICT="!test? ( test )" + +# aegisub bundles luabins (https://github.com/agladysh/luabins). +# Unfortunately, luabins upstream is practically dead since 2010. +# Thus unbundling luabins isn't worth the effort. +RDEPEND="${LUA_DEPS} + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?] + dev-libs/boost:=[icu,nls,threads] + dev-libs/icu:= + media-libs/ffmpegsource:= + media-libs/fontconfig + media-libs/freetype + media-libs/libass:=[fontconfig] + sys-libs/zlib + virtual/libiconv + virtual/opengl + alsa? ( media-libs/alsa-lib ) + fftw? ( >=sci-libs/fftw-3.3:= ) + openal? ( media-libs/openal ) + portaudio? ( =media-libs/portaudio-19* ) + pulseaudio? ( media-sound/pulseaudio ) + spell? ( app-text/hunspell:= ) + uchardet? ( app-i18n/uchardet ) +" +DEPEND="${RDEPEND}" +# luarocks is only used as a command-line tool so there is no need to enforce +# LUA_SINGLE_USEDEP on it. On the other hand, this means we must use version +# bounds in order to make sure we use a version migrated to Lua eclasses. +BDEPEND="dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + test? ( + ${RDEPEND} + >=dev-cpp/gtest-1.8.1 + >=dev-lua/luarocks-3.4.0-r100 + $(lua_gen_cond_dep ' + dev-lua/busted[${LUA_USEDEP}] + ') + ) +" + +REQUIRED_USE="${LUA_REQUIRED_USE} + || ( alsa openal oss portaudio pulseaudio )" + +PATCHES=( + "${FILESDIR}/${PV}/${P}-fix-system-luajit-build.patch" + "${FILESDIR}/${PV}/${P}-respect-compiler-flags.patch" + "${FILESDIR}/${PV}/${P}-support-system-gtest.patch" + "${FILESDIR}/${PV}/${P}-fix-icu59-build.patch" + "${FILESDIR}/${PV}/${P}-fix-icu62-build.patch" + "${FILESDIR}/${PV}/${P}-fix-boost170-build.patch" + "${FILESDIR}/${PV}/${P}-fix-makefile-for-make4.3.patch" + "${FILESDIR}/${PV}/${P}-tests_luarocks_lua_version.patch" +) + +aegisub_check_compiler() { + if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then + die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3." + fi +} + +pkg_pretend() { + aegisub_check_compiler +} + +pkg_setup() { + aegisub_check_compiler + lua-single_pkg_setup +} + +src_prepare() { + default_src_prepare + + # Remove tests that require unavailable uuid Lua module. + rm automation/tests/modules/lfs.moon || die + + remove_locale() { + rm "po/${1}.po" || die + } + + l10n_find_plocales_changes 'po' '' '.po' + l10n_for_each_disabled_locale_do remove_locale + + # See http://devel.aegisub.org/ticket/1914 + config_rpath_update "${S}"/config.rpath + + eautoreconf + + cat <<- EOF > build/git_version.h || die + #define BUILD_GIT_VERSION_NUMBER 8897 + #define BUILD_GIT_VERSION_STRING "${PV}" + #define TAGGED_RELEASE 0 + EOF +} + +src_configure() { + # Prevent access violations from OpenAL detection. See Gentoo bug 508184. + use openal && export agi_cv_with_openal="yes" + + setup-wxwidgets + local myeconfargs=( + --disable-update-checker + --with-ffms2 + --with-system-luajit + $(use_enable debug) + $(use_with alsa) + $(use_with fftw fftw3) + $(use_with openal) + $(use_with oss) + $(use_with portaudio) + $(use_with pulseaudio libpulse) + $(use_with spell hunspell) + $(use_with uchardet) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake WITH_SYSTEM_GTEST=$(usex test) +} + +src_test() { + emake test-automation + emake test-libaegisub +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/media-video/aegisub/aegisub-9999.ebuild b/media-video/aegisub/aegisub-9999.ebuild index dedf8a1e8582..bcc8a14c9a32 100644 --- a/media-video/aegisub/aegisub-9999.ebuild +++ b/media-video/aegisub/aegisub-9999.ebuild @@ -1,12 +1,15 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +LUA_COMPAT=( luajit ) +LUA_REQ_USE="lua52compat" WX_GTK_VER=3.0-gtk3 PLOCALES="ar be bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS sr_RS@latin uk_UA vi zh_CN zh_TW" -inherit autotools gnome2-utils l10n wxwidgets xdg-utils git-r3 +inherit autotools l10n lua-single wxwidgets xdg-utils git-r3 DESCRIPTION="Advanced subtitle editor" HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub" @@ -23,9 +26,8 @@ RESTRICT="test" # aegisub bundles luabins (https://github.com/agladysh/luabins). # Unfortunately, luabins upstream is practically dead since 2010. # Thus unbundling luabins isn't worth the effort. -RDEPEND=" +RDEPEND="${LUA_DEPS} x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?] - dev-lang/luajit:2[lua52compat] dev-libs/boost:=[icu,nls,threads] dev-libs/icu:= media-libs/ffmpegsource:= @@ -43,18 +45,23 @@ RDEPEND=" spell? ( app-text/hunspell:= ) uchardet? ( app-i18n/uchardet ) " -DEPEND="${RDEPEND} - dev-util/intltool +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool sys-devel/gettext virtual/pkgconfig " -REQUIRED_USE="|| ( alsa openal oss portaudio pulseaudio )" +REQUIRED_USE="${LUA_REQUIRED_USE} + || ( alsa openal oss portaudio pulseaudio )" PATCHES=( "${FILESDIR}/${P}-git.patch" ) +pkg_setup() { + lua-single_pkg_setup +} + src_prepare() { default_src_prepare @@ -107,16 +114,12 @@ src_test() { emake test-libaegisub } -pkg_preinst() { - gnome2_icon_savelist -} - pkg_postinst() { - gnome2_icon_cache_update + xdg_icon_cache_update xdg_desktop_database_update } pkg_postrm() { - gnome2_icon_cache_update + xdg_icon_cache_update xdg_desktop_database_update } diff --git a/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-tests_luarocks_lua_version.patch b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-tests_luarocks_lua_version.patch new file mode 100644 index 000000000000..c441b8fe083b --- /dev/null +++ b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-tests_luarocks_lua_version.patch @@ -0,0 +1,14 @@ +Make sure 'luarocks path' outputs the paths for the Lua ABI version +required by aegisub, not the one used internally by luarocks. + +--- a/automation/Makefile ++++ b/automation/Makefile +@@ -19,7 +19,7 @@ + PROGRAM += $(d)aegisub-lua + + test-automation: $(PROGRAM) +- eval `luarocks path`; cd $(TOP)automation; ./aegisub-lua tests/busted.lua -p 'moon' tests/modules ++ eval `luarocks --lua-version 5.1 path`; cd $(TOP)automation; ./aegisub-lua tests/busted.lua -p 'moon' tests/modules + + test: test-automation + diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest index d0331044e4d7..e99543f7720e 100644 --- a/net-im/zoom/Manifest +++ b/net-im/zoom/Manifest @@ -1,5 +1,4 @@ -DIST zoom-5.3.472687.1012_i686.tar.xz 39774708 BLAKE2B 3cd80244168bfee3b92ffc5be1763eb9e205c6119cabc64d91dfdb9b22a3a5515c7f397a938982e0de80a51512ff0c47a9812ca4969619a0b403b99d0b385963 SHA512 d0fecb64a50594376b1a9747e9532153ffba8d541ef1b705a3e7ccd1acfd1611fbad6308ec576d2dad99fb4a26a730f283e0eda512afe8939c1f90e3c6636b6d -DIST zoom-5.3.472687.1012_x86_64.tar.xz 40046644 BLAKE2B a05255bcefcf0a0f44055ef5f89797ef8c62082732fc7e1a68c9601b34ece01989216a8b68fb6d42ec51976159d9f2766de50f25db4dd53120a303c1b6bd26d0 SHA512 c355073ce73ae047bc4aad952432e85ab0464bc3bb68dc20c121243bc719b3bd3337382bd3a283a44724d68b28a6e64c7bd8eb0f6598c2ecb6d4ddcb7193eab0 DIST zoom-5.4.53391.1108_i686.tar.xz 40384800 BLAKE2B 0d449103e16799e6e6bcaf6ef1c105d6a75ce8728bfedb5107a9c6deedd9e8ef1988e19ddc33da43de8eb925d386460a84b5efe13c0709de6901239a688b4fb0 SHA512 d77357ab669ade90d4b8ae99116372db8b8b9a251625ed0566e89a8cc4d3f7aced07fd08d4646a223fad58f588e1dc2484464bd70e203b875ac9866fb92fe2ea DIST zoom-5.4.53391.1108_x86_64.tar.xz 44660944 BLAKE2B 7152f4daccdbce56e2c83971f507bc70d5b77e8edd558f311e67f0e2ab127967cdd15c90b92ca95735b2fad3e11d692b206c32c5f7d65cd116050e8e6579fcdd SHA512 f52e2fda15a29c2232656e8f34a5d65c3c401eb50f249d5436a949c09efd5b821d1c5e1f59dc4c27b5f4aadc1c24f474854498664b5d333d340d03f4998c59ba DIST zoom-5.4.54779.1115_x86_64.tar.xz 45216096 BLAKE2B a65c7db96ac0ea5a99b6edba0145d766395ebd67402f28ee276e1a2ed87ca9c9c01bedef12eb4d99a6525f0ec0698de1471c3ca620e32ec29ada5b8edd55416c SHA512 e859060592dc110ccb42760fff54f632b079124ff2b8988e55dfd27d70b132b035d6b0ef8eec83b7d90ddf56a6e675dac4d04c29bec9faab377db4926fb2462d +DIST zoom-5.4.56259.1207_x86_64.tar.xz 46333580 BLAKE2B e3603db12af4ecc88eee88715976d6944cf566f6c1afa35a36840ceba49da85d21cdf4c04216b76d30b700b07a098aea48b7f61c48ee3836168323adede5789f SHA512 b7567f8e01486dfe31118da9c6168be70ea0b6dc21ea07972d39a3ced360068ff2e7423663e74fb65387be18fa2a1bca7ebd2599c49b3c064872ae9d82266192 diff --git a/net-im/zoom/zoom-5.3.472687.1012.ebuild b/net-im/zoom/zoom-5.3.472687.1012.ebuild deleted file mode 100644 index 58b926df6a20..000000000000 --- a/net-im/zoom/zoom-5.3.472687.1012.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop eutils readme.gentoo-r1 xdg-utils - -DESCRIPTION="Video conferencing and web conferencing service" -HOMEPAGE="https://zoom.us/" -SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz ) - x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )" -S="${WORKDIR}/${PN}" - -LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="bundled-libjpeg-turbo pulseaudio" -RESTRICT="mirror bindist strip" - -RDEPEND="!games-engines/zoom - dev-libs/glib:2 - dev-libs/icu - dev-libs/quazip - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5[widgets] - dev-qt/qtdiag:5 - dev-qt/qtgraphicaleffects:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols:5[widgets] - dev-qt/qtscript:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - media-sound/mpg123 - sys-apps/dbus - sys-apps/util-linux - virtual/opengl - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXtst - x11-libs/xcb-util-image - x11-libs/xcb-util-keysyms - !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo ) - pulseaudio? ( media-sound/pulseaudio ) - !pulseaudio? ( media-libs/alsa-lib )" - -BDEPEND="!pulseaudio? ( dev-util/bbe )" - -QA_PREBUILT="opt/zoom/*" - -src_prepare() { - default - if ! use pulseaudio; then - # For some strange reason, zoom cannot use any ALSA sound devices if - # it finds libpulse. This causes breakage if media-sound/apulse[sdk] - # is installed. So, force zoom to ignore libpulse. - bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die - mv zoom.tmp zoom || die - fi -} - -src_install() { - insinto /opt/zoom - exeinto /opt/zoom - doins -r json sip timezones translations - doins *.pcm *.pem *.sh Embedded.properties version.txt - doexe zoom zoom.sh zopen ZoomLauncher - dosym {"../../usr/$(get_libdir)",/opt/zoom}/libmpg123.so - dosym {"../../usr/$(get_libdir)",/opt/zoom}/libquazip.so - - if use bundled-libjpeg-turbo; then - doexe libturbojpeg.so - else - dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106 - fi - - make_wrapper zoom ./zoom /opt/zoom - make_desktop_entry "zoom %U" Zoom zoom-videocam "" \ - "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" - # The tarball doesn't contain an icon, so take a generic camera icon - # from https://github.com/google/material-design-icons, modified to be - # white on a blue background - doicon -s scalable "${FILESDIR}"/zoom-videocam.svg - doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm - readme.gentoo_create_doc -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - - local FORCE_PRINT_ELOG v - for v in ${REPLACING_VERSIONS}; do - ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1 - done - readme.gentoo_print_elog -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-im/zoom/zoom-5.4.56259.1207.ebuild b/net-im/zoom/zoom-5.4.56259.1207.ebuild new file mode 100644 index 000000000000..e31ede8492b4 --- /dev/null +++ b/net-im/zoom/zoom-5.4.56259.1207.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eapi8-dosym readme.gentoo-r1 wrapper xdg-utils + +DESCRIPTION="Video conferencing and web conferencing service" +HOMEPAGE="https://zoom.us/" +SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="bundled-libjpeg-turbo +bundled-qt pulseaudio wayland" +RESTRICT="mirror bindist strip" + +RDEPEND="!games-engines/zoom + dev-libs/glib:2 + dev-libs/quazip + media-libs/fontconfig + media-libs/freetype + media-sound/mpg123 + sys-apps/dbus + sys-apps/util-linux + virtual/opengl + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon[X] + x11-libs/libXrender + x11-libs/libXtst + x11-libs/xcb-util-image + x11-libs/xcb-util-keysyms + pulseaudio? ( media-sound/pulseaudio ) + !pulseaudio? ( media-libs/alsa-lib ) + wayland? ( dev-libs/wayland ) + !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 ) + !bundled-qt? ( + dev-libs/icu + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtdiag:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5 + dev-qt/qtlocation:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtquickcontrols2:5 + dev-qt/qtscript:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + wayland? ( dev-qt/qtwayland ) + )" + +BDEPEND="!pulseaudio? ( dev-util/bbe )" + +QA_PREBUILT="opt/zoom/*" + +src_prepare() { + default + if ! use pulseaudio; then + # For some strange reason, zoom cannot use any ALSA sound devices if + # it finds libpulse. This causes breakage if media-sound/apulse[sdk] + # is installed. So, force zoom to ignore libpulse. + bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die + mv zoom.tmp zoom || die + fi +} + +src_install() { + insinto /opt/zoom + exeinto /opt/zoom + doins -r json ringtone sip timezones translations + doins *.pcm *.sh Embedded.properties version.txt + doexe zoom zoom.sh zopen ZoomLauncher + dosym8 -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so + dosym8 -r {"/usr/$(get_libdir)",/opt/zoom}/libquazip.so + + if use bundled-libjpeg-turbo; then + doexe libturbojpeg.so + else + dosym8 -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so + fi + + if use bundled-qt; then + doexe libicu*.so.56 libQt5*.so.5 + doins qt.conf + + local dirs="Qt* generic iconengines imageformats \ + platforminputcontexts platforms wayland* xcbglintegrations" + doins -r ${dirs} + find ${dirs} -type f '(' -name '*.so' -o -name '*.so.*' ')' \ + -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die + + ( # Remove libs and plugins with unresolved soname dependencies + cd "${ED}"/opt/zoom || die + rm -r Qt/labs/location QtQml/RemoteObjects \ + QtQuick/LocalStorage QtQuick/Particles.2 QtQuick/Scene2D \ + QtQuick/Scene3D QtQuick/Shapes QtQuick/XmlListModel \ + platforms/libqeglfs.so platforms/libqlinuxfb.so || die + use wayland || rm -r libQt5Wayland*.so* QtWayland wayland* \ + platforms/libqwayland*.so || die + ) + fi + + make_wrapper zoom /opt/zoom{/zoom,} $(usex bundled-qt /opt/zoom "") + make_desktop_entry "zoom %U" Zoom zoom-videocam "" \ + "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" + # The tarball doesn't contain an icon, so take a generic camera icon + # from https://github.com/google/material-design-icons, modified to be + # white on a blue background + doicon -s scalable "${FILESDIR}"/zoom-videocam.svg + doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + local FORCE_PRINT_ELOG v + for v in ${REPLACING_VERSIONS}; do + ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1 + done + readme.gentoo_print_elog + + if use bundled-libjpeg-turbo; then + ewarn "If the \"bundled-libjpeg-turbo\" flag is enabled, you may see a" + ewarn "QA notice about insecure RPATHs in the libturbojpeg.so library" + ewarn "bundled with the upstream package. Please report this problem" + ewarn "directly to Zoom upstream. Do *not* file a Gentoo bug for it." + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/net-libs/nghttp2/nghttp2-1.42.0.ebuild b/net-libs/nghttp2/nghttp2-1.42.0.ebuild index b26f2f341e23..bfd3924c87ca 100644 --- a/net-libs/nghttp2/nghttp2-1.42.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.42.0.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]] ; then inherit autotools git-r3 else SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x64-macos ~sparc-solaris ~x64-solaris" fi DESCRIPTION="HTTP/2 C Library" diff --git a/net-mail/b4/Manifest b/net-mail/b4/Manifest index 3db512d5936f..51bff674da29 100644 --- a/net-mail/b4/Manifest +++ b/net-mail/b4/Manifest @@ -1 +1 @@ -DIST b4-0.5.3.tar.gz 56565 BLAKE2B 89d2f83973e942e1e56e1fc98c92c1688c2760a5b87237cc928f5bd792fb6ff10afaf02916e133ffb0ab54cf4fdc7ab6b8db239c051ae8584f64bcbcc189a99b SHA512 11bc8f57e65197d1a295fe9bc0bc642f88ef1720f890c961770891df02297cf3f4bc82cbc8428efa807ec68892363ff5aa546425ebfacac4ab646e8d615e9e87 +DIST b4-0.6.1.tar.gz 63430 BLAKE2B 2bbf36dc5aa6c0bdd3ef792137b6cae5a6d4f53b8935d773d8efa7adc9d802d5f8faf49f5a31024eba706f97d5673820c415d2828bd65fca281acab0e41c8693 SHA512 2a4fcd04bbda02ef9cec843658bd9ab5df5aa3275b592c852725f343e66914f95fc7c7be4ccecd86cbbc60feb8630fb804368333ddafba11113269c81055e29e diff --git a/net-mail/b4/b4-0.5.3.ebuild b/net-mail/b4/b4-0.6.1.ebuild index 47ecc1a175a5..47ecc1a175a5 100644 --- a/net-mail/b4/b4-0.5.3.ebuild +++ b/net-mail/b4/b4-0.6.1.ebuild diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest index 45c49b7fc88d..3fb901e4733f 100644 --- a/net-misc/curl/Manifest +++ b/net-misc/curl/Manifest @@ -2,3 +2,4 @@ DIST curl-7.71.0.tar.xz 2379056 BLAKE2B 50d7369e4335823c3032b8801b270f7d8e687b05 DIST curl-7.71.1.tar.xz 2387660 BLAKE2B 47b3a4704ae8b09b37f7a9d8850fd7d692d91db3dd4ad776aad9a57d0162e0f4091e0387a850eb048f834e6dfee5bcb36da56493a106696c72072c612b47f623 SHA512 631e0ee8562e5029fe022bfab4222836a3e6d666e82e2bfbd78311fe5985105218a36d1ea68c93472fc57a12b713957a3bcca6e385eda4e58a47ca8d5d50265b DIST curl-7.72.0.tar.xz 2390040 BLAKE2B 8f20efe7255ffe6d68619645b634b9cb10557ba0ca458904e99105133fb54cfafe4cafa0e7a1c5e20bbf5b5d24c8c44670cb5ddc1a2035ca43eadd24899ea953 SHA512 e5025a32eac6108ccb13d1fcce9c2de28b3a6d6e9a258a647c4be45d71718f75653e1ccd477ef5f29242a15588255c4ef43fe47bf9908b938b6769fccfaac107 DIST curl-7.73.0.tar.xz 2394228 BLAKE2B 33ce983878dd3154d5e3e44b2b64a02e47a3faac77615db1c67cc6617495c16f40a36406e1627e2cef62bc1a01cdd0c5ae47ccc6cc4265257fc47b2f34eaac65 SHA512 95330bac2d6bc5306d47723b3c7bdb754fabe2ba2df7b2a8027453a40286f1c7caaee69333f0715e59fbc7fdf09080968ea624398c995cabf3d57493973867bd +DIST curl-7.74.0.tar.xz 2400972 BLAKE2B bef9e01493994afc933549a78b41065708aeaa9f6f5cdd1dbf2f43bbb03bbc97b17308b8bda5f11599c3cc0c6c77903e6fa6f1310ff874fad902a59566b51e8a SHA512 5d987f0b4d051c9e254f14d4e2a05f7cda9fb0f0ac7b3ca3664a25a51ee5ffe092ee072c0d9a613fcd3f34727d75bba14b70f5500cb110ca818591e071c3e6f4 diff --git a/net-misc/curl/curl-7.74.0.ebuild b/net-misc/curl/curl-7.74.0.ebuild new file mode 100644 index 000000000000..0431772f4a6e --- /dev/null +++ b/net-misc/curl/curl-7.74.0.ebuild @@ -0,0 +1,294 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools eutils prefix multilib-minimal + +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="https://curl.haxx.se/" +SRC_URI="https://curl.haxx.se/download/${P}.tar.xz" + +LICENSE="curl" +SLOT="0" +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="adns alt-svc brotli +ftp gnutls gopher hsts +http2 idn +imap ipv6 kerberos ldap libressl mbedtls metalink nss +openssl +pop3 +progress-meter rtmp samba +smtp ssh ssl static-libs test telnet +tftp threads winssl zstd" +IUSE+=" curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss +curl_ssl_openssl curl_ssl_winssl" +IUSE+=" nghttp3 quiche" +IUSE+=" elibc_Winnt" + +#lead to lots of false negatives, bug #285669 +RESTRICT="!test? ( test )" + +RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) + brotli? ( app-arch/brotli:=[${MULTILIB_USEDEP}] ) + ssl? ( + gnutls? ( + net-libs/gnutls:0=[static-libs?,${MULTILIB_USEDEP}] + dev-libs/nettle:0=[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + mbedtls? ( + net-libs/mbedtls:0=[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + openssl? ( + !libressl? ( dev-libs/openssl:0=[static-libs?,${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[static-libs?,${MULTILIB_USEDEP}] ) + ) + nss? ( + dev-libs/nss:0[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + ) + http2? ( net-libs/nghttp2[${MULTILIB_USEDEP}] ) + nghttp3? ( + net-libs/nghttp3[${MULTILIB_USEDEP}] + net-libs/ngtcp2[ssl,${MULTILIB_USEDEP}] + ) + quiche? ( >=net-libs/quiche-0.3.0[${MULTILIB_USEDEP}] ) + idn? ( net-dns/libidn2:0=[static-libs?,${MULTILIB_USEDEP}] ) + adns? ( net-dns/c-ares:0[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + metalink? ( >=media-libs/libmetalink-0.1.1[${MULTILIB_USEDEP}] ) + rtmp? ( media-video/rtmpdump[${MULTILIB_USEDEP}] ) + ssh? ( net-libs/libssh2[${MULTILIB_USEDEP}] ) + sys-libs/zlib[${MULTILIB_USEDEP}] + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )" + +# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303 +# rtmp? ( +# media-video/rtmpdump +# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] ) +# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,ssl] ) +# ) + +# ssl providers to be added: +# fbopenssl $(use_with spnego) + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + test? ( + sys-apps/diffutils + dev-lang/perl + )" + +# c-ares must be disabled for threads +# only one default ssl provider can be enabled +REQUIRED_USE=" + winssl? ( elibc_Winnt ) + threads? ( !adns ) + ssl? ( + ^^ ( + curl_ssl_gnutls + curl_ssl_libressl + curl_ssl_mbedtls + curl_ssl_nss + curl_ssl_openssl + curl_ssl_winssl + ) + )" + +DOCS=( CHANGES README docs/FEATURES.md docs/INTERNALS.md \ + docs/FAQ docs/BUGS.md docs/CONTRIBUTE.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/curl/curlbuild.h +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/curl-config +) + +src_prepare() { + eapply "${FILESDIR}"/${PN}-7.30.0-prefix.patch + eapply "${FILESDIR}"/${PN}-respect-cflags-3.patch + eapply "${FILESDIR}"/${PN}-fix-gnutls-nettle.patch + + sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241 + sed -i '/CURL_MAC_CFLAGS/d' configure.ac || die #637252 + + eapply_user + eprefixify curl-config.in + eautoreconf +} + +multilib_src_configure() { + # We make use of the fact that later flags override earlier ones + # So start with all ssl providers off until proven otherwise + # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) + local myconf=() + + myconf+=( --without-gnutls --without-mbedtls --without-nss --without-polarssl --without-ssl --without-winssl ) + myconf+=( --without-ca-fallback --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt ) + #myconf+=( --without-default-ssl-backend ) + if use ssl ; then + if use gnutls || use curl_ssl_gnutls; then + einfo "SSL provided by gnutls" + myconf+=( --with-gnutls --with-nettle ) + fi + if use mbedtls || use curl_ssl_mbedtls; then + einfo "SSL provided by mbedtls" + myconf+=( --with-mbedtls ) + fi + if use nss || use curl_ssl_nss; then + einfo "SSL provided by nss" + myconf+=( --with-nss ) + fi + if use openssl || use curl_ssl_openssl || use curl_ssl_libressl; then + einfo "SSL provided by openssl" + myconf+=( --with-ssl --with-ca-path="${EPREFIX}"/etc/ssl/certs ) + fi + if use winssl || use curl_ssl_winssl; then + einfo "SSL provided by Windows" + myconf+=( --with-winssl ) + fi + + if use curl_ssl_gnutls; then + einfo "Default SSL provided by gnutls" + myconf+=( --with-default-ssl-backend=gnutls ) + elif use curl_ssl_libressl; then + einfo "Default SSL provided by LibreSSL" + myconf+=( --with-default-ssl-backend=openssl ) # NOTE THE HACK HERE + elif use curl_ssl_mbedtls; then + einfo "Default SSL provided by mbedtls" + myconf+=( --with-default-ssl-backend=mbedtls ) + elif use curl_ssl_nss; then + einfo "Default SSL provided by nss" + myconf+=( --with-default-ssl-backend=nss ) + elif use curl_ssl_openssl; then + einfo "Default SSL provided by openssl" + myconf+=( --with-default-ssl-backend=openssl ) + elif use curl_ssl_winssl; then + einfo "Default SSL provided by Windows" + myconf+=( --with-default-ssl-backend=winssl ) + else + eerror "We can't be here because of REQUIRED_USE." + fi + + else + einfo "SSL disabled" + fi + + # These configuration options are organized alphabetically + # within each category. This should make it easier if we + # ever decide to make any of them contingent on USE flags: + # 1) protocols first. To see them all do + # 'grep SUPPORT_PROTOCOLS configure.ac' + # 2) --enable/disable options second. + # 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort + # 3) --with/without options third. + # grep -- --with configure | grep Check | awk '{ print $4 }' | sort + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable alt-svc) \ + --enable-crypto-auth \ + --enable-dict \ + --disable-ech \ + --enable-file \ + $(use_enable ftp) \ + $(use_enable gopher) \ + $(use_enable hsts) \ + --enable-http \ + $(use_enable imap) \ + $(use_enable ldap) \ + $(use_enable ldap ldaps) \ + --disable-mqtt \ + --disable-ntlm-wb \ + $(use_enable pop3) \ + --enable-rt \ + --enable-rtsp \ + $(use_enable samba smb) \ + $(use_with ssh libssh2) \ + $(use_enable smtp) \ + $(use_enable telnet) \ + $(use_enable tftp) \ + --enable-tls-srp \ + $(use_enable adns ares) \ + --enable-cookies \ + --enable-dateparse \ + --enable-dnsshuffle \ + --enable-doh \ + --disable-get-easy-options \ + --enable-hidden-symbols \ + --enable-http-auth \ + $(use_enable ipv6) \ + --enable-largefile \ + --enable-manual \ + --enable-mime \ + --enable-netrc \ + $(use_enable progress-meter) \ + --enable-proxy \ + --disable-sspi \ + --disable-socketpair \ + $(use_enable static-libs static) \ + $(use_enable threads threaded-resolver) \ + $(use_enable threads pthreads) \ + --disable-versioned-symbols \ + --without-amissl \ + --without-bearssl \ + --without-cyassl \ + --without-darwinssl \ + --without-fish-functions-dir \ + $(use_with idn libidn2) \ + $(use_with kerberos gssapi "${EPREFIX}"/usr) \ + $(use_with metalink libmetalink) \ + $(use_with http2 nghttp2) \ + --without-libpsl \ + $(use_with nghttp3) \ + $(use_with nghttp3 ngtcp2) \ + $(use_with quiche) \ + $(use_with rtmp librtmp) \ + $(use_with brotli) \ + --without-schannel \ + --without-secure-transport \ + --without-spnego \ + --without-winidn \ + --without-wolfssl \ + --with-zlib \ + $(use_with zstd) \ + "${myconf[@]}" + + if ! multilib_is_native_abi; then + # avoid building the client + sed -i -e '/SUBDIRS/s:src::' Makefile || die + sed -i -e '/SUBDIRS/s:scripts::' Makefile || die + fi + + # Fix up the pkg-config file to be more robust. + # https://github.com/curl/curl/issues/864 + local priv=() libs=() + # We always enable zlib. + libs+=( "-lz" ) + priv+=( "zlib" ) + if use http2; then + libs+=( "-lnghttp2" ) + priv+=( "libnghttp2" ) + fi + if use quiche; then + libs+=( "-lquiche" ) + priv+=( "quiche" ) + fi + if use nghttp3; then + libs+=( "-lnghttp3" "-lngtcp2" ) + priv+=( "libnghttp3" "-libtcp2" ) + fi + if use ssl && use curl_ssl_openssl; then + libs+=( "-lssl" "-lcrypto" ) + priv+=( "openssl" ) + fi + grep -q Requires.private libcurl.pc && die "need to update ebuild" + libs=$(printf '|%s' "${libs[@]}") + sed -i -r \ + -e "/^Libs.private/s:(${libs#|})( |$)::g" \ + libcurl.pc || die + echo "Requires.private: ${priv[*]}" >> libcurl.pc +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete + rm -rf "${ED}"/etc/ +} diff --git a/net-misc/curl/metadata.xml b/net-misc/curl/metadata.xml index 522e710461d4..63b3c101efac 100644 --- a/net-misc/curl/metadata.xml +++ b/net-misc/curl/metadata.xml @@ -11,6 +11,7 @@ <flag name="ftp">Enable FTP support</flag> <flag name="gnutls">Enable gnutls ssl backend</flag> <flag name="gopher">Enable Gopher protocol support</flag> + <flag name="hsts">Enable HTTP Strict Transport Security</flag> <flag name="http2">Enable HTTP/2.0 support</flag> <flag name="imap">Enable Internet Message Access Protocol support</flag> <flag name="mbedtls">Enable mbedtls ssl backend</flag> diff --git a/net-misc/openssh/openssh-8.4_p1-r2.ebuild b/net-misc/openssh/openssh-8.4_p1-r2.ebuild index 4122763052b2..b2de02f38d42 100644 --- a/net-misc/openssh/openssh-8.4_p1-r2.ebuild +++ b/net-misc/openssh/openssh-8.4_p1-r2.ebuild @@ -85,7 +85,7 @@ RDEPEND=" " DEPEND="${RDEPEND} virtual/os-headers - kernel_linux? ( >=sys-kernel/linux-headers-5.1 ) + kernel_linux? ( !prefix-guest? ( >=sys-kernel/linux-headers-5.1 ) ) static? ( ${LIB_DEPEND} ) " RDEPEND="${RDEPEND} diff --git a/net-print/gutenprint/gutenprint-5.3.3-r2.ebuild b/net-print/gutenprint/gutenprint-5.3.3-r2.ebuild index 028bb3c75977..1ec540f559d5 100644 --- a/net-print/gutenprint/gutenprint-5.3.3-r2.ebuild +++ b/net-print/gutenprint/gutenprint-5.3.3-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~sparc x86" +KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="cups gimp gtk nls readline ppds static-libs" REQUIRED_USE="gimp? ( gtk )" diff --git a/profiles/package.mask/00-gentoo b/profiles/package.mask/00-gentoo index da87b4380f4f..dc035a41fffe 100644 --- a/profiles/package.mask/00-gentoo +++ b/profiles/package.mask/00-gentoo @@ -32,6 +32,11 @@ #--- END OF EXAMPLES --- +# Lars Wendler <polynomial-c@gentoo.org> (2020-12-09) +# Masked until most broken packages have been fixed (bug #732648) +>=sys-devel/autoconf-2.70 +>=sys-devel/autoconf-wrapper-14 + # Thomas Deutschmann <whissi@gentoo.org> (2020-12-08) # Fails to validate certificates which have multiple trusted # paths. @@ -500,6 +505,7 @@ gnome-base/orbit >=dev-games/cegui-0.8.7-r100 =dev-games/openscenegraph-openmw-3.4_p20200425-r100 =dev-libs/efl-1.25.1-r10 +>=dev-libs/libpeas-1.26.0-r100 =dev-libs/libprelude-5.2.0-r10 >=dev-libs/libucl-0.8.1-r100 >=dev-lua/busted-2.0.0-r100 @@ -565,10 +571,12 @@ gnome-base/orbit >=games-strategy/s25rttr-0.9.0_pre20200723-r100 >=games-util/slade-3.1.12a-r100 >=mail-filter/imapfilter-2.6.16-r100 +>=mail-filter/rspamd-2.6-r100 >=media-gfx/geeqie-1.5.1-r1 >=media-libs/libquvi-0.9.4-r100 >=media-libs/libquvi-scripts-0.9.20131130-r100 >=media-sound/aqualung-1.1-r100 +>=media-video/aegisub-3.2.2_p20160518-r100 >=media-video/vlc-3.0.11.1-r100 >=net-analyzer/rrdtool-1.7.2-r100 >=net-analyzer/snort-2.9.16-r100 @@ -587,6 +595,7 @@ gnome-base/orbit >=www-servers/lighttpd-1.4.55-r100 >=x11-misc/devilspie2-0.43-r100 >=x11-wm/awesome-4.3-r100 +>=mail-filter/opendkim-2.10.3-r25 # Azamat H. Hackimov <azamat.hackimov@gmail.com> (2020-10-06) # 1.3.3 is broken and failing unittests for net-im/prosody. Bug #746782. diff --git a/sci-libs/cddlib/cddlib-094m.ebuild b/sci-libs/cddlib/cddlib-094m.ebuild new file mode 100644 index 000000000000..73468ab72e6d --- /dev/null +++ b/sci-libs/cddlib/cddlib-094m.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# This should have been dealt with versionator in the direction +# 0.94x -> 094x - now we are screwed. +MY_PV="0.94j" +MY_P="${PN}-${MY_PV}" +DESCRIPTION="C library implementing the Double Description Method" +HOMEPAGE="https://www.inf.ethz.ch/personal/fukudak/cdd_home/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs tools" + +DEPEND="dev-libs/gmp:0" +RDEPEND="dev-libs/gmp:0=" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if ! use tools; then + rm "${ED}"/usr/bin/* || die + fi + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + # Nobody wants the dvi/ps manual... + rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die + + # since the PDF manual is installed by default. + if ! use doc; then + rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die + fi + + # The docs and examples are *both* installed by default, so we + # have to remove the examples if the user doesn't want them. + docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} + if ! use examples; then + rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die + fi +} diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest index 1fc391846d55..7ba340960fc8 100644 --- a/sci-libs/geos/Manifest +++ b/sci-libs/geos/Manifest @@ -1 +1,2 @@ DIST geos-3.8.1.tar.bz2 2505407 BLAKE2B 43053ea9e29d190f41c37d5d382b689ef477e0256cfd5705f4f2f316cac21a1674660bcf0900c51db72909c41d46be7a41d297958de48e108ae6d6bd1ca9d247 SHA512 1d8d8b3ece70eb388ea128f4135c7455899f01828223b23890ad3a2401e27104efce03987676794273a9b9d4907c0add2be381ff14b8420aaa9a858cc5941056 +DIST geos-3.9.0.tar.bz2 4760200 BLAKE2B f4d610ac4693fea1c10bbb3b9d328b3d4eded15efc740cb1577a516f399f23e42e22d88130479d94722a2867c1b787c7c266d5e976ec823ea17f63045db2ae54 SHA512 518be112b2e05063d97c09d0e568b784e6c65b0a7be1368cefbd481b3f4ac2d8fc89611e6e205a95f4d1740ab4f47b3929fb4c801bcf9a9e9b6ae86a54e62933 diff --git a/sci-libs/geos/geos-3.9.0.ebuild b/sci-libs/geos/geos-3.9.0.ebuild new file mode 100644 index 000000000000..dd73711e579f --- /dev/null +++ b/sci-libs/geos/geos-3.9.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Geometry engine library for Geographic Information Systems" +HOMEPAGE="https://trac.osgeo.org/geos/" +SRC_URI="http://download.osgeo.org/geos/${PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="doc ruby static-libs" + +BDEPEND=" + doc? ( app-doc/doxygen ) + ruby? ( dev-lang/swig:0 ) +" +RDEPEND=" + ruby? ( dev-lang/ruby:* ) +" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +src_prepare() { + default + echo "#!${EPREFIX}/bin/bash" > py-compile +} + +src_configure() { + local myeconfargs=( + --disable-python + $(use_enable ruby) + $(use_enable static-libs static) + ) + use arm && myeconfargs+=( --disable-inline ) # bug 709368 + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + use doc && emake -C doc doxygen-html +} + +src_install() { + use doc && local HTML_DOCS=( doc/doxygen_docs/html/. ) + default + + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest index 59ca51164e9d..1f08c67c17f1 100644 --- a/sci-libs/proj/Manifest +++ b/sci-libs/proj/Manifest @@ -1,3 +1,4 @@ DIST proj-7.0.1.tar.gz 5312488 BLAKE2B 421a3b5324ab7c952a8b45036e6db2c8cfc1fd2db3d050d2e644cb1c1c78fe669a20c6d8428debf75233a975a989e3ad2ce6a83cd944825641ffd3107cc44a02 SHA512 034d1b916980c80fe9f8e67d2897814e611920af3e852f152fcd9e3fc4ec8cbc39bbd8f8296949a3c3f5e6708bb9d84e61c4cba9c01476a3888448135e97dc33 +DIST proj-7.1.1.tar.gz 5509592 BLAKE2B f745df3ef276b8a3213aff5ed92890f9c8f4b82a61a1e55fd013925befb018f01d7e60264dc996ea5aa9630b3ee3c149a7f37ca87d89c9df2f29367d4b26b19b SHA512 9f092318835006ffe864bb54ac456054196d30ff367546b41f1e49a5f1cc99a4b0b19e3d09c0ce7a336d1562df5784805560e7f725380411b1013a6baf90cf56 DIST proj-datumgrid-1.8.tar.gz 6604329 BLAKE2B 78df259a811a79457d011b4f675f1a72b6613928bb0083d01bfe65bb4c333628725b300efdb7cf10ebc6f26ff03733886c20f25c7aef80875e81e59bda9fd7d3 SHA512 23153f5b57d210e37cd6e9e0fced23bdabb1c67476e9fb50eb83a68ae066a5c3675822472f5d558d10ddf36ac1d73d538b75304d112a1bfcd8d0bbd26c6481a5 DIST proj-datumgrid-europe-1.6.tar.gz 189057258 BLAKE2B 66daf2341b05d8d5f929f6d67e1913656c2380a3663b4359cb97576ff5954dbea5890862869bb1077f6cde760dada4d9f13201c5b2c29ef3458a8b43089e459c SHA512 463d2575d5ce6f5984e69897c34ef80ec31a77f5ba00a07a5f55e97c3033dbae40b7d17891e5495bc47e6faf917968b1cdb7b3be9b2a4838e3b093b74753c2a8 diff --git a/sci-libs/proj/proj-7.1.1.ebuild b/sci-libs/proj/proj-7.1.1.ebuild new file mode 100644 index 000000000000..5a90105f20d9 --- /dev/null +++ b/sci-libs/proj/proj-7.1.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DATUMGRID="${PN}-datumgrid-1.8.tar.gz" +EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.tar.gz" + +DESCRIPTION="PROJ coordinate transformation software" +HOMEPAGE="https://proj4.org/" +SRC_URI=" + https://download.osgeo.org/proj/${P}.tar.gz + https://download.osgeo.org/proj/${DATUMGRID} + europe? ( https://download.osgeo.org/proj/${EUROPE_DATUMGRID} ) +" + +LICENSE="MIT" +SLOT="0/19" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="curl europe static-libs test +tiff" +REQUIRED_USE="test? ( !europe )" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-db/sqlite:3 + curl? ( net-misc/curl ) + tiff? ( media-libs/tiff ) +" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}"/data || die + mv README README.DATA || die + unpack ${DATUMGRID} + use europe && unpack ${EUROPE_DATUMGRID} +} + +src_configure() { + econf \ + $(use_with curl) \ + $(use_enable static-libs static) \ + $(use_enable tiff) +} + +src_install() { + default + cd data || die + dodoc README.{DATA,DATUMGRID} + use europe && dodoc README.EUROPE + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/sys-apps/usbutils/usbutils-013.ebuild b/sys-apps/usbutils/usbutils-013.ebuild index c3ab323066ff..8e91220c8f0b 100644 --- a/sys-apps/usbutils/usbutils-013.ebuild +++ b/sys-apps/usbutils/usbutils-013.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.0.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.0.ebuild new file mode 100644 index 000000000000..0c60e4a0143a --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.20.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module systemd + +DESCRIPTION="Kubernetes API server" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +COMMON_DEPEND=" + acct-group/kube-apiserver + acct-user/kube-apiserver" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.20.0.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.20.0.ebuild new file mode 100644 index 000000000000..7ebd21720e51 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.20.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +COMMON_DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kube-proxy/Manifest +++ b/sys-cluster/kube-proxy/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kube-proxy/kube-proxy-1.20.0.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.20.0.ebuild new file mode 100644 index 000000000000..2bf8b1a469e1 --- /dev/null +++ b/sys-cluster/kube-proxy/kube-proxy-1.20.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Kubernetes Proxy service" +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +RDEPEND="net-firewall/conntrack-tools + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /var/log/${PN} /var/lib/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} +} diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.20.0.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.20.0.ebuild new file mode 100644 index 000000000000..177edc1feff5 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.20.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Kubernetes Scheduler" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +COMMON_DEPEND="acct-group/kube-scheduler + acct-user/kube-scheduler" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kubeadm/kubeadm-1.20.0.ebuild b/sys-cluster/kubeadm/kubeadm-1.20.0.ebuild new file mode 100644 index 000000000000..192287ce82c9 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.20.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +RDEPEND="!sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +} diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kubectl/kubectl-1.20.0.ebuild b/sys-cluster/kubectl/kubectl-1.20.0.ebuild new file mode 100644 index 000000000000..716d7d53396c --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.20.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI to run commands against Kubernetes clusters" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +DEPEND="!sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +} diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 5403b49246ca..c8f490913ad0 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b diff --git a/sys-cluster/kubelet/kubelet-1.20.0.ebuild b/sys-cluster/kubelet/kubelet-1.20.0.ebuild new file mode 100644 index 000000000000..03f40ee62ef0 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.20.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd + +DESCRIPTION="Kubernetes Node Agent" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +RDEPEND="!sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test " +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/kubernetes + newins "${FILESDIR}"/${PN}.env ${PN}.env +} diff --git a/sys-devel/autoconf-wrapper/autoconf-wrapper-14_pre3.ebuild b/sys-devel/autoconf-wrapper/autoconf-wrapper-14.ebuild index f2ed66df32cd..f2ed66df32cd 100644 --- a/sys-devel/autoconf-wrapper/autoconf-wrapper-14_pre3.ebuild +++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-14.ebuild diff --git a/sys-devel/autoconf-wrapper/files/ac-wrapper-14_pre3.sh b/sys-devel/autoconf-wrapper/files/ac-wrapper-14.sh index 177d2c641f15..b3e72c847d74 100644 --- a/sys-devel/autoconf-wrapper/files/ac-wrapper-14_pre3.sh +++ b/sys-devel/autoconf-wrapper/files/ac-wrapper-14.sh @@ -79,7 +79,7 @@ fi # Start at last known unstable/stable versions to speed up lookup process. # if [ -z "${KNOWN_AUTOCONF}" ] ; then - KNOWN_AUTOCONF="2.70_beta4:2.5 2.69:2.5" + KNOWN_AUTOCONF="2.70:2.5 2.69:2.5" fi vers="${KNOWN_AUTOCONF} 9999:2.5 $(printf '2.%s:2.5 ' `seq 99 -1 59`) 2.13:2.1" diff --git a/sys-devel/autoconf/Manifest b/sys-devel/autoconf/Manifest index af16f06d7dd2..0cdbace1c304 100644 --- a/sys-devel/autoconf/Manifest +++ b/sys-devel/autoconf/Manifest @@ -2,4 +2,4 @@ DIST autoconf-2.13.tar.gz 443844 BLAKE2B ade10f9d4a0b1a0e8b752eee817cfe100d77b07 DIST autoconf-2.64.tar.xz 1113892 BLAKE2B 598873209a67725150cd4cf09c4b78b26b3d1782f259846da48dc8106a1d32ae2b24f3a864c3be0e9e8dc7d6b6ca8781b83ff33a691c88e68391d1ea861ccf23 SHA512 ee4b504447c14a59b849d0915e55a90522cfb071d1583af2bd3575e5a05d7bd290e55e0e9d0760c8f36043f926199fc2d962b559d27d2f95c70d0e147b4ad0a3 DIST autoconf-2.69-runstatedir_patches.tar.xz 257096 BLAKE2B ae765e0ca7fe8261117f6f6b75611c232fc3d4016c22c86346afa72f2b7e6c3b7ccc1f9dfe134b2443f8bde6d578b503d79cf88472f76ce75b6c2e843ef55b8e SHA512 55f93299fe5243151f6bb782986a7935270f06d5065929f4d365a37aba05703e3ce66ecf7981d30413db50ee6b4f77d81d10a71b539c8a366c5c5a156c5443da DIST autoconf-2.69.tar.xz 1214744 BLAKE2B 71d33d72a06e9a05fbed0eda73bc9d8a3805c7c90bf082959862f93f3c5f01192114176e84d84ecb58fa99512eafbc0ab21ad1407be18c8c63bb3dc1117c482d SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b -DIST autoconf-2.70_beta4.tar.xz 1338832 BLAKE2B 20c801e67d5aa811f0ae18dd0b5f90b843f017a584387a655541215e29f65b2c1e0145d3f436f9a9b9a5f5e35c94e52ed865e0db5b3b0c36c0e6f312e504b6e5 SHA512 e4de63c8be4736a3f864c75d3175b190067a543013935d1be1448060502c1f4c45258619dbf5d80ece96d8a0b5754a664ed084359234a427a3a08082ce12f1af +DIST autoconf-2.70.tar.xz 1346528 BLAKE2B 7a14f966f1fb89a250aedb03d483ab1f92d73a7085bc289094b62984620563922d041e717274270af0afaf52f058b4c6402c1af14cce58d70d5d884414797c80 SHA512 af4af6b8811baa424c00990b368a6cbfb1d598dde9ee08dce2a5fc32cb9517e6e683a59d6852507f6a72d499fc298c4171b6f06962cf3ba40cf1557cfb6069fe diff --git a/sys-devel/autoconf/autoconf-2.70_beta4.ebuild b/sys-devel/autoconf/autoconf-2.70.ebuild index c11bf9d76d58..94c959125e22 100644 --- a/sys-devel/autoconf/autoconf-2.70_beta4.ebuild +++ b/sys-devel/autoconf/autoconf-2.70.ebuild @@ -7,7 +7,8 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git" inherit git-r3 else - MY_PV="2.69e" + # For _beta handling replace with real version number + MY_PV="${PV}" MY_P="${PN}-${MY_PV}" SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz" @@ -28,8 +29,9 @@ IUSE="emacs" BDEPEND=">=sys-devel/m4-1.4.16 >=dev-lang/perl-5.6" RDEPEND="${BDEPEND} - !~sys-devel/${P}:2.5 - ~sys-devel/autoconf-wrapper-14_pre3" + >=sys-devel/autoconf-wrapper-14 + sys-devel/gnuconfig + !~sys-devel/${P}:2.5" [[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3" PDEPEND="emacs? ( app-emacs/autoconf-mode )" @@ -48,3 +50,13 @@ src_prepare() { # We already have an up to date autoconf.info page at this point. touch -r doc/{old_,}autoconf.texi || die } + +src_install() { + default + + local f + for f in config.{guess,sub} ; do + ln -fs ../../gnuconfig/${f} \ + "${ED}"/usr/share/autoconf-*/build-aux/${f} || die + done +} diff --git a/sys-devel/autoconf/autoconf-9999.ebuild b/sys-devel/autoconf/autoconf-9999.ebuild index 155a08e8f7a1..f3b786e014a7 100644 --- a/sys-devel/autoconf/autoconf-9999.ebuild +++ b/sys-devel/autoconf/autoconf-9999.ebuild @@ -24,8 +24,9 @@ IUSE="emacs" BDEPEND=">=sys-devel/m4-1.4.16 >=dev-lang/perl-5.6" RDEPEND="${BDEPEND} - !~sys-devel/${P}:2.5 - >=sys-devel/autoconf-wrapper-13" + >=sys-devel/autoconf-wrapper-14 + sys-devel/gnuconfig + !~sys-devel/${P}:2.5" [[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3" PDEPEND="emacs? ( app-emacs/autoconf-mode )" @@ -41,3 +42,13 @@ src_prepare() { toolchain-autoconf_src_prepare } + +src_install() { + default + + local f + for f in config.{guess,sub} ; do + ln -fs ../../gnuconfig/${f} \ + "${ED}"/usr/share/autoconf-*/build-aux/${f} || die + done +} diff --git a/sys-devel/gcc/gcc-9.3.0-r2.ebuild b/sys-devel/gcc/gcc-9.3.0-r2.ebuild index 22021e4ce4af..d5204e8c95a9 100644 --- a/sys-devel/gcc/gcc-9.3.0-r2.ebuild +++ b/sys-devel/gcc/gcc-9.3.0-r2.ebuild @@ -7,7 +7,7 @@ PATCH_VER="4" inherit toolchain -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND="" DEPEND="${RDEPEND} diff --git a/sys-libs/librtas/librtas-2.0.2-r1.ebuild b/sys-libs/librtas/librtas-2.0.2-r1.ebuild index 7c36351e0957..5ea804f00159 100644 --- a/sys-libs/librtas/librtas-2.0.2-r1.ebuild +++ b/sys-libs/librtas/librtas-2.0.2-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ibm-power-utilities/${PN}/archive/v${PV}.tar.gz -> $ LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="ppc ppc64" +KEYWORDS="ppc ppc64 ~ppc64-linux" IUSE="static-libs" src_prepare() { diff --git a/sys-libs/timezone-data/timezone-data-2020d.ebuild b/sys-libs/timezone-data/timezone-data-2020d.ebuild index 119d9ded8bc5..019f2de3dcd8 100644 --- a/sys-libs/timezone-data/timezone-data-2020d.ebuild +++ b/sys-libs/timezone-data/timezone-data-2020d.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.iana.org/time-zones/repository/releases/tzdata${data_ver}.t LICENSE="BSD public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="nls leaps-timezone elibc_FreeBSD zic-slim" DEPEND="nls? ( virtual/libintl )" diff --git a/virtual/libcrypt/libcrypt-1-r1.ebuild b/virtual/libcrypt/libcrypt-1-r1.ebuild index e4ab9cdaf26b..26346878635a 100644 --- a/virtual/libcrypt/libcrypt-1-r1.ebuild +++ b/virtual/libcrypt/libcrypt-1-r1.ebuild @@ -12,8 +12,10 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sp IUSE="+static-libs" RDEPEND=" - elibc_glibc? ( sys-libs/glibc[crypt(+),static-libs(+)?] ) - elibc_musl? ( sys-libs/musl ) - elibc_uclibc? ( sys-libs/uclibc-ng ) + !prefix-guest? ( + elibc_glibc? ( sys-libs/glibc[crypt(+),static-libs(+)?] ) + elibc_musl? ( sys-libs/musl ) + elibc_uclibc? ( sys-libs/uclibc-ng ) + ) elibc_Cygwin? ( sys-libs/cygwin-crypt ) " diff --git a/virtual/libcrypt/libcrypt-2.ebuild b/virtual/libcrypt/libcrypt-2.ebuild index e1ea000ee730..9e060ac3dcd3 100644 --- a/virtual/libcrypt/libcrypt-2.ebuild +++ b/virtual/libcrypt/libcrypt-2.ebuild @@ -12,8 +12,10 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sp IUSE="+static-libs" RDEPEND=" - elibc_glibc? ( sys-libs/libxcrypt[system(-),static-libs(-)?,${MULTILIB_USEDEP}] ) - elibc_musl? ( sys-libs/musl ) - elibc_uclibc? ( sys-libs/uclibc-ng ) + !prefix-guest? ( + elibc_glibc? ( sys-libs/libxcrypt[system(-),static-libs(-)?,${MULTILIB_USEDEP}] ) + elibc_musl? ( sys-libs/musl ) + elibc_uclibc? ( sys-libs/uclibc-ng ) + ) elibc_Cygwin? ( sys-libs/cygwin-crypt ) " diff --git a/x11-apps/fonttosfnt/fonttosfnt-1.2.0.ebuild b/x11-apps/fonttosfnt/fonttosfnt-1.2.0.ebuild index 4fe8dd59d6ea..6f53752cbd69 100644 --- a/x11-apps/fonttosfnt/fonttosfnt-1.2.0.ebuild +++ b/x11-apps/fonttosfnt/fonttosfnt-1.2.0.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit xorg-3 DESCRIPTION="X.Org fonttosfnt application" -KEYWORDS="amd64 arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86" IUSE="" RDEPEND="media-libs/freetype:2 x11-libs/libX11 diff --git a/x11-apps/xkbcomp/xkbcomp-1.4.4.ebuild b/x11-apps/xkbcomp/xkbcomp-1.4.4.ebuild index 6614471437e6..bb7789f4814f 100644 --- a/x11-apps/xkbcomp/xkbcomp-1.4.4.ebuild +++ b/x11-apps/xkbcomp/xkbcomp-1.4.4.ebuild @@ -6,7 +6,7 @@ EAPI=7 inherit xorg-3 DESCRIPTION="XKB keyboard description compiler" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" DEPEND=" >=x11-libs/libX11-1.6.9 diff --git a/x11-apps/xprop/xprop-1.2.5.ebuild b/x11-apps/xprop/xprop-1.2.5.ebuild index 1d09b76ebeea..9d9738913209 100644 --- a/x11-apps/xprop/xprop-1.2.5.ebuild +++ b/x11-apps/xprop/xprop-1.2.5.ebuild @@ -7,7 +7,7 @@ inherit xorg-3 DESCRIPTION="property displayer for X" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" RDEPEND="x11-libs/libX11" DEPEND="${RDEPEND} diff --git a/x11-base/xorg-server/xorg-server-1.20.10.ebuild b/x11-base/xorg-server/xorg-server-1.20.10.ebuild index d36562f2d7ff..1e5b81e88465 100644 --- a/x11-base/xorg-server/xorg-server-1.20.10.ebuild +++ b/x11-base/xorg-server/xorg-server-1.20.10.ebuild @@ -10,7 +10,7 @@ EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git" DESCRIPTION="X.Org X servers" SLOT="0/${PV}" if [[ ${PV} != 9999* ]]; then - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" fi IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" diff --git a/x11-libs/gtk+/gtk+-3.24.24-r1.ebuild b/x11-libs/gtk+/gtk+-3.24.24-r1.ebuild index 252b894c2f53..e4f339007985 100644 --- a/x11-libs/gtk+/gtk+-3.24.24-r1.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.24-r1.ebuild @@ -44,6 +44,7 @@ COMMON_DEPEND=" colord? ( >=x11-misc/colord-0.1.9:0=[${MULTILIB_USEDEP}] ) cups? ( >=net-print/cups-2.0[${MULTILIB_USEDEP}] ) introspection? ( >=dev-libs/gobject-introspection-1.39:= ) + sysprof? ( >=dev-util/sysprof-capture-3.33.2:3[${MULTILIB_USEDEP}] ) wayland? ( >=dev-libs/wayland-1.14.91[${MULTILIB_USEDEP}] >=dev-libs/wayland-protocols-1.17 @@ -66,7 +67,6 @@ COMMON_DEPEND=" " DEPEND="${COMMON_DEPEND} >=sys-devel/gettext-0.19.7[${MULTILIB_USEDEP}] - sysprof? ( >=dev-util/sysprof-capture-3.33.2:3[${MULTILIB_USEDEP}] ) test? ( media-fonts/font-misc-misc media-fonts/font-cursor-misc diff --git a/x11-libs/gtk+/gtk+-3.24.24.ebuild b/x11-libs/gtk+/gtk+-3.24.24.ebuild index 7f419c9caecc..bb71f7877e63 100644 --- a/x11-libs/gtk+/gtk+-3.24.24.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.24.ebuild @@ -44,6 +44,7 @@ COMMON_DEPEND=" colord? ( >=x11-misc/colord-0.1.9:0=[${MULTILIB_USEDEP}] ) cups? ( >=net-print/cups-2.0[${MULTILIB_USEDEP}] ) introspection? ( >=dev-libs/gobject-introspection-1.39:= ) + sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 ) wayland? ( >=dev-libs/wayland-1.14.91[${MULTILIB_USEDEP}] >=dev-libs/wayland-protocols-1.17 @@ -76,7 +77,6 @@ DEPEND="${COMMON_DEPEND} app-text/docbook-xml-dtd:4.3 ) >=sys-devel/gettext-0.19.7[${MULTILIB_USEDEP}] virtual/pkgconfig - sysprof? ( >=dev-util/sysprof-capture-3.33.2:3 ) X? ( x11-base/xorg-proto ) test? ( media-fonts/font-misc-misc diff --git a/x11-libs/libXau/libXau-1.0.9-r1.ebuild b/x11-libs/libXau/libXau-1.0.9-r1.ebuild index cf92719098c7..91ff5f47a0a0 100644 --- a/x11-libs/libXau/libXau-1.0.9-r1.ebuild +++ b/x11-libs/libXau/libXau-1.0.9-r1.ebuild @@ -9,6 +9,6 @@ inherit xorg-3 DESCRIPTION="X.Org X authorization library" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" DEPEND="x11-base/xorg-proto" diff --git a/x11-libs/libXtst/libXtst-1.2.3-r2.ebuild b/x11-libs/libXtst/libXtst-1.2.3-r2.ebuild index 3c196046276d..c1088ef57e8d 100644 --- a/x11-libs/libXtst/libXtst-1.2.3-r2.ebuild +++ b/x11-libs/libXtst/libXtst-1.2.3-r2.ebuild @@ -9,7 +9,7 @@ inherit xorg-3 DESCRIPTION="X.Org Xlib-based client API for the XTEST & RECORD extensions library" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" RDEPEND=">=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] diff --git a/x11-libs/libxshmfence/libxshmfence-1.3-r2.ebuild b/x11-libs/libxshmfence/libxshmfence-1.3-r2.ebuild index 21575c927bae..66b19c6d88e6 100644 --- a/x11-libs/libxshmfence/libxshmfence-1.3-r2.ebuild +++ b/x11-libs/libxshmfence/libxshmfence-1.3-r2.ebuild @@ -8,6 +8,6 @@ inherit xorg-3 DESCRIPTION="Shared memory fences using futexes" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" DEPEND="x11-base/xorg-proto" diff --git a/x11-misc/compose-tables/compose-tables-1.7.0.ebuild b/x11-misc/compose-tables/compose-tables-1.7.0.ebuild index 3897323ede68..029fa93bd7f3 100644 --- a/x11-misc/compose-tables/compose-tables-1.7.0.ebuild +++ b/x11-misc/compose-tables/compose-tables-1.7.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/lib/libX11-${PV}.tar.${XORG_TARBALL_SUFFIX} S="${WORKDIR}/libX11-${PV}/" DESCRIPTION="X.Org Compose Key tables from libX11" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" # Only needed by configure DEPEND=" diff --git a/x11-misc/x11vnc/x11vnc-0.9.16-r4.ebuild b/x11-misc/x11vnc/x11vnc-0.9.16-r4.ebuild index 31f1ea9b8f16..9eb9afc5033f 100644 --- a/x11-misc/x11vnc/x11vnc-0.9.16-r4.ebuild +++ b/x11-misc/x11vnc/x11vnc-0.9.16-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/LibVNC/x11vnc/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+-with-openssl-exception" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="crypt fbcon libressl ssl +xcomposite +xdamage +xfixes xinerama +xrandr zeroconf" COMMON_DEPEND=" diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.31.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.31.ebuild index 7757cb148d6f..215e520d16a7 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-2.31.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.31.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]]; then LIVE_DEPEND=">=x11-misc/util-macros-1.18" else SRC_URI="https://www.x.org/releases/individual/data/${PN}/${P}.tar.bz2" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" fi LICENSE="MIT" diff --git a/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild b/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild index d05f0515940f..544b2ef31062 100644 --- a/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild +++ b/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit gnome2-utils +EAPI=7 +inherit xdg-utils DESCRIPTION="Fallback theme for the freedesktop icon theme specification" HOMEPAGE="https://freedesktop.org/wiki/Software/icon-theme" @@ -11,13 +11,10 @@ SRC_URI="https://icon-theme.freedesktop.org/releases/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" -RDEPEND="" -DEPEND="app-arch/xz-utils" +BDEPEND="app-arch/xz-utils" RESTRICT="binchecks strip" -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } diff --git a/x11-wm/mutter/Manifest b/x11-wm/mutter/Manifest index ab3b70db8b9b..956fe5d467b6 100644 --- a/x11-wm/mutter/Manifest +++ b/x11-wm/mutter/Manifest @@ -1,4 +1,3 @@ DIST mutter-3.36.7-patchset.tar.xz 14232 BLAKE2B 90a289f7012e28607d487fd635b73683e657bfd8792dbf662f8822ac7f096d21add6fcd3b7092e4e82f2130226f5b1ff9afd1e026fec8333680c9b4e4712dea2 SHA512 74e3951358a02c552a45b590360b9a038283e983ff78daf433fea1589ca3e7824f21af3b786a06ba84fb400581dfc4f97f29d259afdaca2ae3e1456a49a96243 DIST mutter-3.36.7.tar.xz 2689176 BLAKE2B a3849b254dbe2029736ef760fe4225e63bf1d87bf2856a87682574904bd047822916485a3e00d2760118132466414b68764731ea4af9add5d734fd7ce3eac730 SHA512 6061cc8a3bdefe57049f9da757b9a33321b28ff7bc9543bc1db3abd75c7261bf233180fb1e8a2f76145dd67ebda91c48981f6e844a866ef6cbb66203af4b7ef7 -DIST mutter-3.38.1.tar.xz 2618944 BLAKE2B 2b7d0baea765a2680e8610553fcf5944af275d4533af61d719ca922c21a400ce771bf7a23093e8fa224453c1fddea6f718b1cfaaac6f079c993cdca5f721bf2d SHA512 55a65d80c886b90da110de69fca8f2c92912b36d6244bd6fcb1e09507469b5d860fa888614a33170b2799574f521ee117fb289a768fa2af5059fe0da51835d31 DIST mutter-3.38.2.tar.xz 2621648 BLAKE2B 93ddeaa8b1c09ac0cd711513cb755eb94b72c1c44a751e2c6656dd3415fcb278d22e92577400df9443ece0e3dd1bc77adc88d1a24d59bb911ce8114e53340cae SHA512 8bd826fdb643bc966f6b7c38ed12cec9806440bf9cf4792cb90aa62dd96d2fd1018be39148ebd4432ba799cfdd30ed5c3952620ca13b9fac933fb0a477c9937a diff --git a/x11-wm/mutter/mutter-3.36.7-r1.ebuild b/x11-wm/mutter/mutter-3.36.7-r1.ebuild index be3ab18050cb..36c9cd5f2f25 100644 --- a/x11-wm/mutter/mutter-3.36.7-r1.ebuild +++ b/x11-wm/mutter/mutter-3.36.7-r1.ebuild @@ -56,6 +56,7 @@ DEPEND=" >=media-libs/libcanberra-0.26 sys-apps/dbus media-libs/mesa[X(+),egl] + sysprof? ( >=dev-util/sysprof-capture-3.35.2:3 ) wayland? ( >=dev-libs/wayland-protocols-1.19 >=dev-libs/wayland-1.13.0 @@ -79,10 +80,7 @@ RDEPEND="${DEPEND} " DEPEND="${DEPEND} x11-base/xorg-proto - sysprof? ( - >=dev-util/sysprof-common-3.35.2 - >=dev-util/sysprof-capture-3.35.2:3 - ) + sysprof? ( >=dev-util/sysprof-common-3.35.2 ) " # wayland bdepend for wayland-scanner, xorg-server for cvt utility BDEPEND=" diff --git a/x11-wm/mutter/mutter-3.38.1-r1.ebuild b/x11-wm/mutter/mutter-3.38.1-r1.ebuild deleted file mode 100644 index 567a541821bc..000000000000 --- a/x11-wm/mutter/mutter-3.38.1-r1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit gnome.org gnome2-utils meson virtualx xdg - -DESCRIPTION="GNOME 3 compositing window manager based on Clutter" -HOMEPAGE="https://gitlab.gnome.org/GNOME/mutter/" - -LICENSE="GPL-2+" -SLOT="0/7" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot - -IUSE="elogind input_devices_wacom +introspection screencast +sysprof systemd test udev wayland" -# native backend requires gles3 for hybrid graphics blitting support, udev and a logind provider -REQUIRED_USE=" - wayland? ( ^^ ( elogind systemd ) udev ) - test? ( wayland )" -RESTRICT="!test? ( test )" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -# gnome-settings-daemon is build checked, but used at runtime only for org.gnome.settings-daemon.peripherals.keyboard gschema -# xorg-server is needed at build and runtime with USE=wayland for Xwayland -# v3.32.2 has many excessive or unused *_req variables declared, thus currently the dep order ignores those and goes via dependency() call order -DEPEND=" - x11-libs/libX11 - >=media-libs/graphene-1.9.3[introspection?] - >=x11-libs/gtk+-3.19.8:3[X,introspection?] - x11-libs/gdk-pixbuf:2 - >=x11-libs/pango-1.30[introspection?] - >=dev-libs/fribidi-1.0.0 - >=x11-libs/cairo-1.14[X] - >=gnome-base/gsettings-desktop-schemas-3.37.2[introspection?] - >=dev-libs/glib-2.61.1:2 - gnome-base/gnome-settings-daemon - >=dev-libs/json-glib-0.12.0[introspection?] - gnome-base/gnome-desktop:3= - >=x11-libs/libXcomposite-0.4 - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - >=x11-libs/libXfixes-3 - >=x11-libs/libXi-1.7.4 - x11-libs/libXtst - x11-libs/libxkbfile - x11-misc/xkeyboard-config - >=x11-libs/libxkbcommon-0.4.3[X] - x11-libs/libXrender - >=x11-libs/libXrandr-1.5.0 - x11-libs/libxcb - x11-libs/libXinerama - x11-libs/libXau - x11-libs/libICE - >=dev-libs/atk-2.5.3[introspection?] - >=media-libs/libcanberra-0.26 - sys-apps/dbus - media-libs/mesa[X(+),egl] - wayland? ( - >=dev-libs/wayland-protocols-1.19 - >=dev-libs/wayland-1.18.0 - x11-libs/libdrm:= - >=media-libs/mesa-17.3[egl,gbm,wayland,gles2] - >=dev-libs/libinput-1.7 - systemd? ( sys-apps/systemd ) - elogind? ( sys-auth/elogind ) - x11-base/xorg-server[wayland] - ) - udev? ( >=dev-libs/libgudev-232:= - >=virtual/libudev-232-r1:= ) - x11-libs/libSM - input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) - >=x11-libs/startup-notification-0.7 - screencast? ( >=media-video/pipewire-0.3.0:0/0.3 ) - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -RDEPEND="${DEPEND} - gnome-extra/zenity -" -DEPEND="${DEPEND} - x11-base/xorg-proto - sysprof? ( - >=dev-util/sysprof-common-3.38.0 - >=dev-util/sysprof-capture-3.38.0:4 - ) -" -# wayland bdepend for wayland-scanner, xorg-server for cvt utility -BDEPEND=" - dev-libs/wayland - dev-util/gdbus-codegen - dev-util/glib-utils - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig - test? ( app-text/docbook-xml-dtd:4.5 ) - wayland? ( >=sys-kernel/linux-headers-4.4 - x11-base/xorg-server ) -" - -src_configure() { - # TODO: Replicate debug vs release meson build type behaviour under our buildtype=plain - local emesonargs=( - -Dopengl=true - #opengl_libname - #gles2_libname - $(meson_use wayland gles2) - -Degl=true - -Dglx=true - $(meson_use wayland) - $(meson_use wayland native_backend) - $(meson_use screencast remote_desktop) - -Degl_device=false # This should be dependent on wayland,video_drivers_nvidia, once eglstream support is there - -Dwayland_eglstream=false # requires packages egl-wayland for wayland-eglstream-protocols.pc - $(meson_use udev) - $(meson_use input_devices_wacom libwacom) - -Dpango_ft2=true - -Dstartup_notification=true - -Dsm=true - $(meson_use introspection) - $(meson_use test cogl_tests) - $(meson_use wayland core_tests) # core tests require wayland; overall -Dtests option is honored on top, so no extra conditional needed - $(meson_use test clutter_tests) - $(meson_use test tests) - $(meson_use sysprof profiler) - -Dinstalled_tests=false - #verbose # Let upstream choose default for verbose mode - #xwayland_path - # TODO: relies on default settings, but in Gentoo we might have some more packages we want to give Xgrab access (mostly virtual managers and remote desktops) - #xwayland_grab_default_access_rules - ) - meson_src_configure -} - -src_test() { - glib-compile-schemas "${BUILD_DIR}"/data - GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/x11-wm/mutter/mutter-3.38.2.ebuild b/x11-wm/mutter/mutter-3.38.2.ebuild index 567a541821bc..de7a8a883a14 100644 --- a/x11-wm/mutter/mutter-3.38.2.ebuild +++ b/x11-wm/mutter/mutter-3.38.2.ebuild @@ -55,6 +55,7 @@ DEPEND=" >=media-libs/libcanberra-0.26 sys-apps/dbus media-libs/mesa[X(+),egl] + sysprof? ( >=dev-util/sysprof-capture-3.38.0:4 ) wayland? ( >=dev-libs/wayland-protocols-1.19 >=dev-libs/wayland-1.18.0 @@ -78,10 +79,7 @@ RDEPEND="${DEPEND} " DEPEND="${DEPEND} x11-base/xorg-proto - sysprof? ( - >=dev-util/sysprof-common-3.38.0 - >=dev-util/sysprof-capture-3.38.0:4 - ) + sysprof? ( >=dev-util/sysprof-common-3.38.0 ) " # wayland bdepend for wayland-scanner, xorg-server for cvt utility BDEPEND=" |
