[Pkg-cli-libs-commits] [webkitgtk-sharp] 02/08: Add Debian packaging.

Andrew Shadura bugzilla at tut.by
Mon Jan 18 12:29:13 UTC 2016


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

andrewsh pushed a commit to branch master
in repository webkitgtk-sharp.

commit 57fe1f0ebcb958c4ffe64d77b3e823af4646ef54
Author: Andrew Shadura <andrew.shadura at collabora.co.uk>
Date:   Tue Dec 22 18:03:52 2015 +0100

    Add Debian packaging.
---
 debian/changelog                               | 14 ++++++
 debian/compat                                  |  1 +
 debian/control                                 | 70 ++++++++++++++++++++++++++
 debian/copyright                               | 33 ++++++++++++
 debian/docs                                    |  2 +
 debian/libwebkitgtk3.0-cil-dev.install         |  2 +
 debian/libwebkitgtk3.0-cil.install             |  2 +
 debian/libwebkitgtk3.0-cil.installcligac       |  1 +
 debian/monodoc-webkitgtk3.0-manual.install     |  1 +
 debian/patches/02-pkgconfig_library_path.patch | 15 ++++++
 debian/patches/series                          |  1 +
 debian/rules                                   | 25 +++++++++
 debian/source/format                           |  1 +
 13 files changed, 168 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4713afc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,14 @@
