summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-01-13 16:55:41 -0800
committerChad Versace <chad.versace@linux.intel.com>2014-01-15 17:16:31 -0800
commit22a0b68c451e5ed0451adb5ccd0e09a96126ee23 (patch)
tree0b8d69013aee5da16dc92025f5955f5014e83085 /debian
parentf916efa9b8f5ef8cef2f04a7ff7a5811972f0700 (diff)
waffle: add debian packaging
This builds 4 packages: * libwaffle-1 * libwaffle-dev (pkgconfig, includes) * libwaffle-doc (man pages) * waffle-utils (wflinfo w/man page) v3: * Added to v3 of wflinfo series * Changed copyright to Intel Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control57
-rw-r--r--debian/copyright33
-rw-r--r--debian/libwaffle-1.install1
-rw-r--r--debian/libwaffle-dev.install2
-rw-r--r--debian/libwaffle-doc.install2
-rwxr-xr-xdebian/rules21
-rw-r--r--debian/waffle-utils.install2
9 files changed, 124 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d50b18a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+waffle (1.3.0) unstable; urgency=low
+
+ * Add debian packaging
+
+ -- Jordan Justen <jordan.l.justen@intel.com> Mon, 30 Dec 2013 14:50:51 -0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9 \ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b32fa07
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: waffle
+Priority: optional
+Section: libs
+Maintainer: Jordan Justen <jordan.l.justen@intel.com>
+Build-Depends: binutils (>> 2.18),
+ cmake,
+ debhelper (>= 9),
+ docbook-xls,
+ libegl1-mesa-dev | libegl-dev,
+ libgl1-mesa-dev | libgl-dev,
+ libglu1-mesa-dev | libglu-dev,
+ libgbm-dev,
+ libwayland-dev,
+ libx11-dev,
+ pkg-config,
+ xsltproc
+Standards-Version: 3.9.5
+Homepage: http://people.freedesktop.org/~chadversary/waffle
+Vcs-Git: git://people.freedesktop.org/~chadversary/waffle.git
+Vcs-Browser: http://cgit.freedesktop.org/~chadversary/waffle
+
+Package: libwaffle-1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Pre-Depends}, ${misc:Depends}
+Description: Waffle library utilities
+ A library for selecting GL API and window system at runtime
+
+Package: libwaffle-dev
+Architecture: any
+Section: libdevel
+Depends: libwaffle-1 (= ${binary:Version})
+Suggests: libwaffle-doc
+Description: Waffle library utilities
+ A library for selecting GL API and window system at runtime
+ .
+ This package provides the development environment for compiling
+ programs against the waffle library.
+
+Package: libwaffle-doc
+Architecture: all
+Section: doc
+Description: Waffle library utilities
+ A library for selecting GL API and window system at runtime
+ .
+ This package provides the documentation files for the waffle
+ library.
+
+Package: waffle-utils
+Architecture: any
+Section: utils
+Depends: libwaffle-1 (= ${binary:Version})
+Description: Waffle library utilities
+ A library for selecting GL API and window system at runtime
+ .
+ This package contains waffle utilities.
+ * wflinfo: Creates a GL context and prints information about
+ the created context.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..891b397
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: waffle
+Upstream-Contact: Chad Versace <chad.versace@linux.intel.com>
+Source: http://cgit.freedesktop.org/~chadversary/waffle
+
+Files: *
+Copyright: Intel Corproation
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Copyright 2012 Intel Corporation
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ - Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/libwaffle-1.install b/debian/libwaffle-1.install
new file mode 100644
index 0000000..c5f7935
--- /dev/null
+++ b/debian/libwaffle-1.install
@@ -0,0 +1 @@
+usr/lib/*/libwaffle-1.so.* \ No newline at end of file
diff --git a/debian/libwaffle-dev.install b/debian/libwaffle-dev.install
new file mode 100644
index 0000000..c1a5d18
--- /dev/null
+++ b/debian/libwaffle-dev.install
@@ -0,0 +1,2 @@
+usr/lib/*/libwaffle-1.so
+usr/lib/*/pkgconfig \ No newline at end of file
diff --git a/debian/libwaffle-doc.install b/debian/libwaffle-doc.install
new file mode 100644
index 0000000..8bf7f4f
--- /dev/null
+++ b/debian/libwaffle-doc.install
@@ -0,0 +1,2 @@
+usr/share/man/man3
+usr/share/man/man7
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6b246bd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+# Copyright (c) 2013 Intel Corporation
+
+DEB_DESTDIR := $(CURDIR)/debian/tmp
+
+%:
+ dh $@ --buildsystem cmake
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DCMAKE_BINARY_DIR=$(CURDIR)/debian/tmp \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Dwaffle_has_gbm=1 \
+ -Dwaffle_has_glx=1 \
+ -Dwaffle_has_x11_egl=1 \
+ -Dwaffle_has_wayland=1 \
+ -Dwaffle_build_manpages=1 \
+ -Dwaffle_build_htmldocs=0 \
+ -Dwaffle_build_examples=0
diff --git a/debian/waffle-utils.install b/debian/waffle-utils.install
new file mode 100644
index 0000000..98d1583
--- /dev/null
+++ b/debian/waffle-utils.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1