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 7365572a6c0e30a31eb955994a9414fad2fd39f6 (commit) via e275d5c011bbd00f9bb26df13ff53196e6ba71cd (commit) via 56b6786f99a94d99b003a93a3de7f4993d25d6e9 (commit) from 8a2d9db9af54358efd9752da3299edb678abd8c3 (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/7365572a6c0e30a31eb955994a9414fad2fd3...
commit 7365572a6c0e30a31eb955994a9414fad2fd39f6 Author: Cyril Hrubis metan@ucw.cz Date: Sat Jan 11 21:13:09 2014 +0100
loaders: TIFF: Change tmsize_t to tsize_t
Fixes build with tiff 3.9.6
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/libs/loaders/GP_TIFF.c b/libs/loaders/GP_TIFF.c index 5ecdf19..f8e56d6 100644 --- a/libs/loaders/GP_TIFF.c +++ b/libs/loaders/GP_TIFF.c @@ -435,12 +435,12 @@ static int tiff_read(TIFF *tiff, GP_Context *res, struct tiff_header *header, return 0; }
-static tmsize_t tiff_io_read(thandle_t io, void *buf, tmsize_t size) +static tsize_t tiff_io_read(thandle_t io, void *buf, tsize_t size) { return GP_IORead(io, buf, size); }
-static tmsize_t tiff_io_write(thandle_t io, void *buf, tmsize_t size) +static tsize_t tiff_io_write(thandle_t io, void *buf, tsize_t size) { (void) io; (void) buf;
http://repo.or.cz/w/gfxprim.git/commit/e275d5c011bbd00f9bb26df13ff53196e6ba7...
commit e275d5c011bbd00f9bb26df13ff53196e6ba71cd Author: Cyril Hrubis metan@ucw.cz Date: Tue Jan 7 19:35:46 2014 +0100
configure: Make use of args.
* Make use of args, so that ./configure CC=gcc works in addition to CC=gcc ./configure and ./configure --CC=gcc
* Complain loudly on invalid arguments, previously everything that wasn't option (haven't started with '-' was silently ignored).
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/configure b/configure index 728a180..b6e24fb 100755 --- a/configure +++ b/configure @@ -318,6 +318,17 @@ def write_gfxprim_config(cfg, libs): f.close() os.system('chmod +x gfxprim-config')
+def cfg_parse_args(cfg, args): + for i in args: + par = i.split('='); + if (len(par) != 2): + die_screaming('Invalid argument %s' % i) + + if (par[0] not in cfg): + die_screaming('Invalid config key %s' % i) + + cfg[par[0]][0] = par[1] + if __name__ == '__main__': # # Dictionary for default configuration parameters @@ -429,6 +440,11 @@ if __name__ == '__main__': if getattr(options, i) is not None: cfg[i][0] = getattr(options, i)
+ # + # Handle args such as CC=gcc passed after options + # + cfg_parse_args(cfg, args) + basic_checks(cfg);
l.check()
http://repo.or.cz/w/gfxprim.git/commit/56b6786f99a94d99b003a93a3de7f4993d25d...
commit 56b6786f99a94d99b003a93a3de7f4993d25d6e9 Author: Cyril Hrubis metan@ucw.cz Date: Tue Jan 7 18:34:52 2014 +0100
loaders: Fix stubs.
Fix GP_ReadJPG() and GP_ReadTIFF() stubs.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/libs/loaders/GP_JPG.c b/libs/loaders/GP_JPG.c index 8448ba0..0457cba 100644 --- a/libs/loaders/GP_JPG.c +++ b/libs/loaders/GP_JPG.c @@ -549,8 +549,8 @@ int GP_OpenJPG(const char GP_UNUSED(*src_path), FILE GP_UNUSED(**f)) return 1; }
-GP_Context *GP_ReadJPG(FILE GP_UNUSED(*f), - GP_ProgressCallback GP_UNUSED(*callback)) +GP_Context *GP_ReadJPG(GP_IO GP_UNUSED(*io), + GP_ProgressCallback GP_UNUSED(*callback)) { errno = ENOSYS; return NULL; diff --git a/libs/loaders/GP_TIFF.c b/libs/loaders/GP_TIFF.c index 93e5b42..5ecdf19 100644 --- a/libs/loaders/GP_TIFF.c +++ b/libs/loaders/GP_TIFF.c @@ -739,7 +739,7 @@ int GP_OpenTIFF(const char GP_UNUSED(*src_path), return 1; }
-GP_Context *GP_ReadTIFF(void GP_UNUSED(*t), +GP_Context *GP_ReadTIFF(GP_IO GP_UNUSED(*io), GP_ProgressCallback GP_UNUSED(*callback)) { errno = ENOSYS;
-----------------------------------------------------------------------
Summary of changes: configure | 16 ++++++++++++++++ libs/loaders/GP_JPG.c | 4 ++-- libs/loaders/GP_TIFF.c | 6 +++--- 3 files changed, 21 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.