Nome utente: Password: Ricordami
Criterio di ricerca Ricerca avanzata
Dettagli del pacchetto

hwinfo 16.10-17
http://www.opensuse.org
A simple program that lists results from the hardware detection library.

unsupported :: system
Responsabile: imrehg
Voti: 352

Licenza: GPL2

Ultimo aggiornamento: Mon, 08 Feb 2010 05:33:01 +0000
Data di primo invio: Wed, 30 Jan 2008 13:17:51 +0000

Archivio :: File :: PKGBUILD

Dipendenze hal libx86emu perl
Richiesto da cfg2html-linux kio-sysinfo

Sorgenti
http://download.opensuse.org/source/factory/repo/oss/suse/src/hwinfo-16.10-3.25.src.rpm
Commento lasciato da: imrehg il Thu, 04 Feb 2010 05:05:05 +0000
Please, see comment below (2010 Jan 10), just flag out-of-date when there's a new revision. Thank you!
Commento lasciato da: kronig il Thu, 04 Feb 2010 04:56:00 +0000
yep, rev new:
http://download.opensuse.org/source/factory/repo/oss/suse/src/hwinfo-16.10-3.24.src.rpm
Commento lasciato da: peti il Wed, 27 Jan 2010 20:54:09 +0000
It seems that hwinfo-16.10-3.22.src.rpm cannot be downloaded anymore. I got an "Object not found" error.
Commento lasciato da: imrehg il Mon, 11 Jan 2010 04:30:15 +0000
hi, in the OpenSuse Factory they seem to replace packages, not accumulate them, thus this PKGBUILD always breaks when they update. Consequently, you can just flag the package out of date, I'll know what to do. If you Just give a comment with the changes needed for the package but not flag it out of date, it is not very helpful at all.
cheer! enjoy!
Commento lasciato da: polymetr il Sun, 10 Jan 2010 15:42:26 +0000
# Originally contributed by champus, madeye, Ranguvar and ninja_pt
pkgname=hwinfo
pkgver=16.10
-_minorver=3.18
+_minorver=3.21
pkgrel=12
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
@@ -31,4 +31,4 @@
make DESTDIR=${pkgdir} install || return 1

}
-md5sums=('00bb98cf0093a11d47cbf5bde2c62593')
+md5sums=('8f5c65da6590817439ad148bdbfdaaea')
Commento lasciato da: eliphant0723 il Sun, 03 Jan 2010 16:30:07 +0000
Try changing "_minorver=3.15" to "_minorver=3.17" and md5sum to "04fc8add676575c231ee0cd3fb84df69"
Commento lasciato da: Svenstaro il Fri, 01 Jan 2010 08:06:19 +0000
Link broken :<
Commento lasciato da: hsa2 il Thu, 10 Dec 2009 01:20:27 +0000
# Maintainer: Gergely Imreh <imrehgATgmailDOTcom>
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
# Originally contributed by champus, madeye, Ranguvar and ninja_pt
pkgname=hwinfo
pkgver=16.10
_minorver=3.9
pkgrel=5
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL2')
depends=('hal' 'perl' 'libx86emu')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/${pkgname}-${pkgver}-${_minorver}.src.rpm")
build() {

cd ${srcdir}
rpmextract.sh ${pkgname}-${pkgver}-${_minorver}.src.rpm || return 1
tar -xjf ${pkgname}-${pkgver}.tar.bz2

cd ${srcdir}/${pkgname}-${pkgver}

sed -i '145,149 d' src/hd/kbd.c

# Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too.
# Comment if this fix breaks it - untested on i686 or anything special.
sed -i 's_usr/lib64_usr/lib_' src/hd/Makefile

make -j1 || return 1
make DESTDIR=${pkgdir} install || return 1

}
md5sums=('96ea33a2cab1028ace2c53a4e5c3343c')
Commento lasciato da: nirev il Wed, 18 Nov 2009 22:26:50 +0000
just need to change Minor Version to 3.3

