From 0ad94d56f216ebc6c15ce2b0a958d7fa6079b00c Mon Sep 17 00:00:00 2001 From: Raymond Danks Date: Mon, 24 Jul 2006 16:23:53 +0000 Subject: usbview - Initial add. --- packages/usbview/.mtn2git_empty | 0 packages/usbview/usbview/.mtn2git_empty | 0 packages/usbview/usbview/gtk2.patch | 21 +++++++++++++++++++++ packages/usbview/usbview_1.0.bb | 16 ++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 packages/usbview/.mtn2git_empty create mode 100644 packages/usbview/usbview/.mtn2git_empty create mode 100644 packages/usbview/usbview/gtk2.patch create mode 100644 packages/usbview/usbview_1.0.bb (limited to 'packages/usbview') diff --git a/packages/usbview/.mtn2git_empty b/packages/usbview/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/usbview/usbview/.mtn2git_empty b/packages/usbview/usbview/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 + #include + #include ++#define GTK_ENABLE_BROKEN + #include + + #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 " +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 -- cgit v1.2.3