Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[intl/gettext/fontconfig] update to native build system #11776

Merged
merged 141 commits into from
Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
f92b9a7
[fontconfig] update fontconfig
Neumann-A Aug 13, 2020
7f74e51
[libiconv] update to make
Neumann-A Aug 14, 2020
f126e71
[gettext] update to make
Neumann-A Aug 14, 2020
1fa1354
[vcpkg_configure_make] Changes considering pure configure ports witho…
Neumann-A Aug 14, 2020
676b615
[fontconfig] make it work on windows
Neumann-A Aug 14, 2020
f475ceb
Remove install of unofficial cmake config
Neumann-A Aug 15, 2020
0673870
add function get_cmake_vars
Neumann-A Aug 16, 2020
b5f28f7
fine tuning.
Neumann-A Aug 16, 2020
deae3fe
apply to make based ports.
Neumann-A Aug 16, 2020
d4d7e21
add log suffix on not windows platforms
Neumann-A Aug 16, 2020
d47399d
fix c&p error
Neumann-A Aug 16, 2020
6ccbae5
add previous LINK env
Neumann-A Aug 16, 2020
0f2004b
setup env on windows and extract cpp flags correctly.
Neumann-A Aug 16, 2020
e1f1734
update glib and libxml2
Neumann-A Aug 16, 2020
830e66c
fix windows regressions
Neumann-A Aug 17, 2020
f811525
Apply suggestions from code review
Neumann-A Aug 17, 2020
63bd413
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 17, 2020
67bd086
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Aug 17, 2020
8a83a85
add windres wrapper to invoke RC.
Neumann-A Aug 18, 2020
74817e2
remove wrong fi
Neumann-A Aug 18, 2020
2672cd4
fix libintl.
Neumann-A Aug 18, 2020
6615058
try fixing uwp
Neumann-A Aug 18, 2020
83006e6
other things to update
Neumann-A Aug 18, 2020
c381410
exiv2 fix
Neumann-A Aug 18, 2020
c3a413f
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 19, 2020
36beae0
libtool does not like -RTC1
Neumann-A Aug 19, 2020
129ec81
Merge branch 'update_fontconfig' of https://github.com/Neumann-A/vcpk…
Neumann-A Aug 19, 2020
e3adc50
pass the /RTC<x> flag directly to the compiler
Neumann-A Aug 19, 2020
115d6ef
trust cmake instead of adding extra flags
Neumann-A Aug 19, 2020
8c8e88c
fix expat
Neumann-A Aug 19, 2020
37a80f3
fix iconv wrapper install
Neumann-A Aug 19, 2020
9895f82
change fontconfig intl linkage.
Neumann-A Aug 19, 2020
4570f16
add appcontainer back in which is required for UWP. Why is this not i…
Neumann-A Aug 19, 2020
4483846
fix pkg-config in vcpkg_configure_make
Neumann-A Aug 19, 2020
38e1d59
fix json-c pkg-config installation
Neumann-A Aug 19, 2020
3687e7c
remove remnoved config
Neumann-A Aug 19, 2020
88b2b59
comment out debug messages + bit of tuning
Neumann-A Aug 19, 2020
94513e5
finally fontconfig
Neumann-A Aug 19, 2020
03b5d57
comment debug messages
Neumann-A Aug 19, 2020
7c6ed43
expat apply extra patches.
Neumann-A Aug 19, 2020
baaaca5
Switch back to -E instead of -EP in cpp
Neumann-A Aug 20, 2020
cf68632
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 20, 2020
eb2ef40
commit changes from fontconfig PR
Neumann-A Aug 20, 2020
3d2ba81
Merge branch 'add_get_cmake_vars' of https://github.com/Neumann-A/vcp…
Neumann-A Aug 20, 2020
74ca7a3
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Aug 20, 2020
24533f8
[expat] fix expat details
Neumann-A Aug 20, 2020
b26f186
Apply suggestions from code review
Neumann-A Aug 20, 2020
ec357c2
cleanup docs
Neumann-A Aug 20, 2020
898dcd7
update osx pipeline so that fontconfig actually builds
Neumann-A Aug 20, 2020
d83f6f3
fix expat the lazy way by using a higher commit than release
Neumann-A Aug 20, 2020
59728c8
fix a barage of regressions due to the use of unofficial targets
Neumann-A Aug 20, 2020
89ebe28
[expat] use a higher commit hash with a better stabilized cmake build
Neumann-A Aug 20, 2020
c5ead84
forgot freexl regression
Neumann-A Aug 20, 2020
40ec145
more unofficial fixes
Neumann-A Aug 20, 2020
dab51a4
fix downstream expat usage
Neumann-A Aug 20, 2020
5799f22
fix wxwidgets
Neumann-A Aug 20, 2020
4187f31
fix gcdm regression
Neumann-A Aug 20, 2020
06106c6
[vtk] fix the regression due to expat
Neumann-A Aug 20, 2020
fc8d280
Merge remote-tracking branch 'origin/fix_expat_details' into update_f…
Neumann-A Aug 20, 2020
34813c1
add uwp cl flags back in. Somehow those are not set by cmake
Neumann-A Aug 20, 2020
1a6b81b
add a few other configure options for full gettext build
Neumann-A Aug 20, 2020
f1dc49a
fix cmake regression
Neumann-A Aug 21, 2020
db54b96
fix a few regressions
Neumann-A Aug 21, 2020
1bdb695
fix static gettext build
Neumann-A Aug 21, 2020
cf2dcfe
fix gettext static
Neumann-A Aug 21, 2020
065b48f
fix libxml2 wrapper for cmake
Neumann-A Aug 21, 2020
ab3c9cb
some more regressions fixes
Neumann-A Aug 21, 2020
7c440bd
add conversion from somelib.lib to -lsomelib
Neumann-A Aug 21, 2020
b80480f
add a few option to libiconv.
Neumann-A Aug 22, 2020
69c452e
get logs from CI
Neumann-A Aug 22, 2020
4b08137
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 22, 2020
1baed52
add missing ar-lib wrapper
Neumann-A Aug 22, 2020
8b20a58
add missing ar-lib wrapper
Neumann-A Aug 22, 2020
b1c6848
add fatal error to gettext
Neumann-A Aug 22, 2020
e3b67e9
remove uuid from the list of LIBS since it seems to not exist in CI?
Neumann-A Aug 22, 2020
8e27695
small but important regex correction
Neumann-A Aug 22, 2020
49af47c
fix regex and add debug message for libs
Neumann-A Aug 22, 2020
b5bba62
remove error and only build libintl.
Neumann-A Aug 22, 2020
02d0d04
add uuid dependency to fontconfig in qt5-base
Neumann-A Aug 22, 2020
758042f
osx install gettext for autopoint
Neumann-A Aug 23, 2020
50e1d33
fix io2d regression by saying the port is broken .....
Neumann-A Aug 23, 2020
288461d
restore the old libxml2 wrapper with minor modifications
Neumann-A Aug 23, 2020
3849c14
Merge branch 'update_fontconfig' of https://github.com/Neumann-A/vcpk…
Neumann-A Aug 23, 2020
bb09109
fix xmlsec regression
Neumann-A Aug 23, 2020
14f517d
install wrapper correctly
Neumann-A Aug 23, 2020
28ec78f
try actual fixing io2d
Neumann-A Aug 23, 2020
6ea5a94
improve iconv wrapper
Neumann-A Aug 23, 2020
7b40bf3
add latest changes from update_fontconfig PR
Neumann-A Aug 24, 2020
b256554
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Aug 27, 2020
7ff721b
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Sep 3, 2020
2a70444
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Sep 14, 2020
c70ed33
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Sep 24, 2020
c249d19
Apply suggestions from code review
Neumann-A Oct 2, 2020
b457f4a
Apply suggestions from code review
Neumann-A Oct 2, 2020
9f8efbe
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Oct 12, 2020
7b28101
[x264] set env AS
Neumann-A Oct 13, 2020
3a9a28c
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Oct 15, 2020
4e67ed0
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Oct 15, 2020
c040246
fix bugs due to refactor
Neumann-A Oct 15, 2020
28a4b38
use subpath everywhere
Neumann-A Oct 15, 2020
c309f8f
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Oct 15, 2020
ae93df4
apply changes from CR
Neumann-A Oct 15, 2020
7e21a9d
fix fontconfig build.
Neumann-A Oct 15, 2020
ceaf331
Merge remote-tracking branch 'origin/update_fontconfig' into update_f…
Neumann-A Oct 16, 2020
df5776f
only change libs in static builds
Neumann-A Oct 16, 2020
fead091
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Oct 16, 2020
bb12126
remove unnecessary lines 41 & 44
Neumann-A Oct 16, 2020
65e71b1
remove flag transformation
Neumann-A Oct 18, 2020
0095599
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Oct 18, 2020
50fd08a
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Oct 18, 2020
723b9d7
reintroduce the flag / to - transformation for MSVC
Neumann-A Oct 18, 2020
666c435
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Oct 18, 2020
8aa569c
trying to figure out autopoint issue.
Neumann-A Oct 22, 2020
ac21edc
add correct working_dir to subpath
Neumann-A Oct 22, 2020
8230915
escape stupid env paths.
Neumann-A Oct 22, 2020
004ca41
fix typo
Neumann-A Oct 22, 2020
5a2ff43
add findutils
Neumann-A Oct 22, 2020
6c20d8c
Merge branch 'update_fontconfig' of https://github.com/Neumann-A/vcpk…
Neumann-A Oct 22, 2020
78461df
add error if libtool chokes
Neumann-A Oct 22, 2020
e1f0fd8
add file to msys
Neumann-A Oct 22, 2020
6092e66
pass lt_cv_deplibs_check_method=pass_all on windows
Neumann-A Oct 22, 2020
a39d92d
add bzip2 to msys
Neumann-A Oct 22, 2020
69e4cc4
reenable libtool check. Lets see if CI agrees
Neumann-A Oct 22, 2020
daae5b7
unbreak linux
Neumann-A Oct 23, 2020
129e16f
add -L flag and help libtool ?
Neumann-A Oct 23, 2020
81254e2
try to get ci to find uuid.
Neumann-A Oct 23, 2020
1551462
try to use cygpath
Neumann-A Oct 23, 2020
ee8dc39
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Nov 10, 2020
5898e63
update controls
Neumann-A Nov 11, 2020
1f360fe
cleanup merge mistakes
Neumann-A Nov 11, 2020
c0962b8
correct merge issues
Neumann-A Nov 11, 2020
50f8fda
determine cmake vars if not done before.
Neumann-A Nov 11, 2020
1ef5b9c
move adding of -l earlier
Neumann-A Nov 11, 2020
474c122
more merge cleanup
Neumann-A Nov 11, 2020
fc3edba
fix uwp builds by not transforming libs
Neumann-A Nov 11, 2020
7f753c3
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Nov 12, 2020
7012065
fix patches in io2d
Neumann-A Nov 12, 2020
f32e78c
fix xz download error
Neumann-A Nov 12, 2020
fc21317
apply code review changes manually
Neumann-A Nov 13, 2020
6e7f826
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Nov 13, 2020
206ae70
fix the typos left behind in CR
Neumann-A Nov 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ports/cairo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ find_package(Threads REQUIRED)
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(Freetype REQUIRED)
find_package(unofficial-fontconfig CONFIG REQUIRED)
find_package(Fontconfig REQUIRED)
find_package(unofficial-pixman CONFIG REQUIRED)

