?mode=patch&uid=2010040210031626286
Open Patch: 2010040210031626286 (by clifford)
+ clifford
Votecheck 'user-clifford': OK (clifford)
package/clifford/tilibs2/libticables2-1.2.0-libusb-legacy-0.1.diff
package/clifford/tilibs2/tilibs2.conf
package/clifford/tilibs2/tilibs2.desc
Clifford Wolf:
	Added tilibs2-20080328

Clifford Wolf:
	Added tilibs2-20080328

diff --git a/package/clifford/tilibs2/libticables2-1.2.0-libusb-legacy-0.1.diff b/package/clifford/tilibs2/libticables2-1.2.0-libusb-legacy-0.1.diff
new file mode 100644
index 0000000..b172b7d
--- /dev/null
+++ package/clifford/tilibs2/libticables2-1.2.0-libusb-legacy-0.1.diff
@@ -0,0 +1,33 @@
+--- ./libticables2-1.2.0/configure.orig	2010-04-02 09:09:47.000000000 +0200
++++ ./libticables2-1.2.0/configure	2010-04-02 09:10:03.000000000 +0200
+@@ -28839,7 +28839,7 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+-  pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb >= 0.1.10" 2>/dev/null`
++  pkg_cv_LIBUSB_LIBS="-lusb-legacy-0.1"
+ else
+   pkg_failed=yes
+ fi
+--- ./libticables2-1.2.0/src/linux/link_usb.c.orig	2010-04-02 08:45:58.000000000 +0200
++++ ./libticables2-1.2.0/src/linux/link_usb.c	2010-04-02 09:08:33.000000000 +0200
+@@ -94,7 +94,7 @@
+ #ifdef _MSC_VER
+ # include "../win32/usb.h"
+ #else
+-# include <usb.h>
++# include <usb-legacy-0.1.h>
+ #endif
+ 
+ /* --- */
+--- ./libticables2-1.2.0/src/ticables.c.orig	2010-04-02 09:08:07.000000000 +0200
++++ ./libticables2-1.2.0/src/ticables.c	2010-04-02 09:08:14.000000000 +0200
+@@ -37,7 +37,7 @@
+ #ifdef _MSC_VER
+ # include "./win32/usb.h"
+ #elif defined(HAVE_LIBUSB)
+-# include <usb.h>
++# include <usb-legacy-0.1.h>
+ #endif
+ 
+ #include "gettext.h"
diff --git a/package/clifford/tilibs2/tilibs2.conf b/package/clifford/tilibs2/tilibs2.conf
new file mode 100644
index 0000000..9ff456e
--- /dev/null
+++ package/clifford/tilibs2/tilibs2.conf
@@ -0,0 +1,32 @@
+
+tilibs_custmain()
+{
+	tar xzf libticonv-1.1.0.tar.gz
+	tar xzf libtifiles2-1.1.1.tar.gz
+	tar xzf libticables2-1.2.0.tar.gz
+	tar xzf libticalcs2-1.1.2.tar.gz
+	patch -p1 < $confdir/libticables2-1.2.0-libusb-legacy-0.1.diff
+
+	cd libticonv-1.1.0
+	eval_config_command $( eval echo $confopt )
+	make && make install
+	cd ..
+
+	cd libtifiles2-1.1.1
+	eval_config_command $( eval echo $confopt )
+	make && make install
+	cd ..
+
+	cd libticables2-1.2.0
+	eval_config_command $( eval echo $confopt )
+	make && make install
+	cd ..
+
+	cd libticalcs2-1.1.2
+	eval_config_command $( eval echo $confopt )
+	make && make install
+	cd ..
+}
+
+custmain=tilibs_custmain
+
diff --git a/package/clifford/tilibs2/tilibs2.desc b/package/clifford/tilibs2/tilibs2.desc
new file mode 100644
index 0000000..873d88d
--- /dev/null
+++ package/clifford/tilibs2/tilibs2.desc
@@ -0,0 +1,46 @@
+
+[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+[COPY] 
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY] Please add additional copyright information _after_ the line containing
+[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+[COPY] 
+[COPY] ROCK Linux: rock-src/package/clifford/tilibs2/tilibs2.desc
+[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
+[COPY] 
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; either version 2 of the License, or
+[COPY] (at your option) any later version. A copy of the GNU General Public
+[COPY] License can be found at Documentation/COPYING.
+[COPY] 
+[COPY] Many people helped and are helping developing ROCK Linux. Please
+[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
+[COPY] file for details.
+[COPY] 
+[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
+
+[I] Bundle of libraries for working with TI calculators
+
+[T] This package contains some fundamental libraries for emulating and
+[T] interacting with TI calculators:
+[T]    libticables2
+[T]    libticalcs2
+[T]    libticonv
+[T]    libtifiles2
+
+[U] http://lpg.ticalc.org/
+
+[A] Various Authors
+[M] Clifford Wolf <clifford@clifford.at>
+
+[C] extra/emulator
+
+[L] GPL
+[S] Stable
+[V] 20080328
+[P] X --?--5---9 206.405
+
+[D] 4086278863 tilibs2-20080328.tar.gz http://downloads.sourceforge.net/project/tilp/tilp2-linux/tilp2-1.11/
+
-- 
1.6.2.1


[Download this patch]