View previous topic :: View next topic |
Author |
Message |
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Jun 23, 2002 1:43 pm Post subject: Really no syslinux ebuild? |
|
|
Is there really no syslinux ebuild for Gentoo? I went to install it and can't for the life of me find it. This sort of boggles my mind since syslinux is used for the main install ISO. Emerge -s syslinux returns nothing. Searching the forums and mailing list archives yields nothing. Searching google suggests that one really hasn't been created yet.
Still not wanting to believe this, I did:
Code: | grep -iR "syslinux" /usr/portage |
which turned up zero results. If there really is no ebuild, then I'll move this thread to gentoo suggestions. However, I'm hoping I'm just overlooking something really obvious.
Thanks.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Jun 23, 2002 1:56 pm Post subject: |
|
|
Just as clarification, I realize there is no package for syslinux -- I'm just wondering if it's buried inside of another package (ala kmail and knode, for example)
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Jun 23, 2002 5:38 pm Post subject: |
|
|
I'll look into providing an ebuild for it, but version 1.75 (from the lsm file) states:
Quote: | * ALL: NASM 0.98.32 or later is now required to build SYSLINUX from sources. |
Although the (probably outdated) README in tar.bz2 specifies 0.97 and above.
Currently we have in the portage nasm-0.98.31 (while 0.98.34 is avail on sf.net). Maybe I'll wait until nasm is updated. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Jun 23, 2002 10:49 pm Post subject: |
|
|
moving this thread to suggestions. As an FYI, I installed syslinux from source and used it succesfully despite only having nasm-0.98.31-r1 installed on my system. (I used it to make a compact flash card bootable.) So, YMMV and all that.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Jun 23, 2002 11:02 pm Post subject: |
|
|
klieber wrote: | moving this thread to suggestions. As an FYI, I installed syslinux from source and used it succesfully despite only having nasm-0.98.31-r1 installed on my system. (I used it to make a compact flash card bootable.) So, YMMV and all that.
--kurt |
Which version
The one I've checked is 1.75. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jun 24, 2002 12:17 am Post subject: |
|
|
mksoft wrote: | Which version |
I used 1.75 -- compiled from source. Again, I only used it for one CF disk and I didn't use any esoteric or complex commands. It's entirely possible I just got lucky.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Mon Jun 24, 2002 8:11 am Post subject: |
|
|
OK, here goes:
Code: | # Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandyma
c Exp
S=${WORKDIR}/${P}
DESCRIPTION="Bootloader for networks, floppy and cdrom media"
HOMEPAGE="http://syslinux.zytor.com/"
LICENSE="GPL-2"
DEPEND=">=nasm-0.98.31"
SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux//${P}.tar.bz2"
src_compile() {
emake || die
}
src_install () {
make INSTALLROOT=${D} install || die
dodoc COPYING NEWS README TODO *.doc sample/*
}
|
This one also installs the docs and samples under /usr/share/doc/syslinux-1.75.
klieber, can you test it as well
If it's ok, I'll submit to bugzilla. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jun 24, 2002 11:28 am Post subject: |
|
|
Worked fine -- I placed it in sys-apps since that's where grub and lilo reside.
For anyone else who wants to test this, you'll have to generate a digest file as follows:
Code: | /usr/lib/portage/bin/ebuild /usr/portage/sys-apps/syslinux/syslinux-1.75.ebuild digest |
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Mon Jun 24, 2002 8:51 pm Post subject: |
|
|
klieber wrote: | Worked fine -- I placed it in sys-apps since that's where grub and lilo reside.
For anyone else who wants to test this, you'll have to generate a digest file as follows:
Code: | /usr/lib/portage/bin/ebuild /usr/portage/sys-apps/syslinux/syslinux-1.75.ebuild digest |
--kurt |
Oops, sorry, forgot to mention that (sys-apps and digest)
Thanks for testing it , will submit it to bugzilla soon. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
dmouritsendk Tux's lil' helper
Joined: 22 Jun 2002 Posts: 138 Location: Denmark
|
Posted: Fri Jun 28, 2002 4:50 pm Post subject: |
|
|
Hey
Just one comment, should´nt you stick a netpbm dep in there:?: |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sat Jun 29, 2002 9:28 am Post subject: |
|
|
dmouritsendk wrote: | Hey
Just one comment, should´nt you stick a netpbm dep in there:?: |
I didn't see any reference to netpbm in syslinux's docs. I don't have netpbm installed here and it compiled just fine.
Does netpbm provide any added functionality ? If it is needed, it'll be added . _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
dmouritsendk Tux's lil' helper
Joined: 22 Jun 2002 Posts: 138 Location: Denmark
|
Posted: Sat Jun 29, 2002 10:09 pm Post subject: |
|
|
When doing a "make install" on mysystem (syslinux-1.75 btw) , 'make' calls pngtopnm (it also calls perl btw ) , heres a snipplet of the make output:
Code: |
nasm -O99 -f bin -DPATCH_OFFSET=`cat patch.offset` \
-l syslinux.lst -o syslinux.com syslinux.asm
gcc -Wall -O2 -fomit-frame-pointer -DPATCH_OFFSET=`cat patch.offset` -c -o syslinux.o syslinux.c
perl bin2c.pl bootsect < ldlinux.bss > bootsect_bin.c
gcc -Wall -O2 -fomit-frame-pointer -c bootsect_bin.c
perl bin2c.pl ldlinux < ldlinux.sys > ldlinux_bin.c
gcc -Wall -O2 -fomit-frame-pointer -c ldlinux_bin.c
gcc -O2 -s -o syslinux \
syslinux.o bootsect_bin.o ldlinux_bin.o
nasm -O99 -f bin -l copybs.lst -o copybs.com copybs.asm
gcc -Wall -O2 -fomit-frame-pointer -c gethostip.c
gcc -O2 -s gethostip.o -o gethostip
make -C sample all
make[1]: Entering directory `/root/syslinux-1.75/sample'
pngtopnm syslogo.png | \
../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
> syslogo.lss
|
The last line uses calls the pngtopnm, which wasnt installed on my sys before i emerged netpbm.
Thanks for making this ebuild and ruining my day btw
I was making syslinux my first .ebuild project, because i´ve seen kliebers post and wanted to help. But needless to say I had alot of doc reading to do before starting to create the ebuild , but when i finally got inhere and wanted to post it. There was your post, sigh, well at least ive leaned abit about portage in the process |
|
Back to top |
|
|
|