[28399] in Source-Commits
account-repair commit [debian]: Add Debian packaging
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Aug 20 13:16:32 2014
Date: Wed, 20 Aug 2014 13:16:25 -0400
From: Jonathan D Reed <jdreed@mit.edu>
Message-Id: <201408201716.s7KHGPba019536@drugstore.mit.edu>
To: source-commits@mit.edu
https://github.com/mit-athena/account-repair/commit/a0b215967c80af5d06ab370041ab0d296fa074a4
commit a0b215967c80af5d06ab370041ab0d296fa074a4
Author: Jonathan Reed <jdreed@mit.edu>
Date: Wed Aug 20 13:12:14 2014 -0400
Add Debian packaging
Add packaging on debian branch
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 18 ++++++++++++++++++
debian/copyright | 20 ++++++++++++++++++++
debian/debathena-account-repair.desktop | 8 ++++++++
debian/debathena-account-repair.install | 2 ++
debian/gbp.conf | 4 ++++
debian/rules | 4 ++++
debian/source/format | 1 +
debian/xsession | 7 +++++++
10 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..df34ad8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+debathena-account-repair (1.0-0debathena1) unstable; urgency=low
+
+ * Initial release
+
+ -- Jonathan Reed <jdreed@mit.edu> Wed, 20 Aug 2014 10:13:01 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..153440a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: debathena-account-repair
+Section: debathena/base
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: debhelper (>= 8.0.0), python-support
+Standards-Version: 3.9.4
+
+Package: debathena-account-repair
+Architecture: all
+Depends: python,
+ python-gobject,
+ gir1.2-glib-2.0,
+ gir1.2-gtk-3.0,
+ ${python:Depends},
+ ${misc:Depends}
+Description: Wizard to aid in fixing common account issues
+ This package provides an xsession which launches a wizard designed
+ to help users fix common account problems.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..137a407
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2014 Massachusetts Institute of Technology
+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 <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/debathena-account-repair.desktop b/debian/debathena-account-repair.desktop
new file mode 100644
index 0000000..2cf7657
--- /dev/null
+++ b/debian/debathena-account-repair.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Repair My Athena Account
+Comment=This launches a wizard to help you fix common problems in your account.
+Exec=/usr/lib/debathena-account-repair/xsession
+TryExec=/usr/lib/debathena-account-repair/xsession
+Icon=
+Type=Application
diff --git a/debian/debathena-account-repair.install b/debian/debathena-account-repair.install
new file mode 100644
index 0000000..c2b235d
--- /dev/null
+++ b/debian/debathena-account-repair.install
@@ -0,0 +1,2 @@
+debian/debathena-account-repair.desktop usr/share/xsessions
+debian/xsession usr/lib/debathena-account-repair
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..44e7fb0
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+upstream-tree=branch
+upstream-branch=master
+debian-branch=debian
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
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/xsession b/debian/xsession
new file mode 100755
index 0000000..c2f83b1
--- /dev/null
+++ b/debian/xsession
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# A simple x session with a window manager for the
+# account repair wizard
+
+metacity &
+exec /usr/lib/debathena-account-repair/account-repair-wizard