md5 is:
c0f124568bde813f489b70e683a6d323 hwinfo-16.10-3.3.src.rpm
Commento lasciato da: imrehg il Sun, 08 Nov 2009 16:57:52 +0000
unfo: thanks for the PKGBUILD, but that's alright if you flag it out of date next time.
one note on the PKGBUILD: if you update a package, don't forget to update the "pkrel" as well (which is in this time =2) if the pkgver did not change.
Commento lasciato da: unfo il Sun, 08 Nov 2009 16:44:11 +0000
This is PKGBUILD for 16.10-3.2 version of hwinfo

# Maintainer: Gergely Imreh <imrehgATgmailDOTcom>
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
# Originally contributed by champus, madeye, Ranguvar and ninja_pt
pkgname=hwinfo
pkgver=16.10
_minorver=3.2
pkgrel=1
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL2')
depends=('hal' 'perl' 'libx86emu')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/${pkgname}-${pkgver}-${_minorver}.src.rpm")
build() {

cd ${srcdir}
rpmextract.sh ${pkgname}-${pkgver}-${_minorver}.src.rpm || return 1
tar -xjf ${pkgname}-${pkgver}.tar.bz2

cd ${srcdir}/${pkgname}-${pkgver}

sed -i '145,149 d' src/hd/kbd.c

# Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too.
# Comment if this fix breaks it - untested on i686 or anything special.
sed -i 's_usr/lib64_usr/lib_' src/hd/Makefile

make -j1 || return 1
make DESTDIR=${pkgdir} install || return 1

}
md5sums=('8b4e7d7f4dd6e2432d9b20a801c1418f')
Commento lasciato da: warnec il Fri, 09 Oct 2009 15:33:27 +0000
Seems to be working OK now. Tarball points me to a PKGBUILD of a 16.9 version.
Commento lasciato da: imrehg il Thu, 08 Oct 2009 19:45:36 +0000
as I checked with the latest update, there shouldn't be any delay between the PKGBUILD update and the tarball from the website, nor the yaourt pull.
Commento lasciato da: imrehg il Wed, 07 Oct 2009 02:25:33 +0000
Dear warnec, simple check: if you click on the PKGBUILD link further up on the page and you see the correct version, then the maintainer updated correctly. If the tarball is giving you something else in the very same moment, then it's bug report time and I recommend http://bugs.archlinux.org As I said, for me "yaourt -G hwinfo" (which downloads the source) gives the correct version, so I cannot complain.
Commento lasciato da: warnec il Tue, 06 Oct 2009 16:19:26 +0000
Looks like I just made a fool out of myself, then. Sorry, didn't know you don't manage the tarballs ;)

Anyway, it feels simply impossible that you managed to update correctly, while I clicked on a tarball, untarred the "hwinfo" folder to the desktop, opened the PKGBUILD inside, and that's what I see:

# Maintainer: Gergely Imreh <imrehgATgmailDOTcom>
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
# Originally contributed by champus, madeye, Ranguvar and ninja_pt
pkgname=hwinfo
pkgver=16.6
_minorver=1.3
pkgrel=2
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL2')
depends=('hal' 'perl' 'libx86emu')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/${pkgname}-${pkgver}-${_minorver}.src.rpm")
build() {

cd ${srcdir}
rpmextract.sh ${pkgname}-${pkgver}-${_minorver}.src.rpm || return 1
tar -xjf ${pkgname}-${pkgver}.tar.bz2

cd ${srcdir}/${pkgname}-${pkgver}

sed -i '145,149 d' src/hd/kbd.c

# Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too.
# Comment if this fix breaks it - untested on i686 or anything special.
sed -i 's_usr/lib64_usr/lib_' src/hd/Makefile

make -j1 || return 1
make DESTDIR=${pkgdir} install || return 1

}
md5sums=('0779f552a4a1b98c31fcd1598f44c4da')

