Opened 10 years ago

Closed 9 years ago

#46157 closed enhancement (fixed)

freecad App wrapper

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc: mbrethen, michaelld (Michael Dickens)
Port: freecad

Description

I've added an OS X GUI wrapper for /Applications/MacPorts/FreeCAD.

Attachments (7)

Portfile-freecad.diff (795 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.
FreeCAD (34 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.
FreeCAD.icns (187.5 KB) - added by Schamschula (Marius Schamschula) 10 years ago.
Info.plist (999 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.
freecad_0.15.4671.diff (6.6 KB) - added by michaelld (Michael Dickens) 9 years ago.
freecad_0.15.4671.tar.bz2 (171.5 KB) - added by michaelld (Michael Dickens) 9 years ago.
Portfile (4.8 KB) - added by Schamschula (Marius Schamschula) 9 years ago.

Download all attachments as: .zip

Change History (18)

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-freecad.diff added

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: FreeCAD added

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: FreeCAD.icns added

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Info.plist added

comment:1 Changed 10 years ago by mbrethen

I've been launching it with an applescript, but your solution is even better! How long did it take to build?

I hope macports uses buildbot for this port.

comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)

Mark,

I just adapted the three files from octave…

As far as the build time, I've got an i7 iMac, so this didn't take too long.

About to rebuild one more time to get a build log with boost 1.57.0. This build is currently broken…

comment:3 Changed 9 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

Changed 9 years ago by michaelld (Michael Dickens)

Attachment: freecad_0.15.4671.diff added

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

I just uploaded a patch that updates freecad to 0.15.4671, uses the correct qt4 QMAKE setting, and adds Marius' .app configuration from here. This would address tickets #48953, #47760, and #47369 if it works for others (maybe more; those are what I find in a quick search). Can y'all test this out & report back? You might have to download some of the files here and place them info $(port dir freecad)/files ... and maybe tweak the patch to ignore the binary files.

Changed 9 years ago by michaelld (Michael Dickens)

Attachment: freecad_0.15.4671.tar.bz2 added

comment:5 Changed 9 years ago by michaelld (Michael Dickens)

The diff fails for me because of the binary files. I just uploaded a tarball of everything. Replaces the whole directory (freecad).

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile added

comment:6 Changed 9 years ago by Schamschula (Marius Schamschula)

Added matplotlib dependency.

comment:7 Changed 9 years ago by michaelld (Michael Dickens)

Marius: Are you ready for this to be committed then? I'm happy to do so assuming Mark is OK with it (or, maintainer timeout).

Mark: As the primary port maintainer are you OK with this change?

comment:8 Changed 9 years ago by Schamschula (Marius Schamschula)

Michael,

I'm good with it. I built and tested it under Mavericks with gcc5, and under Yosemite with gcc49.

comment:9 Changed 9 years ago by mbrethen

I'm OK with the changes.

Marius, if you're interested in helping to maintain the port, now would be a good time to add your email to the port file.

comment:10 Changed 9 years ago by Schamschula (Marius Schamschula)

Mark, Michael,

Given the compile time, fortunately there aren't too many updates.

You can add me to the maintainers.

I'll add freecad to my livecheck list.

comment:11 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Thanks for the quick replies! Done in r141197.

Note: See TracTickets for help on using tickets.