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
Dipendenze hal libx86emu perl
Richiesto da cfg2html-linux kio-sysinfo
Please, see comment below (2010 Jan 10), just flag out-of-date when there's a new revision. Thank you!
yep, rev new:
http://download.opensuse.org/source/factory/repo/oss/suse/src/hwinfo-16.10-3.24.src.rpm
It seems that hwinfo-16.10-3.22.src.rpm cannot be downloaded anymore. I got an "Object not found" error.
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!
# 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')
Try changing "_minorver=3.15" to "_minorver=3.17" and md5sum to "04fc8add676575c231ee0cd3fb84df69"
Link broken :<
# 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')
just need to change Minor Version to 3.3
md5 is:
c0f124568bde813f489b70e683a6d323 hwinfo-16.10-3.3.src.rpm
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.
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')
Seems to be working OK now. Tarball points me to a PKGBUILD of a 16.9 version.
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.
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.
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?
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!
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...
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.
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')
Sources have been uploaded, package needs to be adopted.
if there's a new version, please just click the "Flag Out-of-date" button, and it will notify me. thank you!
_minorver is 1.5 and md5 sum is c9aa242d424d7b69cb7708c28ee0a901
_minorver is 1.4 and md5 sum is 8d58556c5d57888ec584384bb6e32559 ;)
_minorver is 1.3 and md5 sum is 3cce722034ce3ffaee672ea58f093d46
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.
please, you can flag it out-of-date when the versions change. thanks!
new pkgver is 16.4, _minorver is 1.3
change _minorver to 1.4
Current version on the site is 16.3-1.2
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
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.2-2.1.src.rpm
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.2-1.1.src.rpm
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-16.1-1.2.src.rpm
16.0-1.6 now :)
Version is now 16.0-1.3
version is now 16.0-1.2
You were right, I was totally trigger happy with the Ctrl-C. It only took five minutes after all.
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.
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.
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.
The current version is :
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-15.26-1.40.src.rpm
The current version is :
http://download.opensuse.org/factory/repo/src-oss/suse/src/hwinfo-15.26-1.39.src.rpm
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
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)
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.
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...
there is noly hwinfo-15.26-1.31.src.rpm...
I was able to sucessfully build this package. Thank you for all your time imrehg!
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.
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
updated
hwinfo-15.26-1.28.src.rpm
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. ;)
... once again the source file is not available at opensuse, so package is broken ...
will check it and post an update.
seems like something's up with the opensuse servers. this mirror works at the moment, but will keep an eye on it... thanks!
Thx,but the sources link is broken?
Works like a charm... on my x86_64 Arch Linux. Thanks to both of you.
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!
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?
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?
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?
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
}
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.
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...
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).
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
}
this package is missing a MAKEDEPENDS entry for flex
Patch used below for V15.11.1.9:
http://jordz.nl/files/archlinux/hwinfo-2.6.27.patch
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
}
14.19-2.4 works on x86_64
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
}
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
}
me to i can't build on i686.
I can't build on i686 either.
Can anyone build it for i686??Because i cant.......
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
}
Please add package flex as makedepend. It doesn't compile without it.
Okay, I'm as stupid as ever... my mistake, gonna fix it with original dl-source. Sorry.
Aight, but where to upload the file?
I have no webspace available...
Your tarball contains the whole sources. That is not allowed. Please put an URL into the sources-field.
A simple program that lists results from the hardware detection library.
v1.6.0