Is that what you are seeing if you do the same thing as me?
Commento lasciato da: imrehg il Tue, 06 Oct 2009 01:27:40 +0000
Dear warnec, can you please let me know how I can influence the tarball, when it is made by AUR? When you upload a package update, whether it is just a PKGBUILD or a tarball, it will be decompressed and then re-tarred on the server, so it's not my business at all. If you have such problems, file a bug report, please. Otherwise yaourt updates for me just fine, so cannot verify what you just told us....
Thanks!
Commento lasciato da: warnec il Mon, 05 Oct 2009 17:37:44 +0000
Although the PKGBUILD is updated, the tarball still contains an outdated PKGBUILD. Please don't overlook that in the future, it was quite getting on my nerves to find out why yaourt kept saying it can't find the outdated package in opensuse's repo while your PKGBUILD was updated...
Commento lasciato da: imrehg il Fri, 04 Sep 2009 02:14:38 +0000
please just flag out-of-date when there's a new version

foolosophy: when update a PKGBUILD and the pkgver doesn't change (like here), then the pkgrel should be incremented (5->6). It's just out of date, don't have to worry about rewriting the entire PKGBUILD. Thanks.
Commento lasciato da: foolosophy il Fri, 04 Sep 2009 02:08:50 +0000
Updated PKGBUILD:

# Maintainer: Gergely Imreh <imrehgATgmailDOTcom>
# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
# Originally contributed by champus, madeye, Ranguvar and ninja_pt
pkgname=hwinfo
pkgver=16.5
_minorver=1.7
pkgrel=5
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL2')
depends=('hal' 'perl' 'libx86emu')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=("http://download.opensuse.org/factory/repo/src-oss/suse/src/${pkgname}-${pkgver}-${_minorver}.src.rpm")
build() {

cd ${srcdir}
rpmextract.sh ${pkgname}-${pkgver}-${_minorver}.src.rpm || return 1
tar -xjf ${pkgname}-${pkgver}.tar.bz2

cd ${srcdir}/${pkgname}-${pkgver}

sed -i '145,149 d' src/hd/kbd.c

# Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too.
# Comment if this fix breaks it - untested on i686 or anything special.
sed -i 's_usr/lib64_usr/lib_' src/hd/Makefile

make -j1 || return 1
make DESTDIR=${pkgdir} install || return 1

}
md5sums=('96326ddedfd1b96bee8942f215237d8d')
Commento lasciato da: johnpatcher il Tue, 01 Sep 2009 17:08:41 +0000
Sources have been uploaded, package needs to be adopted.
Commento lasciato da: imrehg il Thu, 20 Aug 2009 02:27:49 +0000
if there's a new version, please just click the "Flag Out-of-date" button, and it will notify me. thank you!
Commento lasciato da: jordidg il Wed, 19 Aug 2009 14:21:47 +0000
_minorver is 1.5 and md5 sum is c9aa242d424d7b69cb7708c28ee0a901
Commento lasciato da: urcadox il Mon, 17 Aug 2009 09:16:00 +0000
_minorver is 1.4 and md5 sum is 8d58556c5d57888ec584384bb6e32559 ;)
Commento lasciato da: Pjer il Mon, 10 Aug 2009 22:29:54 +0000
_minorver is 1.3 and md5 sum is 3cce722034ce3ffaee672ea58f093d46
Commento lasciato da: mefistofeles il Mon, 10 Aug 2009 16:59:26 +0000
The version is already 16.5.1.3 so the link and MD5 hash you have in the PKGBUILD is wrong, please correct this. Thanks.
Commento lasciato da: imrehg il Sat, 01 Aug 2009 01:35:19 +0000
please, you can flag it out-of-date when the versions change. thanks!
Commento lasciato da: boh il Sat, 01 Aug 2009 00:18:22 +0000
new pkgver is 16.4, _minorver is 1.3
Commento lasciato da: admiral0 il Sun, 12 Jul 2009 16:42:39 +0000
change _minorver to 1.4
Commento lasciato da: Stagnation il Wed, 08 Jul 2009 03:05:26 +0000
Current version on the site is 16.3-1.2
Commento lasciato da: killajoe il Sun, 28 Jun 2009 11:30:18 +0000
works fine with the new version under arch64:
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.2-2.1.src.rpm
Commento lasciato da: na12 il Tue, 23 Jun 2009 18:09:18 +0000
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.2-2.1.src.rpm
Commento lasciato da: plurt il Wed, 17 Jun 2009 08:08:24 +0000
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.2-1.1.src.rpm
Commento lasciato da: plurt il Fri, 12 Jun 2009 13:05:53 +0000
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.1-1.2.src.rpm
Commento lasciato da: jordz il Fri, 05 Jun 2009 12:32:24 +0000
16.0-1.6 now :)
Commento lasciato da: piete il Sat, 23 May 2009 14:15:39 +0000
Version is now 16.0-1.3
Commento lasciato da: YankeeFan il Tue, 19 May 2009 01:03:58 +0000
version is now 16.0-1.2
Commento lasciato da: cb474 il Mon, 11 May 2009 01:28:12 +0000
You were right, I was totally trigger happy with the Ctrl-C. It only took five minutes after all.
Commento lasciato da: cb474 il Sun, 10 May 2009 21:37:36 +0000
I guess I let it go about five minutes. I'd just never seen a stall like that before with much bigger packages, so it seemed like an error. And I have a pretty fast computer. So it does seem odd. Anyway I'll try again and just let it go for a while. Thanks for the explanation.
Commento lasciato da: imrehg il Sun, 10 May 2009 14:37:39 +0000
cb474: you are describing the normal behaviour of this package, ans just being a bit to trigger-happy with the control-c....

