Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125775 - New ebuild sci-libs/calculix-cgx
Summary: New ebuild sci-libs/calculix-cgx
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://www.calculix.de/
Whiteboard: [sci overlay]
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-03-10 16:20 UTC by Peter Gustafson
Modified: 2022-09-23 12:23 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
calculix-cgx-1.5.ebuild (calculix-cgx-1.5.ebuild,597 bytes, application/octet-stream)
2006-03-10 16:23 UTC, Peter Gustafson
Details
calculix-cgx-1.5.ebuild (calculix-cgx-1.5.ebuild,597 bytes, text/plain)
2006-03-10 16:23 UTC, Peter Gustafson
Details
calculix-cgx-1.5.ebuild (calculix-cgx-1.5.ebuild,590 bytes, text/plain)
2006-05-08 08:25 UTC, Peter Gustafson
Details
calculix-cgx-1.6.ebuild (calculix-cgx-1.6.ebuild,625 bytes, text/plain)
2007-03-07 20:06 UTC, Peter Gustafson
Details
01_cgx_1.6_Makefile.patch (01_cgx_1.6_Makefile.patch,1.60 KB, patch)
2007-03-07 20:07 UTC, Peter Gustafson
Details | Diff
calculix-cgx-1.7.ebuild (calculix-cgx-1.7.ebuild,625 bytes, text/plain)
2007-08-24 13:58 UTC, Peter Gustafson
Details
01_cgx_1.7_Makefile.patch (01_cgx_1.7_Makefile.patch,1.60 KB, patch)
2007-08-24 13:58 UTC, Peter Gustafson
Details | Diff
01_cgx_1.7_Makefile.patch (01_cgx_1.7_Makefile.patch,1.60 KB, patch)
2007-08-24 14:00 UTC, Peter Gustafson
Details | Diff
calculix-cgx-1.8.ebuild (calculix-cgx-1.8.ebuild,757 bytes, text/plain)
2008-08-08 00:46 UTC, Peter Gustafson
Details
01_cgx_1.8_Makefile.patch (01_cgx_1.8_Makefile.patch,1.98 KB, patch)
2008-08-08 00:46 UTC, Peter Gustafson
Details | Diff
reworked ebuild for sci-libs/calculix-cgx-1.8 (calculix-cgx-1.8.ebuild,1.04 KB, text/plain)
2008-10-15 09:04 UTC, Oliver Borm
Details
corrected 01_cgx_1.8_Makefile.patch (01_cgx_1.8_Makefile.patch,2.01 KB, patch)
2008-10-15 09:07 UTC, Oliver Borm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gustafson 2006-03-10 16:20:23 UTC
Hi

I'd like to add an ebuild suggestion for Calculix cgx, the pre and post processor for Calculix.  I've submitted an ebuild for Calculix previously:
http://bugs.gentoo.org/show_bug.cgi?id=125773

and for a dependency:
http://bugs.gentoo.org/show_bug.cgi?id=125772

This should go to the gentoo science team.

Please evaluate the ebuild.  Thanks,

Pete
Comment 1 Peter Gustafson 2006-03-10 16:23:25 UTC
Created attachment 81886 [details]
calculix-cgx-1.5.ebuild
Comment 2 Peter Gustafson 2006-03-10 16:23:56 UTC
Created attachment 81887 [details]
calculix-cgx-1.5.ebuild

I put this is sci-misc.  There maybe a better place.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2006-03-14 07:06:37 UTC
Hi Pete,

Thanks for your ebuild. This looks like a nice package
and I'll try to have a look at it soon and get back to 
you.

Best,
Markus
Comment 4 Peter Gustafson 2006-05-08 08:25:49 UTC
Created attachment 86426 [details]
calculix-cgx-1.5.ebuild

So this hasn't seen much traffic... Perhaps there is little interest.  I could maintain this ebuild, there are not many deps and very infrequent updates.

This update corrects a typo in the website.
Comment 5 Peter Gustafson 2007-03-07 20:06:36 UTC
Created attachment 112454 [details]
calculix-cgx-1.6.ebuild
Comment 6 Peter Gustafson 2007-03-07 20:07:06 UTC
Created attachment 112456 [details, diff]
01_cgx_1.6_Makefile.patch
Comment 7 Peter Gustafson 2007-08-24 13:58:17 UTC
Created attachment 129066 [details]
calculix-cgx-1.7.ebuild

Calculix keeps moving!
Comment 8 Peter Gustafson 2007-08-24 13:58:39 UTC
Created attachment 129067 [details, diff]
01_cgx_1.7_Makefile.patch
Comment 9 Peter Gustafson 2007-08-24 14:00:35 UTC
Created attachment 129069 [details, diff]
01_cgx_1.7_Makefile.patch

