a name of the package eg. on Launchpad [1] for GRASS 7 is `grass70`.
The main reason was probably to allow users running GRASS 6 and GRASS
7 in parallel. I am not sure if it's good idea to continue in this
way. We are close to GRASS 7.0.0 release. Is it really planned to ship
GRASS 7 as `grass70` package or just simply as `grass` (which would
mean upgrade from 6.4.4 to 7.0.0 from user POV).
I think it makes sense for GRASS upstream to use separate source
packages to allow co-installation, but this makes less sense for the
official Debian package.
OK, thanks for explanation (btw, I have subscribed myself to this ML).
We mostly need to consider the versions for the different package
lineages to allow co-existence of the different package sources.
So do you suggest to apply [1,2] to GRASS source code (trunk and relbr70)?
I think it makes sense for GRASS upstream to use separate source
packages to allow co-installation, but this makes less sense for the
official Debian package.
OK, thanks for explanation (btw, I have subscribed myself to this ML).
In the mean time I had also subscribed to grass-dev@
We mostly need to consider the versions for the different package
lineages to allow co-existence of the different package sources.
So do you suggest to apply [1,2] to GRASS source code (trunk and relbr70)?
The appstream.patch is distribution specific, so I don't think you need
to merge it in GRASS upstream.
The Keywords from the desktop.patch should be merged upstream, but the
Exec & Icon changes are distribution specific.
a name of the package eg. on Launchpad [1] for GRASS 7 is `grass70`.
The main reason was probably to allow users running GRASS 6 and GRASS
7 in parallel. I am not sure if it's good idea to continue in this
way. We are close to GRASS 7.0.0 release. Is it really planned to ship
GRASS 7 as `grass70` package or just simply as `grass` (which would
mean upgrade from 6.4.4 to 7.0.0 from user POV).
The choice between separate source packages or not was also discussed on
the Debian GIS list, see the thread starting at:
I think it makes sense for GRASS upstream to use separate source
packages to allow co-installation, but this makes less sense for the
official Debian package.
I would note that the need to allow multiple version to cohexist still
applies, people will always need to run branche/svn versions on their
computers.
On 02/21/2015 04:06 PM, Francesco P. Lovergine wrote:
I think it makes sense for GRASS upstream to use separate source
packages to allow co-installation, but this makes less sense for the
official Debian package.
I would note that the need to allow multiple version to cohexist still
applies, people will always need to run branche/svn versions on their
computers.
Not having the GRASS PPA packages in Debian indeed doesn't mean that
users won't build and install those packages themselves, or in the case
for Ubuntu have both available.
What changes do you propose for the official Debian package to allow the
co-existence with the GRASS upstream packages?
The binary packages built from the official Debian package are
version-less, whereas GRASS upstream include the major and minor version
(e.g. grass-core vs grass71-core).
The /usr/bin/grass to grass70 & grass71 executable in grass-core would
conflict between these packages. But IIRC the upstream GRASS packages
don't contain that symlink. The same may apply to the x-grass script,
but thank may get fixed when I address the issue raised by Martin [1].
On Sat, Feb 21, 2015 at 05:47:19PM +0100, Sebastiaan Couwenberg wrote:
What changes do you propose for the official Debian package to allow the
co-existence with the GRASS upstream packages?
[...]
The /usr/bin/grass to grass70 & grass71 executable in grass-core would
conflict between these packages. But IIRC the upstream GRASS packages
don't contain that symlink. The same may apply to the x-grass script,
but thank may get fixed when I address the issue raised by Martin [1].
Adopting alternatives mechanism for grass, x-grass.sh and manpages would
probably suffices. I'm not sure if that would really solve a true user's need,
or it is only superfluous trick.
On 02/21/2015 06:00 PM, Francesco P. Lovergine wrote:
On Sat, Feb 21, 2015 at 05:47:19PM +0100, Sebastiaan Couwenberg wrote:
What changes do you propose for the official Debian package to allow the
co-existence with the GRASS upstream packages?
[...]
The /usr/bin/grass to grass70 & grass71 executable in grass-core would
conflict between these packages. But IIRC the upstream GRASS packages
don't contain that symlink. The same may apply to the x-grass script,
but thank may get fixed when I address the issue raised by Martin [1].
Adopting alternatives mechanism for grass, x-grass.sh and manpages would
probably suffices. I'm not sure if that would really solve a true user's need,
or it is only superfluous trick.
If we all drop /usr/bin/grass & /usr/bin/x-grass the packages should be
able to co-exist. I've dropped these from the official Debian package.
See the changes in git and my post to debian-gis@:
The changes so far are for the practical case of having the official
Debian packages installed alongside the development packages from GRASS
upstream (official 7.0, upstream 7.1).
Having both the official grass (7.0.0) package and the upstream grass70
installed doesn't make much sense, but will break with the current
packaging on both sides.
We should use Conflicts or Breaks/Replaces for conflicting source
packages for the same upstream releases.
On 02/21/2015 07:54 PM, Sebastiaan Couwenberg wrote:
On 02/21/2015 06:00 PM, Francesco P. Lovergine wrote:
On Sat, Feb 21, 2015 at 05:47:19PM +0100, Sebastiaan Couwenberg wrote:
What changes do you propose for the official Debian package to allow the
co-existence with the GRASS upstream packages?
[...]
The /usr/bin/grass to grass70 & grass71 executable in grass-core would
conflict between these packages. But IIRC the upstream GRASS packages
don't contain that symlink. The same may apply to the x-grass script,
but thank may get fixed when I address the issue raised by Martin [1].
Adopting alternatives mechanism for grass, x-grass.sh and manpages would
probably suffices. I'm not sure if that would really solve a true user's need,
or it is only superfluous trick.
If we all drop /usr/bin/grass & /usr/bin/x-grass the packages should be
able to co-exist. I've dropped these from the official Debian package.
I've reinstated these symlinks, and will rely on the Conflicts with the
upstream grass7* packages to force the user to choose whose packages it
wants to use.
sorry, I overlooked this issue, done [1]. Now rebuilding grass-stable
package. Martin
Thanks for those changes.
You'll also want to add Breaks/Replaces on the grass70 packages to the
binary packages build from the grass7 source package to allow upgrades
from the old to the renamed packages.