./check_hd is the main part of the compilation process, and it is very CPU intensive. On my EeePC it runs for 20 minutes or half an hour at times. How long did you let yours run? Don't worry, if it got that far, it is very likely to compile just fine in the end.
Commento lasciato da: cb474 il Sun, 10 May 2009 10:31:22 +0000
I can't get this to compile on my Arch64 system. It just gets stuck at this point, with the cpu at 100%:

make[2]: Entering directory `/tmp/yaourt-tmp-username/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/ids'
./check_hd --check --sort --cfile hd_ids.h src/bus src/class src/extra src/special src/scanner src/network src/usb src/usb2 src/isapnp src/monitor src/camera src/tv src/dvb src/chipcard src/modem src/pcmcia src/s390 src/x11.amd64 src/pci src/storage src/sound src/mouse src/braille

I have to hit CTRL-C, because it never gets past this point.
Commento lasciato da: ighea il Sat, 09 May 2009 15:51:39 +0000
The current version is :
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-15.26-1.40.src.rpm
Commento lasciato da: rvvn il Mon, 04 May 2009 11:08:08 +0000
The current version is :
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-15.26-1.39.src.rpm
Commento lasciato da: qft il Sun, 26 Apr 2009 23:41:11 +0000
The source is no longer available.
The current version is
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-15.26-1.37.src.rpm
Commento lasciato da: imrehg il Thu, 23 Apr 2009 03:50:32 +0000
hey, thanks for the feedback.
I just updated the package, and for me it compiles just fine...

Could you give a little bit more info about your case:
what did you edit exactly? (maybe a diff output)
what architecture you are on? (i can only test i686, not x86_64...)
did you do the makepkg in a clean directory? (./pkg and ./src removed if it was there)
Commento lasciato da: shrimants il Wed, 22 Apr 2009 20:07:35 +0000
out of date, also after editing pkgbuild for new version, the same flex error encountered before occurs:

gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib/dbus-1.0/include -I /usr/lib/dbus-1.0/include usb.c
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib/dbus-1.0/include -I /usr/lib/dbus-1.0/include wlan.c
ar r ../../src/libhd.a bios.o block.o braille.o cpu.o edd.o fb.o floppy.o hal.o hd.o hddb.o hdp.o input.o int.o isa.o isapnp.o isdn.o kbd.o klog.o manual.o memory.o misc.o modem.o monitor.o mouse.o net.o parallel.o pci.o pcmcia.o pppoe.o prom.o s390.o sbus.o serial.o smbios.o sys.o usb.o wlan.o
make[2]: Leaving directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/hd'
make[2]: Entering directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/isdn'
make[3]: Entering directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
lex isdn_cdb.lex
flex: fatal internal error, exec failed
make[3]: *** [lex.yy.c] Broken pipe
make[3]: *** Deleting file `lex.yy.c'
make[3]: Leaving directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src/isdn'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-shrimants/aur-hwinfo/hwinfo/src/hwinfo-15.26/src'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build hwinfo package.
Commento lasciato da: imrehg il Sun, 29 Mar 2009 02:13:38 +0000
If there's a new version, please just "Flag Out-of-date", that's the most straightforward way to notify. Thanks!

