First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 56195
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott Wolchok <evilsporkman@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Manifest Manifest text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 06:59 0000 533 bytes Details
mupen64-0.4.ebuild mupen64-0.4.ebuild text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 06:59 0000 2.83 KB Details
mupen64 mupen64 text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 07:00 0000 764 bytes Details
mupen64-confdir.patch mupen64-confdir.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 07:00 0000 2.87 KB Details | Diff
mupen64-gcc3.patch mupen64-gcc3.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 07:01 0000 3.58 KB Details | Diff
mupen64-gentoo-avi.patch mupen64-gentoo-avi.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 07:02 0000 255 bytes Details | Diff
mupen64-gentoo-sdl.patch mupen64-gentoo-sdl.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 07:02 0000 1.52 KB Details | Diff
mupen64-makefiles.patch mupen64-makefiles.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 07:03 0000 2.82 KB Details | Diff
mupen64-0.4.ebuild mupen64-0.4.ebuild text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 18:59 0000 3.32 KB Details
mupen64 mupen64 text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 19:00 0000 834 bytes Details
mupen64-confdir.patch mupen64-confdir.patch patch Przemyslaw Maciag (RETIRED) 2004-07-16 19:01 0000 3.04 KB Details | Diff
mupen64-0.4.ebuild mupen64-0.4.ebuild text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 19:06 0000 3.37 KB Details
polish.lng polish.lng text/plain Przemyslaw Maciag (RETIRED) 2004-07-16 19:18 0000 4.78 KB Details
mupen64-0.4.ebuild updated ebuild text/plain cyrix12@cox.net 2004-09-19 13:37 0000 3.42 KB Details
mupen64-makefiles.patch updated makefiles patch patch cyrix12@cox.net 2004-09-19 13:38 0000 2.83 KB Details | Diff
mupen64-confdir.patch updated confdir patch patch cyrix12@cox.net 2004-09-19 13:39 0000 1.67 KB Details | Diff
autoinc.diff.bz2 Patch for an ipotetic "+gtk2" USE flag to the Makefile patch Matteo Settenvini 2004-11-03 11:40 0000 29.31 KB Details | Diff
Makefile.diff Patch for an ipotetic "+gtk2" USE flag to the Makefile patch Matteo Settenvini 2004-11-03 11:40 0000 3.43 KB Details | Diff
mupen64-0.4.ebuild updated version of mupen64.0.4.ebuild text/plain Matthias Langhammer 2004-11-26 10:19 0000 3.49 KB Details
mupen64-rice-confdir.patch mupen64-rice-confdir.patch patch Matthias Langhammer 2004-11-26 10:20 0000 1.18 KB Details | Diff
mupen64-gtk2-makefile.patch mupen64-gtk2-makefile.patch patch Matthias Langhammer 2004-11-26 10:21 0000 3.07 KB Details | Diff
mupen64-0.4.ebuild mupen64-0.4.ebuild text/plain Matthias Langhammer 2004-11-26 17:07 0000 3.50 KB Details
mupen64-0.4-r1.ebuild mupen64-0.4-r1.ebuild with buggy gtk2 patch text/plain Matthias Langhammer 2004-11-26 17:09 0000 3.54 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 56195 depends on: Show dependency tree
Show dependency graph
Bug 56195 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: 2004-07-05 20:40 0000
Can we have an ebuild please? :)

Reproducible: Didn't try
Steps to Reproduce:

------- Comment #1 From Clark Torgerson 2004-07-10 03:45:06 0000 -------
An ebuild would be nice. I tried my hand, but am still attempting to teach
myself more about this ebuild business. Wasn't quite successful. :o( If any of
the devs/maintainers would be so kind, it would be appreciated. We *do*
appreciate your time. 

Thanks.

------- Comment #2 From Przemyslaw Maciag (RETIRED) 2004-07-16 06:59:38 0000 -------
Created an attachment (id=35564) [edit]
mupen64-0.4.ebuild

Hi!

Friend ask to to do an ebuild for him for mupen64.

Problems:
- mupen consist of packages that do not have versions (riceplugin.tar.bz2,
mupen64_input.tar.bz2, etc.) - and it's _BAD_. It's not 'gentoo way of
thinking' - "boys" of OOo team have same problem with dictionary files.
The problem is that for this version you need newest files and on gentoo
mirrors you can get files only for the previous version of mupen.
Unfortunatelly ebuild cannot recognize is downloading file is the one it needs.

