summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog24
-rw-r--r--debian/compat1
-rw-r--r--debian/control67
-rw-r--r--debian/libohm-dev.install5
-rw-r--r--debian/libohm1.install1
-rw-r--r--debian/modules.ini28
-rw-r--r--debian/ohm-doc.doc-base10
-rw-r--r--debian/ohm-doc.install1
-rw-r--r--debian/ohm.install6
-rwxr-xr-xdebian/rules16
10 files changed, 159 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..95c1ce5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,24 @@
+ohm (0.1.1-3) experimental; urgency=low
+
+ * Install custom modules.ini
+
+ -- Rob Taylor <rob.taylor@codethink.co.uk> Thu, 13 Sep 2007 15:30:17 +0100
+
+ohm (0.1.1-2) experimental; urgency=low
+
+ * build --without-xauth
+
+ -- Rob Taylor <rob.taylor@codethink.co.uk> Wed, 12 Sep 2007 16:21:13 +0100
+
+ohm (0.1.1-1) sardine; urgency=low
+
+ * Fix up build depends.
+ * Add hal to depends for ohm binary package.
+
+ -- Rob Taylor <rob.taylor@codethink.co.uk> Fri, 07 Sep 2007 03:27:43 +0100
+
+ohm (0.1.1-0) experimental; urgency=low
+
+ * Initial release.
+
+ -- Rob Taylor <rob.taylor@codethink.co.uk> Thu, 30 Aug 2007 14:47:53 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..eaac7ac
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,67 @@
+Source: ohm
+Section: admin
+Priority: optional
+Maintainer: Rob Taylor <rob.taylor@codethink.co.uk>
+Build-Depends: debhelper, cdbs, libdbus-glib-1-dev (>= 0.70), libglib2.0-dev, pkg-config, intltool (>= 0.22), libhal-dev (>= 0.5.7), libgtk2.0-dev (>= 2.10.0), x11proto-xext-dev, libx11-dev, x11proto-core-dev, gtk-doc-tools, docbook, docbook-dsssl, docbook-xml, xmlto
+Standards-Version: 3.7.2
+XS-Python-Version: 2.4
+
+Package: ohm
+Architecture: any
+Depends: ${shlibs:Depends}, hal, dbus (>= 0.60-1), lsb-base
+Description: Open Hardware Manager
+ OHM is a hardware state manager
+ .
+ OHM is a small open source systems daemon which sits above HAL and abstracts
+ out common hardware management tasks such as system wide inhibit action
+ control and controlling heat dissipation on embedded devices. OHM is built
+ using a lightweight plugin architecture. Each plugin can query data from HAL
+ or execute methods on HAL devices and expose preferences for session programs
+ to modify.
+
+Package: ohm-doc
+Architecture: all
+Section: doc
+Description: Open Hardware Manager documentation
+ OHM is a hardware state manager
+ .
+ OHM is a small open source systems daemon which sits above HAL and abstracts
+ out common hardware management tasks such as system wide inhibit action
+ control and controlling heat dissipation on embedded devices. OHM is built
+ using a lightweight plugin architecture. Each plugin can query data from HAL
+ or execute methods on HAL devices and expose preferences for session programs
+ to modify.
+
+Package: libohm1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Open Hardware Manager application interface
+ OHM is a hardware state manager
+ .
+ OHM is a small open source systems daemon which sits above HAL and abstracts
+ out common hardware management tasks such as system wide inhibit action
+ control and controlling heat dissipation on embedded devices. OHM is built
+ using a lightweight plugin architecture. Each plugin can query data from HAL
+ or execute methods on HAL devices and expose preferences for session programs
+ to modify.
+ .
+ This package contains shared libraries to be used by applications.
+
+Package: libohm-dev
+Section: libdevel
+Architecture: any
+Depends: libohm1 (= ${Source-Version}), libdbus-glib-1-dev (>= 0.70), libglib2.0-dev
+Suggests: ohm-doc
+Description: Open Hardware Manager application interface
+ OHM is a hardware state manager
+ .
+ OHM is a small open source systems daemon which sits above HAL and abstracts
+ out common hardware management tasks such as system wide inhibit action
+ control and controlling heat dissipation on embedded devices. OHM is built
+ using a lightweight plugin architecture. Each plugin can query data from HAL
+ or execute methods on HAL devices and expose preferences for session programs
+ to modify.
+ .
+ This package contains files that are needed to build applications.
+
diff --git a/debian/libohm-dev.install b/debian/libohm-dev.install
new file mode 100644
index 0000000..8bd3a86
--- /dev/null
+++ b/debian/libohm-dev.install
@@ -0,0 +1,5 @@
+usr/lib/libohm.la
+usr/lib/libohm.so
+usr/lib/libohm.a
+usr/lib/pkgconfig/ohm.pc
+usr/include/ohm
diff --git a/debian/libohm1.install b/debian/libohm1.install
new file mode 100644
index 0000000..ebe2c63
--- /dev/null
+++ b/debian/libohm1.install
@@ -0,0 +1 @@
+usr/lib/libohm.so.*
diff --git a/debian/modules.ini b/debian/modules.ini
new file mode 100644
index 0000000..bf2b4be
--- /dev/null
+++ b/debian/modules.ini
@@ -0,0 +1,28 @@
+# The OHM system modules configuration file
+#
+# Only the system target designer should modify this file, ordinary users
+# should not have to change anything.
+
+[Modules]
+
+# If we should perform additional checks on the modules
+# Turning this to false increasing performance if the device target is fixed
+# and OHM is known to work correctly without errors.
+# If you are developing with OHM, this should be true.
+PerformExtraChecks=true
+
+# This should list all the modules that are banned, i.e. will not be loaded.
+# If a loaded module requires a banned module, then startup will fail.
+# Typically this should be empty, unless you know what you are doing.
+ModulesBanned=embedded
+
+# This file should list all the modules that are suggested for coldplug.
+# If a suggested module is not present, then startup will not fail.
+# Typically this should contain modules most likely to be used on the system
+# OHM is targeted for. Order is unimportant, separate entries with ';'.
+ModulesSuggested=acadapter;backlight;battery;timeremaining;idle;powerstatus;dpms;buttons;xorg
+
+# This should list all the modules that are required for coldplug.
+# If a required module cannot be loaded, then startup will fail.
+# Typically this should be empty, unless you know what you are doing.
+ModulesRequired=display;timeouts
diff --git a/debian/ohm-doc.doc-base b/debian/ohm-doc.doc-base
new file mode 100644
index 0000000..fa7691c
--- /dev/null
+++ b/debian/ohm-doc.doc-base
@@ -0,0 +1,10 @@
+Document: ohm
+Title: OHM Plugin Reference Manual
+Author: OHM maintainers
+Abstract: The OHM Plugin API reference
+
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/ohm/ohm-plugin/index.html
+Files: /usr/share/doc/ohm/ohm-plugin/*.html
diff --git a/debian/ohm-doc.install b/debian/ohm-doc.install
new file mode 100644
index 0000000..b1b44dd
--- /dev/null
+++ b/debian/ohm-doc.install
@@ -0,0 +1 @@
+usr/share/doc/ohm
diff --git a/debian/ohm.install b/debian/ohm.install
new file mode 100644
index 0000000..6801b52
--- /dev/null
+++ b/debian/ohm.install
@@ -0,0 +1,6 @@
+usr/bin
+usr/sbin
+usr/lib/ohm
+etc/ohm
+etc/dbus-1/system.d/ohm.conf
+etc/init.d/ohmd
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fa0020a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --without-xauth \
+ --with-distro=debian \
+ --with-doc-dor=/usr/share/doc/ohm \
+ --with-html-dir=/usr/share/doc/ohm \
+ --enable-docbook-docs \
+ --enable-gtk-doc
+
+DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
+
+install/ohm::
+ cp debian/modules.ini debian/tmp/etc/ohm/modules.ini