🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Mon, 12 Oct 2026 17:20
Bug#1150717: libayatana-appindicator-glib FTCBFS: uses the build architecture vapigen
#606
Author: Helmut Grohne
Date: Mon, 12 Oct 2026 17:20
43 lines
3108 bytes
--UUCtt7fDbS4glZHR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: libayatana-appindicator-glib
Version: 2.0.3-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libayatana-appindicator-glib fails to cross build from source, because
its upstream build system hard codes the build architecture vapigen. It
correctly discovers the host's vapigen.pc package configuration, but
does not consume the provided vapigen location to discover the correct
vapigen executable path. I'm attaching a patch that correct this. Please
consider applying it and forwarding it upstream as it makes
libayatana-appindicator-glib cross buildable.

Helmut

--UUCtt7fDbS4glZHR
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"

--- libayatana-appindicator-glib-2.0.3.orig/bindings/vala/CMakeLists.txt
+++ libayatana-appindicator-glib-2.0.3/bindings/vala/CMakeLists.txt
@@ -6,7 +6,12 @@
 
 find_package(PkgConfig REQUIRED)
 pkg_check_modules(Vala REQUIRED vapigen)
-find_program(VAPI_GEN NAMES vapigen)
+pkg_get_variable(_pc_vapigen_executable vapigen vapigen)
+if(_pc_vapigen_executable)
+    set(VAPI_GEN "${_pc_vapigen_executable}")
+else()
+    find_program(VAPI_GEN NAMES vapigen)
+endif()
 
 add_custom_command (
     OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-glib.vapi"

--UUCtt7fDbS4glZHR--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads