aboutsummaryrefslogtreecommitdiffstats
path: root/packages/usbview
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-07-24 16:23:53 +0000
committerRaymond Danks <raymond@edanks.com>2006-07-24 16:23:53 +0000
commit0ad94d56f216ebc6c15ce2b0a958d7fa6079b00c (patch)
tree97b0975342e6083c861844364761c99cc53b25a7 /packages/usbview
parent9a5e17007ad87d71e1018775dc36ce60448eb6c1 (diff)
downloadopenembedded-0ad94d56f216ebc6c15ce2b0a958d7fa6079b00c.tar.gz
usbview - Initial add.
Diffstat (limited to 'packages/usbview')
-rw-r--r--packages/usbview/.mtn2git_empty0
-rw-r--r--packages/usbview/usbview/.mtn2git_empty0
-rw-r--r--packages/usbview/usbview/gtk2.patch21
-rw-r--r--packages/usbview/usbview_1.0.bb16
4 files changed, 37 insertions, 0 deletions
diff --git a/packages/usbview/.mtn2git_empty b/packages/usbview/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/usbview/.mtn2git_empty
diff --git a/packages/usbview/usbview/.mtn2git_empty b/packages/usbview/usbview/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/usbview/usbview/.mtn2git_empty
diff --git a/packages/usbview/usbview/gtk2.patch b/packages/usbview/usbview/gtk2.patch
new file mode 100644
index 0000000000..e0ec4e9940
--- /dev/null
+++ b/packages/usbview/usbview/gtk2.patch
@@ -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
index 0000000000..5e719e8e65
--- /dev/null
+++ b/packages/usbview/usbview_1.0.bb
@@ -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