Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 740940 Details for
Bug 791034
games-emulation/pcsxr-1.9.94_p20190306-r1 fails to compile: pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for harfbuzz dependency
pango-harfbuzz.patch (text/plain), 2.04 KB, created by
Spica
on 2021-09-23 20:56:53 UTC
(
hide
)
Description:
patch for harfbuzz dependency
Filename:
MIME Type:
Creator:
Spica
Created:
2021-09-23 20:56:53 UTC
Size:
2.04 KB
patch
obsolete
>new file mode 100644 >--- /dev/null >+++ b/cmake/FindHarfBuzz.cmake >@@ -0,0 +1,65 @@ >+# https://raw.githubusercontent.com/SFTtech/openage/master/buildsystem/modules/FindHarfBuzz.cmake >+# Copyright 2015-2016 the openage authors. See copying.md for legal info. >+ >+# FindHarfBuzz >+# --------- >+# >+# Locate HarfBuzz, the awesome text shaping library. >+# >+# The module defines the following variables: >+# >+# :: >+# >+# HarfBuzz_FOUND - Found HarfBuzz library >+# HarfBuzz_INCLUDE_DIRS - HarfBuzz include directories >+# HarfBuzz_LIBRARIES - The libraries needed to use HarfBuzz >+# HarfBuzz_VERSION_STRING - the version of HarfBuzz found >+# >+# Example Usage: >+# >+# :: >+# >+# find_package(HarfBuzz REQUIRED) >+# include_directories(${HarfBuzz_INCLUDE_DIRS}) >+# >+# :: >+# >+# add_executable(foo foo.cc) >+# target_link_libraries(foo ${HarfBuzz_LIBRARIES}) >+ >+find_path(HarfBuzz_INCLUDE_DIR hb.h >+ PATH_SUFFIXES >+ harfbuzz >+) >+ >+find_library(HarfBuzz_LIBRARY >+ NAMES harfbuzz libharfbuzz >+ PATH_SUFFIXES lib64 lib >+) >+ >+if(HarfBuzz_INCLUDE_DIR) >+ set(HarfBuzz_VERSION_FILE "${HarfBuzz_INCLUDE_DIR}/harfbuzz/hb-version.h") >+ if(EXISTS "${HarfBuzz_VERSION_FILE}") >+ file(STRINGS "${HarfBuzz_VERSION_FILE}" hb_version_str >+ REGEX "^#define[\t ]+HB_VERSION_STRING[\t ]+\".*\"") >+ >+ string(REGEX REPLACE "^#define[\t ]+HB_VERSION_STRING[\t ]+\"([^\"]*)\".*" "\\1" >+ HarfBuzz_VERSION_STRING "${hb_version_str}") >+ unset(hb_version_str) >+ endif() >+ unset(HarfBuzz_VERSION_FILE) >+endif() >+ >+include(FindPackageHandleStandardArgs) >+find_package_handle_standard_args(HarfBuzz >+ FOUND_VAR HarfBuzz_FOUND >+ REQUIRED_VARS HarfBuzz_LIBRARY HarfBuzz_INCLUDE_DIR >+ VERSION_VAR HarfBuzz_VERSION_STRING >+) >+ >+if(HarfBuzz_FOUND) >+ set(HarfBuzz_INCLUDE_DIRS "${HarfBuzz_INCLUDE_DIR}") >+ set(HarfBuzz_LIBRARIES "${HarfBuzz_LIBRARY}") >+endif() >+ >+mark_as_advanced(HarfBuzz_INCLUDE_DIR HarfBuzz_LIBRARY) >--- a/cmake/FindPango.cmake >+++ b/cmake/FindPango.cmake >@@ -30,6 +30,7 @@ > find_package(PkgConfig) > > set(Pango_DEPS >+ HarfBuzz > GLib) > > if(PKG_CONFIG_FOUND)
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 791034
:
709755
| 740940