Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131715 - sys-libs/libkudzu-1.2.41 (version bump)
Summary: sys-libs/libkudzu-1.2.41 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 160315
Blocks:
  Show dependency tree
 
Reported: 2006-04-29 13:40 UTC by Dick Marinus
Modified: 2007-01-31 17:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-libs/libkudzu-1.2.34.3.ebuild (libkudzu-1.2.34.3.ebuild,838 bytes, text/plain)
2006-04-29 13:41 UTC, Dick Marinus
Details
kudzu-1.2.34.3.tar.gz (kudzu-1.2.34.3.tar.gz,258.75 KB, application/octet-stream)
2006-04-29 13:42 UTC, Dick Marinus
Details
pciutils-devicetype.patch (pciutils-devicetype.patch,5.79 KB, patch)
2006-04-29 14:57 UTC, Dick Marinus
Details | Diff
sys-libs/libkudzu-1.2.41.ebuild (libkudzu-1.2.41.ebuild,838 bytes, text/plain)
2006-08-06 09:08 UTC, Dick Marinus
Details
kudzu-1.2.41.tar.gz (kudzu-1.2.41.tar.gz,259.15 KB, application/x-gtar)
2006-08-06 09:10 UTC, Dick Marinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dick Marinus 2006-04-29 13:40:00 UTC
versionbump + libkudzu_loader.a
Comment 1 Dick Marinus 2006-04-29 13:41:16 UTC
Created attachment 85793 [details]
sys-libs/libkudzu-1.2.34.3.ebuild

--- /usr/portage/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild    2006-02-09 15:36:05.000000000 +0100
+++ libkudzu-1.2.34.3.ebuild    2006-04-29 22:35:25.000000000 +0200
@@ -1,12 +1,12 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild,v 1.11 2006/02/09 14:31:13 wolf31o2 Exp $
+# $Header: $

 inherit eutils

 S=${WORKDIR}/kudzu-${PV}
 DESCRIPTION="Red Hat Hardware detection tools"
-SRC_URI="http://www.ibiblio.org/onebase/devbase/app-packs/kudzu-${PV}.tar.bz2"
+SRC_URI="kudzu-${PV}.tar.gz"
 HOMEPAGE="http://fedora.redhat.com/projects/additional-projects/kudzu/"

 LICENSE="GPL-2"
@@ -20,23 +20,16 @@
 DEPEND="dev-libs/popt
        sys-apps/pciutils"

-src_unpack() {
-       unpack ${A}
-       epatch ${FILESDIR}/sunlance.patch
-       epatch ${FILESDIR}/ppc.patch
-       epatch ${FILESDIR}/typedef_byte.patch
-}
-
 src_compile() {
        # Fix the modules directory to match Gentoo layout.
        perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*

-       emake libkudzu.a RPM_OPT_FLAGS="${CFLAGS}" || die
+       emake libkudzu.a libkudzu_loader.a RPM_OPT_FLAGS="${CFLAGS}" || die
 }

 src_install() {
        dodir /etc/sysconfig
        insinto /usr/include/kudzu
        doins *.h
-       dolib.a libkudzu.a
+       dolib.a libkudzu.a libkudzu_loader.a
 }
Comment 2 Dick Marinus 2006-04-29 13:42:14 UTC
Created attachment 85794 [details]
kudzu-1.2.34.3.tar.gz

extracted from source RPM
Comment 3 Dick Marinus 2006-04-29 14:57:07 UTC
Created attachment 85797 [details, diff]
pciutils-devicetype.patch

and... pciutils requires this patch (from redhat pciutils)
Comment 4 Dick Marinus 2006-08-06 09:08:35 UTC
Created attachment 93598 [details]
sys-libs/libkudzu-1.2.41.ebuild

--- /usr/portage/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild    2006-02-09 15:36:05.000000000 +0100
+++ libkudzu-1.2.41.ebuild      2006-04-29 22:35:25.000000000 +0200
@@ -1,12 +1,12 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild,v 1.11 2006/02/09 14:31:13 wolf31o2 Exp $
+# $Header: $

 inherit eutils

 S=${WORKDIR}/kudzu-${PV}
 DESCRIPTION="Red Hat Hardware detection tools"
-SRC_URI="http://www.ibiblio.org/onebase/devbase/app-packs/kudzu-${PV}.tar.bz2"
+SRC_URI="kudzu-${PV}.tar.gz"
 HOMEPAGE="http://fedora.redhat.com/projects/additional-projects/kudzu/"

 LICENSE="GPL-2"
@@ -20,23 +20,16 @@
 DEPEND="dev-libs/popt
        sys-apps/pciutils"

-src_unpack() {
-       unpack ${A}
-       epatch ${FILESDIR}/sunlance.patch
-       epatch ${FILESDIR}/ppc.patch
-       epatch ${FILESDIR}/typedef_byte.patch
-}
-
 src_compile() {
        # Fix the modules directory to match Gentoo layout.
        perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*

-       emake libkudzu.a RPM_OPT_FLAGS="${CFLAGS}" || die
+       emake libkudzu.a libkudzu_loader.a RPM_OPT_FLAGS="${CFLAGS}" || die
 }

 src_install() {
        dodir /etc/sysconfig
        insinto /usr/include/kudzu
        doins *.h
-       dolib.a libkudzu.a
+       dolib.a libkudzu.a libkudzu_loader.a
 }
Comment 5 Dick Marinus 2006-08-06 09:10:25 UTC
Created attachment 93599 [details]
kudzu-1.2.41.tar.gz

extracted from kudzu-1.2.41-1.src.rpm
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-30 08:42:55 UTC
Is the patch still required for pciutils with 1.2.41?
Comment 7 Dick Marinus 2006-08-30 11:03:33 UTC
yes:
./pci.c:419:            pci_fill_info(p, PCI_FILL_IDENT | PCI_FILL_CLASS | PCI_FILL_IRQ | PCI_FILL_BASES | PCI_FILL_ROM_BASE | PCI_FILL_SIZES);

PCI_FILL_CLASS is a new flag supplied by the devicetype patch.

pciutils-devicetype.patch is still working on pciutils-2.2.3 ...

but we will get it soon:
commit c2b144efd9a82291ca7b1bb4f561f427ff18ed7e
Author: Martin Mares <mj@ucw.cz>
Date:   Tue Jun 27 15:13:20 2006 +0200

    Add and use PCI_FILL_CLASS.

(from pciutils git repository)

so we will have to wait (or apply the patch ;-))
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-31 17:54:07 UTC
Added to CVS...