+webkitgtk-sharp3 (2.0.0+git20151221-1) unstable; urgency=low
+
+  [ Thanh Tung Nguyen ]
+  * Initial packaging of 1.10.2 release.
+
+  [ Neil McGovern ]
+  * Update the packaging to 2.0.0.
+
+  [ Andrew Shadura ]
+  * Update to the latest Git snapshot (closes: #807913).
+  * Update the copyright file.
+  * Use mdoc instead of monodocer.
+
+ -- Andrew Shadura <andrewsh at debian.org>  Tue, 22 Dec 2015 18:03:42 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e8c6162
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,70 @@
+Source: webkitgtk-sharp3
+Section: cli-mono
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
+Uploaders: Andrew Shadura <andrewsh at debian.org>
+Homepage: https://github.com/stsundermann/webkitgtk-sharp
+Standards-Version: 3.9.6
+Build-Depends: cli-common-dev (>= 0.8~), debhelper (>= 9), dh-autoreconf,
+ gtk-sharp3 (>= 2.99.2), libsoup2.4-cil-dev, libtool, libwebkitgtk-3.0-dev (>= 2.0),
+ mono-devel (>= 1.0.0), mono-mcs, mono-gac, monodoc-base, pkg-config
+
+Package: libwebkitgtk2.0-cil
+Architecture: all
+Priority: extra
+Section: oldlibs
+Depends: libwebkitgtk3.0-cil, ${misc:Depends}
+Description: CLI bindings for WebKitGTK+ 3.0 (transitional package)
+ This is a transitional package. You can safely remove it.
+
+Package: libwebkitgtk2.0-cil-dev
+Architecture: all
+Priority: extra
+Section: oldlibs
+Depends: libwebkitgtk3.0-cil-dev, ${misc:Depends}
+Description: CLI bindings for WebKitGTK+ 3.0 (transitional development package)
+ This is a transitional package. You can safely remove it.
+
+Package: libwebkitgtk3.0-cil
+Architecture: any
+Depends: ${cli:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Breaks: libwebkitgtk-3.0-cil
+Replaces: libwebkitgtk-3.0-cil
+Description: CLI bindings for WebKitGTK+ 3.0 using GObject Introspection
+ WebKit is a web content engine, derived from KHTML and KJS from KDE, and
+ used primarily in Apple's Safari browser.  It is made to be embedded in
+ other applications, such as mail readers, or web browsers.
+ .
+ This package provides the webkitgtk-sharp assembly that allows CLI programs to
+ use the WebKitGTK+ 3.0 library.
+
+Package: libwebkitgtk3.0-cil-dev
+Architecture: any
+Depends: libwebkitgtk3.0-cil (= ${binary:Version}), libsoup2.4-cil-dev, ${misc:Depends}
+Description: CLI bindings for WebKitGTK+ 3.0 using GObject Introspection - development
+ WebKit is a web content engine, derived from KHTML and KJS from KDE, and
+ used primarily in Apple's Safari browser.  It is made to be embedded in
+ other applications, such as mail readers, or web browsers.
+ .
+ This package provides development files for the WebKit# assembly,
+ and should be used for compilation.
+
+Package: monodoc-webkitgtk2.0-manual
+Architecture: all
+Priority: extra
+Section: oldlibs
+Depends: monodoc-webkitgtk3.0-manual, ${misc:Depends}
+Description: compiled XML documentation for WebKit# (transitional package)
+ This is a transitional package. You can safely remove it.
+
+Package: monodoc-webkitgtk3.0-manual
+Architecture: all
+Section: doc
+Priority: extra
+Depends: monodoc-manual, ${misc:Depends}
+Description: compiled XML documentation for WebKit#
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This package contains the compiled XML documentation for WebKit#.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8a9e13d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: webkitgtk-sharp3
+Source: https://github.com/stsundermann/webkitgtk-sharp
+
+Files: *
+Copyright:
+    2012 Andreia Gaita <shana at spoiledcat.net>
+    2013-2015 Stephan Sundermann <stephansundermann at gmail.com>
+License: LGPL-3+
+
+Files: debian/*
+Copyright:
+    2013—2015 Thanh Tung Nguyen <thngtong at gmail.com>
+    2015 Neil McGovern <neilm at debian.org>
+    2015 Andrew Shadura <andrewsh at debian.org>
+License: LGPL-3+
+
+License: LGPL-3+
+ webkitgtk-sharp is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License
+ version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..0b6e0f3
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.md
diff --git a/debian/libwebkitgtk3.0-cil-dev.install b/debian/libwebkitgtk3.0-cil-dev.install
new file mode 100644
index 0000000..7103a0c
--- /dev/null
+++ b/debian/libwebkitgtk3.0-cil-dev.install
@@ -0,0 +1,2 @@
+usr/lib/pkgconfig
+usr/share/gapi-3.0
diff --git a/debian/libwebkitgtk3.0-cil.install b/debian/libwebkitgtk3.0-cil.install
new file mode 100644
index 0000000..743150b
--- /dev/null
+++ b/debian/libwebkitgtk3.0-cil.install
@@ -0,0 +1,2 @@
+usr/lib/mono/gac/webkitgtk-sharp/2.0.0.*/* usr/lib/cli/webkitgtk-sharp-3.0
+usr/lib/libwebkitgtksharpglue-1.10.2.so usr/lib/cli/webkitgtk-sharp-3.0
\ No newline at end of file
diff --git a/debian/libwebkitgtk3.0-cil.installcligac b/debian/libwebkitgtk3.0-cil.installcligac
new file mode 100644
index 0000000..31bc8e7
--- /dev/null
+++ b/debian/libwebkitgtk3.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/webkitgtk-sharp-3.0/webkitgtk-sharp.dll
diff --git a/debian/monodoc-webkitgtk3.0-manual.install b/debian/monodoc-webkitgtk3.0-manual.install
new file mode 100644
index 0000000..b4721fc
--- /dev/null
+++ b/debian/monodoc-webkitgtk3.0-manual.install
@@ -0,0 +1 @@
+usr/lib/monodoc
diff --git a/debian/patches/02-pkgconfig_library_path.patch b/debian/patches/02-pkgconfig_library_path.patch
new file mode 100644
index 0000000..5ed39b9
--- /dev/null
+++ b/debian/patches/02-pkgconfig_library_path.patch
@@ -0,0 +1,15 @@
+Description: A few fixes in pkgconfig file
+Author: Thanh Tung Nguyen <thngtong at gmail.com>
+Last-Update: 2015-01-18
+
+--- a/webkitgtk-sharp-3.0.pc.in
++++ b/webkitgtk-sharp-3.0.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
+-pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@
++pkglibdir=${exec_prefix}/lib/cli/@ASSEMBLY_PC@
+ gapidir=@GAPIXMLDIR@
+ 
+ Name: @ASSEMBLY_TITLE@
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6214e57
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+02-pkgconfig_library_path.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5068d6f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export DH_ALWAYS_EXCLUDE=.git
+
+CONFIG=--prefix=/usr --libdir=/usr/lib
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f stamp-h sources/glue/generated.c config.log
+	rm -rf doc/en/* sources/generated/*
+
+override_dh_auto_configure:
+	dh_auto_configure --parallel -- $(CONFIG)
+
+override_dh_auto_install:
+	dh_auto_install --parallel --destdir=$(CURDIR)/debian/tmp
+
+override_dh_makeshlibs:
+	dh_makeshlibs -n -plibwebkitgtk3.0-cil
+	dh_makeshlibs --remaining-packages
+
+%:
+	dh $@ --parallel --with autoreconf --with cli
+
+.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_install override_dh_makeshlibs
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/webkitgtk-sharp.git



More information about the Pkg-cli-libs-commits mailing list