Commit c383378e authored by Nicholas Breen's avatar Nicholas Breen

Rename libgromacs2 to libgromacs3

parent 70612d18
......@@ -12,8 +12,11 @@ gromacs (2018~beta3-1) experimental; urgency=medium
* Update Standards-Version to 4.1.2.
* Remove obsolete zero byte file lintian overrides.
* SONAME bump: rename libgromacs2 to libgromacs3.
* Set all builds, including the MPI variants, to build strictly as shared-
library variants; this prevents it from statically embedding other
libraries (particularly zlib).
-- Nicholas Breen <nbreen@debian.org> Sat, 23 Dec 2017 11:30:45 -0800
-- Nicholas Breen <nbreen@debian.org> Sat, 23 Dec 2017 19:45:40 -0800
gromacs (2016.4-1) unstable; urgency=medium
......
usr/share/doc/gromacs
usr/share/doc/gromacs-data
usr/share/doc/libgromacs-dev
usr/share/doc/libgromacs2
usr/share/doc/libgromacs3
usr/share/gromacs
usr/share/gromacs/shell-specific
......@@ -33,7 +33,7 @@ COMMON_CONFIG_PARAMS = \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DGMX_X11=ON
-DBUILD_SHARED_LIBS=ON
# For compatibility reasons, disable SIMD CPU optimizations EXCEPT
# for SSE2 on x86/amd64, VSX on ppc64el, and NEON on armhf/arm64.
......@@ -97,8 +97,8 @@ endif
configure: configure-stamp
configure-stamp:
dh_testdir
(mkdir -p build/basic; cd build/basic; cmake $(COMMON_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_MPI=OFF -DBUILD_SHARED_LIBS=ON)
(mkdir -p build/basic-dp; cd build/basic-dp; cmake $(COMMON_CONFIG_PARAMS) -DGMX_MPI=OFF -DBUILD_SHARED_LIBS=ON -DGMX_DOUBLE=ON)
(mkdir -p build/basic; cd build/basic; cmake $(COMMON_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON)
(mkdir -p build/basic-dp; cd build/basic-dp; cmake $(COMMON_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON -DGMX_DOUBLE=ON)
(mkdir -p build/mpich; cd build/mpich; CC=/usr/bin/mpicc.mpich CXX=/usr/bin/mpicxx.mpich cmake \
$(COMMON_CONFIG_PARAMS) $(MPICH_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_BINARY_SUFFIX="_mpi.mpich" -DGMX_LIBS_SUFFIX="_mpi.mpich")
(mkdir -p build/mpich-dp; cd build/mpich-dp; CC=/usr/bin/mpicc.mpich CXX=/usr/bin/mpicxx.mpich cmake \
......@@ -197,15 +197,15 @@ install: build-arch install-basic install-mpich install-openmpi
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/libgromacs2/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs3/html
# this name is also given in documentation
dh_link -pgromacs-data usr/share/doc/gromacs-data/copyright usr/share/doc/gromacs-data/COPYING
# 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
mkdir -p $(CURDIR)/debian/libgromacs2/usr/lib/$(DEB_HOST_MULTIARCH)
mv $(CURDIR)/debian/gromacs/usr/lib/*/*.so.* $(CURDIR)/debian/libgromacs2/usr/lib/$(DEB_HOST_MULTIARCH)/
mkdir -p $(CURDIR)/debian/libgromacs3/usr/lib/$(DEB_HOST_MULTIARCH)
mv $(CURDIR)/debian/gromacs/usr/lib/*/*.so.* $(CURDIR)/debian/libgromacs3/usr/lib/$(DEB_HOST_MULTIARCH)/
dh_installdirs -plibgromacs-dev
mv $(CURDIR)/debian/gromacs/usr/include $(CURDIR)/debian/libgromacs-dev/usr/include
......@@ -221,7 +221,7 @@ install: build-arch install-basic install-mpich install-openmpi
-rmdir $(CURDIR)/debian/gromacs/usr/share/gromacs
# what are you doing here?
mv $(CURDIR)/debian/gromacs/usr/share/cmake $(CURDIR)/debian/libgromacs-dev/usr/share/gromacs/
dh_lintian -pgromacs -pgromacs-data -plibgromacs2
dh_lintian -pgromacs -pgromacs-data -plibgromacs3
install-manual: build-manual install
dh_testdir
......@@ -292,8 +292,8 @@ binary-arch: build-arch install
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
dh_shlibdeps -plibgromacs2 -L libgromacs2 -l debian/libgromacs2/usr/lib
dh_shlibdeps -pgromacs -L libgromacs2 -l debian/libgromacs2/usr/lib:debian/gromacs/usr/lib
dh_shlibdeps -plibgromacs3 -L libgromacs3 -l debian/libgromacs3/usr/lib
dh_shlibdeps -pgromacs -L libgromacs3 -l debian/libgromacs3/usr/lib:debian/gromacs/usr/lib
dh_shlibdeps -pgromacs-mpich -L gromacs-mpich -l debian/gromacs-mpich/usr/lib
dh_shlibdeps -pgromacs-openmpi -L gromacs-openmpi -l debian/gromacs-openmpi/usr/lib
dh_gencontrol -a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment