...
 
Commits (2)
gromacs (2019~rc1-2) experimental; urgency=medium
* Install bash completion files. Add completion files for the MPI
variants to the update-alternatives group.
* Remove unused GMXRC* files and the /usr/share/gromacs/shell-specific
directory, as they are unneeded with binaries in the standard locations.
* Bump Standards-Version to 4.3.0, no changes required.
-- Nicholas Breen <nbreen@debian.org> Thu, 27 Dec 2018 10:27:29 -0800
gromacs (2019~rc1-1) experimental; urgency=medium
* New upstream release candidate.
......
......@@ -29,7 +29,7 @@ Build-Depends-Indep: doxygen,
texlive-latex-base,
texlive-latex-extra
Rules-Requires-Root: no
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/debichem-team/gromacs
Vcs-Git: https://salsa.debian.org/debichem-team/gromacs.git -b debian-experimental
Homepage: http://www.gromacs.org/
......@@ -55,7 +55,6 @@ Architecture: all
Multi-Arch: foreign
Depends: libjs-mathjax, ${misc:Depends}
Recommends: gromacs
Suggests: tcsh | c-shell
Conflicts: gromacs-doc
Breaks: gromacs (<< 3.3.3-1)
Replaces: gromacs-doc
......
......@@ -3,4 +3,4 @@ usr/share/doc/gromacs-data
usr/share/doc/libgromacs-dev
usr/share/doc/libgromacs4
usr/share/gromacs
usr/share/gromacs/shell-specific
usr/share/bash-completion/completions
usr/share/bash-completion/completions/gmx usr/share/bash-completion/completions/gmx_d
usr/share/doc/gromacs/html usr/share/doc/gromacs-data/html
usr/share/doc/gromacs/html usr/share/doc/libgromacs-dev/html
usr/share/doc/gromacs/html usr/share/doc/libgromacs4/html
# name referenced in documentation
usr/share/doc/gromacs-data/copyright usr/share/doc/gromacs-data/COPYING
usr/bin
usr/share/man/man1
usr/share/gromacs/shell-specific
usr/share/bash-completion/completions
......@@ -29,7 +29,9 @@ case "$1" in
--install /usr/bin/mdrun_mpi mdrun_mpi /usr/bin/mdrun_mpi.mpich 10 \
--slave /usr/bin/mdrun_mpi_d mdrun_mpi_d /usr/bin/mdrun_mpi_d.mpich \
--slave /usr/share/man/man1/mdrun_mpi.1.gz mdrun_mpi.1.gz /usr/share/man/man1/mdrun_mpi.mpich.1.gz \
--slave /usr/share/man/man1/mdrun_mpi_d.1.gz mdrun_mpi_d.1.gz /usr/share/man/man1/mdrun_mpi_d.mpich.1.gz
--slave /usr/share/man/man1/mdrun_mpi_d.1.gz mdrun_mpi_d.1.gz /usr/share/man/man1/mdrun_mpi_d.mpich.1.gz \
--slave /usr/share/bash-completion/completions/mdrun_mpi.mpich /usr/share/bash-completion/completions/mdrun_mpi \
--slave /usr/share/bash-completion/completions/mdrun_mpi_d.mpich /usr/share/bash-completion/completions/mdrun_mpi_d
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
usr/bin
usr/share/man/man1
usr/share/gromacs/shell-specific
usr/share/bash-completion/completions
......@@ -29,7 +29,9 @@ case "$1" in
--install /usr/bin/mdrun_mpi mdrun_mpi /usr/bin/mdrun_mpi.openmpi 25 \
--slave /usr/bin/mdrun_mpi_d mdrun_mpi_d /usr/bin/mdrun_mpi_d.openmpi \
--slave /usr/share/man/man1/mdrun_mpi.1.gz mdrun_mpi.1.gz /usr/share/man/man1/mdrun_mpi.openmpi.1.gz \
--slave /usr/share/man/man1/mdrun_mpi_d.1.gz mdrun_mpi_d.1.gz /usr/share/man/man1/mdrun_mpi_d.openmpi.1.gz
--slave /usr/share/man/man1/mdrun_mpi_d.1.gz mdrun_mpi_d.1.gz /usr/share/man/man1/mdrun_mpi_d.openmpi.1.gz \
--slave /usr/share/bash-completion/completions/mdrun_mpi.openmpi /usr/share/bash-completion/completions/mdrun_mpi \
--slave /usr/share/bash-completion/completions/mdrun_mpi.openmpi /usr/share/bash-completion/completions/mdrun_mpi
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
......@@ -204,15 +204,11 @@ install: build-arch install-basic install-mpich install-openmpi
$(CURDIR)/debian/gromacs-data/usr/share/man
# some of the default installation directories for documentation and
# example shell scripts are not FHS-friendly; move them appropriately
mv $(CURDIR)/debian/gromacs/usr/bin/GMXRC* \
$(CURDIR)/debian/gromacs/usr/bin/gmx-completion* \
$(CURDIR)/debian/gromacs-data/usr/share/gromacs/shell-specific
chmod 644 $(CURDIR)/debian/gromacs-data/usr/share/gromacs/shell-specific/*
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/gromacs-data/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs-dev/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs4/html
# this name is also given in documentation
dh_link -pgromacs-data usr/share/doc/gromacs-data/copyright usr/share/doc/gromacs-data/COPYING
cat $(CURDIR)/debian/gromacs/usr/bin/gmx*.bash > \
$(CURDIR)/debian/gromacs-data/usr/share/bash-completion/completions/gmx
rm -f $(CURDIR)/debian/gromacs/usr/bin/GMXRC* $(CURDIR)/debian/gromacs/usr/bin/gmx*.bash
# symlinks, primarily for /usr/share/doc/{gromacs,libgromacs*} -> gromacs-data
dh_link -pgromacs-data
# rename a pair of Perl scripts to drop the .pl extension (Policy 10.4)
mv $(CURDIR)/debian/gromacs/usr/bin/demux.pl $(CURDIR)/debian/gromacs/usr/bin/demux
mv $(CURDIR)/debian/gromacs/usr/bin/xplor2gmx.pl $(CURDIR)/debian/gromacs/usr/bin/xplor2gmx
......@@ -252,8 +248,7 @@ install-basic: build-arch
$(MAKE) -C build/basic-dp install DESTDIR=$(CURDIR)/debian/gromacs
dh_installman -pgromacs debian/man/demux.1 debian/man/xplor2gmx.1
# gmx(1) -> gmx_d(1)
dh_link -pgromacs
dh_lintian -pgromacs
dh_link -pgromacs -pgromacs-data
# temporary as of 2019-beta2 and removal of CMAKE_SKIP_RPATH
chrpath -d $(CURDIR)/debian/gromacs/usr/bin/gmx $(CURDIR)/debian/gromacs/usr/bin/gmx_d
......@@ -265,7 +260,8 @@ install-mpich: build-mpich
$(MAKE) -C build/mpich install DESTDIR=$(CURDIR)/debian/gromacs-mpich
$(MAKE) -C build/mpich-dp install DESTDIR=$(CURDIR)/debian/gromacs-mpich
chmod 644 $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion*
mv $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion* $(CURDIR)/debian/gromacs-mpich/usr/share/gromacs/shell-specific/
mv $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion/gmx-completion-mdrun_mpi.mpich.bash $(CURDIR)/debian/gromacs-mpich/usr/share/bash-completion/completions/mdrun_mpi.mpich
mv $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion/gmx-completion-mdrun_mpi.mpich.bash $(CURDIR)/debian/gromacs-mpich/usr/share/bash-completion/completions/mdrun_mpi.mpich
# temporary as of 2019-beta2
chrpath -d $(CURDIR)/debian/gromacs-mpich/usr/bin/mdrun_mpi*
dh_installman -pgromacs-mpich debian/man/mdrun_mpi.mpich.1
......@@ -280,7 +276,8 @@ install-openmpi: build-openmpi
$(MAKE) -C build/openmpi install DESTDIR=$(CURDIR)/debian/gromacs-openmpi
$(MAKE) -C build/openmpi-dp install DESTDIR=$(CURDIR)/debian/gromacs-openmpi
chmod 644 $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion*
mv $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion* $(CURDIR)/debian/gromacs-openmpi/usr/share/gromacs/shell-specific/
mv $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion/gmx-completion-mdrun_mpi.openmpi.bash $(CURDIR)/debian/gromacs-openmpi/usr/share/bash-completion/completions/mdrun_mpi.openmpi
mv $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion/gmx-completion-mdrun_mpi_d.openmpi.bash $(CURDIR)/debian/gromacs-openmpi/usr/share/bash-completion/completions/mdrun_mpi_d.openmpi
# Force-disable RUNPATH - see <https://github.com/open-mpi/ompi/issues/521>
# and lintian tag binary-or-shlib-defines-rpath in versions >= 2.5.50
chrpath -d $(CURDIR)/debian/gromacs-openmpi/usr/bin/mdrun_mpi*
......