[gxml: 2/4] add debian files



commit 5d375c4b0be51b36f8ae852f315a264b2435dedc
Author: BZHDeveloper <inizan yannick gmail com>
Date:   Mon Jun 24 02:51:33 2019 +0200

    add debian files

 debian/changelog                 | 17 +++++++++++++
 debian/compat                    |  1 +
 debian/control                   | 52 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright                 | 46 +++++++++++++++++++++++++++++++++++
 debian/gir1.2-gxml-0.18-install  |  1 +
 debian/git-build-recipe.manifest |  2 ++
 debian/libgxml-0.18-0-install    |  1 +
 debian/libgxml-0.18-dev-install  |  6 +++++
 debian/meson.build               | 37 ++++++++++++++++++++++++++++
 debian/rules                     | 20 ++++++++++++++++
 debian/source/format             |  1 +
 11 files changed, 184 insertions(+)
---
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..87b3cde
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+gxml-0.18 (0.18.0+rev1535+git34a4249-1~ubuntu19.04.1) disco; urgency=low
+
+  * Auto build.
+
+ -- INIZAN yannick <inizan yannick gmail com>  Fri, 29 Mar 2019 00:13:31 +0000
+
+gxml-0.18 (0.18.0-1) xenial; urgency=low
+
+  * git snapshot.
+
+ -- Yannick Inizan <inizan yannick gmail com>  Sat, 30 Jul 2016 21:56:37 +0200
+
+gxml-0.10 (0.9.3.2-3) xenial; urgency=low
+
+  * initial release.
+
+ -- Yannick Inizan <inizan yannick gmail com>  Wed, 09 Mar 2016 19:55:30 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..af91f87
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: gxml-0.18
+Section: libs
+Priority: optional
+Maintainer: Daniel Espinosa <daniel espinosa pwmc mx>
+Build-Depends: debhelper (>= 9),
+       git,
+       meson,
+    ninja-build,
+       valac,
+       yelp-tools,
+       intltool,
+       libxml2-dev,
+       libgee-0.8-dev,
+       gir1.2-glib-2.0 (>= 0.9.12),
+       libgirepository1.0-dev (>= 0.9.12),
+       gobject-introspection (>= 0.9.12-4~)
+Standards-Version: 3.9.6
+Homepage: https://wiki.gnome.org/GXml
+#Vcs-Git: git://anonscm.debian.org/collab-maint/gxml-0.6.git
+#Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/gxml-0.6.git;a=summary
+
+Package: libgxml-0.18-0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GObject libxml2 bindings
+ GXml is a wrapper of libxml2 to GObject providing bidings to Vala and any
+ language supporting GObject Introspection.
+
+Package: libgxml-0.18-dev
+Section: libdevel
+Architecture: any
+Depends: libgxml-0.18-0 (= ${binary:Version}),
+                libgee-0.8-dev,
+                libxml2-dev,
+                ${misc:Depends}
+Description: GObject libxml2 bindings (development files)
+ GXml is a wrapper of libxml2 to GObject providing bidings to Vala and any
+ language supporting GObject Introspection.
+ .
+ This package contains the development files.
+
+Package: gir1.2-gxml-0.18
+Architecture: any
+Section: introspection
+Depends: ${gir:Depends}, ${misc:Depends}
+Description: GObject libxml2 bindings (GObject-Introspection)
+ GXml is a wrapper of libxml2 to GObject providing bidings to Vala and any
+ language supporting GObject Introspection.
+ .
+ This package contains introspection data for GXml, which can be used
+ to generate dynamic bindings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..56b708d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gxml-0.18
+Source: 
+
+Files: *
+Copyright: 22011-2013  Richard Schwarting <aquarichy gmail com>
+           2011,2015  Daniel Espinosa <esodan gmail com>
+License: LGPL-2+
+ This library 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 2.1 of the License, or (at your option) any later version.
+ .
+ This library 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 Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+# If you want to use GPL v2 or later for the /debian/* files use 
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2015 Daniel Espinosa <daniel espinosa pwmc mx>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 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 <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/gir1.2-gxml-0.18-install b/debian/gir1.2-gxml-0.18-install
new file mode 100644
index 0000000..49d71c9
--- /dev/null
+++ b/debian/gir1.2-gxml-0.18-install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0
diff --git a/debian/git-build-recipe.manifest b/debian/git-build-recipe.manifest
new file mode 100644
index 0000000..1db8420
--- /dev/null
+++ b/debian/git-build-recipe.manifest
@@ -0,0 +1,2 @@
+# git-build-recipe format 0.4 deb-version {debupstream}+rev1535+git34a4249-1
+lp:gxml git-commit:34a42495413fe6214a60ea034f8bf09f8bd1cf4c
diff --git a/debian/libgxml-0.18-0-install b/debian/libgxml-0.18-0-install
new file mode 100644
index 0000000..d2766c8
--- /dev/null
+++ b/debian/libgxml-0.18-0-install
@@ -0,0 +1 @@
+usr/lib/*/libgxml-0.18.so.*
diff --git a/debian/libgxml-0.18-dev-install b/debian/libgxml-0.18-dev-install
new file mode 100644
index 0000000..b4482cd
--- /dev/null
+++ b/debian/libgxml-0.18-dev-install
@@ -0,0 +1,6 @@
+usr/lib/*/libgxml-0.18.so
+usr/lib/*/libgxml-0.18.a
+usr/lib/*/pkgconfig/
+usr/include/gxml-0.18/gxml
+usr/share/vala
+usr/share/gir-1.0
diff --git a/debian/meson.build b/debian/meson.build
new file mode 100644
index 0000000..c790e10
--- /dev/null
+++ b/debian/meson.build
@@ -0,0 +1,37 @@
+conf = configuration_data()
+conf.set ('API_VERSION', API_VERSION)
+conf.set ('VERSION', PROJECT_VERSION)
+
+debian_changelog = configure_file(input : 'changelog.in',
+       output : 'changelog',
+       configuration : conf)
+
+debian_control = configure_file(input : 'control.in',
+       output : 'control',
+       configuration : conf)
+
+debian_copyright = configure_file(input : 'copyright.in',
+       output : 'copyright',
+       configuration : conf)
+       
+debian_gir = configure_file(input : 'gir1.2-gxml.install.in',
+       output : 'gir1.2-gxml-@0@-install'.format(API_VERSION),
+       configuration : conf)
+       
+debian_bin = configure_file(input : 'libgxml-0.install.in',
+       output : 'libgxml-@0@-0-install'.format(API_VERSION),
+       configuration : conf)
+
+debian_dev = configure_file(input : 'libgxml-dev.install.in',
+       output : 'libgxml-@0@-dev-install'.format(API_VERSION),
+       configuration : conf)
+
+install_data([
+        debian_changelog,
+        debian_control,
+        debian_copyright,
+        debian_gir,
+        debian_bin,
+        debian_dev
+    ],
+    install_dir : meson.current_source_dir())
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..76b2b2a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+override_dh_auto_clean:
+       rm -fr build
+
+override_dh_auto_configure:
+       mkdir -p build
+       cd build && meson .. --prefix=/usr
+
+override_dh_auto_build:
+       cd build && ninja -v
+
+override_dh_auto_test:
+#      cd build && ninja test
+
+override_dh_auto_install:
+       DESTDIR=${CURDIR}/debian/tmp ninja -Cbuild -v install
+
+%:
+       dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]