# Cairo needs to be told which features of FreeType are availible
Expand Down Expand Up @@ -211,7 +211,7 @@ if (WITH_X11)
target_compile_definitions(cairo PUBLIC -DCAIRO_HAS_XLIB_SURFACE=1)
endif()
target_include_directories(cairo PUBLIC ${FREETYPE_INCLUDE_DIRS})
target_link_libraries(cairo PRIVATE ZLIB::ZLIB PNG::PNG Freetype::Freetype unofficial::pixman::pixman-1 unofficial::fontconfig::fontconfig)
target_link_libraries(cairo PRIVATE ZLIB::ZLIB PNG::PNG Freetype::Freetype unofficial::pixman::pixman-1 Fontconfig::Fontconfig)

if(WIN32)
target_link_libraries(cairo PRIVATE gdi32 msimg32 user32)
Expand Down Expand Up @@ -297,7 +297,7 @@ include(CMakeFindDependencyMacro)
find_dependency(ZLIB)
find_dependency(PNG)
find_dependency(Freetype)
find_dependency(unofficial-fontconfig CONFIG)
find_dependency(Fontconfig)
find_dependency(unofficial-pixman CONFIG)
if(WITH_GOBJECT)
find_dependency(unofficial-glib CONFIG)
Expand Down
2 changes: 1 addition & 1 deletion ports/cairo/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: cairo
Version: 1.16.0
Port-Version: 7
Port-Version: 8
Homepage: https://cairographics.org
Description: Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
Build-Depends: zlib, libpng, pixman, freetype, fontconfig
Expand Down
2 changes: 1 addition & 1 deletion ports/exiv2/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: exiv2
Version: 0.27.3
Port-Version: 2
Port-Version: 3
Build-Depends: zlib, libiconv, gettext
Description: Image metadata library and tools
Homepage: https://www.exiv2.org
Expand Down
9 changes: 5 additions & 4 deletions ports/exiv2/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
_find_package(${ARGS})

if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
find_package(unofficial-iconv CONFIG REQUIRED)
find_package(unofficial-gettext CONFIG REQUIRED)
find_package(Iconv REQUIRED)
find_package(Intl REQUIRED)
if(TARGET exiv2lib)
set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES
unofficial::iconv::libiconv
unofficial::gettext::libintl)
Iconv::Iconv
)
target_link_libraries(exiv2lib INTERFACE ${Intl_LIBRARIES})
endif()
endif()
96 changes: 0 additions & 96 deletions ports/fontconfig/CMakeLists.txt

This file was deleted.

6 changes: 2 additions & 4 deletions ports/fontconfig/CONTROL
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Source: fontconfig
Version: 2.12.4
Port-Version: 13
Version: 2.13.1
Homepage: https://www.freedesktop.org/software/fontconfig/front.html
Description: Library for configuring and customizing font access.
Build-Depends: freetype, expat, libiconv, dirent
Supports: !uwp
Build-Depends: freetype, expat, libiconv, dirent, pthread, json-c, dirent, libuuid (!windows&!osx), gettext
Loading