[pkg-d-commits] [vibe.d] 06/06: Add development packages

Matthias Klumpp mak at moszumanska.debian.org
Thu Dec 22 18:59:49 UTC 2016


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

mak pushed a commit to branch master
in repository vibe.d.

commit a696ac2a4730e0b813609e25b5706e9bee2c3ccf
Author: Matthias Klumpp <matthias at tenstral.net>
Date:   Tue Dec 20 21:07:23 2016 +0100

    Add development packages
---
 debian/control                                     | 169 +++++++++++++++++++--
 debian/libvibe-core-dev.install                    |  11 +-
 ...{libvibe-core.install => libvibe-core0.install} |   0
 debian/libvibe-data-dev.install                    |   3 +
 ...{libvibe-data.install => libvibe-data0.install} |   0
 debian/libvibe-diet-dev.install                    |   3 +
 ...{libvibe-diet.install => libvibe-diet0.install} |   0
 debian/libvibe-http-dev.install                    |   3 +
 ...{libvibe-http.install => libvibe-http0.install} |   0
 debian/libvibe-mail-dev.install                    |   3 +
 ...{libvibe-mail.install => libvibe-mail0.install} |   0
 debian/libvibe-mongodb-dev.install                 |   3 +
 ...be-mongodb.install => libvibe-mongodb0.install} |   0
 debian/libvibe-redis-dev.install                   |   3 +
 ...ibvibe-redis.install => libvibe-redis0.install} |   0
 debian/libvibe-utils-dev.install                   |   4 +
 ...ibvibe-utils.install => libvibe-utils0.install} |   0
 debian/libvibe-web-dev.install                     |   3 +
 .../{libvibe-web.install => libvibe-web0.install}  |   0
 debian/rules                                       |   3 +-
 20 files changed, 190 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 89e2099..4d253ed 100644
--- a/debian/control
+++ b/debian/control
@@ -18,9 +18,17 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-d/vibe.d.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-d/vibe.d.git
 
 Package: vibe.d
-Architecture: any
-Section: metapackages
-Depends: ${misc:Depends},
+Architecture: all
+Depends: libvibe-core-dev,
+         libvibe-data-dev,
+         libvibe-diet-dev,
+         libvibe-http-dev,
+         libvibe-mail-dev,
+         libvibe-mongodb-dev,
+         libvibe-redis-dev,
+         libvibe-utils-dev,
+         libvibe-web-dev,
+         ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance asynchronous I/O web application toolkit
  vibe.d is a high-performance asynchronous I/O, concurrency and web
@@ -28,10 +36,12 @@ Description: High-performance asynchronous I/O web application toolkit
  features such as database support to be able to offer a complete
  development environment.
  .
- This package is a metapackage pulling in all vibe.d modules.
+ This package is a metapackage pulling in all vibe.d modules and their
+ development files.
 
-Package: libvibe-core
+Package: libvibe-core0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Core
@@ -45,6 +55,7 @@ Description: High-performance web application toolkit - Core
 
 Package: libvibe-core-dev
 Architecture: any
+Section: libdevel
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Core (development)
@@ -56,8 +67,9 @@ Description: High-performance web application toolkit - Core (development)
  This package contains development files for basic I/O and concurrency
  primitives, as well as low level utility functions of Vibe.
 
-Package: libvibe-utils
+Package: libvibe-utils0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Utils
@@ -68,9 +80,26 @@ Description: High-performance web application toolkit - Utils
  .
  This package contains low level utility functionality of Vibe.
 
-Package: libvibe-data
+Package: libvibe-utils-dev
 Architecture: any
