Change de.ailis.usb4java to org.usb4java in the C code part.

This commit is contained in:
Luca Longinotti 2014-02-15 16:50:45 +01:00
parent 23c3806a16
commit c1cc445f6e
5 changed files with 7 additions and 6 deletions

View File

@ -1 +1,2 @@
Klaus Reimer <k@ailis.de>
Luca Longinotti <l@longi.li>

View File

@ -23,7 +23,7 @@ When compilation was successful then you can find the library in the
number (Examples: libusb4java.so, libusb4java.dylib, libusb4java.dll).
usb4java searches for the library in the CLASSPATH directory
`de/ailis/usb4java/libusb/<OS>-<ARCH>/`. On a 32 bit x86 linux machine for
example the directory name is `de/ailis/usb4java/libusb/linux-x86`. Usually
`org/usb4java/libusb/<OS>-<ARCH>/`. On a 32 bit x86 linux machine for
example the directory name is `org/usb4java/libusb/linux-x86`. Usually
you can find the required name in the exception thrown by usb4java when it
does not find the required library.

View File

@ -28,7 +28,7 @@ build()
LIBUSB_URL="http://downloads.sf.net/project/libusb/libusb-1.0/$LIBUSB_NAME/$LIBUSB_ARCHIVE"
fi
DISTDIR="$SRCDIR/../resources/de/ailis/usb4java/libusb/$OS-$ARCH"
DISTDIR="$SRCDIR/../resources/org/usb4java/libusb/$OS-$ARCH"
# Only Windows needs the shared library, the others want static ones.
if [ "$OS" = "windows" ]

View File

@ -1,5 +1,5 @@
AC_PREREQ([2.61])
AC_INIT([libusb4java], [1.0.0], [k@ailis.de])
AC_INIT([libusb4java], [1.2.0], [usb4java@googlegroups.com])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
AC_CONFIG_MACRO_DIR([m4])

View File

@ -11,8 +11,8 @@
#include <libusb.h>
#include "config.h"
#define PACKAGE_DIR "de/ailis/usb4java/libusb"
#define METHOD_NAME(CLASS_NAME, METHOD_NAME) Java_de_ailis_usb4java_libusb_##CLASS_NAME##_##METHOD_NAME
#define PACKAGE_DIR "org/usb4java/libusb"
#define METHOD_NAME(CLASS_NAME, METHOD_NAME) Java_org_usb4java_libusb_##CLASS_NAME##_##METHOD_NAME
#if SIZEOF_VOID_P == 4
# define jptr jint