From: Krzysztof Opasiak Date: Tue, 22 Dec 2015 18:43:44 +0000 (+0100) Subject: Fork from libusbg project X-Git-Tag: libusbgx-v0.1.0~275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c07046b8f5bfa72c1af49a383a2aea85e9d91854;p=platform%2Fupstream%2Flibusbg.git Fork from libusbg project As libusbg project looks for a dead for over a year it has been forked and now it is developed as: libusbg-neXt (libusbgx) Signed-off-by: Krzysztof Opasiak --- diff --git a/ChangeLog b/ChangeLog index 295762b..63ba0f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,2 @@ -Mon, 20 Jan 2014 Matt Porter 0.1.0 -- Rename from libgadget->libusbg -- Update examples to use standard configfs mount point -Wed, 04 Sep 2013 Matt Porter 0.0.1 -- Initial release +Tue, 22 Dec 2015 Krzysztof Opasiak 0.0.1 + - Initial fork from libusbg diff --git a/INSTALL b/INSTALL index 786ecee..0d9d67f 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -Installing libusbg: +Installing libusbgx: $ autoreconf -i $ ./configure diff --git a/Makefile.am b/Makefile.am index 5fc3cd6..26abc57 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,4 +5,4 @@ EXTRA_DIST = doxygen.cfg library_includedir=$(includedir)/usbg library_include_HEADERS = include/usbg/usbg.h pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libusbg.pc +pkgconfig_DATA = libusbgx.pc diff --git a/README b/README index fba9959..08622a3 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ -libusbg +libusbg-neXt (libusbgx) ------- -libusbg is a C library encapsulating the kernel USB gadget-configfs +libusbgx is a C library encapsulating the kernel USB gadget-configfs userspace API functionality. It provides routines for creating and parsing USB gadget devices using diff --git a/configure.ac b/configure.ac index 45449e2..b2bc52f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ -AC_INIT([libusbg], [0.1.0], [mporter@linaro.org]) +AC_INIT([libusbgx], [0.0.1], [k.opasiak@samsung.com]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC AM_PROG_AR AC_CONFIG_MACRO_DIR([m4]) LT_INIT -AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile libusbg.pc]) +AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile libusbgx.pc]) DX_INIT_DOXYGEN([$PACKAGE_NAME],[doxygen.cfg]) AC_OUTPUT diff --git a/examples/Makefile.am b/examples/Makefile.am index f9f9407..a9c52e3 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -2,4 +2,4 @@ bin_PROGRAMS = show-gadgets gadget-acm-ecm gadget_acm_ecm_SOURCES = gadget-acm-ecm.c show_gadgets_SOURCES = show-gadgets.c AM_CPPFLAGS=-I../include/ -AM_LDFLAGS=-L../src/ -lusbg +AM_LDFLAGS=-L../src/ -lusbgx diff --git a/include/usbg/usbg.h b/include/usbg/usbg.h index 5f00068..d588573 100644 --- a/include/usbg/usbg.h +++ b/include/usbg/usbg.h @@ -25,7 +25,7 @@ */ /** - * @addtogroup libusbg + * @addtogroup libusbgx * Public API for USB gadget-configfs library * @{ */ @@ -193,14 +193,14 @@ struct binding /* Library init and cleanup */ /** - * @brief Initialize the libusbg library state + * @brief Initialize the libusbgx library state * @param configfs_path Path to the mounted configfs filesystem * @return Pointer to a state structure */ extern struct state *usbg_init(char *configfs_path); /** - * @brief Clean up the libusbg library state + * @brief Clean up the libusbgx library state * @param s Pointer to state */ extern void usbg_cleanup(struct state *s); diff --git a/libusbg.pc.in b/libusbgx.pc.in similarity index 93% rename from libusbg.pc.in rename to libusbgx.pc.in index 46eb245..62cf50b 100644 --- a/libusbg.pc.in +++ b/libusbgx.pc.in @@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ -Name: libusbg +Name: libusbgx Description: USB gadget-configfs library Requires: Version: @PACKAGE_VERSION@ diff --git a/src/Makefile.am b/src/Makefile.am index d955a4c..25fb64f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -lib_LTLIBRARIES = libusbg.la -libusbg_la_SOURCES = usbg.c -libusbg_la_LDFLAGS = -version-info 0:1:0 +lib_LTLIBRARIES = libusbgx.la +libusbgx_la_SOURCES = usbg.c +libusbgx_la_LDFLAGS = -version-info 0:0:0 AM_CPPFLAGS=-I../include/