mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/libpeas: remove old
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST libpeas-1.22.0.tar.xz 561332 BLAKE2B 219918f8663cd60c9353f477ef905ce0d1e21bf5b7c09661c4cb3c8adbba3af9f5e93b9de8a1b098dab09b1f4071854a871c8ea1db878bda8fe9e51aa45e5f87 SHA512 9c1da1d4b5688c0f4d0647f3519dbfbed94c8921091057aaef0e41bf5ed3f8faf04a49ce9e4eea3fd7bf4ac4dfa1727d76a5f6dae2a4f52228d4c8c74b420c91
|
||||
DIST libpeas-1.26.0.tar.xz 191708 BLAKE2B 5845d5cb15724ba933572f48b9056a79cb2c167c7911ff1546c836fe56cd7e49d7461e5a413b79effa64e8e3fb2ed2eb370de665728e476e40ffb4d44c841543 SHA512 86157da14d17c16df2ef3f44ab48822ea1a8be8aec8f5419bc421bd475113f686cd16f9616ac53cbf3dc6f31f521384ac63eb8e9f1a46ea21b5cda8ba21e855f
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
From 3571f4b23abbf5c63e38c82d24a1880fa440499e Mon Sep 17 00:00:00 2001
|
||||
From: Mart Raudsepp <mart@leio.tech>
|
||||
Date: Sat, 15 Feb 2020 23:23:09 +0200
|
||||
Subject: [PATCH] Fix python-3.8 compatibility
|
||||
|
||||
---
|
||||
configure.ac | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index bd561e2..d3d0073 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -442,7 +442,11 @@ else
|
||||
found_python3=yes
|
||||
PYTHON3_BIN="$PYTHON"
|
||||
PYTHON3_CFLAGS=`${PYTHON3_CONFIG} --includes`
|
||||
- PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs`
|
||||
+ if $PYTHON3_CONFIG --embed >/dev/null 2>&1; then
|
||||
+ PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs --embed`
|
||||
+ else
|
||||
+ PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs`
|
||||
+ fi
|
||||
PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags`
|
||||
AC_SUBST(PYTHON3_BIN)
|
||||
AC_SUBST(PYTHON3_CFLAGS)
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
Gentoo currently uses unversioned lua:0 - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 810a288..51ca607 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -305,9 +305,9 @@ else
|
||||
fi
|
||||
|
||||
if test "x$found_lua51" != "xyes"; then
|
||||
- PKG_CHECK_EXISTS([lua5.1 >= $LUA51_REQUIRED], [
|
||||
+ PKG_CHECK_EXISTS([lua >= $LUA51_REQUIRED], [
|
||||
found_lua51=yes
|
||||
- with_lua51=lua5.1
|
||||
+ with_lua51=lua
|
||||
], [
|
||||
found_lua51=no
|
||||
])
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME2_EAUTORECONF="yes"
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit autotools eutils gnome2 multilib python-single-r1 virtualx
|
||||
|
||||
DESCRIPTION="A GObject plugins library"
|
||||
HOMEPAGE="https://developer.gnome.org/libpeas/stable/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="+gtk glade lua luajit +python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=dev-libs/gobject-introspection-1.39:=
|
||||
glade? ( >=dev-util/glade-3.9.1:3.10 )
|
||||
gtk? ( >=x11-libs/gtk+-3:3[introspection] )
|
||||
lua? (
|
||||
>=dev-lua/lgi-0.9.0
|
||||
luajit? ( >=dev-lang/luajit-2:2 )
|
||||
!luajit? ( =dev-lang/lua-5.1*:0 ) )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pygobject-3.2:3[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/glib-utils
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.40
|
||||
virtual/pkgconfig
|
||||
|
||||
dev-libs/gobject-introspection-common
|
||||
gnome-base/gnome-common
|
||||
"
|
||||
# eautoreconf needs gobject-introspection-common, gnome-common
|
||||
|
||||
PATCHES=(
|
||||
# Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1
|
||||
"${FILESDIR}"/${PN}-1.14.0-lua.pc.patch
|
||||
"${FILESDIR}"/${PV}-py38-support.patch # Fix py3.8 support, bug 702810
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
|
||||
# What do we do about gdb, valgrind, gcov, etc?
|
||||
local myconf=(
|
||||
$(use_enable glade glade-catalog)
|
||||
$(use_enable gtk)
|
||||
--disable-static
|
||||
|
||||
# py2 not supported anymore
|
||||
--disable-python2
|
||||
$(use_enable python python3)
|
||||
|
||||
# lua
|
||||
$(use_enable lua lua5.1)
|
||||
$(use_enable $(usex luajit lua luajit) luajit)
|
||||
)
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# This looks fixed since 1.18.0:
|
||||
#
|
||||
# FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
|
||||
# DO NOT REPORT UPSTREAM, this is not a libpeas bug.
|
||||
# To reproduce:
|
||||
# >>> from gi.repository import Gtk
|
||||
# >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
|
||||
# This should return True, it returns False for Xvfb
|
||||
virtx emake check
|
||||
}
|
||||
Reference in New Issue
Block a user