Search found 13 matches

by mr-miky
Mon Dec 12, 2022 8:50 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Hello, I wanted to report that the spec file contains 2 times :

Code: Select all

     -DFREECAD_USE_EXTERNAL_PIVY=TRUE

Furthermore, libusb-devel is useless.

Code: Select all

%if 0%{?fedora} < 37
BuildRequires:  libusb-devel
%else
BuildRequires:  libusb1-devel
%endif
I removed it and it compiles anyway without errors
by mr-miky
Thu Dec 08, 2022 3:51 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

PrzemoF wrote: Wed Dec 07, 2022 7:40 pm Thank you for all the hard work! The test build went fine and I'll be submitting a commit to the master branch soon to revive the COPR builds.
Isn't it that you could add to the nigtly also the version for fedora 37?
by mr-miky
Mon Dec 05, 2022 6:56 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

I did a search in the sources to see where libusb is used and found nothing. I checked the spec file of freecad 0.20 distributed by fedora and there is no trace of libusb-devel among the BuildRequires. I tried to delete it from BuildRequires and everything is completed even without libusb-devel. %if...
by mr-miky
Sun Dec 04, 2022 8:28 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Ok now it works. The SPEC file is as follows: # This package depends on automagic byte compilation # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 %global py_bytecompile 1 # Setup python target for shiboken so the right cmake file is imported. %global py_suf...
by mr-miky
Sun Dec 04, 2022 1:50 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Thanks for pointing that out - I just pasted that hack in front of the spec without checking the rest. Let's check it again... Edit: build in progress https://copr.fedorainfracloud.org/coprs/g/freecad/przemof-test-from-github/build/5080347/ After a fair number of compilation attempts, it seems that...
by mr-miky
Sun Dec 04, 2022 1:25 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Thanks for pointing that out - I just pasted that hack in front of the spec without checking the rest. Let's check it again... Edit: build in progress https://copr.fedorainfracloud.org/coprs/g/freecad/przemof-test-from-github/build/5080347/ After a fair number of compilation attempts, it seems that...
by mr-miky
Sat Dec 03, 2022 1:09 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Nope, still zipios header missing. https://copr.fedorainfracloud.org/coprs/g/freecad/przemof-test-from-github/build/5079489/ Even after forcing the built-in zipios. Unless the forcing didn't work for COPR... That's the spce file: https://github.com/PrzemoF/FreeCAD/blob/copr_fix_v55/package/fedora/f...
by mr-miky
Sat Dec 03, 2022 11:45 am
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

started mock 30 minutes ago and ends with error not due to zipios++ :( **** ERROR: Plugins not caught by regexp: cmake libgmock.so libgmock.so.1.12.1 libgmock_main.so libgmock_main.so.1.12.1 libgtest.so libgtest.so.1.12.1 libgtest_main.so libgtest_main.so.1.12.1 pkgconfig Plugins in /usr/lib64/freec...
by mr-miky
Sat Dec 03, 2022 10:56 am
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

Strange, I have build up to 2 days ago. Check the double %global but I don't think it's due to that from copr spec file: %global bundled_zipios %{?_with_bundled_zipios: 1} %{?!_with_bundled_zipios: 1} # Some configuration options for other environments # rpmbuild --with=bundled_zipios: use bundled v...
by mr-miky
Wed Nov 30, 2022 6:05 pm
Forum: Developers corner
Topic: backbuffer.h from zipios++ and problems
Replies: 28
Views: 3747

Re: backbuffer.h from zipios++ and problems

to be able to build in fedora 37 you need to further modify the SPEC file as follows:

Code: Select all

%if 0%{?fedora} < 37
BuildRequires:  libusb-devel
%else
BuildRequires:  libusb1-devel
%endif