diff options
| author | Stephen M. Webb <stephen.webb@canonical.com> | 2011-02-14 09:57:02 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-14 09:59:15 +0100 |
| commit | 49797f6d4bd5c622b0ab3e9c111a8f09ff35f35c (patch) | |
| tree | 6a8d19a4d3f9f99217e6ead121700119adade9ae | |
| parent | f0aba58c91933a4702a7cc74f7daf4192868f570 (diff) | |
Changes required for uploading into Ubuntu
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>w
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
| -rw-r--r-- | COPYING | 17 | ||||
| -rw-r--r-- | configure.ac | 5 | ||||
| -rw-r--r-- | src/frame-impl.h | 21 | ||||
| -rw-r--r-- | tools/Makefile.am | 10 | ||||
| -rw-r--r-- | tools/utouch-frame-test-mtdev.txt | 22 |
5 files changed, 68 insertions, 7 deletions
| @@ -1,9 +1,12 @@ | |||
| 1 | utouch-frame - Touch Frame Library (GPLv3 license) | ||
| 2 | 1 | ||
| 3 | Copyright (C) 2010 Canonical Ltd. | 2 | GNU GENERAL PUBLIC LICENSE |
| 4 | Copyright (C) 2010 Henrik Rydberg <rydberg@bitmath.org> | 3 | Version 3, 29 June 2007 |
| 5 | 4 | ||
| 6 | Preamble | 5 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
| 6 | Everyone is permitted to copy and distribute verbatim copies | ||
| 7 | of this license document, but changing it is not allowed. | ||
| 8 | |||
| 9 | Preamble | ||
| 7 | 10 | ||
| 8 | The GNU General Public License is a free, copyleft license for | 11 | The GNU General Public License is a free, copyleft license for |
| 9 | software and other kinds of works. | 12 | software and other kinds of works. |
| @@ -66,7 +69,7 @@ patents cannot be used to render the program non-free. | |||
| 66 | The precise terms and conditions for copying, distribution and | 69 | The precise terms and conditions for copying, distribution and |
| 67 | modification follow. | 70 | modification follow. |
| 68 | 71 | ||
| 69 | TERMS AND CONDITIONS | 72 | TERMS AND CONDITIONS |
| 70 | 73 | ||
| 71 | 0. Definitions. | 74 | 0. Definitions. |
| 72 | 75 | ||
| @@ -616,9 +619,9 @@ an absolute waiver of all civil liability in connection with the | |||
| 616 | Program, unless a warranty or assumption of liability accompanies a | 619 | Program, unless a warranty or assumption of liability accompanies a |
| 617 | copy of the Program in return for a fee. | 620 | copy of the Program in return for a fee. |
| 618 | 621 | ||
| 619 | END OF TERMS AND CONDITIONS | 622 | END OF TERMS AND CONDITIONS |
| 620 | 623 | ||
| 621 | How to Apply These Terms to Your New Programs | 624 | How to Apply These Terms to Your New Programs |
| 622 | 625 | ||
| 623 | If you develop a new program, and you want it to be of the greatest | 626 | If you develop a new program, and you want it to be of the greatest |
| 624 | possible use to the public, the best way to achieve this is to make it | 627 | possible use to the public, the best way to achieve this is to make it |
diff --git a/configure.ac b/configure.ac index 0ff758f..980a044 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -25,6 +25,11 @@ AC_PROG_INSTALL | |||
| 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1]) |
| 26 | PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0]) | 26 | PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0]) |
| 27 | 27 | ||
| 28 | AC_CHECK_PROG([ASCIIDOC], [a2x], [a2x]) | ||
| 29 | AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$ASCIIDOC" != "x"]) | ||
| 30 | AS_IF([test "x$ASCIIDOC" = "x"], | ||
| 31 | [AC_MSG_WARN([asciidoc not installed, man pages will not be created])]) | ||
| 32 | |||
| 28 | AC_CONFIG_FILES([Makefile | 33 | AC_CONFIG_FILES([Makefile |
| 29 | src/Makefile | 34 | src/Makefile |
| 30 | test/Makefile | 35 | test/Makefile |
diff --git a/src/frame-impl.h b/src/frame-impl.h index c31f7da..63cbc7c 100644 --- a/src/frame-impl.h +++ b/src/frame-impl.h | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | /***************************************************************************** | ||
| 2 | * | ||
| 3 | * utouch-frame - Touch Frame Library | ||
| 4 | * | ||
| 5 | * Copyright (C) 2011 Canonical Ltd. | ||
| 6 | * | ||
| 7 | * This program is free software: you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation, either version 3 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, but | ||
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 15 | * General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License along | ||
| 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | * | ||
| 20 | ****************************************************************************/ | ||
| 21 | |||
| 1 | #ifndef _FRAME_IMPL_H | 22 | #ifndef _FRAME_IMPL_H |
| 2 | #define _FRAME_IMPL_H | 23 | #define _FRAME_IMPL_H |
| 3 | 24 | ||
diff --git a/tools/Makefile.am b/tools/Makefile.am index 6b50897..91e99ce 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am | |||
| @@ -5,3 +5,13 @@ INCLUDES=-I$(top_srcdir)/include/ | |||
| 5 | utouch_frame_test_mtdev_SOURCES = utouch-frame-test-mtdev.c | 5 | utouch_frame_test_mtdev_SOURCES = utouch-frame-test-mtdev.c |
| 6 | utouch_frame_test_mtdev_LDFLAGS = -L$(top_builddir)/src/.libs/ \ | 6 | utouch_frame_test_mtdev_LDFLAGS = -L$(top_builddir)/src/.libs/ \ |
| 7 | -lutouch-frame -lutouch-evemu -lmtdev -lm | 7 | -lutouch-frame -lutouch-evemu -lmtdev -lm |
| 8 | |||
| 9 | if HAVE_DOCTOOLS | ||
| 10 | dist_man_MANS = utouch-frame-test-mtdev.1 | ||
| 11 | |||
| 12 | %.1: %.txt | ||
| 13 | $(ASCIIDOC) -f manpage $< | ||
| 14 | |||
| 15 | CLEANFILES = $(dist_man_MANS) | ||
| 16 | |||
| 17 | endif | ||
diff --git a/tools/utouch-frame-test-mtdev.txt b/tools/utouch-frame-test-mtdev.txt new file mode 100644 index 0000000..c7bafe4 --- /dev/null +++ b/tools/utouch-frame-test-mtdev.txt | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | UTOUCH-FRAME-TEST-MTDEV(1) | ||
| 2 | ========================== | ||
| 3 | |||
| 4 | NAME | ||
| 5 | ---- | ||
| 6 | |||
| 7 | utouch-frame-test-mtdev - describe a device and report frame events | ||
| 8 | |||
| 9 | SYNOPSIS | ||
| 10 | -------- | ||
| 11 | |||
| 12 | utouch-frame-test-mtdev device | ||
| 13 | |||
| 14 | DESCRIPTION | ||
| 15 | ----------- | ||
| 16 | |||
| 17 | A test tool used to analyse the capabilities and act as a test driver for the | ||
| 18 | uTouch touch frame library. | ||
| 19 | |||
| 20 | AUTHOR | ||
| 21 | ------ | ||
| 22 | utouch-frame-test-mtdev was written by Henrik Rydberg <rydberg@euromail.se> | ||
