From c07046b8f5bfa72c1af49a383a2aea85e9d91854 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Tue, 22 Dec 2015 19:43:44 +0100 Subject: [PATCH] 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 --- ChangeLog | 7 ++----- INSTALL | 2 +- Makefile.am | 2 +- README | 4 ++-- configure.ac | 4 ++-- examples/Makefile.am | 2 +- include/usbg/usbg.h | 6 +++--- libusbg.pc.in => libusbgx.pc.in | 2 +- src/Makefile.am | 6 +++--- 9 files changed, 16 insertions(+), 19 deletions(-) rename libusbg.pc.in => libusbgx.pc.in (93%) 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/ -- 2.7.4