[mate-disk-utility] 01/01: Starting with debian/ folder similar to what is used by Ubuntu MATE

Vangelis Mouhtsis gnugr-guest at moszumanska.debian.org
Fri May 22 09:41:25 UTC 2015


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

gnugr-guest pushed a commit to branch master
in repository mate-disk-utility.

commit ab9070ff92de13e5ef1e31030d49eec0731ba922
Author: Vangelis Mouhtsis <vangelis at gnugr.org>
Date:   Fri May 22 12:40:52 2015 +0300

    Starting with debian/ folder similar to what is used by Ubuntu MATE
---
 debian/changelog               |   5 ++
 debian/compat                  |   1 +
 debian/control                 |  34 ++++++++
 debian/copyright               | 178 +++++++++++++++++++++++++++++++++++++++++
 debian/man/mate-disk-utility.1 |  44 ++++++++++
 debian/rules                   |  44 ++++++++++
 debian/source/format           |   1 +
 debian/watch                   |   3 +
 8 files changed, 310 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3129cff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mate-disk-utility (1.8.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #779381).
+
+ -- Vangelis Mouhtsis <vangelis at gnugr.org>  Tue, 03 Mar 2015 14:26:51 +0200
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..91df17e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: mate-disk-utility
+Section: x11
+Priority: optional
+Maintainer: MATE Packaging Team <pkg-mate-team at lists.alioth.debian.org>
+Uploaders: Mike Gabriel <sunweaver at debian.org>
+           Martin Wimpress <code at flexion.org>
+           Vangelis Mouhtsis <vangelis at gnugr.org>
+Build-Depends: debhelper (>= 9),
+               dbus-glib-devel (>= dbus_glib_version),
+               dbus-glib (>= dbus_glib_version),
+               gtk2-devel (>= gtk2_version),
+               yelp-tools,
+               desktop-file-tools,
+               libsecret-devel,
+               udisks-devel (>= udisks_version),
+               unique-devel (>= unique_version),
+               libnotify-devel (>= libnotify_version),
+               caja-devel (>= caja_version),
+               libatasmart-devel (>= libatasmart_version),
+               avahi-ui-devel,
+               mate-common,
+Standards-Version: 3.9.6
+Homepage: https://github.com/NiceandGently/mate-disk-utils
+#Vcs-Git: git://anonscm.debian.org/pkg-mate/mate-disk-utility.git
+#Vcs-Browser: http://anonscm.debian.org/?p=pkg-mate/mate-disk-utility.git;a=summary
+
+Package: mate-disk-utility
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: provides libraries and applications for dealing
+ The mate-disk-utility project provides libraries and
+ applications for dealing with storage devices.
+ It relies on the udisks project.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0416002
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,178 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mate-disk-utility
+Upstream-Contact: Wolfgang Ulrich <chat-to-me at raveit.de>
+Source: https://github.com/NiceandGently/mate-disk-utility
+
+Files: src/format-tool/mdu-format-progress-dialog.c
+       src/format-tool/mdu-format-progress-dialog.h
+       src/mate-disk/mdu-main.c
+       src/mate-disk/mdu-section-drive.c
+       src/mate-disk/mdu-section-drive.h
+       src/mate-disk/mdu-section-hub.c
+       src/mate-disk/mdu-section-hub.h
+       src/mate-disk/mdu-section-linux-lvm2-volume-group.c
+       src/mate-disk/mdu-section-linux-lvm2-volume-group.h
+       src/mate-disk/mdu-section-linux-md-drive.c
+       src/mate-disk/mdu-section-linux-md-drive.h
+       src/mate-disk/mdu-section-volumes.c
+       src/mate-disk/mdu-section-volumes.h
+       src/mate-disk/mdu-section.c
+       src/mate-disk/mdu-section.h
+       src/mate-disk/mdu-shell.c
+       src/mate-disk/mdu-shell.h
+       src/mdu-gtk/mdu-add-component-linux-md-dialog.c
+       src/mdu-gtk/mdu-add-component-linux-md-dialog.h
+       src/mdu-gtk/mdu-add-pv-linux-lvm2-dialog.c
+       src/mdu-gtk/mdu-add-pv-linux-lvm2-dialog.h
+       src/mdu-gtk/mdu-ata-smart-dialog.c
+       src/mdu-gtk/mdu-ata-smart-dialog.h
+       src/mdu-gtk/mdu-confirmation-dialog.c
+       src/mdu-gtk/mdu-confirmation-dialog.h
+       src/mdu-gtk/mdu-dialog.c
+       src/mdu-gtk/mdu-dialog.h
+       src/mdu-gtk/mdu-drive-benchmark-dialog.c
+       src/mdu-gtk/mdu-drive-benchmark-dialog.h
+       src/mdu-gtk/mdu-edit-name-dialog.c
+       src/mdu-gtk/mdu-edit-name-dialog.h
+       src/mdu-gtk/mdu-edit-partition-dialog.c
+       src/mdu-gtk/mdu-edit-partition-dialog.h
+       src/mdu-gtk/mdu-error-dialog.c
+       src/mdu-gtk/mdu-error-dialog.h
+       src/mdu-gtk/mdu-gtk-enums.h
+       src/mdu-gtk/mdu-gtk-types.h
+       src/mdu-gtk/mdu-gtk.c
+       src/mdu-gtk/mdu-gtk.h
+       src/mdu-gtk/mdu-time-label.c
+       src/mdu-gtk/mdu-time-label.h
+       src/mdu-gtk/mdu-volume-grid.c
+       src/mdu-gtk/mdu-volume-grid.h
+       src/mdu/mdu-adapter.c
+       src/mdu/mdu-adapter.h
+       src/mdu/mdu-callbacks.h
+       src/mdu/mdu-device.c
+       src/mdu/mdu-device.h
+       src/mdu/mdu-drive.c
+       src/mdu/mdu-drive.h
+       src/mdu/mdu-error.c
+       src/mdu/mdu-error.h
+       src/mdu/mdu-expander.c
+       src/mdu/mdu-expander.h
+       src/mdu/mdu-hub.c
+       src/mdu/mdu-hub.h
+       src/mdu/mdu-known-filesystem.c
+       src/mdu/mdu-known-filesystem.h
+       src/mdu/mdu-linux-lvm2-volume-group.c
+       src/mdu/mdu-linux-lvm2-volume-group.h
+       src/mdu/mdu-linux-lvm2-volume-hole.c
+       src/mdu/mdu-linux-lvm2-volume-hole.h
+       src/mdu/mdu-linux-lvm2-volume.c
+       src/mdu/mdu-linux-lvm2-volume.h
+       src/mdu/mdu-linux-md-drive.c
+       src/mdu/mdu-linux-md-drive.h
+       src/mdu/mdu-machine.c
+       src/mdu/mdu-machine.h
+       src/mdu/mdu-pool.c
+       src/mdu/mdu-pool.h
+       src/mdu/mdu-port.c
+       src/mdu/mdu-port.h
+       src/mdu/mdu-presentable.c
+       src/mdu/mdu-presentable.h
+       src/mdu/mdu-private.h
+       src/mdu/mdu-process.c
+       src/mdu/mdu-process.h
+       src/mdu/mdu-ssh-bridge.c
+       src/mdu/mdu-ssh-bridge.h
+       src/mdu/mdu-types.h
+       src/mdu/mdu-util.c
+       src/mdu/mdu-util.h
+       src/mdu/mdu-volume-hole.c
+       src/mdu/mdu-volume-hole.h
+       src/mdu/mdu-volume.c
+       src/mdu/mdu-volume.h
+       src/mdu/mdu.h
+       src/notification/mdu-slow-unmount-dialog.c
+       src/notification/mdu-slow-unmount-dialog.h
+Copyright: 2007-2010, David Zeuthen
+License: LGPL-2+
+
+Files: src/mdu-gtk/mdu-button-element.c
+       src/mdu-gtk/mdu-button-element.h
+       src/mdu-gtk/mdu-button-table.c
+       src/mdu-gtk/mdu-button-table.h
+       src/mdu-gtk/mdu-connect-to-server-dialog.c
+       src/mdu-gtk/mdu-connect-to-server-dialog.h
+       src/mdu-gtk/mdu-create-linux-md-dialog.c
+       src/mdu-gtk/mdu-create-linux-md-dialog.h
+       src/mdu-gtk/mdu-details-element.c
+       src/mdu-gtk/mdu-details-element.h
+       src/mdu-gtk/mdu-details-table.c
+       src/mdu-gtk/mdu-details-table.h
+       src/mdu-gtk/mdu-disk-selection-widget.c
+       src/mdu-gtk/mdu-disk-selection-widget.h
+       src/mdu-gtk/mdu-edit-linux-lvm2-dialog.c
+       src/mdu-gtk/mdu-edit-linux-lvm2-dialog.h
+       src/mdu-gtk/mdu-edit-linux-md-dialog.c
+       src/mdu-gtk/mdu-edit-linux-md-dialog.h
+       src/mdu-gtk/mdu-pool-tree-model.c
+       src/mdu-gtk/mdu-pool-tree-model.h
+       src/mdu-gtk/mdu-pool-tree-view.c
+       src/mdu-gtk/mdu-pool-tree-view.h
+       src/mdu-gtk/mdu-size-widget.c
+       src/mdu-gtk/mdu-size-widget.h
+Copyright: 2009, Red Hat, Inc
+License: LGPL-2+
+
+Files: src/caja-extension/caja-mdu.c
+       src/caja-extension/caja-mdu.h
+       src/caja-extension/caja-module.c
+       src/format-tool/mdu-format-tool.c
+       src/mdu-gtk/mdu-create-linux-lvm2-volume-dialog.c
+       src/mdu-gtk/mdu-create-linux-lvm2-volume-dialog.h
+       src/mdu-gtk/mdu-create-partition-dialog.c
+       src/mdu-gtk/mdu-create-partition-dialog.h
+       src/mdu-gtk/mdu-format-dialog.c
+       src/mdu-gtk/mdu-format-dialog.h
+       src/mdu-gtk/mdu-partition-dialog.c
+       src/mdu-gtk/mdu-partition-dialog.h
+Copyright: 2008-2010, Red Hat, Inc
+License: GPL-2+
+
+Files: src/mdu-gtk/mdu-spinner.c
+       src/mdu-gtk/mdu-spinner.h
+Copyright: 2007, John Stowers
+           2007, Neil Jagdish Patel
+License: LGPL-2+
+
+Files: src/notification/notification-main.c
+Copyright: 2009, David Zeuthen <davidz at redhat.com>
+License: LGPL-2+
+
+Files: autogen.sh
+Copyright: *No copyright*
+License: UNKNOWN
+Specified files lack copyright/license information in the
+(non-present) file header.
+
+Files: debian/*
+Copyright: 2015, Martin Wimpress <code at flexion.org>
+           2015, Mike Gabriel <sunweaver at debian.org>
+           2015, Vangelis Mouhtsis <vangelis at gnugr.org>
+
+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 opinion) 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 Genaral Public License for more details.
+.
+You should have received a copy og 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 General
+Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/debian/man/mate-disk-utility.1 b/debian/man/mate-disk-utility.1
new file mode 100644
index 0000000..8ef1716
--- /dev/null
+++ b/debian/man/mate-disk-utility.1
@@ -0,0 +1,44 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" (C) Copyright 2015 Vangelis Mouhtsis <vangelis at gnugr.org>,
+.\"
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH MATE-DISK-UTILITY SECTION "March  3, 2015"
+.SH NAME
+mate-disk-utility \- program to do something
+.SH SYNOPSIS
+.B mate-disk-utility
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B mate-disk-utility
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBmate-disk-utility\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a7ef6eb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+
+NULL  =
+PKD   = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
+PKG   = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
+UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\-\d+:)?(\d.*)(?:\-\d+.*)};')
+DTYPE = +dfsg1
+VER  ?= $(subset $(DTYPE),,$(UVER))
+
+DHFLAGS=--parallel
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	NONCONFIGURE=1 ./autogen.sh
+	dh_auto_configure $(DHFLAGS) --
+
+get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
+	@
+
+$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
+	@echo "# Downloading..."
+	uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
+	$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exists, aborting..))
+	@echo "# Extracting..."
+	mkdir $(PKG)-$(VER) \
+	    && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
+	    || $(RM) -r $(PKG)-$(VER)
+	@echo "# Cleaning-up..."
+	cd $(PKG)-$(VER) \
+	    && $(RM) -r -v \
+	    docs/cact/ \
+	    COPYING-DOCS \
+	    $(NULL)
+	$(RM) -v $(PKG)-$(VER).orig.tar.*
+	@echo "# Packing..."
+	find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
+	    | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
+	    && $(RM) -r "$(PKG)-$(VER)"
+
+
+
+
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..9af7491
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/mate-disk-utility-$1.tar.gz/,dversionmangle=s/\+dfsg1//\
+https://github.com/NiceandGently/mate-disk-utility/tags.*/archive/v?([\d\.]+).tar.gz
\ No newline at end of file

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



More information about the pkg-mate-commits mailing list