summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-22 19:43:44 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-22 20:33:32 +0100
commitc07046b8f5bfa72c1af49a383a2aea85e9d91854 (patch)
tree725ff85686d0eeb9ae064f6664cb63f95501ded5
parent7e2b04363f319e8936a606bdb122dbde249a2f58 (diff)
downloadlibusbg-c07046b8f5bfa72c1af49a383a2aea85e9d91854.tar.gz
libusbg-c07046b8f5bfa72c1af49a383a2aea85e9d91854.tar.bz2
libusbg-c07046b8f5bfa72c1af49a383a2aea85e9d91854.zip
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 <k.opasiak@samsung.com>
-rw-r--r--ChangeLog7
-rw-r--r--INSTALL2
-rw-r--r--Makefile.am2
-rw-r--r--README4
-rw-r--r--configure.ac4
-rw-r--r--examples/Makefile.am2
-rw-r--r--include/usbg/usbg.h6
-rw-r--r--libusbgx.pc.in (renamed from libusbg.pc.in)2
-rw-r--r--src/Makefile.am6
9 files changed, 16 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index 295762b..63ba0f3 100644
--- 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
--- 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
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/