Skip to content

Commit

Permalink
x11-fonts/font-manager: Attempt to fix build order bug (D29353)
Browse files Browse the repository at this point in the history
Uncovered while building with devel/samurai but can probably also
happen with ninja eventually.

error: Package `Unicode-0.8.5' not found in specified Vala API directories or GObject-Introspection GIR directories
samu: subcommand failed

http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-04-04_07h39m29s/logs/errors/font-manager-0.8.5.log

While here also remove explicit ninja dependency.  It is already
pulled in through meson.

PR:		254678
Obtained from:	upstream
  • Loading branch information
Tobias Kortkamp authored and Tobias Kortkamp committed Apr 7, 2021
1 parent 01979e7 commit ebb0dd9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion x11-fonts/font-manager/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= cmake:devel/cmake \
itstool:textproc/itstool \
ninja:devel/ninja \
valac:lang/vala \
yelp-build:textproc/yelp-tools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
Expand Down
23 changes: 23 additions & 0 deletions x11-fonts/font-manager/files/patch-lib_common_meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 3ad5cc842b90614d8c06d4a4a7428b906a982aea Mon Sep 17 00:00:00 2001
From: Jerry Casiano <JerryCasiano@gmail.com>
Date: Wed, 24 Mar 2021 17:47:23 -0400
Subject: [PATCH] - Proper fix for Issue #208

--- lib/common/meson.build.orig 2021-03-22 22:35:30 UTC
+++ lib/common/meson.build
@@ -71,7 +71,7 @@ common_vapi = gnome.generate_vapi('font-manager-common
sources: [
common_gir[0],
unicode_gir[0],
- 'font-manager-common.vala'
+ 'font-manager-common.vala',
],
vapi_dirs: [
meson.current_build_dir(),
@@ -87,5 +87,5 @@ common_vapi = gnome.generate_vapi('font-manager-common
'json-glib-1.0',
'libxml-2.0',
'sqlite3',
- 'Unicode-@0@'.format(meson.project_version())
+ unicode_vapi
])

0 comments on commit ebb0dd9

Please sign in to comment.