First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 17388
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tanguy Bouzéloc <zauron@wanadoo.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17388 depends on: Show dependency tree
Show dependency graph
Bug 17388 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-12 13:27 0000
current plex86 ebuild remove ne2000 eth driver support due to several
compilation errors.

I submit necessary files to pass these problems.

have fun @+

plex86-20021117-r1.ebuild:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
/home/cvsroot/gentoo-x86/app-emulation/plex86/plex86-20021117.ebuild,v 1.4
2003/03/11 20:50:08 seemant Exp $

DESCRIPTION="Plex86 is THE opensource free-software alternative for VMWare,
VirtualPC, and other IA-32 on IA-32 \"Virtual PC products.\""
HOMEPAGE="http://savannah.gnu.org/projects/plex86/"
LICENSE="LGPL-2.1"
SRC_URI="http://savannah.nongnu.org/download/plex86/${P}.tar.bz2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X sdl"
RDEPEND=">=sys-libs/ncurses-5.2-r7
         X? ( >=x11-base/xfree-4.2.0 ) 
         sdl? ( >=media-libs/libsdl-1.2.4 )"
DEPEND="${RDEPEND}"
DEPEND=""
S="${WORKDIR}/${P}"

src_compile() {
    MY_CONF="--with-Linux --enable-cdrom --enable-split-hd --enable-pci
--enable-vbe --enable-sb16=linux --enable-instrumentation --enable-ne2000" 

    MY_GUI="curses"
    use X && MY_GUI="x"
    use sdl && MY_GUI="sdl"
    use sdl && export SDL_CFLAGS="`sdl-config --cflags`"
    
    use X && MY_CONF="${MY_CONF} --with-x --with-linux-source=/usr/src/linux"
    MY_CONF="${MY_CONF} --with-gui=${MY_GUI}"

    # fix typo (bug submitted)
    mv user/plugins/bochs/iodev/eth_fbsd.cc
user/plugins/bochs/iodev/eth_fbsd.cc_orig
    sed s/'inclide'/'include'/ user/plugins/bochs/iodev/eth_fbsd.cc_orig >
user/plugins/bochs/iodev/eth_fbsd.cc
        patch -p1 -i ${FILESDIR}/${P}-ne2000-fix.patch

    ./configure \
        --host=${CHOST} \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man ${MY_CONF} || die "./configure failed"
    
    make || die
}

src_install() {
    #make DESTDIR=${D} install || die
    # for now just this:
    dodir /opt/${P}
    cp -r * ${D}/opt/${P}
}

pkg_postinst() {
    echo
    einfo ",-----------------------------------------------------------------."
    einfo "| IMPORTANT NOTICE                                                |"
    einfo "|-----------------------------------------------------------------|"
    einfo "| This code is EXTREMELY EXPERIMENTAL, and may well result in a   |"
    einfo "| SYSTEM CRASH, and who knows what other ill effects.  RUN THIS   |"
    einfo "| SOFTWARE AT YOUR OWN RISK.  As a precaution, do not attempt to  |"
    einfo "| run this software on a system with important data on it, and    |"
    einfo "| make liberal use of the sync command!  Expect to have to use    |"
    einfo "| the power button.                                               |"
    einfo "\`-----------------------------------------------------------------'"
    echo
    einfo "Contact me (lordvan@lordvan.com) if you encounter any problems."
    echo

}

files/plex86-20021117-ne2000-fix.patch:
--- plex86-20021117/user/plugins/bochs/iodev/ne2k.h.orig        2002-07-22
01:14:55.000000000 +0200
+++ plex86-20021117/user/plugins/bochs/iodev/ne2k.h     2003-03-12
19:02:57.000000000 +0100
@@ -34,6 +34,7 @@
 // a National Semiconductor DS-8390 ethernet MAC chip, with some h/w
 // to provide a windowed memory region for the chip and a MAC address.
 //
+#include "system.h"
 
 
 #if BX_USE_NE2K_SMF
--- plex86-20021117/user/plugins/bochs/iodev/system.h.orig      2002-07-22
01:14:55.000000000 +0200
+++ plex86-20021117/user/plugins/bochs/iodev/system.h   2003-03-12
19:03:48.000000000 +0100
@@ -23,7 +23,8 @@
 //  You should have received a copy of the GNU Lesser General Public
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-
+#ifndef __SYSTEM_H__
+#define __SYSTEM_H__
 
 
 #if BX_USE_DEV_SMF
@@ -48,3 +49,5 @@
   BX_DEV_SMF Bit32u port92_read(Bit32u address, unsigned io_len);
   BX_DEV_SMF void   port92_write(Bit32u address, Bit32u value, unsigned io_len);
   };
+
+#endif /* __SYSTEM_H__ */
--- plex86-20021117/user/plugins/bochs/iodev/eth_fbsd.cc.orig   2003-03-12
19:19:40.000000000 +0100
+++ plex86-20021117/user/plugins/bochs/iodev/eth_fbsd.cc        2003-03-12
19:20:31.000000000 +0100
@@ -51,8 +51,8 @@
 //
 
 #include "bochs.h"
-#include "ne2k.h"
 #include "eth.h"
+#include "ne2k.h"
 
 #ifdef ETH_FBSD
 #define LOG_THIS this->


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Thomas Raschbacher 2003-03-12 14:48:53 0000 -------
nice .. have u sent it to the plex authors? :)

------- Comment #2 From Tanguy Bouzéloc 2003-03-12 17:24:14 0000 -------
I've not send it to authors since this plex86 release is the last before thier
new plex86 package.

This version will not be updated anymore, you can take a look at plex86.sf.net
the new package is completely different thats why I make this quick and dirty
patch :P

------- Comment #3 From Heinrich Wendel (RETIRED) 2004-03-13 08:52:16 0000 -------
what's the status of this?

------- Comment #4 From Jakub Moc 2005-08-11 04:32:04 0000 -------
Re-assigning stale bugs. Someone pick this up or remove the ebuild from
portage.

------- Comment #5 From Marcelo Goes 2005-09-17 15:08:55 0000 -------
plex86 has many issues and no simple solution to all of them. Considering the
amount of very old kernel code it has, including the way it deals with devfs,
for example, it does not look like it will be easy to fix.

plex86 has three outstanding bugs at the time of this writing: bug 54526, bug
29159 and bug 17388. I have the feeling that if anybody was going to get them
fixed, they would have done so by now.

qemu should fill plex86's role in the future.

I'll probably remove plex86 from the tree very shortly. If anybody feels
different, you're welcome to reopen plex86 bugs and fix them :-)

First Last Prev Next    No search results available      Search page      Enter new bug