This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via ccb2bc826483c0465f6671654e4c45259a029b04 (commit) via 8843d798cc4a68fa83faf2a379f4c3a8b69d7a74 (commit) via 7b98da7be97c5d98afdc406fda8d0c3cf82a47c0 (commit) from 3823b1a0ac199ae9243df287e7bcc424bf5da243 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/ccb2bc826483c0465f6671654e4c45259a029...
commit ccb2bc826483c0465f6671654e4c45259a029b04 Merge: 7b98da7 8843d79 Author: Cyril Hrubis metan@ucw.cz Date: Sun Jan 20 20:28:26 2013 +0100
Merge ssh://192.168.1.100/home/metan/Devel/gfxprim
http://repo.or.cz/w/gfxprim.git/commit/8843d798cc4a68fa83faf2a379f4c3a8b69d7...
commit 8843d798cc4a68fa83faf2a379f4c3a8b69d7a74 Author: Cyril Hrubis metan@ucw.cz Date: Sun Jan 20 20:14:14 2013 +0100
build: configure: Add pthread flags (fixes builds)
diff --git a/configure b/configure index 44bcc96..4e23935 100755 --- a/configure +++ b/configure @@ -136,10 +136,19 @@ class libraries: # (module may be core, loaders, backends, etc... # def get_linker_flags(self, module): - res = "" + res = '' for i in self.libraries: if module in i[5] and self.results[i[0]]: - res += " " + i[4] + res += ' ' + i[4] + return res + # + # Returns list of cflags needed to build module + # + def get_cflags(self, module): + res = '' + for i in self.libraries: + if module in i[5] and self.results[i[0]]: + res += ' ' + i[3] return res
def die_screaming(msg): @@ -204,7 +213,8 @@ def write_gfxprim_config(cfg, libs): # General switches cflags and ldflags f.write('t--help) echo "$USAGE"; exit 0;;n') f.write('t--list-modules) echo "%s"; exit 0;;n' % ' '.join(modules)) - f.write('t--cflags) echo -n "-I/usr/include/GP/ ";;n') + f.write('t--cflags) echo -n "-I/usr/include/GP/%s";;n' % + libs.get_cflags('core')) f.write('t--libs) echo -n "-lGP %s ";;n' % libs.get_linker_flags('core'))
# ldflags for specific modules @@ -268,6 +278,9 @@ if __name__ == '__main__': ["V4L2", "Video for linux 2", [header_exists, "linux/videodev2.h"], "", "", ["grabbers"]], + ["pthread", + "Posix Threads", + [header_exists, "pthread.h"], "-pthread", "-pthread", ["core"]], ["backtrace", "C stack trace writeout", [c_try_compile, "#include <execinfo.h>nint main(void) { backtrace(0, 0); }",
http://repo.or.cz/w/gfxprim.git/commit/7b98da7be97c5d98afdc406fda8d0c3cf82a4...
commit 7b98da7be97c5d98afdc406fda8d0c3cf82a47c0 Author: Cyril Hrubis metan@ucw.cz Date: Sun Jan 20 13:00:46 2013 +0100
demos: input_example: Show relative rx and ry too.
diff --git a/demos/c_simple/input_example.c b/demos/c_simple/input_example.c index 38cc1e3..cb4877b 100644 --- a/demos/c_simple/input_example.c +++ b/demos/c_simple/input_example.c @@ -97,8 +97,9 @@ static void event_loop(void) GP_TextClear(win, NULL, 20, 40, align, black, size); size = GP_Print(win, NULL, 20, 40, align, - white, black, "X=%3u Y=%3u", - ev.cursor_x, ev.cursor_y); + white, black, "X=%3u Y=%3u dX=%3i dY=%3i", + ev.cursor_x, ev.cursor_y, + ev.val.rel.rx, ev.val.rel.ry); GP_BackendFlip(backend); break; }
-----------------------------------------------------------------------
Summary of changes: configure | 19 ++++++++++++++++--- demos/c_simple/input_example.c | 5 +++-- 2 files changed, 19 insertions(+), 5 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.