-Depends: ${misc:Depends},
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Utils (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for low level utility
+ functionality of Vibe.
+
+Package: libvibe-data0
+Architecture: any
+Section: libs
+Depends: libvibe-utils,
+         ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Data
  vibe.d is a high-performance asynchronous I/O, concurrency and web
@@ -80,8 +109,24 @@ Description: High-performance web application toolkit - Data
  .
  This package contains data format and serialization support for Vibe.
 
-Package: libvibe-http
+Package: libvibe-data-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Data (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for data format and
+ serialization support of Vibe.
+
+Package: libvibe-http0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - HTTP
@@ -93,8 +138,24 @@ Description: High-performance web application toolkit - HTTP
  This package contains the Vibe HTTP server and client implementation
  and higher level HTTP functionality.
 
-Package: libvibe-mail
+Package: libvibe-http-dev
 Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - HTTP (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the Vibe HTTP server,
+ client implementation and higher level HTTP functionality.
+
+Package: libvibe-mail0
+Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Mail
@@ -105,8 +166,23 @@ Description: High-performance web application toolkit - Mail
  .
  This package contains the Vibe SMTP client support.
 
-Package: libvibe-diet
+Package: libvibe-mail-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Mail (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the SMTP client support.
+
+Package: libvibe-diet0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Diet
@@ -117,8 +193,24 @@ Description: High-performance web application toolkit - Diet
  .
  This package contains the Diet HTML template system.
 
-Package: libvibe-mongodb
+Package: libvibe-diet-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Diet (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the the Diet HTML
+ template system.
+
+Package: libvibe-mongodb0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - MongoDB
@@ -129,8 +221,24 @@ Description: High-performance web application toolkit - MongoDB
  .
  This package contains the MongoDB database client implementation.
 
-Package: libvibe-redis
+Package: libvibe-mongodb-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - MongoDB (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the MongoDB database
+ client implementation.
+
+Package: libvibe-redis0
 Architecture: any
+Section: libs
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: High-performance web application toolkit - Redis
@@ -141,14 +249,45 @@ Description: High-performance web application toolkit - Redis
  .
  This package contains the Redis database client implementation.
 
-Package: libvibe-web
+Package: libvibe-redis-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Redis (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the Redis database
+ client implementation.
+
+Package: libvibe-web0
+Section: libs
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends}
-Description: High-performance web application toolkit - Redis
+Description: High-performance web application toolkit - Web
  vibe.d is a high-performance asynchronous I/O, concurrency and web
  application toolkit written in D. It already contains many supplemental
  features such as database support to be able to offer a complete
  development environment.
  .
  This package contains the high level web and REST service framework.
+
+Package: libvibe-web-dev
+Architecture: any
+Section: libdevel
+Depends: libvibe-core-dev (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: High-performance web application toolkit - Web (development)
+ vibe.d is a high-performance asynchronous I/O, concurrency and web
+ application toolkit written in D. It already contains many supplemental
+ features such as database support to be able to offer a complete
+ development environment.
+ .
+ This package contains development files for the high level web
+ and REST service framework.
diff --git a/debian/libvibe-core-dev.install b/debian/libvibe-core-dev.install
index fcc3efd..b67ca54 100644
--- a/debian/libvibe-core-dev.install
+++ b/debian/libvibe-core-dev.install
@@ -1,3 +1,10 @@
-usr/lib/*/libvibe-core.so.
-usr/lib/*/pkgconfig/vibe-core.pc
+usr/include/d/vibe/appmain.d
 usr/include/d/vibe/core/*
+usr/include/d/vibe/crypto/*
+usr/include/d/vibe/d.d
+usr/include/d/vibe/inet/*
+usr/include/d/vibe/stream/*
+usr/include/d/vibe/textfilter/*
+usr/include/d/vibe/vibe.d
+usr/lib/*/libvibe-core.so
+usr/lib/*/pkgconfig/vibe-core.pc
diff --git a/debian/libvibe-core.install b/debian/libvibe-core0.install
similarity index 100%
rename from debian/libvibe-core.install
rename to debian/libvibe-core0.install
diff --git a/debian/libvibe-data-dev.install b/debian/libvibe-data-dev.install
new file mode 100644
index 0000000..45a1a1d
--- /dev/null
+++ b/debian/libvibe-data-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/data/*
+usr/lib/*/libvibe-data.so
+usr/lib/*/pkgconfig/vibe-data.pc
diff --git a/debian/libvibe-data.install b/debian/libvibe-data0.install
similarity index 100%
rename from debian/libvibe-data.install
rename to debian/libvibe-data0.install
diff --git a/debian/libvibe-diet-dev.install b/debian/libvibe-diet-dev.install
new file mode 100644
index 0000000..d0c87c9
--- /dev/null
+++ b/debian/libvibe-diet-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/templ/*
+usr/lib/*/libvibe-diet.so
+usr/lib/*/pkgconfig/vibe-diet.pc
diff --git a/debian/libvibe-diet.install b/debian/libvibe-diet0.install
similarity index 100%
rename from debian/libvibe-diet.install
rename to debian/libvibe-diet0.install
diff --git a/debian/libvibe-http-dev.install b/debian/libvibe-http-dev.install
new file mode 100644
index 0000000..0bb4c01
--- /dev/null
+++ b/debian/libvibe-http-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/http/*
+usr/lib/*/libvibe-http.so
+usr/lib/*/pkgconfig/vibe-http.pc
diff --git a/debian/libvibe-http.install b/debian/libvibe-http0.install
similarity index 100%
rename from debian/libvibe-http.install
rename to debian/libvibe-http0.install
diff --git a/debian/libvibe-mail-dev.install b/debian/libvibe-mail-dev.install
new file mode 100644
index 0000000..0e161fc
--- /dev/null
+++ b/debian/libvibe-mail-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/mail/*
+usr/lib/*/libvibe-mail.so
+usr/lib/*/pkgconfig/vibe-mail.pc
diff --git a/debian/libvibe-mail.install b/debian/libvibe-mail0.install
similarity index 100%
rename from debian/libvibe-mail.install
rename to debian/libvibe-mail0.install
diff --git a/debian/libvibe-mongodb-dev.install b/debian/libvibe-mongodb-dev.install
new file mode 100644
index 0000000..5264cab
--- /dev/null
+++ b/debian/libvibe-mongodb-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/db/mongo/*
+usr/lib/*/libvibe-mongodb.so
+usr/lib/*/pkgconfig/vibe-mongodb.pc
diff --git a/debian/libvibe-mongodb.install b/debian/libvibe-mongodb0.install
similarity index 100%
rename from debian/libvibe-mongodb.install
rename to debian/libvibe-mongodb0.install
diff --git a/debian/libvibe-redis-dev.install b/debian/libvibe-redis-dev.install
new file mode 100644
index 0000000..68dae82
--- /dev/null
+++ b/debian/libvibe-redis-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/db/redis/*
+usr/lib/*/libvibe-redis.so
+usr/lib/*/pkgconfig/vibe-redis.pc
diff --git a/debian/libvibe-redis.install b/debian/libvibe-redis0.install
similarity index 100%
rename from debian/libvibe-redis.install
rename to debian/libvibe-redis0.install
diff --git a/debian/libvibe-utils-dev.install b/debian/libvibe-utils-dev.install
new file mode 100644
index 0000000..269fc75
--- /dev/null
+++ b/debian/libvibe-utils-dev.install
@@ -0,0 +1,4 @@
+usr/include/d/vibe/internal/*
+usr/include/d/vibe/utils/*
+usr/lib/*/libvibe-utils.so
+usr/lib/*/pkgconfig/vibe-utils.pc
diff --git a/debian/libvibe-utils.install b/debian/libvibe-utils0.install
similarity index 100%
rename from debian/libvibe-utils.install
rename to debian/libvibe-utils0.install
diff --git a/debian/libvibe-web-dev.install b/debian/libvibe-web-dev.install
new file mode 100644
index 0000000..f285cf1
--- /dev/null
+++ b/debian/libvibe-web-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/vibe/web/*
+usr/lib/*/libvibe-web.so
+usr/lib/*/pkgconfig/vibe-web.pc
diff --git a/debian/libvibe-web.install b/debian/libvibe-web0.install
similarity index 100%
rename from debian/libvibe-web.install
rename to debian/libvibe-web0.install
diff --git a/debian/rules b/debian/rules
index a6349bf..60eb076 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 VIBED_FLAGS := --prefix=/usr \
 		--buildtype=plain
 
-export DFLAGS=-O3 -g -release -wi
+export DFLAGS=-O0 -g -release -wi
 
 # Define install target dir
 INSTALLDIR = $(CURDIR)/debian/tmp
@@ -18,6 +18,7 @@ override_dh_auto_configure:
 	(cd build && meson $(VIBED_FLAGS) ..)
 
 override_dh_auto_build:
+	ldc2 --version
 	ninja -Cbuild -v
 
 override_dh_auto_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/vibe.d.git



More information about the pkg-d-commits mailing list