Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867148 Details for
Bug 911145
net-im/telegram-desktop-4.8.10 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for version 4.8.10
tdesktop-4.8.10-system-cppgir.patch (text/plain), 1.82 KB, created by
Михаил
on 2023-08-05 13:48:44 UTC
(
hide
)
Description:
Updated patch for version 4.8.10
Filename:
MIME Type:
Creator:
Михаил
Created:
2023-08-05 13:48:44 UTC
Size:
1.82 KB
patch
obsolete
>Use system cppgir > >--- tdesktop-4.8.4-full.orig/cmake/external/glib/CMakeLists.txt >+++ tdesktop-4.8.4-full/cmake/external/glib/CMakeLists.txt >@@ -7,14 +7,6 @@ > add_library(external_glib INTERFACE IMPORTED GLOBAL) > add_library(desktop-app::external_glib ALIAS external_glib) > >-function(add_cppgir) # isolate scope >- set(BUILD_TESTING OFF) >- set(BUILD_DOC OFF) >- set(BUILD_EXAMPLES OFF) >- add_subdirectory(cppgir EXCLUDE_FROM_ALL) >-endfunction() >-add_cppgir() >- > include(generate_cppgir.cmake) > generate_cppgir(external_glib Gio-2.0) > >--- tdesktop-4.8.4-full.orig/cmake/external/glib/generate_cppgir.cmake >+++ tdesktop-4.8.4-full/cmake/external/glib/generate_cppgir.cmake >@@ -4,6 +4,8 @@ > # For license and copyright information please follow this link: > # https://github.com/desktop-app/legal/blob/master/LEGAL > >+find_package(CppGir REQUIRED) >+ > function(generate_cppgir target_name gir) > # cppgir generates all the dependent headers everytime, better to have a global folder > set(gen_dst ${CMAKE_BINARY_DIR}/gen) >@@ -32,17 +34,16 @@ > echo 1> ${gen_timestamp} > COMMENT "Generating C++ wrapper for ${gir} (${target_name})" > DEPENDS >- cppgir > ${gir_path} > ) > generate_target(${target_name} cppgir ${gen_timestamp} "" ${gen_dst}) > > get_target_property(target_type ${target_name} TYPE) > if (${target_type} STREQUAL "INTERFACE_LIBRARY") >- target_link_libraries(${target_name} INTERFACE gi) >+ target_link_libraries(${target_name} INTERFACE CppGir::gi) > target_compile_definitions(${target_name} INTERFACE GI_INLINE GI_OBJECT_NEWV) > else() >- target_link_libraries(${target_name} PUBLIC gi) >+ target_link_libraries(${target_name} PUBLIC CppGir::gi) > target_compile_definitions(${target_name} PUBLIC GI_INLINE GI_OBJECT_NEWV) > endif() > endfunction()
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 911145
: 867148