Re: c++ packaging of contour terminal and libunicode

2023-03-01 Thread Felix Wang
I open an issue of the upstream repo and reported the maintainer, It was fixed by explicitly setting the libs as static. And thanks for your clear clarification. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: c++ packaging of contour terminal and libunicode

2023-03-01 Thread Kevin Kofler via devel
Dan Horák wrote: > another option is to build the internal libs as static, then they won't > have to be installed. Try appending > -DBUILD_SHARED_LIBS:BOOL=OFF > to the cmake flags I guess this is also why the OP ran into the error with the non-PIC code in the static library in the RPM build and

Re: c++ packaging of contour terminal and libunicode

2023-02-28 Thread Felix Wang
Grateful for your suggestion, it helps me, so it can build the RPM package and install it finally. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: c++ packaging of contour terminal and libunicode

2023-02-28 Thread Dan Horák
On Tue, 28 Feb 2023 11:04:27 + Ian McInerney via devel wrote: > On Mon, Feb 27, 2023 at 12:21 PM Felix Wang wrote: > > > Thanks for your advice. I tried and it can be built with no error, but > > when installing built contour package, it shows the following error: > > ``` > > Error: > >

Re: c++ packaging of contour terminal and libunicode

2023-02-28 Thread Ian McInerney via devel
On Mon, Feb 27, 2023 at 12:21 PM Felix Wang wrote: > Thanks for your advice. I tried and it can be built with no error, but > when installing built contour package, it shows the following error: > ``` > Error: > Problem: conflicting requests > - nothing provides

Re: c++ packaging of contour terminal and libunicode

2023-02-27 Thread Felix Wang
Thanks for your advice. I tried and it can be built with no error, but when installing built contour package, it shows the following error: ``` Error: Problem: conflicting requests - nothing provides libContourTerminalDisplay.so()(64bit) needed by contour-20230226-1.fc39.x86_64 - nothing

Re: c++ packaging of contour terminal and libunicode

2023-02-27 Thread Ian McInerney via devel
Upstream appears to be disabling position independent code for some reason in the crispy-core library: https://github.com/contour-terminal/contour/blob/master/src/crispy/CMakeLists.txt#L100 (although they are using no-pie, which is odd since it is a library and I would have expected no-pic

Re: c++ packaging of contour terminal and libunicode

2023-02-26 Thread Felix Wang
The detailed information: https://gist.github.com/topazus/b4bfd63b8cbce70acd4dac02a087d785 ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: c++ packaging of contour terminal and libunicode

2023-02-26 Thread Felix Wang
I tried to add -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON to %cmake, it still does not compile and occurred the same error in the same position. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: c++ packaging of contour terminal and libunicode

2023-02-26 Thread Kevin Kofler via devel
Felix Wang wrote: > /usr/bin/ld: /tmp/ccW09Umc.ltrans0.ltrans.o: relocation R_X86_64_PC32 > against symbol `_ZTIZN8logstore4SinkC4EbRSoEUlSt17basic_string_viewIcSt11char_traitsIcEEE_' > can not be used when making a shared object; recompile with -fPIC Pass

Re: c++ packaging of contour terminal and libunicode

2023-02-26 Thread Felix Wang
updated contour .spec file: https://gist.githubusercontent.com/topazus/f81005cb85762ce2cf6e138f0b1cede1/raw/9745fd9c7b01d9c7d7a9619b93b22a8219ce7ad4/contour.spec ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: c++ packaging of contour terminal and libunicode

2023-02-26 Thread Felix Wang
libunicode repo URL: https://github.com/contour-terminal/libunicode contour terminal repo URL: https://github.com/contour-terminal/contour ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

c++ packaging of contour terminal and libunicode

2023-02-26 Thread Felix Wang
spec file URL of libunicode: https://gist.githubusercontent.com/topazus/e30b83d669600756894a77b5258c9405/raw/5f402302ae0527732ad112059906c2a239239c34/libunicode.spec spec file URL of contour: