[metview] 38/97: Split shared data into a metview-data pkg to save archive space.

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Sep 1 09:18:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch master
in repository metview.

commit b8e9b337f9d86a8e9fb5afac63d0ce5e995d4c2b
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jun 20 08:43:40 2014 +0100

    Split shared data into a metview-data pkg to save archive space.
---
 debian/CONFIG.site          |  2 +-
 debian/control              | 16 +++++++++++++++-
 debian/metview-data.install |  1 +
 debian/metview.install      |  1 -
 debian/rules                |  6 +++---
 5 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/debian/CONFIG.site b/debian/CONFIG.site
index 41235d7..9aa49c2 100644
--- a/debian/CONFIG.site
+++ b/debian/CONFIG.site
@@ -6,7 +6,7 @@ INSTALLDIR=/usr
 METVIEW_SCRIPT=/usr/bin/metview
 MV_MARS_ACCESS=MARS_none
 MARS_HOME=
-METVIEW_BIN=/usr/lib/MetView
+METVIEW_BIN=/usr/lib/metview
 METVIEW_TITLE_PROD="Production "
 METVIEW_TITLE_DEV="Development autotools "
 MV_ENVIRON=common
diff --git a/debian/control b/debian/control
index 2bf4fc6..f45d417 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Homepage: https://software.ecmwf.int/wiki/display/METV/Home
 
 Package: metview
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, ksh | mksh | pdksh | zsh, x11-utils
+Depends: ${misc:Depends}, ${shlibs:Depends}, ksh | mksh | pdksh | zsh, 
+ x11-utils, metview-data
 Description: Interactive data visualization and analysis environment,
  Metview has been designed as a flexible, modular and extendible system 
  able to accommodate the evolving needs of the user. 
@@ -28,6 +29,19 @@ Description: Interactive data visualization and analysis environment,
  Metview is a cooperative project between ECMWF and INPE/CPTEC, Brazil. 
  ECMWF has also been assisted by a staff member of Météo-France. 
 
+Package: metview-data
+Architecture: all
+Description: Data needed for the Metview data analysis environment
+ Metview has been designed as a flexible, modular and extendible system
+ able to accommodate the evolving needs of the user.
+ The system is based on the ECMWF standards for graphics (Magics) and
+ data access (MARS) but can also access locally stored data.
+ The user interface is based on Motif and Qt. Metview is a
+ fully distributed system where modules can run on different workstations
+ and servers.
+ .
+ This package provides data files needed for metvieww.
+
 Package: libmetview-dev
 Architecture: any
 Multi-Arch: foreign
diff --git a/debian/metview-data.install b/debian/metview-data.install
new file mode 100644
index 0000000..d4a8a35
--- /dev/null
+++ b/debian/metview-data.install
@@ -0,0 +1 @@
+usr/share/*
diff --git a/debian/metview.install b/debian/metview.install
index 666c2c5..ac57212 100644
--- a/debian/metview.install
+++ b/debian/metview.install
@@ -1,3 +1,2 @@
 usr/bin/metview
 usr/bin/Metview/*	/usr/lib/metview
-usr/share/*
diff --git a/debian/rules b/debian/rules
index f2304df..02359ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
 TOP:=$(shell pwd)
 export METVIEW_DIR_DEV=$(TOP)
 
-MV_COMP:=$(TOP)/debian/tmp/usr/bin/MetView/mv_compress
+MV_COMP:=$(TOP)/debian/tmp/usr/bin/Metview/mv_compress
 
 # magic debhelper rule
 %:
@@ -50,8 +50,8 @@ override_dh_auto_install:
 	sed -e 's%function findCommonPath()%findCommonpath()%'  \
 		< $(MV_COMP) >  $(MV_COMP).tmp
 	mv $(MV_COMP).tmp  $(MV_COMP)
-	chmod -R -x debian/tmp/usr/share/metview/*
 
-override_dh_auto_fixperms:
+override_dh_fixperms:
 	dh_fixperms
+	chmod -R -x debian/metview/usr/share/metview/*
 	find debian/metview/usr/share/metview -type d -exec chmod 755 {} \;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git



More information about the debian-science-commits mailing list