Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 679515 Details for
Bug 761730
dev-libs/libical: support cross-compiling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix.patch
0001-dev-libs-libical-support-cross-compiling.patch (text/plain), 1.81 KB, created by
David Michael
on 2020-12-26 03:57:53 UTC
(
hide
)
Description:
fix.patch
Filename:
MIME Type:
Creator:
David Michael
Created:
2020-12-26 03:57:53 UTC
Size:
1.81 KB
patch
obsolete
>From 67373642b6dbe86fd02ff9b99a062b04a60e602d Mon Sep 17 00:00:00 2001 >From: David Michael <fedora.dm0@gmail.com> >Date: Fri, 25 Dec 2020 22:56:54 -0500 >Subject: [PATCH] dev-libs/libical: support cross-compiling > >It must build the src-generator program natively, which requires >installing glib and libxml2 with BDEPEND. > >Closes: https://bugs.gentoo.org/761730 >Package-Manager: Portage-3.0.9, Repoman-3.0.2 >Signed-off-by: David Michael <fedora.dm0@gmail.com> >--- > dev-libs/libical/libical-3.0.8.ebuild | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) > >diff --git a/dev-libs/libical/libical-3.0.8.ebuild b/dev-libs/libical/libical-3.0.8.ebuild >index 376befd62e0..b6c4fce5b11 100644 >--- a/dev-libs/libical/libical-3.0.8.ebuild >+++ b/dev-libs/libical/libical-3.0.8.ebuild >@@ -5,7 +5,7 @@ EAPI=7 > > PYTHON_COMPAT=( python3_{6,7,8} ) > VALA_USE_DEPEND="vapigen" >-inherit cmake python-any-r1 vala >+inherit cmake python-any-r1 toolchain-funcs vala > > DESCRIPTION="An implementation of basic iCAL protocols" > HOMEPAGE="https://github.com/libical/libical" >@@ -24,6 +24,10 @@ BDEPEND=" > dev-lang/perl > virtual/pkgconfig > doc? ( app-doc/doxygen ) >+ glib? ( >+ dev-libs/glib:2 >+ dev-libs/libxml2:2 >+ ) > introspection? ( dev-libs/gobject-introspection ) > test? ( ${PYTHON_DEPS} ) > vala? ( $(vala_depend) ) >@@ -81,6 +85,16 @@ src_configure() { > } > > src_compile() { >+ if tc-is-cross-compiler; then >+ cmake_src_compile bin/src-generator >+ $(tc-getBUILD_CC) \ >+ ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \ >+ $($(tc-getBUILD_PKG_CONFIG) --cflags --libs glib-2.0) \ >+ $($(tc-getBUILD_PKG_CONFIG) --cflags --libs libxml-2.0) \ >+ -o "${BUILD_DIR}/bin/src-generator" \ >+ src/libical-glib/tools/generator.c \ >+ src/libical-glib/tools/xml-parser.c >+ fi > cmake_src_compile > use doc && cmake_src_compile docs > } >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 761730
: 679515