First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 121372
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adrian Frühwirth (bonki) <adrian.fruehwirth@gmx.at>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dosbox-enable-debugger.patch dosbox-enable-debugger.patch patch Adrian Frühwirth (bonki) 2006-02-02 16:15 0000 652 bytes Details | Diff
dosbox_debug_enable.diff patch to enable --debug and to fix various optional dependencies patch ebfe 2007-03-09 16:22 0000 908 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 121372 depends on: Show dependency tree
Show dependency graph
Bug 121372 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: 2006-02-02 16:13 0000
dosbox has support for an internal debugger which can be enabled with
--enable-debug and --enable-debug=heavy respectively, the latter enabling even
more debug options. Respecting both probably doesn't make much sense since
those who want the debugger want 'heavy' anyways - and those who don't,
neither. See attached ebuild patch.

------- Comment #1 From Adrian Frühwirth (bonki) 2006-02-02 16:15:08 0000 -------
Created an attachment (id=78765) [edit]
dosbox-enable-debugger.patch

ebuild diff

------- Comment #2 From ebfe 2007-03-04 01:19:15 0000 -------
I've created a new patch for dosbox-0.70

dependency to libpng is optional - only needed for screenshots
dependency to zlib is gone - only needed for libpng and pulled by
media-libs/libpng
new dependency to ncurses - when debug useflag is used
dependency to sdl-sound|net is optional - only needed for ipx network/cdrom
sound stuff




 inherit games

@@ -11,15 +11,15 @@
 KEYWORDS="amd64 ppc ~sparc x86"
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="alsa hardened opengl"
+IUSE="alsa debug hardened opengl sdl png"

-DEPEND="sys-libs/zlib
-       alsa? ( media-libs/alsa-lib )
+DEPEND="alsa? ( media-libs/alsa-lib )
        opengl? ( virtual/opengl )
-       media-libs/libpng
+       png? ( media-libs/libpng )
+       debug? ( sys-libs/ncurses )
        >=media-libs/libsdl-1.2.0
-       media-libs/sdl-net
-       media-libs/sdl-sound"
+       sdl? ( media-libs/sdl-net
+               media-libs/sdl-sound )"

 src_compile() {
        local myconf=
@@ -31,6 +31,9 @@
        if use hardened ; then
                myconf="${myconf} --disable-dynamic-x86"
        fi
+       if use debug ; then
+               myconf="${myconf} --enable-debug"
+       fi
        egamesconf \
                --disable-dependency-tracking \
                ${myconf} \

------- Comment #3 From Mr. Bones. 2007-03-05 07:36:35 0000 -------
(From update of attachment 78765 [edit])
No likey the first patch.  I like the second, but throw me a bone and attach it
as text/plain please.

------- Comment #4 From ebfe 2007-03-09 16:22:03 0000 -------
Created an attachment (id=112723) [edit]
patch to enable --debug and to fix various optional dependencies

here you go

------- Comment #5 From Mr. Bones. 2007-03-20 05:33:36 0000 -------
in portage.  thanks for the patch.

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