Fedora packages

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

My current unofficial FreeCAD repo for fedora will be retired soon. Please use this one instead:
https://copr.fedorainfracloud.org/coprs ... d/nightly/
Currently the builds are available for fedora 26, 27 & 28, for i386 and x86_64
freecad.spec file is now part of the FreeCAD source code, so we'll be able to keep it up to date with the development progress. The file is here:
https://github.com/FreeCAD/FreeCAD/blob ... eecad.spec
If you use that repo please report all errors in the normal FreeCAD bug tracker.

The repo, freecad group and some parts of the setup were suggested by Jiri Kastner (thank you!!!).
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

I'm deleting the old repo to force users to the new one.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Fedora packages

Post by triplus »

Are the builds fully automated or you have to update for example a version information manually each day to make it work?
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

triplus wrote: Wed Jun 27, 2018 11:00 am Are the builds fully automated or you have to update for example a version information manually each day to make it work?
Numbering is fully automated with a few workarounds that are required due to the way COPR works (git shallow clone). I need to trigger the builds (one click), again, due to some limitations of COPR. I can explain all with details if someone is interested.
mdhill
Posts: 85
Joined: Mon Apr 24, 2017 7:37 pm

Re: Fedora packages

Post by mdhill »

Hi PrzemoF, I'm at GUADEC in Spain and there's a workshop tomorrow regarding Flatpak. It seems like FreeCAD should work as a Flatpak. Would it be a good idea to put it up on flathub.org? Obviously this requires the permission of developers and maintainers.

Mike
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

Anything that makes FreeCAD more accessible is good in my opinion, but I'm not a core developer or an official package maintainer :D I'm not sure what kind of permission you need, but hey, it's open source, so as long as we play by the rules, there are no permissions required?

[1] reference link: https://bugzilla.redhat.com/show_bug.cgi?id=1565611
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

Copr repo won't be updated for the next 2 weeks. There was some change in copr system or FreeCAD repo that caused numbering change, so the builds are getting invalid version.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

I'm happy to inform that unofficial FreeCAD copr repo has been extended with packages for fedora rawhide:
https://copr.fedorainfracloud.org/coprs ... d/nightly/
mdhill
Posts: 85
Joined: Mon Apr 24, 2017 7:37 pm

Re: Fedora packages

Post by mdhill »

PrzemoF wrote: Tue Aug 14, 2018 3:48 pm I'm happy to inform that unofficial FreeCAD copr repo has been extended with packages for fedora rawhide...
PrzemoF, excellent!

The Flatpak effort was stalled by a CMake bug. (The automated build would proceed through all of the dependencies and error out while building FreeCAD.) Supposedly the bug has been fixed in the latest freedesktop SDK, but now I'm getting a build error with Qt 4:

Code: Select all

../../../../include/QtCore/../../src/corelib/tools/qvector.h:94:8: note: ‘QVector<QTreeViewItem>::Data’ {aka ‘struct QVectorTypedData<QTreeViewItem>’} declared here
 struct QVectorTypedData : private QVectorData
        ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2517: .obj/release-shared/itemviews.o] Error 1

We talked about using Qt 5, but that gives me config errors with Shiboken, and I found this forum thread:
https://forum.freecadweb.org/viewtopic. ... en#p249849

If I posted the Qt 4 build config, would you be able to tell if anything is amiss?
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Fedora packages

Post by PrzemoF »

I'll try my best. Can you also point me to some freedesktop documentation how to set up building environment?
Post Reply