!!You have to manually delete all mupen files from your DISTDIR (normally
/usr/portage/distfiles) and then download everything with the ebuild!! :(
Atleast for now.

- I used ebuild for the 0.3 version. Istead of sed'ing everything I created
patches

- USE="avi" can build you camera recorder support

- USE="sdl" will build jtty sound suport trough the sdl

- I created patches for confdir violation (almost prefect :( almost)

- there is a dirty hack for creating conf dir in user home dir - just look at
the mupen64 file.

Well - basicly it works :) So have fun!

Hope you find it useful.

PS. I'm terribly sorry for my english ;-)

Regards,
Przemek

------- Comment #3 From Przemyslaw Maciag (RETIRED) 2004-07-16 06:59:49 0000 -------
Created an attachment (id=35565) [edit]
mupen64-0.4.ebuild

Hi!

Friend ask to to do an ebuild for him for mupen64.

Problems:
- mupen consist of packages that do not have versions (riceplugin.tar.bz2,
mupen64_input.tar.bz2, etc.) - and it's _BAD_. It's not 'gentoo way of
thinking' - "boys" of OOo team have same problem with dictionary files.
The problem is that for this version you need newest files and on gentoo
mirrors you can get files only for the previous version of mupen.
Unfortunatelly ebuild cannot recognize is downloading file is the one it needs.

!!You have to manually delete all mupen files from your DISTDIR (normally
/usr/portage/distfiles) and then download everything with the ebuild!! :(
Atleast for now.

- I used ebuild for the 0.3 version. Istead of sed'ing everything I created
patches

- USE="avi" can build you camera recorder support

- USE="sdl" will build jtty sound suport trough the sdl

- I created patches for confdir violation (almost prefect :( almost)

- there is a dirty hack for creating conf dir in user home dir - just look at
the mupen64 file.

Well - basicly it works :) So have fun!

Hope you find it useful.

PS. I'm terribly sorry for my english ;-)

Regards,
Przemek

------- Comment #4 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:00:20 0000 -------
Created an attachment (id=35566) [edit]
mupen64

script for creating dirs and starting the emulator

------- Comment #5 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:00:51 0000 -------
Created an attachment (id=35567) [edit]
mupen64-confdir.patch

------- Comment #6 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:01:29 0000 -------
Created an attachment (id=35568) [edit]
mupen64-gcc3.patch

this patch comes from the previous version of mupen from portage

------- Comment #7 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:02:17 0000 -------
Created an attachment (id=35569) [edit]
mupen64-gentoo-avi.patch

------- Comment #8 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:02:58 0000 -------
Created an attachment (id=35570) [edit]
mupen64-gentoo-sdl.patch

if USE="sdl" then patch what we need

------- Comment #9 From Przemyslaw Maciag (RETIRED) 2004-07-16 07:03:23 0000 -------
Created an attachment (id=35571) [edit]
mupen64-makefiles.patch

patch instead of all this sed'ing makefiles

------- Comment #10 From Przemyslaw Maciag (RETIRED) 2004-07-16 18:59:27 0000 -------
Created an attachment (id=35608) [edit]
mupen64-0.4.ebuild

I want to apologize everyone who have problems with this ebuild. There were few
mistakes... Sorry ;-)

Anyway,now: new version :)

Also I've forgotten to tell you:
you NEED to do rm -rf .mupen64 since first running new version of mupen64. I
changed few things in sources... ;-)

If you have any difficulties - post it here or email me.

Regards,
Przemek

------- Comment #11 From Przemyslaw Maciag (RETIRED) 2004-07-16 19:00:54 0000 -------
Created an attachment (id=35609) [edit]
mupen64

There was problem wth lang... sorry
Also I removed this dirty hack with copying and deleting after that... Now it
should be okay.

------- Comment #12 From Przemyslaw Maciag (RETIRED) 2004-07-16 19:01:54 0000 -------
Created an attachment (id=35610) [edit]
mupen64-confdir.patch

------- Comment #13 From Przemyslaw Maciag (RETIRED) 2004-07-16 19:06:07 0000 -------
Created an attachment (id=35611) [edit]
mupen64-0.4.ebuild

Stupid, small mistake with creating documentation... doesn't affect rest of the
package.

------- Comment #14 From Przemyslaw Maciag (RETIRED) 2004-07-16 19:18:21 0000 -------
Created an attachment (id=35614) [edit]
polish.lng

File with polish translation.

I created this file togother with Michal Przeplata (lprzeplata@wi.ps.pl).

Regards,
Przemek

------- Comment #15 From Xake 2004-09-09 01:30:05 0000 -------
*Dong*
Anything happening here?