Sorry, I forgot to make obsolete the prior patch.
Comment 10 Oliver Borm 2007-10-13 22:23:56 UTC
Can you please add these ebuilds and patches to an overlay? Maybe the sunrise
overlay?
Comment 11 Peter Gustafson 2007-10-16 21:00:13 UTC
(In reply to comment #10)
> Can you please add these ebuilds and patches to an overlay? Maybe the sunrise
> overlay?
> 

I'd be happy to do this.  However at the moment I don't have time to learn how to add them to the sunrise overlay.  Would science be more appropriate?  Not that it matters... I don't have commit access to the science overlay and I'm sure it would take even more time to get involved there.

Thanks for the interest.
Comment 12 Peter Gustafson 2008-08-08 00:46:08 UTC
Created attachment 162476 [details]
calculix-cgx-1.8.ebuild

CalculiX version bump.
Comment 13 Peter Gustafson 2008-08-08 00:46:42 UTC
Created attachment 162477 [details, diff]
01_cgx_1.8_Makefile.patch
Comment 14 Oliver Borm 2008-10-15 09:04:32 UTC
Created attachment 168536 [details]
reworked ebuild for sci-libs/calculix-cgx-1.8

added doc and examples USE-flag
Comment 15 Oliver Borm 2008-10-15 09:07:22 UTC
Created attachment 168538 [details, diff]
corrected 01_cgx_1.8_Makefile.patch

added -lglut, otherwise I can't compile calculix-cgx-1.8
Comment 16 Oliver Borm 2008-10-15 14:44:04 UTC
This new ebuild is now in the science overlay:

http://overlays.gentoo.org/proj/science/browser/overlay/sci-libs/calculix-cgx/calculix-cgx-1.8.ebuild
Comment 17 Michael Orlitzky gentoo-dev 2022-09-12 20:46:15 UTC
Deceased & dropped from the sci overlay in https://github.com/gentoo/sci/commit/90afbee2f.
Comment 18 Peter Gustafson 2022-09-13 03:13:11 UTC
(In reply to Michael Orlitzky from comment #17)
> Deceased & dropped from the sci overlay in
> https://github.com/gentoo/sci/commit/90afbee2f.

Hi Michael,
Upstream is alive and well and at version 2.20 release about 1 month ago on a pretty regular cadence.

http://www.calculix.de/

It has an active community.

This comment: (https://github.com/gentoo/sci/commit/90afbee2f) Suggests its dependency (spooles) was defunct in 1999 and seemingly uses that as justification for dropping it. However, spooles still compiles and runs fine in 2022 (although the old ebuild needs an update to the newer EAPI). Further, spooles is an optional dependency; alternative solvers exist in the code itself as well as in the portage tree. (Including but intel MKL and pastix, both modern high performance solvers.)

Lastly, I maintain a fork (https://github.com/gustafson/CalculiX) which allows postprocessing with paraview (also in the portage tree).  All in, a professional system.

Please reconsider dropping this valuable pair of packages (ccx and cgx).

Is it an issue of lack-of-maintainers?
Comment 19 Michael Orlitzky gentoo-dev 2022-09-13 11:36:53 UTC
Ok, I apologize, I was overzealous with this one. I've reopened both bugs.

Essentially, yes, it is a matter of maintainers. There are few sci-* maintainers, and hundreds of open "new package" bugs that would require one. Typically, sci-* packages are harder to maintain because the upstreams aren't interested in the finer points of build systems and portability. As a result, if we're honest, most of those packages with open bugs will never make it into ::gentoo. So every once in a while I try to close a few of the older ones that look like they'll never be resolved otherwise.

I've taken a closer look at the commit in the sci overlay that removed calculix, and I'm guessing that the real reason it was removed is because it required two non-trivial patches, and those patches probably didn't apply cleanly to newer versions of calculix, meaning that someone would have to spend a few hours figuring out what the patches did and porting them to the new version of calculix before it could be updated.
Comment 20 Peter Gustafson 2022-09-20 14:39:11 UTC
(In reply to Michael Orlitzky from comment #19)
> Ok, I apologize, I was overzealous with this one. I've reopened both bugs.

No problem.

I just updated spooles-2.2 ebuild to EAPI 7 and compiled it with gcc-12.2.

Over the next few days I'll try to update the ccx ebuild to 2.20.  It shouldn't be too bad.

Should I assume these should be submitted a PR on the science overlay?  (It isn't clear to me whether they should be here too...)
Comment 21 Michael Orlitzky gentoo-dev 2022-09-23 12:23:15 UTC
(In reply to Peter Gustafson from comment #20)
> (In reply to Michael Orlitzky from comment #19)
> > Ok, I apologize, I was overzealous with this one. I've reopened both bugs.
> 
> No problem.
> 
> I just updated spooles-2.2 ebuild to EAPI 7 and compiled it with gcc-12.2.
> 
> Over the next few days I'll try to update the ccx ebuild to 2.20.  It
> shouldn't be too bad.
> 
> Should I assume these should be submitted a PR on the science overlay?  (It
> isn't clear to me whether they should be here too...)

TBH they would just bit-rot on this bug, and probably in the science overlay as well. If you're able to keep these packages up-to-date yourself, my suggestion would be to put them in the GURU overlay:

  https://wiki.gentoo.org/wiki/Project:GURU

That makes them visible to the most users, and allows you to make changes without going through a Gentoo developer.