Fork from libusbg project
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 18:43:44 +0000 (19:43 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:33:32 +0000 (20:33 +0100)
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 <k.opasiak@samsung.com>
ChangeLog
INSTALL
Makefile.am
README
configure.ac
examples/Makefile.am
include/usbg/usbg.h
libusbgx.pc.in [moved from libusbg.pc.in with 93% similarity]
src/Makefile.am

index 295762b..63ba0f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,2 @@
-Mon, 20 Jan 2014  Matt Porter <mporter@linaro.org>  0.1.0
-- Rename from libgadget->libusbg
-- Update examples to use standard configfs mount point
-Wed, 04 Sep 2013  Matt Porter <mporter@linaro.org>  0.0.1
-- Initial release
+Tue, 22 Dec 2015 Krzysztof Opasiak <k.opasiak@samsung.com> 0.0.1
+       - Initial fork from libusbg
diff --git a/INSTALL b/INSTALL
index 786ecee..0d9d67f 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
-Installing libusbg:
+Installing libusbgx:
 
 $ autoreconf -i
 $ ./configure
index 5fc3cd6..26abc57 100644 (file)
@@ -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 (file)
--- 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
index 45449e2..b2bc52f 100644 (file)
@@ -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
index f9f9407..a9c52e3 100644 (file)
@@ -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
index 5f00068..d588573 100644 (file)
@@ -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);
similarity index 93%
rename from libusbg.pc.in
rename to libusbgx.pc.in
index 46eb245..62cf50b 100644 (file)
@@ -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@
index d955a4c..25fb64f 100644 (file)
@@ -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/