Hi Leif,

Thanks for the suggestions.

(I've uploaded a PPA only with ffmpeg removed, from a sage-support message
which prompted this. ffmpeg is no longer in trusty and so the previous
package could not be installed on trusty.)

On 19 April 2014 17:15, leif <not.rea...@online.de> wrote:

> Depends: build-essential, gfortran [probably also m4]
>

Are build-essential and m4 not only from-source build dependencies? I would
maybe move them to Suggests: Is there runtime functionality, a function you
would call in the notebook, that would need build-essential and m4?

Note the PPA is not ideal for installing optional packages. The relevant
folders are owned by root, so the sage -i must be run as root, which is bad
practice.


> (gfortran already depends on libgfortran3.)
>

Right, gfortran and (or only) libgfortran are runtime dependencies for some
functionality?

It looks like it suggests on gfortran-multilib which depends on
libgfortran-4.8-multilib,

0 jan@osprey:~$apt-cache depends gfortran|grep lib
  Suggests: gfortran-multilib
0 jan@osprey:~$apt-cache depends gfortran-multilib|grep lib
gfortran-multilib
  Depends: gcc-multilib
  Depends: gfortran-4.8-multilib
  Conflicts: gfortran-multilib:i386
0 jan@osprey:~$apt-cache depends gfortran-4.8-multilib|grep lib
gfortran-4.8-multilib
  Depends: gcc-4.8-multilib
  Depends: lib32gfortran-4.8-dev
  Depends: libx32gfortran-4.8-dev
  Conflicts: gfortran-4.8-multilib:i386
0 jan@osprey:~$



> and, depending on one's taste:
>
> Recommends: openssh-client, imagemagick, ffmpeg
>

ffmpeg is not ideal for Recommends, since apt-get/software-centre installs
that by default (afaik), and ffmpeg is no longer in trusty. Can libav-tools
be a Suggests? Does it provide the functionality?

Are there runtime functionalities, that is functions that will not work if
imagemagick and openssh-client is not installed?

Suggests: dvipng, texlive, texlive-pictures, icedtea-7-plugin |
> icedtea-plugin
>

I'd go for Recommends for these too. Is there a preference for icedtea 6 or
7? Looks like the default dependency of icedtea-plugin has moved to 7 in
trusty (or before, but precise defaulted to 6).


(Note that openssh-client already depends on OpenSSL.  We could still
> require it, but then I'd use libssl-dev.)
>

I think libssl1 should at least be Suggests and perhaps Recommends. The PPA
is really meant for a stanadalone laptop, not a server, but we teach our
students how to start a secure server when SSHing into a computer lab
desktop so they can connect from their laptop, which might become a general
use case for us, or for example, to connect from a tablet.

Perhaps move the icedtea-plugin to "Recommended".
>

 If some graphics (3d? jmol?) depend on icedtea, it should definitely be in
Recommends:

Don't know what else we could /add/ (that isn't already contained in the
> Sage binary).
>
> Probably suggest or recommend (a system-wide) git[-core].
>

The PPA is not really meant for developers, but I guess that is fine. I
certainly run the PPA and a from source next to each other to compare when
there are bugs. I might be the only one.


> In the future, I'd also require libreadline-dev, but unfortunately
> currently Sage doesn't even try to use a system-wide one (instead of its
> meanwhile outdated version 6.2, asking for trouble at least on other
> distros like Arch Linux and OpenSuSE).
>

I feel like all of these should move to Recommends, so they get installed
by default through the apt-get and software centre, but a sysadm could
--without-recommends them if they want.

I previously felt x-www-browser should perhaps also be a recommends. Though
ubuntu-desktop already includes that, bash, etc. (trivial dependencies).
But perhaps for ubuntu-server... though then you don't need the browser on
the server. A server may have too much customization (ldap backend?
optional packages?) to use the PPA.

OK, but not now...

Note, the only Build-Depends for the PPA DEB package, is actually only
debhelper. It really just copies a compiled binary into place, as one would
wiht a binary pacakge. The PPA is a stopgap for a few years until
debianization is complete ;) It was way to hard to make a
sagemath-monolithic that actually builds all the components through a
debian rules file. And that is REALLY not the debian way.

Regards,
Jan


-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to