• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A generic touchscreen calibration program for X.Org


Commit MetaInfo

Revision5556d52cf003ce9603ad2e84c967fe1ca2a8022d (tree)
Time2010-09-13 05:30:53
AuthorTias Guns <tias@ulys...>
CommiterTias Guns

Log Message

debian: merge of master makes patches no longer needed

Change Summary

  • delete: debian/patches/link_as_needed.patch
  • delete: debian/patches/remove_readme.patch
  • delete: debian/patches/series
  • delete: debian/patches/spelling_fixes.patch
  • delete: debian/patches/typo_traditional.patch

Incremental Difference

--- a/debian/patches/remove_readme.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1-Description: remove README file
2- The README file contains build, usage and news information
3- This is relevant on the upstream github page, but not in
4- a binary package, so it is removed.
5-Author: Tias Guns <tias@ulyssis.org>
6-
7---- a/README
8-+++ /dev/null
9-@@ -1,44 +0,0 @@
10--xinput calibrator: A generic touchscreen calibration program for X.Org
11--
12--Version: 0.7.0
13--Website: http://www.freedesktop.org/wiki/Software/xinput_calibrator
14--Source: http://github.com/tias/xinput_calibrator
15--Bugs: http://github.com/tias/xinput_calibrator/issues
16--
17--
18--Build instructions:
19---------------------
20--./autogen.sh
21-- Sets up build environment, run ./autogen.sh --help to see the build options
22-- Notable build options:
23-- --with-gui=gtkmm Use gtkmm GUI
24-- --with-gui=x11 Use native x11 GUI
25--make
26-- Builds the software with the configured GUI
27--
28--Usage:
29--------
30--Simply run:
31-- xinput_calibrator
32--
33--For more information, run with --help or check the manpage.
34--The scripts/ directory constains scripts to get calibration from hal or use a pointercal file to reapply xinput commands across reboots
35--
36--
37--More about the project:
38-------------------------
39--Because all existing calibrators were driver dependent and hard to use, xinput_calibrator was created. The goal of xinput_calibrator is to:
40--* work for any Xorg driver (use Xinput to get axis valuators),
41--* output the calibration as Xorg.conf, HAL policy and udev rule,
42--* support advanced driver options, such as Evdev's dynamic calibration,
43--* have a very intuitive GUI (normal X client).
44--
45--Xinput_calibrator is based on a simple calibrator that was proposed on the Xorg mailinglist. The first release(v0.2.0) improved upon it by reading axis valuators from Xinput, hence making it generic for all touchscreen drivers. The announcement was done on the Xorg mailinglist, and the code is on Tias' webpage.
46--
47--Starting from v0.4.0, it writes Xorg.conf and (HAL) FDI policy file values, and contains a wrapper script to get axis valuator information for the evtouch driver (evtouch does not export the current calibration through its axis valuators). It is also the first program to support dynamic evdev calibration, by using its advanced Xinput functionality.
48--
49--The v0.5.0 version is written entirely in the X window system, needing no external dependencies. Because of its modular structure, other frontends can be easily created too.
50--
51--Version v0.6.0 has a proper build system and gained a lot of features thanks to the feedback of different users.
52--
53--Version 0.7.0 has mis-click detection and proper packaging support: proper make dist, one binary, has manpage, menu entry and icon. DEB and RPM package meta-data in their respective VCS branches.
--- a/debian/patches/series
+++ /dev/null
@@ -1,4 +0,0 @@
1-link_as_needed.patch
2-remove_readme.patch
3-typo_traditional.patch
4-spelling_fixes.patch
--- a/debian/patches/spelling_fixes.patch
+++ /dev/null
@@ -1,73 +0,0 @@
1-Description: Spelling fixes (thanks Paul Wise)
2-Author: Tias Guns <tias@ulyssis.org>
3-Forwarded: yes (I am upstream)
4-
5---- a/man/xinput_calibrator.1
6-+++ b/man/xinput_calibrator.1
7-@@ -46,7 +46,7 @@
8- .B \-\-precalib \fImin_x\fP \fImax_x\fP \fImin_y\fP \fImax_y\fP
9- Manually provide the current calibration setting.
10- .br
11--This is usefull if the calibration values are stored in your xorg.conf, but the driver does not export them through XInput (eg. the calibrator can not know these values)
12-+This is useful if the calibration values are stored in your xorg.conf, but the driver does not export them through XInput (eg. the calibrator can not know these values)
13- .PP
14- .TP 8
15- .B \-\-misclick \fInr_of_pixels\fP
16-@@ -56,7 +56,7 @@
17- .B \-\-fake
18- Emulate a fake driver (for testing purposes)
19- .br
20--Usefull to test the calibrator without applying the values, and possibly even without having a touchscreen.
21-+Useful to test the calibrator without applying the values, and possibly even without having a touchscreen.
22- .SH "USAGE"
23- Run xinput_calibrator in a terminal, as it prints out the calibration values and instructions on standard output.
24- .PP
25---- a/src/calibrator/calibratorEvdev.cpp
26-+++ b/src/calibrator/calibratorEvdev.cpp
27-@@ -133,7 +133,7 @@
28-
29- if (verbose) {
30- if (ok)
31-- printf("DEBUG: Succesfully applied axis calibration.\n");
32-+ printf("DEBUG: Successfully applied axis calibration.\n");
33- else
34- printf("DEBUG: Failed to apply axis calibration.\n");
35- }
36-@@ -197,7 +197,7 @@
37-
38- if (verbose) {
39- if (ok)
40-- printf("DEBUG: Succesfully swapped X and Y axis.\n");
41-+ printf("DEBUG: Successfully swapped X and Y axis.\n");
42- else
43- printf("DEBUG: Failed to swap X and Y axis.\n");
44- }
45-@@ -210,7 +210,7 @@
46-
47- if (verbose) {
48- if (ok)
49-- printf("DEBUG: Succesfully applied axis calibration.\n");
50-+ printf("DEBUG: Successfully applied axis calibration.\n");
51- else
52- printf("DEBUG: Failed to apply axis calibration.\n");
53- }
54---- a/src/calibrator/calibratorUsbtouchscreen.cpp
55-+++ b/src/calibrator/calibratorUsbtouchscreen.cpp
56-@@ -187,7 +187,7 @@
57- // to keep the for the next boot
58- FILE *fid = fopen(modprobe_conf_local, "r");
59- if (fid == NULL) {
60-- fprintf(stderr, "Error: Can't open '%s' for reading. Make sure you have the necesary rights\n", modprobe_conf_local);
61-+ fprintf(stderr, "Error: Can't open '%s' for reading. Make sure you have the necessary rights\n", modprobe_conf_local);
62- fprintf(stderr, "New calibration data NOT saved\n");
63- return false;
64- }
65-@@ -217,7 +217,7 @@
66-
67- fid = fopen(modprobe_conf_local, "w");
68- if (fid == NULL) {
69-- fprintf(stderr, "Error: Can't open '%s' for writing. Make sure you have the necesary rights\n", modprobe_conf_local);
70-+ fprintf(stderr, "Error: Can't open '%s' for writing. Make sure you have the necessary rights\n", modprobe_conf_local);
71- fprintf(stderr, "New calibration data NOT saved\n");
72- return false;
73- }
--- a/debian/patches/typo_traditional.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1-Description: typo, tranditional instead of traditional (thanks Paul Wise)
2-Author: Tias Guns <tias@ulyssis.org>
3-Forwarded: yes (I am upstream)
4-
5---- a/src/calibrator/calibratorEvdev.cpp
6-+++ b/src/calibrator/calibratorEvdev.cpp
7-@@ -230,7 +230,7 @@
8-
9- // TODO detect EVDEV version at runtime ?
10- // deliberately not mention HAL way, by the time users run evdev 2.3.0, there will be no more HAL (on linux)
11-- printf("\nIf you have evdev version 2.3.0 or higher, there are 2 more ways: the tranditional way (xorg.conf) and the new way (udev rule):\n");
12-+ printf("\nIf you have evdev version 2.3.0 or higher, there are 2 more ways: the traditional way (xorg.conf) and the new way (udev rule):\n");
13-
14- // Xorg.conf output
15- printf("xorg.conf: edit /etc/X11/xorg.conf and add in the 'Section \"InputDevice\"' of your device:\n");
16---- a/src/calibrator/calibratorXorgPrint.cpp
17-+++ b/src/calibrator/calibratorXorgPrint.cpp
18-@@ -46,7 +46,7 @@
19- {
20- // TODO: detect which are applicable at runtime/in the makefile ?
21- printf("\n\n== Applying the calibration ==\n");
22-- printf("There are multiple ways to do this: the tranditional way (xorg.conf), the new way (udev rule) and the soon deprecated way (HAL policy):\n");
23-+ printf("There are multiple ways to do this: the traditional way (xorg.conf), the new way (udev rule) and the soon deprecated way (HAL policy):\n");
24-
25- // Xorg.conf output
26- printf("\nxorg.conf: edit /etc/X11/xorg.conf and add in the 'Section \"InputDevice\"' of your device:\n");