Gentoo overlay waebbl for freecad

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
Post Reply
clytle374
Posts: 124
Joined: Wed Nov 06, 2013 3:58 am

Gentoo overlay waebbl for freecad

Post by clytle374 » Fri Jul 05, 2019 9:39 am

Since I was asked to post here my results, here is what I have found. Note that I've been running Freecad from git for a long time, so no guarantee on all dependencies being met.

Package media-gfx/freecad-0.18.2-r1 seems to work without any build or run issues.

The media-gfx/freecad-9999 is failing on my system. Seems to be easy fixes to get it working. I've filed a bug report and what fixed mine (Not that I know what I'm doing, or it was the right way). When build it needs prefaced with to run. Probably only on nvidia systems.

Code: Select all

LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
General howto install on Gentoo:

First you need to install Layman. It handles the overlays, overlays allow the adding of unofficial packages into Portage so they can be easily emerged.

Code: Select all

emerge --ask app-portage/layman


Should be sufficient to get layman running.

Now you need to add the waebbl overlay to the system.

Code: Select all

layman -a waebbl
Now when you run emerge there will be 2 Freecad packages available.

media-gfx/freecad-0.18.2-r1 and media-gfx/freecad-9999

They will be masked by portage, so you will have to allow them specifically to be installed by editing /etc/portage/package.accept_keywords and adding one of the 2 following lines.

For version 18.2 add the following

Code: Select all

=media-gfx/freecad-0.18.2-r1 ~amd64
For the development version

Code: Select all

=media-gfx/freecad-9999 **
Now

Code: Select all

emerge --ask freecad 
should install freecad.

Let me know if I made any errors here.
Thanks
Cory

clytle374
Posts: 124
Joined: Wed Nov 06, 2013 3:58 am

Re: Gentoo overlay waebbl for freecad

Post by clytle374 » Fri Jul 05, 2019 11:02 am

=media-gfx/freecad-9999 **

Is now fixed!

User avatar
Kunda1
Posts: 5937
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gentoo overlay waebbl for freecad

Post by Kunda1 » Fri Jul 05, 2019 1:21 pm

clytle374 wrote:
Fri Jul 05, 2019 11:02 am
=media-gfx/freecad-9999 **

Is now fixed!
Nice, Upstream Downstream (technically more accurate) accepted your changes? URL ?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features

clytle374
Posts: 124
Joined: Wed Nov 06, 2013 3:58 am

Re: Gentoo overlay waebbl for freecad

Post by clytle374 » Fri Jul 05, 2019 9:41 pm

Kunda1 wrote:
Fri Jul 05, 2019 1:21 pm
clytle374 wrote:
Fri Jul 05, 2019 11:02 am
=media-gfx/freecad-9999 **

Is now fixed!
Nice, Upstream Downstream (technically more accurate) accepted your changes? URL ?
They made a change to a path. Not my change, they did it the right way. Lol

The other issue fixed itself. It was a path issue with OCC.

https://github.com/waebbl/waebbl-gentoo

User avatar
waebbl
Posts: 90
Joined: Thu Aug 16, 2018 3:12 pm

Re: Gentoo overlay waebbl for freecad

Post by waebbl » Mon Jul 29, 2019 4:49 pm

clytle374 wrote:
Fri Jul 05, 2019 9:41 pm
Uh wow :o Thanks for advertising my overlay @clytle374

clytle374
Posts: 124
Joined: Wed Nov 06, 2013 3:58 am

Re: Gentoo overlay waebbl for freecad

Post by clytle374 » Sun Oct 20, 2019 10:06 pm

waebbl wrote:
Mon Jul 29, 2019 4:49 pm
clytle374 wrote:
Fri Jul 05, 2019 9:41 pm
Uh wow :o Thanks for advertising my overlay @clytle374
You're welcome. I'm still cooking from git at the moment because that is what I'm used to. I do use the opencascade overlay of yours since unlike freecad opnecascade doesn't run in place without being installed.

Thanks for your support of freecad.

Cory

User avatar
Kunda1
Posts: 5937
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gentoo overlay waebbl for freecad

Post by Kunda1 » Mon Oct 21, 2019 10:09 am

clytle374 wrote:
Sun Oct 20, 2019 10:06 pm
Thanks for your support of freecad.
I 2nd this :point_up_2:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features

Post Reply