[Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by NormandC »

4. is done ;)

Let me know if you have problems!
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by sgrogan »

NormandC wrote:I would be glad if you joined the team, and I'm sure sgrogan would be too :D
Hell yeh!!!!!!!!!!
I'm only "Approved" so i can't handle 4
NormandC beat me but I post anyway.
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by NormandC »

sgrogan wrote:I'm only "Approved" so i can't handle 4
Say that again? ;)
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by NormandC »

Hello,
gdo35 wrote:
NormandC wrote:But I still don't understand why you reordered the listed packages in the debian/control file.
Regarding to the debian policy manual :
Debian Policy Manual wrote:The ordering of the paragraphs in control files is significant.
I just had a (albeit quick) look at the Debian Policy manual. Apart from that single unhelpful statement, this matter doesn't seem to be discussed nor explained anywhere else. :roll:

But as I already wrote here, my debian/control file replicates the exact order in which the packages are listed for the netgen-4.9.13 package.

Also, in all the debian folders for a variety of packages from the debian/ubuntu repos I've studied over the years, I've always seen the packages listed in the same order:
  1. binary/runtime packages
  2. developement (*-dev) packages
  3. documentation (*-doc) packages
gdo35 wrote:I got an unsatisfied dependency (Sorry, I did not write which one). I could check if really needed.
That would be helpful.
gdo35 wrote:I turned off warnings about symbols as I cannot solve it for now. Maybe all is ok and you can give it a try with FreeCAD.
I'll try to make time once you provide your branch.

Thanks for your continued help in this packaging project! :)
gdo35
Posts: 189
Joined: Wed Jan 25, 2012 7:25 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by gdo35 »

Hello,

Sorry I was away all the week end, just following forum from smartphone.

Thank you very much for adding me to the team on Launchpad. It is a real pleasure to help, even if I am pretty sure that I will never be able to help you as much as you did since so many years. ;)

I was unable to reproduce the problem I met with debian/control ordering.
Maybe I did something more while debugging I do not really remember... :?
So I think the real problem was between my chair and my keyboard... :mrgreen:

I created a gdo branch on the repository, I just let you test. I build the package with this command :

Code: Select all

$ debuild -uc -us -j$(nproc) --lintian-opts --profile debian
You will see all the warnings like this one (sorry it is in french) :

Code: Select all

dpkg-shlibdeps: avertissement: symbole _ZN6netgen11VisualScene17transformationmatE utilisé par debian/libnglib-5.3.1/usr/lib/x86_64-linux-gnu/libcsgvis.so.0.0.0 non trouvé dans les bibliothèques
++
gdo
gdo35
Posts: 189
Joined: Wed Jan 25, 2012 7:25 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by gdo35 »

Hi all,

I can build FreeCAD with my generated Netgen packages but I have no idea of the tests I could perform... :mrgreen:

Could you give me some clues ?

++
gdo
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by sgrogan »

gdo35 wrote:I can build FreeCAD with my generated Netgen packages but I have no idea of the tests I could perform... :mrgreen:
This is good news :)
Create a Part Cube
Switch to Mesh Design WB
From the menu "Create mesh from shape" ,choose the Netgen mesher then OK
Repeat the above clicking first clicking "Second order elements" then again clicking "Quad dominated"
Switch to the FEM WB
select the cube in the Combo view then the NG mesh icon from the toolbar. Then OK
select the cube then NG mesh icon from the toolbar, uncheck Second order and OK
Save the .fcstd file and post here.
If you get this far we are dancing in the street.
"fight the good fight"
gdo35
Posts: 189
Joined: Wed Jan 25, 2012 7:25 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by gdo35 »

No error. I have no idea of what I have done. :mrgreen:

The .fcstd file is in attachment. ;)
Attachments
test_ng.fcstd
(6.71 KiB) Downloaded 58 times
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by sgrogan »

gdo35 wrote:No error. I have no idea of what I have done. :mrgreen:
You have created a series of different meshes that test most, if not all of FreeCAD's netgen support. ;)
And they all work!
We now need to see if they build with git-build. Ideally locally as NormandC pointed out earlier in this thread, or on Launchpad on one of our personal PPA's. If this works we are psyched.
"fight the good fight"
gdo35
Posts: 189
Joined: Wed Jan 25, 2012 7:25 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Post by gdo35 »

Great !!!

I'll try to test with git-builder this week ;)
Post Reply