diff options
Diffstat (limited to 'packages/usbview')
-rw-r--r-- | packages/usbview/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/usbview/usbview/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/usbview/usbview/gtk2.patch | 21 | ||||
-rw-r--r-- | packages/usbview/usbview_1.0.bb | 16 |
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 |