Hello community, here is the log from the commit of package libgusb for openSUSE:Factory checked in at 2013-03-12 17:16:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgusb (Old) and /work/SRC/openSUSE:Factory/.libgusb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgusb", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libgusb/libgusb.changes 2012-11-20 10:39:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgusb.new/libgusb.changes 2013-03-12 17:16:07.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Mar 12 12:36:56 UTC 2013 - [email protected] + +- Update to version 0.1.6: + + Do not use deprecated GLib functionality. + + Remove duplicate gtk-doc check in configure. + + Unref the GMainloop after it has been run, not when just quit. +- Changes from version 0.1.5: + + Don't use the deprecated INCLUDES in Makefile.am. + + Fix documentation build. + + Fix obvious typo in README. + +------------------------------------------------------------------- Old: ---- libgusb-0.1.4.tar.xz New: ---- libgusb-0.1.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgusb.spec ++++++ --- /var/tmp/diff_new_pack.QGd2Tf/_old 2013-03-12 17:16:16.000000000 +0100 +++ /var/tmp/diff_new_pack.QGd2Tf/_new 2013-03-12 17:16:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgusb # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libgusb -Version: 0.1.4 +Version: 0.1.6 Release: 0 Summary: GObject-based library for libusb1 License: LGPL-2.1+ ++++++ libgusb-0.1.4.tar.xz -> libgusb-0.1.6.tar.xz ++++++ ++++ 4577 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/INSTALL new/libgusb-0.1.6/INSTALL --- old/libgusb-0.1.4/INSTALL 2012-02-20 20:01:50.000000000 +0100 +++ new/libgusb-0.1.6/INSTALL 2013-03-05 12:32:53.000000000 +0100 @@ -1,7 +1,7 @@ Installation Instructions ************************* -Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, +Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, @@ -309,9 +309,10 @@ overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: +an Autoconf limitation. Until the limitation is lifted, you can use +this workaround: - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== @@ -367,4 +368,3 @@ `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/NEWS new/libgusb-0.1.6/NEWS --- old/libgusb-0.1.4/NEWS 2012-11-06 19:59:24.000000000 +0100 +++ new/libgusb-0.1.6/NEWS 2013-03-05 12:31:05.000000000 +0100 @@ -1,3 +1,21 @@ +Version 0.1.6 +~~~~~~~~~~~~~ +Released: 2013-03-05 + +Bugfixes: + - Do not use deprecated GLib functionality (Richard Hughes) + - Remove duplicate gtk-doc check in configure (David King) + - Unref the GMainloop after it has been run, not when just quit (Richard Hughes) + +Version 0.1.5 +~~~~~~~~~~~~~ +Released: 2013-02-05 + +Bugfixes: + - Don't use the deprecated INCLUDES in Makefile.am (Richard Hughes) + - Fix documentation build (Christopher James Halse Rogers) + - Fix obvious typo in README (Hans Ulrich Niedermann) + Version 0.1.4 ~~~~~~~~~~~~~ Released: 2012-11-06 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/README new/libgusb-0.1.6/README --- old/libgusb-0.1.4/README 2011-08-19 15:22:16.000000000 +0200 +++ new/libgusb-0.1.6/README 2013-02-05 10:37:32.000000000 +0100 @@ -10,4 +10,4 @@ Note: GUsb is not API or ABI stable at this time, so don't go bitchin' when we break your compile. That said, we're not going to break API -without a good readon. Caveat emptor. +without a good reason. Caveat emptor. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/build-aux/compile new/libgusb-0.1.6/build-aux/compile --- old/libgusb-0.1.4/build-aux/compile 2012-02-20 20:01:49.000000000 +0100 +++ new/libgusb-0.1.6/build-aux/compile 2013-03-05 12:32:53.000000000 +0100 @@ -1,10 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-01-04.17; # UTC +scriptversion=2012-03-05.13; # UTC -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free -# Software Foundation, Inc. +# Copyright (C) 1999-2012 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify @@ -79,6 +78,48 @@ esac } +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () @@ -109,43 +150,34 @@ ;; esac ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; -l*) - lib=${1#-l} - found=no - save_IFS=$IFS - IFS=';' - for dir in $lib_path $LIB - do - IFS=$save_IFS - if $shared && test -f "$dir/$lib.dll.lib"; then - found=yes - set x "$@" "$dir/$lib.dll.lib" - break - fi - if test -f "$dir/$lib.lib"; then - found=yes - set x "$@" "$dir/$lib.lib" - break - fi - done - IFS=$save_IFS - - test "$found" != yes && set x "$@" "$lib.lib" + func_cl_dashl "${1#-l}" + set x "$@" "$lib" shift ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; -L*) - func_file_conv "${1#-L}" - if test -z "$lib_path"; then - lib_path=$file - else - lib_path="$lib_path;$file" - fi - linker_opts="$linker_opts -LIBPATH:$file" + func_cl_dashL "${1#-L}" ;; -static) shared=false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/build-aux/missing new/libgusb-0.1.6/build-aux/missing --- old/libgusb-0.1.4/build-aux/missing 2012-02-20 20:01:49.000000000 +0100 +++ new/libgusb-0.1.6/build-aux/missing 2013-03-05 12:32:53.000000000 +0100 @@ -1,10 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2012-01-06.13; # UTC +scriptversion=2012-01-06.18; # UTC -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +# Copyright (C) 1996-2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify @@ -26,7 +25,7 @@ # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "Try '$0 --help' for more information" exit 1 fi @@ -34,7 +33,7 @@ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' -# In the cases where this matters, `missing' is being run in the +# In the cases where this matters, 'missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac @@ -65,7 +64,7 @@ echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: @@ -74,20 +73,20 @@ --run try to run the given command, and emulate it if it fails Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' + aclocal touch file 'aclocal.m4' + autoconf touch file 'configure' + autoheader touch file 'config.h.in' autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c + automake touch all 'Makefile.in' files + bison create 'y.tab.[ch]', if possible, from existing .[ch] + flex create 'lex.yy.c', if possible, from existing .c help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c + lex create 'lex.yy.c', if possible, from existing .c makeinfo touch the output file - yacc create \`y.tab.[ch]', if possible, from existing .[ch] + yacc create 'y.tab.[ch]', if possible, from existing .[ch] -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. Send bug reports to <[email protected]>." exit $? @@ -99,8 +98,8 @@ ;; -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "$0: Unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; @@ -127,7 +126,7 @@ exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether + # running '$TOOL --version' or '$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi @@ -139,27 +138,27 @@ case $program in aclocal*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from +WARNING: '$1' is $msg. You should only need it if + you modified 'acinclude.m4' or '${configure_ac}'. You might want + to install the Automake and Perl packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU +WARNING: '$1' is $msg. You should only need it if + you modified '${configure_ac}'. You might want to install the + Autoconf and GNU m4 packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them +WARNING: '$1' is $msg. You should only need it if + you modified 'acconfig.h' or '${configure_ac}'. You might want + to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" @@ -176,9 +175,9 @@ automake*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. +WARNING: '$1' is $msg. You should only need it if + you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. + You might want to install the Automake and Perl packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | @@ -187,10 +186,10 @@ autom4te*) echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. +WARNING: '$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU + You can get '$1' as part of Autoconf from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` @@ -210,10 +209,10 @@ bison*|yacc*) echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package +WARNING: '$1' $msg. You should only need it if + you modified a '.y' file. You may need the Bison package in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." + Bison from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} @@ -240,10 +239,10 @@ lex*|flex*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package +WARNING: '$1' is $msg. You should only need it if + you modified a '.l' file. You may need the Flex package in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." + Flex from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} @@ -263,10 +262,10 @@ help2man*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if +WARNING: '$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." + Help2man package in order for those modifications to take + effect. You can get Help2man from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -281,12 +280,12 @@ makeinfo*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file +WARNING: '$1' is $msg. You should only need it if + you modified a '.texi' or '.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." + call might also be the consequence of using a buggy 'make' (AIX, + DU, IRIX). You might want to install the Texinfo package or + the GNU make package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -310,12 +309,12 @@ *) echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. +WARNING: '$1' is needed, and is $msg. You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, + proper tools for further handling them. Check the 'README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." + some other package would contain this missing '$1' program." exit 1 ;; esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/config.h new/libgusb-0.1.6/config.h --- old/libgusb-0.1.4/config.h 2012-01-06 16:42:44.000000000 +0100 +++ new/libgusb-0.1.6/config.h 2013-02-24 21:45:54.000000000 +0100 @@ -51,7 +51,7 @@ #define PACKAGE_NAME "libgusb" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libgusb 0.1.4" +#define PACKAGE_STRING "libgusb 0.1.6" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libgusb" @@ -60,10 +60,10 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.1.4" +#define PACKAGE_VERSION "0.1.6" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "0.1.4" +#define VERSION "0.1.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/configure.ac new/libgusb-0.1.6/configure.ac --- old/libgusb-0.1.4/configure.ac 2012-11-06 19:58:24.000000000 +0100 +++ new/libgusb-0.1.6/configure.ac 2013-03-05 12:29:25.000000000 +0100 @@ -3,7 +3,7 @@ m4_define([gusb_major_version], [0]) m4_define([gusb_minor_version], [1]) -m4_define([gusb_micro_version], [4]) +m4_define([gusb_micro_version], [6]) m4_define([gusb_version], [gusb_major_version.gusb_minor_version.gusb_micro_version]) @@ -17,9 +17,6 @@ AM_SILENT_RULES([yes]) -# set up gtk-doc -GTK_DOC_CHECK(1.9) - # GObject Introspection GOBJECT_INTROSPECTION_CHECK([1.29]) @@ -44,7 +41,7 @@ # REVISION If the API and ABI remains the same, but bugs are fixed. # AGE Don't use. LT_CURRENT=2 -LT_REVISION=2 +LT_REVISION=3 LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/Makefile.am new/libgusb-0.1.6/docs/api/Makefile.am --- old/libgusb-0.1.4/docs/api/Makefile.am 2011-09-15 13:25:59.000000000 +0200 +++ new/libgusb-0.1.6/docs/api/Makefile.am 2013-02-05 12:09:52.000000000 +0100 @@ -49,6 +49,8 @@ # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). content_files = \ version.xml \ + gusb-introduction.xml \ + gusb-faq.xml \ $(NULL) # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded @@ -58,7 +60,7 @@ # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ -I$(top_builddir)/gusb \ -I$(top_srcdir)/gusb \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/gusb-docs.sgml new/libgusb-0.1.6/docs/api/gusb-docs.sgml --- old/libgusb-0.1.4/docs/api/gusb-docs.sgml 2011-08-11 10:57:49.000000000 +0200 +++ new/libgusb-0.1.6/docs/api/gusb-docs.sgml 2013-02-05 12:09:52.000000000 +0100 @@ -36,7 +36,7 @@ This manual documents features of GUsb. </para> </partintro> - <xi:include href="spec/gusb-introduction.xml"/> + <xi:include href="gusb-introduction.xml"/> </reference> <reference id="libgusb"> @@ -69,7 +69,7 @@ This part has answers to developer frequently asked questions. </para> </partintro> - <xi:include href="spec/gusb-faq.xml"/> + <xi:include href="gusb-faq.xml"/> </reference> </book> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/gusb-faq.xml new/libgusb-0.1.6/docs/api/gusb-faq.xml --- old/libgusb-0.1.4/docs/api/gusb-faq.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/gusb-faq.xml 2013-02-05 12:09:52.000000000 +0100 @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> + +<chapter id="faq"> + <title>FAQ</title> + <para> + The following sections explain frequently asked questions from people. + </para> + + <sect1 id="faq-why"> + <title>Why wrap libusb1?</title> + <para> + libusb1 is a pain in the arse to use in GLib. + </para> + + </sect1> + +</chapter> + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/gusb-introduction.xml new/libgusb-0.1.6/docs/api/gusb-introduction.xml --- old/libgusb-0.1.4/docs/api/gusb-introduction.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/gusb-introduction.xml 2013-02-05 12:09:52.000000000 +0100 @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> + +<chapter id="introduction"> + <title>GUSB Introduction</title> + + <sect1 id="introduction-description"> + <title>Overall Description</title> + <para> + GUsb is a GLib wrapper for libusb1. + </para> + </sect1> + +</chapter> + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/html/gusb-gusb-version.html new/libgusb-0.1.6/docs/api/html/gusb-gusb-version.html --- old/libgusb-0.1.4/docs/api/html/gusb-gusb-version.html 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/html/gusb-gusb-version.html 2013-03-05 12:33:50.000000000 +0100 @@ -74,7 +74,7 @@ <hr> <div class="refsect2"> <a name="G-USB-MICRO-VERSION:CAPS"></a><h3>G_USB_MICRO_VERSION</h3> -<pre class="programlisting">#define G_USB_MICRO_VERSION (4) +<pre class="programlisting">#define G_USB_MICRO_VERSION (6) </pre> <p> The compile-time micro version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/html/index.html new/libgusb-0.1.6/docs/api/html/index.html --- old/libgusb-0.1.4/docs/api/html/index.html 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/html/index.html 2013-03-05 12:33:50.000000000 +0100 @@ -23,7 +23,7 @@ </p></div></div> </div></div></div> <div><p class="releaseinfo"> - for GUsb 0.1.4 + for GUsb 0.1.6 </p></div> <div><p class="copyright">Copyright © 2011 Richard Hughes</p></div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-context-private.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-context-private.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-context-private.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-context-private.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-context.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-context.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-context.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-context.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-device-list.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-device-list.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-device-list.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-device-list.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-device-private.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-device-private.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-device-private.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-device-private.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-device.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-device.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-device.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-device.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-private.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-private.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-private.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-private.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-source-private.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-source-private.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-source-private.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-source-private.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-source.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-source.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-source.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-source.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-unused.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-unused.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-unused.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-unused.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -1,14 +0,0 @@ -<!-- ##### MACRO GUSB_RESERVED_PADDING ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION gusb_strerror ##### --> -<para> - -</para> - -@error_code: -@Returns: - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-util.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-util.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-util.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-util.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb-version.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb-version.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb-version.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb-version.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/tmpl/gusb.sgml new/libgusb-0.1.6/docs/api/tmpl/gusb.sgml --- old/libgusb-0.1.4/docs/api/tmpl/gusb.sgml 2012-11-06 20:00:27.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/tmpl/gusb.sgml 2013-03-05 12:33:50.000000000 +0100 @@ -9,11 +9,13 @@ </para> + <!-- ##### SECTION See_Also ##### --> <para> </para> + <!-- ##### SECTION Stability_Level ##### --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/docs/api/version.xml new/libgusb-0.1.6/docs/api/version.xml --- old/libgusb-0.1.4/docs/api/version.xml 2012-11-06 19:59:44.000000000 +0100 +++ new/libgusb-0.1.6/docs/api/version.xml 2013-03-05 12:32:55.000000000 +0100 @@ -1 +1 @@ -0.1.4 +0.1.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/gusb/Makefile.am new/libgusb-0.1.6/gusb/Makefile.am --- old/libgusb-0.1.4/gusb/Makefile.am 2012-06-10 23:20:35.000000000 +0200 +++ new/libgusb-0.1.6/gusb/Makefile.am 2013-02-05 10:36:35.000000000 +0100 @@ -1,5 +1,5 @@ -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(USB_CFLAGS) \ $(GUDEV_CFLAGS) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/gusb/gusb-context.c new/libgusb-0.1.6/gusb/gusb-context.c --- old/libgusb-0.1.4/gusb/gusb-context.c 2012-06-10 10:43:24.000000000 +0200 +++ new/libgusb-0.1.6/gusb/gusb-context.c 2013-02-21 23:24:22.000000000 +0100 @@ -52,7 +52,7 @@ **/ struct _GUsbContextPrivate { - GStaticMutex source_mutex; + GMutex source_mutex; GUsbSource *source; libusb_context *context; int debug_level; @@ -185,7 +185,7 @@ GUsbContextPrivate *priv; priv = context->priv = G_USB_CONTEXT_GET_PRIVATE (context); - g_static_mutex_init (&priv->source_mutex); + g_mutex_init (&priv->source_mutex); priv->source = NULL; } @@ -198,7 +198,6 @@ GUsbContext *context = G_USB_CONTEXT (object); GUsbContextPrivate *priv = context->priv; - g_static_mutex_free (&priv->source_mutex); if (priv->source != NULL) _g_usb_source_destroy (priv->source); @@ -258,10 +257,10 @@ GUsbContextPrivate *priv = context->priv; if (priv->source == NULL) { - g_static_mutex_lock (&priv->source_mutex); + g_mutex_lock (&priv->source_mutex); if (priv->source == NULL) priv->source = _g_usb_source_new (main_ctx, context); - g_static_mutex_unlock (&priv->source_mutex); + g_mutex_unlock (&priv->source_mutex); } return priv->source; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/gusb/gusb-device.c new/libgusb-0.1.6/gusb/gusb-device.c --- old/libgusb-0.1.4/gusb/gusb-device.c 2012-06-10 10:43:27.000000000 +0200 +++ new/libgusb-0.1.6/gusb/gusb-device.c 2013-03-05 12:27:25.000000000 +0100 @@ -467,7 +467,6 @@ { helper->ret = (*helper->finish_func) (device, res, helper->error); g_main_loop_quit (helper->loop); - g_main_loop_unref (helper->loop); } /** @@ -512,6 +511,7 @@ { GUsbSyncHelper helper; + helper.ret = -1; helper.loop = g_main_loop_new (NULL, FALSE); helper.error = error; helper.finish_func = g_usb_device_control_transfer_finish; @@ -530,6 +530,7 @@ (GAsyncReadyCallback) g_usb_device_sync_transfer_cb, &helper); g_main_loop_run (helper.loop); + g_main_loop_unref (helper.loop); if (actual_length != NULL) *actual_length = (gsize) helper.ret; @@ -571,6 +572,7 @@ { GUsbSyncHelper helper; + helper.ret = -1; helper.loop = g_main_loop_new (NULL, FALSE); helper.error = error; helper.finish_func = g_usb_device_bulk_transfer_finish; @@ -584,6 +586,7 @@ (GAsyncReadyCallback) g_usb_device_sync_transfer_cb, &helper); g_main_loop_run (helper.loop); + g_main_loop_unref (helper.loop); if (actual_length != NULL) *actual_length = (gsize) helper.ret; @@ -625,6 +628,7 @@ { GUsbSyncHelper helper; + helper.ret = -1; helper.loop = g_main_loop_new (NULL, FALSE); helper.error = error; helper.finish_func = g_usb_device_interrupt_transfer_finish; @@ -638,6 +642,7 @@ (GAsyncReadyCallback) g_usb_device_sync_transfer_cb, &helper); g_main_loop_run (helper.loop); + g_main_loop_unref (helper.loop); if (actual_length != NULL) *actual_length = helper.ret; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/gusb/gusb-version.h new/libgusb-0.1.6/gusb/gusb-version.h --- old/libgusb-0.1.4/gusb/gusb-version.h 2012-11-06 19:59:44.000000000 +0100 +++ new/libgusb-0.1.6/gusb/gusb-version.h 2013-03-05 12:32:55.000000000 +0100 @@ -53,7 +53,7 @@ * * The compile-time micro version */ -#define G_USB_MICRO_VERSION (4) +#define G_USB_MICRO_VERSION (6) /** * G_USB_CHECK_VERSION: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgusb-0.1.4/tools/Makefile.am new/libgusb-0.1.6/tools/Makefile.am --- old/libgusb-0.1.4/tools/Makefile.am 2011-08-11 12:45:51.000000000 +0200 +++ new/libgusb-0.1.6/tools/Makefile.am 2013-01-14 10:25:49.000000000 +0100 @@ -1,4 +1,4 @@ -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(GUDEV_CFLAGS) \ $(USB_CFLAGS) \ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