Unfortunately in the Opensuse-Factory repo there's only the latest version all the time.Does anyone know a version-controlled (i.e. git or svn or such) repo for these packages? I couldn't find any...
Commento lasciato da: jarryson il Sat, 28 Mar 2009 20:06:29 +0000
there is noly hwinfo-15.26-1.31.src.rpm...
Commento lasciato da: Maskawanian il Wed, 25 Mar 2009 15:32:59 +0000
I was able to sucessfully build this package. Thank you for all your time imrehg!
Commento lasciato da: imrehg il Wed, 25 Mar 2009 14:51:31 +0000
how about now? for me the current version (15.26-1.29) compiles without problem... let me know if you have any more info about the problem.
Commento lasciato da: owlmind il Tue, 24 Mar 2009 17:07:22 +0000
make[2]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/hd'
make[2]: Entering directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn'
make[2]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn'
make[2]: Entering directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn'
make[3]: Entering directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
make[3]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
make[3]: Entering directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
lex isdn_cdb.lex
flex: fatal internal error, exec failed
make[3]: *** [lex.yy.c] Error 1
make[3]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn/cdb'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src/isdn'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/owlmind/abs/hwinfo/src/hwinfo-15.26/src'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.
Aborting...

does not compile in my i686
Commento lasciato da: imrehg il Mon, 23 Mar 2009 03:12:52 +0000
updated
Commento lasciato da: k33l0r il Fri, 20 Mar 2009 22:44:59 +0000
hwinfo-15.26-1.28.src.rpm
Commento lasciato da: imrehg il Thu, 19 Mar 2009 23:17:46 +0000
Partly. The main reason of the previous problems was an infrastructure upgrade at opensuse.org
http://news.opensuse.org/2009/03/11/update-on-opensuse-infrastructure-services-downloadopensuseorg/

Updated with new version.
(If you notice there's a new version, you can flag it out-of-date, that's a better way to let maintainers know. ;)
Commento lasciato da: imrehg il Fri, 13 Mar 2009 07:30:49 +0000
... once again the source file is not available at opensuse, so package is broken ...
will check it and post an update.
Commento lasciato da: imrehg il Wed, 11 Mar 2009 16:47:43 +0000
seems like something's up with the opensuse servers. this mirror works at the moment, but will keep an eye on it... thanks!
Commento lasciato da: woainba15 il Wed, 11 Mar 2009 14:00:21 +0000
Thx,but the sources link is broken?
Commento lasciato da: Dr4go il Thu, 12 Feb 2009 07:42:27 +0000
Works like a charm... on my x86_64 Arch Linux. Thanks to both of you.
Commento lasciato da: imrehg il Thu, 12 Feb 2009 02:26:21 +0000
Hi, adopted package and made new release based on ninja_pt's version. Seems to work on i686, please leave a comment if you have any problem that needs to be fixed. Cheers!
Commento lasciato da: leokolln il Sat, 07 Feb 2009 23:53:06 +0000
Now tried install using the ninja_pt indication. Worked like a charm!

Who we notify to change the mainteiner? Other solution, create a parallel package?
Commento lasciato da: k33l0r il Sat, 07 Feb 2009 23:40:52 +0000
I installed this using the PKGBUILD by ninja_pt (see below) and it worked as it should. If the original maintainer isn't updating this, could this be reassigned to somebody else?
Commento lasciato da: leokolln il Sat, 07 Feb 2009 23:30:40 +0000
ERROR on i686

I tried install today and get this compilation error:

gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -fno-strict-aliasing i10_v86.c
i10_v86.c: In function ‘setup_vm86’:
i10_v86.c:104: error: ‘VIF_MASK’ undeclared (first use in this function)
i10_v86.c:104: error: (Each undeclared identifier is reported only once
i10_v86.c:104: error: for each function it appears in.)
i10_v86.c:104: error: ‘VIP_MASK’ undeclared (first use in this function)
i10_v86.c: In function ‘run_bios_int’:
i10_v86.c:474: error: ‘VIF_MASK’ undeclared (first use in this function)
i10_v86.c:475: error: ‘IF_MASK’ undeclared (first use in this function)
i10_v86.c:486: error: ‘TF_MASK’ undeclared (first use in this function)
i10_v86.c:486: error: ‘NT_MASK’ undeclared (first use in this function)
make[2]: ** [i10_v86.o] Erro 1
make[2]: Saindo do diretório `/tmp/yaourt-tmp-root/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/int10'
make[1]: ** [subdirs] Erro 2
make[1]: Saindo do diretório `/tmp/yaourt-tmp-root/aur-hwinfo/hwinfo/src/hwinfo-13.57/src'
make: ** [subdirs] Erro 2

So? What need to do?
Commento lasciato da: ninja_pt il Mon, 02 Feb 2009 00:58:08 +0000
New One

# Contributed by champus, madeye, Ranguvar and ninja_pt
# ./check_hd may take a while - don't worry, it hasn't died. Probably. :-)

pkgname=hwinfo
pkgver=15.26
pkgrel=1.4
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/factory/repo/src-oss/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)