------- Comment #16 From Adam Duck 2004-09-18 13:41:18 0000 -------
The folks seem to have updated mupen64_sound ... I get some rejects...

------- Comment #17 From cyrix12@cox.net 2004-09-19 13:37:58 0000 -------
Created an attachment (id=39947) [edit]
updated ebuild

------- Comment #18 From cyrix12@cox.net 2004-09-19 13:38:36 0000 -------
Created an attachment (id=39948) [edit]
updated makefiles patch

------- Comment #19 From cyrix12@cox.net 2004-09-19 13:39:17 0000 -------
Created an attachment (id=39949) [edit]
updated confdir patch

------- Comment #20 From cyrix12@cox.net 2004-09-19 13:43:17 0000 -------
Alright, I felt like playing some n64 today so I worked on this a bit.  Updated
patches that failed, and tweaked the ebuild to actually USE the patches in the
correct places (or at all).  Builds perfectly now as long as you have all the
stuff that's here (ebuild, makefile patch, confdir patch, sdl patch, avi patch,
gcc3 patch, mupen64).

Hopefully you can close this now.

------- Comment #21 From Xake 2004-09-19 13:50:57 0000 -------
Will this thing eventually go inteo portage?

------- Comment #22 From Dan 2004-10-15 22:20:56 0000 -------
*sigh* looks like these patches need to be updated again, lots of errors during
the patching

------- Comment #23 From Bob Thomas 2004-10-20 08:45:21 0000 -------
Patches work fine here.

------- Comment #24 From Matteo Settenvini 2004-11-03 03:26:16 0000 -------
Hey, since I guess that guys at Mupen64 are always open to contribs, what about
giving them the patches (plus telling them to use a version number)? So we'll
avoid updating them every new release and they'll benefit from that too.

I'll send the mantainer an email (trying doesn't make any harm).

------- Comment #25 From Przemyslaw Maciag (RETIRED) 2004-11-03 03:36:58 0000 -------
Hello!

Days ago I tried to talk with mupen devs and convince them to use version numbers... they didn't want to talk about it - maybe now? Anyway - good luck!

PS. Sorry for my english!

Regards,
Przemek

------- Comment #26 From Przemyslaw Maciag (RETIRED) 2004-11-03 03:40:33 0000 -------
.....

why are you using patch -p0 < .... instead of 'nice looking' and shorter form 'epatch' ??

Regards,
Przemek

------- Comment #27 From Matteo Settenvini 2004-11-03 11:40:36 0000 -------
Created an attachment (id=43238) [edit]
Patch for an ipotetic "+gtk2" USE flag to the Makefile

This is a patch to enable building with the gtk+2 toolkit. This patch should be
applied before any other if the gtk2 USE flag in the ebuild is set.

The ebuild needs to be modified accordingly to make use of "gtk2".

------- Comment #28 From Matteo Settenvini 2004-11-03 11:40:43 0000 -------
Created an attachment (id=43239) [edit]
Patch for an ipotetic "+gtk2" USE flag to the Makefile

This is a patch to enable building with the gtk+2 toolkit. This patch should be
applied before any other if the gtk2 USE flag in the ebuild is set.

The ebuild needs to be modified accordingly to make use of "gtk2".

------- Comment #29 From Matteo Settenvini 2004-11-03 11:41:44 0000 -------
(From update of attachment 43238 [edit])
Arrgh, sorry it got attached the wrong file... 

------- Comment #30 From Dan 2004-11-05 18:22:09 0000 -------
The patches definitely aren't working:

 * Applying mupen64-makefiles.patch ...

 * Failed Patch: mupen64-makefiles.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/mupen64-0.4/temp/mupen64-makefiles.patch-18565.out


(in that file:)

***** mupen64-makefiles.patch *****

===================================

PATCH COMMAND:  patch -p0 -g0 < /usr/local/portage/games-emulation/mupen64/file$

===================================
patching file riceplugin/Makefile
patching file emu64/Makefile
patching file mupen64_input/Makefile
patching file hack_azi_rsp_hle/Makefile
patching file mupen64_sound/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mupen64_sound/Makefile.rej
===================================

------- Comment #31 From Matthias Langhammer 2004-11-26 10:17:04 0000 -------
The build worked fine for me. But I found some bugs. I closed some of them.

