[mate-window-applets] 01/02: initial packaging draft

Mike Gabriel sunweaver at debian.org
Tue Oct 10 20:03:05 UTC 2017


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

sunweaver pushed a commit to branch master
in repository mate-window-applets.

commit 346f0791ca16d9b9dd19bec1fd1eb61ac946c861
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 10 19:58:14 2017 +0000

    initial packaging draft
---
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 66 ++++++++++++++++++++++++++++++
 debian/copyright                           | 34 +++++++++++++++
 debian/mate-window-applets-common.install  |  1 +
 debian/mate-window-applets-common.postinst | 23 +++++++++++
 debian/mate-window-buttons-applet.install  |  3 ++
 debian/mate-window-menu-applet.install     |  3 ++
 debian/mate-window-title-applet.install    |  3 ++
 debian/patches/README                      |  3 ++
 debian/rules                               | 13 ++++++
 debian/source/format                       |  1 +
 debian/watch                               |  3 ++
 13 files changed, 159 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b119bfe
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mate-window-applets (1.5-1) UNRELEASED; urgency=medium
+
+  * Initial release to Debian. (Closes: #878179).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Tue, 10 Oct 2017 14:21:30 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2ec8dcb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,66 @@
+Source: mate-window-applets
+Section: utils
+Priority: optional
+Maintainer: Debian MATE Packaging Team <pkg-mate-team at lists.alioth.debian.org>
+Uploaders: Martin Wimpress <code at flexion.org>,
+           Mike Gabriel <sunweaver at debian.org>,
+Build-Depends: debhelper (>= 10.3~),
+               dpkg-dev (>= 1.16.1.1~),
+               libglib2.0-dev (>= 2.40.0),
+               libgtk-3-dev (>= 3.22.0),
+               libmate-panel-applet-dev (>= 1.18),
+               libwnck-3-dev,
+               meson,
+               valac,
+Homepage: https://github.com/IKRadulov/mate-window-applets
+Vcs-Browser: https://anonscm.debian.org/git/pkg-mate/mate-window-applets.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-mate/mate-window-applets.git
+Standards-Version: 4.1.1
+
+Package: mate-window-buttons-applet
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         mate-window-applets-common (>= ${source:Version}),
+         mate-panel,
+Description: MATE Window Applets (WindowButtons Applet)
+ The MATE Window Applets collection provides various applets to show
+ window control elements in the MATE Panel.
+ .
+ This WindowButtons applet shows you the close, minimize and actions
+ buttons.
+
+Package: mate-window-title-applet
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         mate-window-applets-common (>= ${source:Version}),
+         mate-panel,
+Description: MATE Window Applets (WindowTitle Applet)
+ The MATE Window Applets collection provides various applets to show
+ window control elements in the MATE Panel.
+ .
+ This WindowTitle applet shows you the class, title, role, xid and pid of
+ the active window.
+
+Package: mate-window-menu-applet
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         mate-window-applets-common (>= ${source:Version}),
+         mate-panel,
+Description: MATE Window Applets (WindowMenu Applet)
+ The MATE Window Applets collection provides various applets to show
+ window control elements in the MATE Panel.
+ .
+ This WindowMenu applet shows you the window menu of the active window.
+
+Package: mate-window-applets-common
+Architecture: all
+Depends: ${misc:Depends},
+Description: MATE Window Applets (common files)
+ The MATE Window Applets collection provides various applets to show
+ window control elements in the MATE Panel.
+ .
+ This package contains the arch-independent files of the MATE Windows
+ Applets.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..edb361d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mate-window-applets
+Upstream-Contact: IKRadulov (https://github.com/IKRadulov)
+Source: https://github.com/IKRadulov/mate-window-applets
+
+Files: *
+Copyright: 2017, IKRadulov (https://github.com/IKRadulov)
+License: GPL-3+
+Comment:
+ Neither license nor copyright information specified in any of the
+ upstream files. Assuming copyright holder from author field in the
+ upstream Git log.
+ .
+ Assuming license as found in LICENSE file.
+
+Files: debian/*
+Copyright: 2017, Mike Gabriel <sunweaver at debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ This program 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 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 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 .
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/mate-window-applets-common.install b/debian/mate-window-applets-common.install
new file mode 100644
index 0000000..e06c68f
--- /dev/null
+++ b/debian/mate-window-applets-common.install
@@ -0,0 +1 @@
+usr/share/glib-2.0/schemas/
diff --git a/debian/mate-window-applets-common.postinst b/debian/mate-window-applets-common.postinst
new file mode 100755
index 0000000..d902910
--- /dev/null
+++ b/debian/mate-window-applets-common.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+	configure)
+		glib-compile-schemas /usr/share/glib-2.0/schemas
+	;;
+
+	abort-upgrade|abort-remove|abort-deconfigure)
+	;;
+
+	*)
+		echo "postinst called with unknown argument \`$1'" >&2
+		exit 1
+	;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mate-window-buttons-applet.install b/debian/mate-window-buttons-applet.install
new file mode 100644
index 0000000..54da729
--- /dev/null
+++ b/debian/mate-window-buttons-applet.install
@@ -0,0 +1,3 @@
+usr/lib/mate-applets/mate-window-applets/window-buttons/
+usr/share/mate-panel/applets/org.mate.panel.WindowButtonsApplet.mate-panel-applet
+usr/share/dbus-1/services/org.mate.panel.applet.WindowButtonsAppletFactory.service
diff --git a/debian/mate-window-menu-applet.install b/debian/mate-window-menu-applet.install
new file mode 100644
index 0000000..640fdd0
--- /dev/null
+++ b/debian/mate-window-menu-applet.install
@@ -0,0 +1,3 @@
+usr/lib/mate-applets/mate-window-applets/window-menu/
+usr/share/mate-panel/applets/org.mate.panel.WindowMenuApplet.mate-panel-applet
+usr/share/dbus-1/services/org.mate.panel.applet.WindowMenuAppletFactory.service
diff --git a/debian/mate-window-title-applet.install b/debian/mate-window-title-applet.install
new file mode 100644
index 0000000..b8655d4
--- /dev/null
+++ b/debian/mate-window-title-applet.install
@@ -0,0 +1,3 @@
+usr/lib/mate-applets/mate-window-applets/window-title/
+usr/share/mate-panel/applets/org.mate.panel.WindowTitleApplet.mate-panel-applet
+usr/share/dbus-1/services/org.mate.panel.applet.WindowTitleAppletFactory.service
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5d4c79f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+%:
+	dh $@ --without autoreconf --buildsystem=meson
+
+
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..099a8d6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/mate-window-applets-$1.tar.gz/ \
+https://github.com/IKRadulov/mate-window-applets/tags .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-window-applets.git



More information about the pkg-mate-commits mailing list