build() {
cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
sed -i 's_usr/lib64_usr/lib_' $startdir/src/$pkgname-$pkgver/src/hd/Makefile # Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too. Comment if this fix breaks it - untested on i686 or anything special.
cd $startdir/src/$pkgname-$pkgver
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: somekool il Sun, 01 Feb 2009 19:10:43 +0000
does not compile

gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include serial.c
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include smbios.c
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include sys.c
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include usb.c
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include wlan.c
ar r ../../src/libhd.a bios.o block.o braille.o cpu.o edd.o fb.o floppy.o hal.o hd.o hddb.o hdp.o input.o int.o isa.o isapnp.o isdn.o kbd.o klog.o manual.o memory.o misc.o modem.o monitor.o mouse.o net.o parallel.o pci.o pcmcia.o pppoe.o prom.o s390.o sbus.o serial.o smbios.o sys.o usb.o wlan.o
ar: creating ../../src/libhd.a
make[2]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/hd'
make[2]: Entering directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn'
make[2]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn'
make[2]: Entering directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn'
make[3]: Entering directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn/cdb'
make[3]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn/cdb'
make[3]: Entering directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn/cdb'
lex isdn_cdb.lex
flex: fatal internal error, exec failed
make[3]: *** [lex.yy.c] Broken pipe
make[3]: *** Deleting file `lex.yy.c'
make[3]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn/cdb'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src/isdn'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-somekool/aur-hwinfo/hwinfo/src/hwinfo-13.57/src'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build hwinfo package.
Commento lasciato da: Dr4go il Fri, 23 Jan 2009 01:48:54 +0000
Yes, it would be really nice if you could adopt this package. All you need to do is to click on "Discussion" and make a request to orphan this package. It surely will be done, because of the lack of updates...
Commento lasciato da: Ranguvar il Fri, 16 Jan 2009 16:03:18 +0000
Change pkgver in my last comment to 15.22, and pkgrel to 1.1. This package changes extremely often, so if you get an error downloading, check http://download.opensuse.org/factory/repo/src-oss/suse/src/ for the latest version number.

I will do my best to maintain this package if champus can orphan it, I will adopt it (assuming from lack of updates champus is busy).
Commento lasciato da: Ranguvar il Mon, 05 Jan 2009 03:13:05 +0000
Here's a new, working PKGBUILD.

# Contributed by champus, madeye, and Ranguvar
# ./check_hd may take a while - don't worry, it hasn't died. Probably. :-)

pkgname=hwinfo
pkgver=15.21
pkgrel=1.5
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/factory/repo/src-oss/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)
md5sums=('36694c3fe952812dd16275dce9705503')

build() {
cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
sed -i 's_usr/lib64_usr/lib_' $startdir/src/$pkgname-$pkgver/src/hd/Makefile # Fix Makefile using /usr/lib64 instead of /usr/lib - it broke x86_64, possibly i686 too. Comment if this fix breaks it - untested on i686 or anything special.
cd $startdir/src/$pkgname-$pkgver
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: Spider.007 il Sun, 04 Jan 2009 14:20:41 +0000
this package is missing a MAKEDEPENDS entry for flex
Commento lasciato da: jordz il Wed, 05 Nov 2008 08:00:10 +0000
Patch used below for V15.11.1.9:
http://jordz.nl/files/archlinux/hwinfo-2.6.27.patch
Commento lasciato da: madeye il Wed, 29 Oct 2008 20:52:50 +0000
V15.11-1.9 works fine here

pkgname=hwinfo
pkgver=15.11
pkgrel=1.9
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/factory/repo/src-oss/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)
md5sums=('6a0aeebe723b6a77ada9e8175e7b5116')

build() {
cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../hwinfo-2.6.27.patch
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: killajoe il Sat, 18 Oct 2008 09:31:52 +0000
14.19-2.4 works on x86_64
Commento lasciato da: Kido il Sun, 05 Oct 2008 12:13:24 +0000
15.7-1.3, works for me.

pkgname=hwinfo
pkgver=15.7
pkgrel=1.3
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/factory/repo/src/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)
md5sums=('3bbbd806ab743b643a25c187f088aace')

build() {

cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../hwinfo-2.6.27.patch
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: Kido il Sun, 28 Sep 2008 14:23:59 +0000
15.3-36, works for me on i686


pkgname=hwinfo
pkgver=15.3
pkgrel=36
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)
md5sums=('084078b64a116bf6788932feb691adad')

build() {

cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../hwinfo-2.6.27.patch
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: Kosava il Tue, 23 Sep 2008 01:09:19 +0000
me to i can't build on i686.
Commento lasciato da: B-Con il Mon, 15 Sep 2008 04:16:59 +0000
I can't build on i686 either.
Commento lasciato da: kozer il Fri, 12 Sep 2008 16:27:43 +0000
Can anyone build it for i686??Because i cant.......
Commento lasciato da: twa022 il Thu, 29 May 2008 02:52:00 +0000
PKGBUILD for 14.17-3

pkgname=hwinfo
pkgver=14.17
pkgrel=3
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://www.opensuse.org"
license=('GPL')
depends=('hal')
makedepends=('sysfsutils' 'rpmextract' 'flex')
options=('!emptydirs')
source=(http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/$pkgname-$pkgver-$pkgrel.src.rpm)
md5sums=('7b3046ab5ab79660d5638d6e92826177')

build() {

cd $startdir/src
rpmextract.sh $pkgname-$pkgver-$pkgrel.src.rpm || return 1
tar -xjf $pkgname-$pkgver.tar.bz2
sed -i '145,149 d' $startdir/src/$pkgname-$pkgver/src/hd/kbd.c
cd $startdir/src/$pkgname-$pkgver
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}
Commento lasciato da: nobange il Mon, 14 Apr 2008 07:55:34 +0000
Please add package flex as makedepend. It doesn't compile without it.
Commento lasciato da: champus il Thu, 31 Jan 2008 06:24:06 +0000
Okay, I'm as stupid as ever... my mistake, gonna fix it with original dl-source. Sorry.
Commento lasciato da: champus il Thu, 31 Jan 2008 06:21:49 +0000
Aight, but where to upload the file?
I have no webspace available...
Commento lasciato da: StefanHusmann il Wed, 30 Jan 2008 15:30:11 +0000
Your tarball contains the whole sources. That is not allowed. Please put an URL into the sources-field.
Commento lasciato da: champus il Wed, 30 Jan 2008 13:17:51 +0000
A simple program that lists results from the hardware detection library.

v1.6.0