Closed bugs:
  - the gentoo-sdl patch got not applied correctly (missing "&&" after "use sdl")
  - The rice-plugin crashed when pressing OK in its configuration dialog because it tried to write to /usr/games/lib/mupen64/plugins/RiceDaedalus.cfg which is not writable for normal users. So I created a patch (mupen64-rice-confdir.patch) similar to the other confdir-patch that fixes the problem.
  - added a modified version of the gtk2-patch (mupen64-gtk2-makefile.patch);
    now the ebuild supports the useflag gtk2.
    The patch is still very ugly because the ebuild is still not able to build    the nogui-version.
 - fixed installation path of plugin-documentation.
    the ebuild installed files into
    /usr/share/doc/mupen64-0.4/usr/share/doc/mupen64-0.4/jttl_sound-1.2 and
    /usr/share/doc/mupen64-0.4/usr/share/doc/mupen64-0.4/blight_input
    I fixed this to install the files into
    /usr/share/doc/mupen64-0.4/jttl_sound-1.2 and
    /usr/share/doc/mupen64-0.4/blight_input

There are still some minor bugs:
  - mupen64-confdir.patch uses a fixed path legth of 200; should use MAX_PATH
  - I think the plugins should go into their own ebuilds. the blight_input plugin has already its own ebuild. Perhaps mupen64 then should depend on something like virtual/n64controllerplugin.
  - the nogui-thing doesn't get built
  - perhaps there are some more wrong confdir-strings. i didn't check.


Here is a list a all files that are needed to build mupen64:
  - mupen64-0.4.ebuild (new file will follow)
  - files/mupen64-makefiles.patch (2004-09-19 13:38 PST)
  - files/mupen64-confdir.patch (2004-09-19 13:39 PST)
  - files/mupen64-rice-confdir.patch (file will follow)
  - files/mupen64-gentoo-avi.patch (2004-07-16 07:02 PST)
  - files/mupen64-gentoo-sdl.patch (2004-07-16 07:02 PST)
  - files/mupen64-gcc3.patch (2004-07-16 07:01 PST)
  - files/polish.lng (2004-07-16 19:18 PST) (not needed, but error message if missing)
  - files/mupen64 (2004-07-16 19:00 PST)
  - files/mupen64-gtk2-makefile.patch (file will follow)

------- Comment #32 From Matthias Langhammer 2004-11-26 10:19:31 0000 -------
Created an attachment (id=44783) [edit]
updated version of mupen64.0.4.ebuild

An updated version of the beuild that fixes some bugs; see my posting.

------- Comment #33 From Matthias Langhammer 2004-11-26 10:20:54 0000 -------
Created an attachment (id=44784) [edit]
mupen64-rice-confdir.patch

This patch fixes the config-file pathes of the rice plugin. See my posting.

------- Comment #34 From Matthias Langhammer 2004-11-26 10:21:49 0000 -------
Created an attachment (id=44785) [edit]
mupen64-gtk2-makefile.patch

Patch that makes it possible to use gtk2 instead of gtk1

------- Comment #35 From John Drouhard 2004-11-26 13:16:55 0000 -------
The gtk2 patch breaks the configuration dialogue for the rice plugin. I'm using
the gtk1 version right now. Also, the blight input plugin doesn't work. The
games can't find a controller.

------- Comment #36 From Matthias Langhammer 2004-11-26 17:04:29 0000 -------
You are right. The gtk2 patch breaks the configuration dialog of the rice
plugin. I wrote a new (hopefully stable) ebuild without the patch. I also
created a -r1 ebuild that contains the buggy support for gtki2. The files will
follow.

Are you sure that the bligth input plugin doesn't work? I had the same problem
yesterday until i found out that i have to toggle the ugly 2d "Plugged" button
in the upper left so that it is light gray (the same color as the background).

------- Comment #37 From Matthias Langhammer 2004-11-26 17:07:55 0000 -------
Created an attachment (id=44799) [edit]
mupen64-0.4.ebuild

Ebuild without the gtk2 patch

------- Comment #38 From Matthias Langhammer 2004-11-26 17:09:04 0000 -------
Created an attachment (id=44800) [edit]
mupen64-0.4-r1.ebuild with buggy gtk2 patch

------- Comment #39 From Jean-Francois Perreault 2004-12-22 16:47:43 0000 -------
I tried to install this ebuild , it worked but I had to blank out the gcc patch
and the rice-confdir patch because they wouldn't patch properly

it works now but maybe only because it's using the manually compile plugins
that were left over /usr/game/lib/mupen64/plugin

------- Comment #40 From Disenchanted (RETIRED) 2005-01-01 00:11:03 0000 -------
.04 is in portage

thank you everyone for your contribution

further cleanup needed, following soon

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