usbview - Initial add.
authorRaymond Danks <raymond@edanks.com>
Mon, 24 Jul 2006 16:23:53 +0000 (16:23 +0000)
committerRaymond Danks <raymond@edanks.com>
Mon, 24 Jul 2006 16:23:53 +0000 (16:23 +0000)
packages/usbview/.mtn2git_empty [new file with mode: 0644]
packages/usbview/usbview/.mtn2git_empty [new file with mode: 0644]
packages/usbview/usbview/gtk2.patch [new file with mode: 0644]
packages/usbview/usbview_1.0.bb [new file with mode: 0644]

diff --git a/packages/usbview/.mtn2git_empty b/packages/usbview/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/usbview/usbview/.mtn2git_empty b/packages/usbview/usbview/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/usbview/usbview/gtk2.patch b/packages/usbview/usbview/gtk2.patch
new file mode 100644 (file)
index 0000000..e0ec4e9
--- /dev/null
@@ -0,0 +1,21 @@
+--- usbview-1.0/configure.in.orig      2006-07-18 14:31:32.000000000 -0600
++++ usbview-1.0/configure.in   2006-07-18 14:31:58.000000000 -0600
+@@ -9,7 +9,7 @@
+ AM_PROG_CC_STDC
+ AC_HEADER_STDC
+-AM_PATH_GTK(1.2.0, ,
++AM_PATH_GTK_2_0(1.2.0, ,
+             AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+--- usbview-1.0/usbtree.c.orig 2006-07-18 14:36:39.996545080 -0600
++++ usbview-1.0/usbtree.c      2006-07-18 14:36:54.531335456 -0600
+@@ -31,6 +31,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <errno.h>
++#define GTK_ENABLE_BROKEN
+ #include <gtk/gtk.h>
+ #include "usbtree.h"
diff --git a/packages/usbview/usbview_1.0.bb b/packages/usbview/usbview_1.0.bb
new file mode 100644 (file)
index 0000000..5e719e8
--- /dev/null
@@ -0,0 +1,16 @@
+# usbview .bb build file
+# Copyright (C) 2006, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see /COPYING)
+
+DESCRIPTION="USBView is a GTK program that displays the topography of the \
+       devices that are plugged into the USB bus on a Linux machine."
+HOMEPAGE="http://www.kroah.com/linux-usb/"
+MAINTAINER = "Raymond Danks <info-linux@geode.amd.com>"
+LICENSE="GPL"
+
+SRC_URI="http://www.kroah.com/linux-usb/${PN}-${PV}.tar.gz \
+       file://gtk2.patch;patch=1"
+
+DEPENDS="gtk+ pango glib-2.0 cairo atk"
+
+inherit autotools