Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#25707 closed enhancement (fixed)

Package cocoalib

Reported by: Thierry Monteil Owned by:
Priority: major Milestone: sage-8.3
Component: packages: experimental Keywords: days94
Cc: Elisa Palezzato Merged in:
Authors: Thierry Monteil, Jeroen Demeyer Reviewers: Miguel Marco
Report Upstream: N/A Work issues:
Branch: dd1a07d (Commits, GitHub, GitLab) Commit:
Dependencies: Stopgaps:

Status badges

Description

As discussed at Sage days 94, let us package cocoalib to work on a potential interface, see http://cocoa.dima.unige.it/cocoalib/

Tarball: http://cocoa.dima.unige.it/cocoalib/tgz/CoCoALib-0.99564.tgz

Change History (15)

comment:1 Changed 4 years ago by Thierry Monteil

Summary: PAckage cocoalibPackage cocoalib

comment:2 Changed 4 years ago by Thierry Monteil

Branch: u/tmonteil/package_cocoalib

comment:3 Changed 4 years ago by Thierry Monteil

Cc: Elisa Palezzato added
Commit: 0e161423d71aad3a4ec376f9f262ade8dedbb883
Status: newneeds_review

There is room for more dependencies (boost, gsl, readline, frobby, gfan, normaliz, mathsat (not in Sage)), but let us start simple.


New commits:

0e16142#25707 package cocoalib

comment:4 Changed 4 years ago by Jeroen Demeyer

Branch: u/tmonteil/package_cocoalibu/jdemeyer/package_cocoalib

comment:5 Changed 4 years ago by git

Commit: 0e161423d71aad3a4ec376f9f262ade8dedbb883dd1a07d2d432dcbeb1a3dcd81ad00dd72f68f97f

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

dd1a07dUse "make install" but don't ask questions

comment:6 Changed 4 years ago by Jeroen Demeyer

Authors: Thierry MonteilThierry Monteil, Jeroen Demeyer
Reviewers: Jeroen Demeyer, Thierry Monteil

comment:7 Changed 4 years ago by Miguel Marco

Cocoalib compiles for me, and seems to install ok.

However, it does not install .so files, just libcocoa-0.99564.a (plus a libcocoa.a link to it, and a bunch of header files). I don't know if that is the standard way to install libcocoa.

comment:8 in reply to:  7 Changed 4 years ago by Jeroen Demeyer

Replying to mmarco:

However, it does not install .so files, just libcocoa-0.99564.a (plus a libcocoa.a link to it, and a bunch of header files). I don't know if that is the standard way to install libcocoa.

Unfortunately, that's how cocoa works. Upstream decided to write their own custom build system instead of using more standard tools like autotools (autoconf + automake + libtool). They don't support building shared libraries.

comment:9 Changed 4 years ago by Miguel Marco

Ok, so as far as I can tell, this should have a possitive review.

comment:10 Changed 4 years ago by Jeroen Demeyer

Reviewers: Jeroen Demeyer, Thierry MonteilMiguel Marco
Status: needs_reviewpositive_review

comment:11 Changed 4 years ago by gh-annabigatti

(Anna Bigatti, author of CoCoALib)

We have nothing agains building shared libraries, nor autoconf. (just lack of time to do it and test it properly)

We had started our own configuration script a long time ago. It works pretty well, and we were suggested not to switch ;-)

We can offer support in case of need!

comment:12 Changed 4 years ago by Sebastian Oehms

Branch: u/jdemeyer/package_cocoalibu/soehms/package_cocoalib

comment:13 Changed 4 years ago by Sebastian Oehms

Branch: u/soehms/package_cocoalibu/jdemeyer/package_cocoalib

comment:14 Changed 4 years ago by Volker Braun

Branch: u/jdemeyer/package_cocoalibdd1a07d2d432dcbeb1a3dcd81ad00dd72f68f97f
Resolution: fixed
Status: positive_reviewclosed

comment:15 Changed 4 years ago by Samuel Lelièvre

Commit: dd1a07d2d432dcbeb1a3dcd81ad00dd72f68f97f

It seems cocoalib or libcocoa was packaged in the Sage's early days.

Can someone check whether all previous Cocoa-related tickets are obsolete?

https://trac.sagemath.org/query?order=id&desc=1&summary=~cocoa

At this point the list has four tickets from before the present one:

Note: See TracTickets for help on using tickets.