From cc4a92d58cec4cba131083853ad550242492635f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 11 Jan 2009 16:01:08 +0000 Subject: Marked ~amd64 thanks to Markos Chandras and Xavier Neys (bug #254316). Apply syslinux patch thanks to Xavier Neys (bug #254419). (Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7-JeR i686) --- sys-boot/unetbootin/ChangeLog | 10 +++++- .../files/unetbootin-304-syslinux-gentoo.patch | 17 ++++++++++ sys-boot/unetbootin/unetbootin-304-r1.ebuild | 37 ++++++++++++++++++++++ sys-boot/unetbootin/unetbootin-304.ebuild | 30 ------------------ 4 files changed, 63 insertions(+), 31 deletions(-) create mode 100644 sys-boot/unetbootin/files/unetbootin-304-syslinux-gentoo.patch create mode 100644 sys-boot/unetbootin/unetbootin-304-r1.ebuild delete mode 100644 sys-boot/unetbootin/unetbootin-304.ebuild (limited to 'sys-boot/unetbootin') diff --git a/sys-boot/unetbootin/ChangeLog b/sys-boot/unetbootin/ChangeLog index 5078d398ea92..6aae7ad04a9a 100644 --- a/sys-boot/unetbootin/ChangeLog +++ b/sys-boot/unetbootin/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-boot/unetbootin # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/ChangeLog,v 1.1 2009/01/08 18:12:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/ChangeLog,v 1.2 2009/01/11 16:01:08 jer Exp $ + +*unetbootin-304-r1 (11 Jan 2009) + + 11 Jan 2009; Jeroen Roovers + +files/unetbootin-304-syslinux-gentoo.patch, -unetbootin-304.ebuild, + +unetbootin-304-r1.ebuild: + Marked ~amd64 thanks to Markos Chandras and Xavier Neys (bug #254316). + Apply syslinux patch thanks to Xavier Neys (bug #254419). *unetbootin-304 (08 Jan 2009) diff --git a/sys-boot/unetbootin/files/unetbootin-304-syslinux-gentoo.patch b/sys-boot/unetbootin/files/unetbootin-304-syslinux-gentoo.patch new file mode 100644 index 000000000000..ce9425668566 --- /dev/null +++ b/sys-boot/unetbootin/files/unetbootin-304-syslinux-gentoo.patch @@ -0,0 +1,17 @@ +--- unetbootin.cpp.orig 2009-01-10 14:30:50.000000000 +0100 ++++ unetbootin.cpp 2009-01-10 14:39:43.000000000 +0100 +@@ -2219,11 +2219,11 @@ + QFile srcF(QString(":/%1").arg(srcfName)); + #ifdef NOSTATIC + if (srcfName == "memdisk") +- srcF.setFileName("/usr/lib/syslinux/memdisk"); ++ srcF.setFileName(QFile::exists("/usr/share/syslinux/memdisk") ? "/usr/share/syslinux/memdisk" : "/usr/lib/syslinux/memdisk"); + else if (srcfName == "vesamenu.c32") +- srcF.setFileName("/usr/lib/syslinux/vesamenu.c32"); ++ srcF.setFileName(QFile::exists("/usr/share/syslinux/vesamenu.c32") ? "/usr/share/syslinux/vesamenu.c32" : "/usr/lib/syslinux/vesamenu.c32"); + else if (srcfName == "mbr.bin") +- srcF.setFileName("/usr/lib/syslinux/mbr.bin"); ++ srcF.setFileName(QFile::exists("/usr/share/syslinux/mbr.bin") ? "/usr/share/syslinux/mbr.bin" : "/usr/lib/syslinux/mbr.bin"); + else if (srcfName == "ubnsylnx") + srcF.setFileName("/usr/bin/syslinux"); + // else diff --git a/sys-boot/unetbootin/unetbootin-304-r1.ebuild b/sys-boot/unetbootin/unetbootin-304-r1.ebuild new file mode 100644 index 000000000000..1728f9ef0b34 --- /dev/null +++ b/sys-boot/unetbootin/unetbootin-304-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/unetbootin-304-r1.ebuild,v 1.1 2009/01/11 16:01:08 jer Exp $ + +inherit eutils + +DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS +distributions." +HOMEPAGE="http://unetbootin.sourceforge.net/" +SRC_URI="mirror://sourceforge/unetbootin/${PN}-source-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}" + +DEPEND="x11-libs/qt-gui" +RDEPEND="${DEPEND} + sys-fs/mtools + sys-boot/syslinux + app-arch/p7zip" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-syslinux-gentoo.patch +} + +src_compile() { + ./INSTALL || die "compile failed!" +} + +src_install() { + dodoc README.TXT + dobin unetbootin || die "dobin failed" +} diff --git a/sys-boot/unetbootin/unetbootin-304.ebuild b/sys-boot/unetbootin/unetbootin-304.ebuild deleted file mode 100644 index df0f2e1f0b0d..000000000000 --- a/sys-boot/unetbootin/unetbootin-304.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/unetbootin-304.ebuild,v 1.1 2009/01/08 18:12:03 jer Exp $ - -DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS -distributions." -HOMEPAGE="http://unetbootin.sourceforge.net/" -SRC_URI="mirror://sourceforge/unetbootin/${PN}-source-${PV}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -S="${WORKDIR}" - -DEPEND="x11-libs/qt-gui" -RDEPEND="${DEPEND} - sys-fs/mtools - sys-boot/syslinux - app-arch/p7zip" - -src_compile() { - ./INSTALL || die "compile failed!" -} - -src_install() { - dodoc README.TXT - dobin unetbootin || die "dobin failed" -} -- cgit v1.2.3-65-gdbad