mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-libs/libical: Drop 3.0.8
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST libical-3.0.10.tar.gz 889470 BLAKE2B 990a37cdb6a00c52bab1a10f5899752dc2f9f0f2c3e0ada9e54803007e3db97dcd600544bf45a9a0646631aaf41839a0818b5d70b3e6e305826db2dd1cc30bdb SHA512 e32ccaff9b8a501f340567a1221c580023e4ed79918519bfa88aee2c0e8b62f5ea37e10907f2eb6fbd346a57408708a74e30aaf9a57a8d711eae30ddc974ddd0
|
||||
DIST libical-3.0.8.tar.gz 881462 BLAKE2B e31dd1c823be033abbecd0373af784f1f57e533df56ca91ea467deb02cdda2a719f22882195b639182b85fcf4e59d56229dbf601d2c909c2c91b355c32022622 SHA512 ce015e6d4c1c7cb4af7b45748ce8251c663f80f6a4357ddff6a97796642619abe882f4cadeca10cabeb1b25577869f436da15bca882e032eb3ff0475f6010d8b
|
||||
DIST libical-3.0.9.tar.gz 886500 BLAKE2B 66810ce13d70f9f1da62ff4d4c9dbff4953a644e939f55770cd4ca367293125b47590297b64a4b755cfb11315dfb4e77ad926390cde1c2d16847d24561288750 SHA512 4a9894d82776437cb2ef16df70bffb52da7b4fd57b52a4f6941430b3b1f9830829f0775fb495411f67393581bda1304b54c9f0031bc3d4ada56d2204900cb268
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
From a90657f5bbc5e2eb45fa419e7f43889aeccd4c39 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Fri, 30 Oct 2020 11:24:34 +0100
|
||||
Subject: [PATCH] Fix build with icu-68.1
|
||||
|
||||
icu-68.1 removed public macro definitions for TRUE and FALSE
|
||||
|
||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||
---
|
||||
src/libical/icalrecur.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/libical/icalrecur.c b/src/libical/icalrecur.c
|
||||
index 91522161..159163c5 100644
|
||||
--- a/src/libical/icalrecur.c
|
||||
+++ b/src/libical/icalrecur.c
|
||||
@@ -143,6 +143,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(HAVE_LIBICU)
|
||||
+#include <stdbool.h>
|
||||
#include <unicode/ucal.h>
|
||||
#include <unicode/ustring.h>
|
||||
#else
|
||||
@@ -1079,7 +1080,7 @@ icalarray *icalrecurrencetype_rscale_supported_calendars(void)
|
||||
|
||||
calendars = icalarray_new(sizeof(const char **), 20);
|
||||
|
||||
- en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
|
||||
+ en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status);
|
||||
while ((cal = uenum_next(en, NULL, &status))) {
|
||||
cal = icalmemory_tmp_copy(cal);
|
||||
icalarray_append(calendars, &cal);
|
||||
@@ -1472,7 +1473,7 @@ static int initialize_rscale(icalrecur_iterator *impl)
|
||||
}
|
||||
|
||||
/* Check if specified calendar is supported */
|
||||
- en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
|
||||
+ en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status);
|
||||
while ((cal = uenum_next(en, NULL, &status))) {
|
||||
if (!strcmp(cal, rule.rscale)) {
|
||||
is_hebrew = !strcmp(rule.rscale, "hebrew");
|
||||
--
|
||||
2.29.2
|
||||
@@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
inherit cmake python-any-r1 vala
|
||||
|
||||
DESCRIPTION="An implementation of basic iCAL protocols"
|
||||
HOMEPAGE="https://github.com/libical/libical"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="berkdb doc examples +glib +introspection static-libs test vala"
|
||||
|
||||
REQUIRED_USE="introspection? ( glib ) vala? ( introspection )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
dev-libs/icu:=
|
||||
berkdb? ( sys-libs/db:= )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
glib? ( dev-libs/libxml2:2 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-libs/timezone-data
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO
|
||||
doc/{AddingOrModifyingComponents,UsingLibical}.txt
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.4-tests.patch"
|
||||
"${FILESDIR}/${PN}-3.0.5-pkgconfig-libdir.patch"
|
||||
"${FILESDIR}/${P}-icu-68.patch" # pending upstream PR #448, bug #751928
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
use examples || cmake_comment_add_subdirectory examples
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package berkdb BDB)
|
||||
-DICAL_BUILD_DOCS=$(usex doc)
|
||||
-DICAL_GLIB=$(usex glib)
|
||||
-DGOBJECT_INTROSPECTION=$(usex introspection)
|
||||
-DSHARED_ONLY=$(usex !static-libs)
|
||||
-DLIBICAL_BUILD_TESTING=$(usex test)
|
||||
-DICAL_GLIB_VAPI=$(usex vala)
|
||||
)
|
||||
if use vala; then
|
||||
mycmakeargs+=(
|
||||
-DVALAC="${VALAC}"
|
||||
-DVAPIGEN="${VAPIGEN}"
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_src_compile docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
-E "(icalrecurtest|icalrecurtest-r)" # bug 660282
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. )
|
||||
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
rm examples/CMakeLists.txt || die
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user