[Coordination] Ubuntu freecad-stable PPA update to 0.18

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by sgrogan »

kkremitzki wrote: Thu Mar 28, 2019 2:35 pm Yeah, I was thinking the same, so I don't want to spend much effort on it, but I figured it would be worth trying at least.
14.04 has a cmake3 package that provides a new enough version
https://git.launchpad.net/~freecad-main ... d-occt#n10
Works for 14.04 and 16.04 on the daily PPA
But I agree don't waste time on 14.04 if it causes further problems.
"fight the good fight"
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by jmaustpc »

hi Guys
I expect you already know this and I am wasting your time with this post but just in case....I noticed that the revision number part of the version data is missing in the new FreeCAD 0.18 from the Release PPA on Kubuntu 18.04.

I had a problem updating yesterday although I fixed it by following the instructions I found in a post I think it was from Norm, something like "sudo apt full update" , I then followed the instructions that came up in the terminal, I noticed that there was another update today so likely the update issue is resolved.

Kubuntu 18.04.

Jim
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by kkremitzki »

jmaustpc wrote: Fri Mar 29, 2019 1:14 pm I noticed that the revision number part of the version data is missing in the new FreeCAD 0.18 from the Release PPA on Kubuntu 18.04.

Jim
Hi Jim,

Indeed I know it is missing. Currently I'm trying to unify Debian, Ubuntu, and our PPA's packaging, so the reason it's missing in the PPA is because it's also missing in the base Debian package from which all the other packaging derives. All of this is at https://salsa.debian.org/science-team/freecad.

However, for the stable releases, this should not be a problem. 0.18 is identically equal to a git commit already, because we are using git tags. If you have a copy of the repo you can see this for yourself by running git show 0.18, which reveals 0.18 == 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce. If we need to backport commits to 0.18, then we need to make a new tagged release 0.18.1, which will show in Help > About FreeCAD.

So, this is for sure something that needs to be resolved, but only for the daily builds, not the stable releases. I really don't like the way it's currently being solved for those daily builds because it means they have to be done manually, so I am going to figure out a different way... after the 0.18 release announcement.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
brucehvn
Posts: 26
Joined: Sat Aug 11, 2018 6:16 am

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by brucehvn »

I had no idea about this. My update manager in Ubuntu 18.04 did a normal set of updates yesterday and I saw my FreeCAD was gone. There was no icon anymore in the app drawer.

I went into Synaptic and it showed FreeCAD was installed, so I marked it for a full reinstall and also added the "freecad-python3" package which was not marked as installed. After that, then FreeCAD was back as version 0.18.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by NormandC »

There hasn't been an official announcement yet about the 0.18 release, because all installers and packages are not yet ready for all platforms. Therefore the website still shows 0.17 as the current release.
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by kkremitzki »

I've gotten the builds for Ubuntu 16.04 working, so I've just triggered them to be uploaded to the Stable PPA. They should be available in about 2 hours.

I don't think the builds for Ubuntu 14.04 are going to work, so since it's so close to EOL we can just advise those users to try installing with snap.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by NormandC »

Hi Kurt,

Someone posted this: Default directory problem

This is about the old 0.17 package, but the current 0.18.1 shows the same issue. This is a regression, this is due to the following line in freecad.desktop:

Code: Select all

Path=/usr/lib/freecad
It has to be deleted. Please compare the ppa/master branch freecad.desktop with the one from dailybuild-occt-qt5:

https://git.launchpad.net/freecad/tree/ ... ppa/master
https://git.launchpad.net/~freecad-main ... d-occt-qt5

Thanks!
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by NormandC »

Well, it only works if I also change the Exec field like so:

Code: Select all

Exec=/usr/bin/freecad --single-instance %U
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by kkremitzki »

So both the Path entry has to be removed and the Exec entry has to be modified to fix the directory problem?
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Coordination] Ubuntu freecad-stable PPA update to 0.18

Post by NormandC »

Sorry for forgetting this topic, yes, both are needed to fix the issue.

On another topic: there have been issues for people to upgrade their freecad package from the freecad-stable PPA when they haven't updated for some time. One of the reasons for it: the opencascade-7.3 packages. See this French topic: https://forum.freecadweb.org/viewtopic. ... 10#p303024

In the libocct-7.3 packages, you removed Conflicts: libopencascade-* from the control file. It should have been kept to insure that the old libopencascade-* (7.2 and older) packages were automatically removed. As they aren't, the upgrade process cannot proceed.

occt7.2 branch with aforementioned Conflicts
https://git.launchpad.net/~freecad-main ... no-doc#n56

occt7.3 branch without
https://git.launchpad.net/~freecad-main ... 7.3-no-doc
Post Reply