Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 115079
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: kaouete <kaouete@crazydwarves.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openrpg-1.6.3.ebuild the ebuild text/plain Matthew Clark 2005-12-12 23:15 0000 1.88 KB Details
1.6.3-gentoo-paths.patch the patch file... you'll need this too patch Matthew Clark 2005-12-12 23:18 0000 1.23 KB Details | Diff
openrpg-1.6.3.ebuild the ebuild(working.. or not) text/plain Matthew Clark 2005-12-12 23:43 0000 1.88 KB Details
openrpg-1.7.1.ebuild openrpg-1.7.1.ebuild text/plain Erich Blume 2007-05-17 05:25 0000 2.69 KB Details
openrpg-client openrpg-client wrapper executable text/plain Erich Blume 2007-05-17 05:26 0000 158 bytes Details
openrpg-server openrpg-server wrapper executable text/plain Erich Blume 2007-05-17 05:27 0000 172 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 115079 depends on: Show dependency tree
Bug 115079 blocks: 146073
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.








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


Description:   Opened: 2005-12-10 04:52 0000
Hi, just to tell that openrpg 1.6.3 is out and that the last ebuild available
is
1.6.1.

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

------- Comment #1 From Matthew Clark 2005-12-12 23:15:12 0000 -------
Created an attachment (id=74614) [details]
the ebuild

should work great, basically a renamed 1.6.1

------- Comment #2 From Matthew Clark 2005-12-12 23:18:35 0000 -------
Created an attachment (id=74615) [details]
the patch file... you'll need this too

this is the patch file used the old one as a template

------- Comment #3 From Matthew Clark 2005-12-12 23:43:24 0000 -------
Created an attachment (id=74617) [details]
the ebuild(working)

erm... so it was a little harder then that... but it works now

------- Comment #4 From Matthew Clark 2005-12-13 00:24:26 0000 -------
(From update of attachment 74617 [details])
builds but doesen't work

------- Comment #5 From Tupone Alfredo 2006-08-03 16:22:44 0000 -------
Version 1.6.3 seems to discover the path of the files dynamically.

With the current ebuild it crash as it will be looking at the file relatively
to the discovered root. The options, to me, are:

1) drop the package or
2) use a wrapper and leave the tree as it was "badly" designed or
3) fix every single place where it is referring to other files.

I won't do the 3rd :)

------- Comment #6 From igch@gmx.net 2006-08-19 16:34:51 0000 -------
(In reply to comment #5)
> Version 1.6.3 seems to discover the path of the files dynamically.
> [...]
> 2) use a wrapper and leave the tree as it was "badly" designed or
> 3) fix every single place where it is referring to other files.

Could you expound on these a bit?  If you could explain what needs to be done,
perhaps someone else (e.g., myself) could do the grunt work.

------- Comment #7 From Tupone Alfredo 2006-08-20 11:27:49 0000 -------
> Could you expound on these a bit?  If you could explain what needs to be done,
> perhaps someone else (e.g., myself) could do the grunt work.

In the new openRPG version, the developer(s) seems to have "automatically"
detected where all the files are located, I guess taking the current path of a
python file, and then derived where all the other files are, just using this
path as a reference. This works only if we assure that the files are deployed
in the same way they are in the tar.gz . Gentoo, according to the
http://www.gentoo.org/proj/en/desktop/games/games-ebuild-howto.xml
use to deploy files following its own rules.

So the work to be done is to replace any path, in openRPG, to point to the
correct location.

But the better would be that the developers do this, as we have, otherwise, to
reapply different patches to any new release of software.
Hope to be clear enough :/

------- Comment #8 From Jakub Moc (RETIRED) 2007-03-26 07:29:00 0000 -------
*** Bug 172265 has been marked as a duplicate of this bug. ***

------- Comment #9 From Vince Castellano 2007-03-26 14:52:45 0000 -------
openrpg-1.7.1 requires python 2.5 and wxpython 2.8. python 2.5 is not yet
unmasked (set a depend on bug 148333?), and wxpython 2.8 is not in the tree
(new bug needed?).

------- Comment #10 From Ryan Hill 2007-04-07 00:47:28 0000 -------
this is the last thing in the tree depending on wxpython-2.4.  we need a
decision made - update or remove.

------- Comment #11 From Arne Babenhauserheide 2007-05-05 09:13:08 0000 -------
The new version needs wxpython-2.8, so it should definitely not be removed but
updated. 

In the long run it is good!

------- Comment #12 From Erich Blume 2007-05-16 23:38:10 0000 -------
I am working on a brand new ebuild for OpenRPG. The devs for OpenRPG have added
features that break the old ebuild's design. The current ebuild should be
removed from portage, as it is completely useless. The only way it *could* be
used, is if the user connected to a server running OpenRPG 1.6.1, of which
there are none listed on the metaserver.

I am still deciding exactly how to structure the ebuild, but I imagine in the
future OpenRPG will be installed in to /opt/openrpg1, and there will be a
shell-starter script in /usr/games/bin/ that cd's in to /opt/openrpg1 then
executes start.py. In other words, rather than using a gentoo-normalized
structure and editing every single openrpg path, why not preserve openrpg's way
of doing it and install to /opt/ (which is normally reserved for binary
installations, but this could be thought of as a "binary" in the sense that
nothing in it should be altered).

------- Comment #13 From Erich Blume 2007-05-17 05:25:30 0000 -------
Created an attachment (id=119495) [details]
openrpg-1.7.1.ebuild

Working but security-flawed ebuild.

Like all previous versions of OpenRPG, this ebuild changes the
group-write-permissions to ON for the directory /usr/share/games/openrpg1. This
allows anyone in the "games" group to write and execute arbitrary code that is
shared amongst all users in the "games" group. I believe there is no solution
short of rewriting all of the pathing code in OpenRPG. The ebuild contains a
good 15-second pause to get this point across.

------- Comment #14 From Erich Blume 2007-05-17 05:26:41 0000 -------
Created an attachment (id=119496) [details]
openrpg-client wrapper executable

A required file used in the installation of openrpg-1.7.1.

------- Comment #15 From Erich Blume 2007-05-17 05:27:39 0000 -------
Created an attachment (id=119497) [details]
openrpg-server wrapper executable

A wrapper script for start-server.py

------- Comment #16 From Erich Blume 2007-05-17 05:32:06 0000 -------
The provided ebuild and two wrapper executables (which both go in the files/
package directory) create a functioning OpenRPG-1.7.1 ebuild.

It is a complete rewrite of the old ebuild, and is probably NOT compatible with
it. You should --unmerge the previous OpenRPG's. I'm not sure what DEPENDS to
set to ensure this (-<games-rpg/openrpg-1.7.1 perhaps?).

This is my second ebuild ever (the first being a wxPython-2.8 ebuild provided
earlier today in bug #178727), so please look it over closely.

Could someone from the Gentoo Games herd please add bug 178727 as a depends for
this bug?

Happy gaming!

------- Comment #17 From Mr. Bones. 2009-01-27 06:31:26 0000 -------
*** Bug 255720 has been marked as a duplicate of this bug. ***

------- Comment #18 From James Potts 2009-12-02 02:51:43 0000 -------
Ok, OpenRPG 1.8.0 is out, and uses wxpython 2.8.10.  Currently, this seems to
be in Last Rites because it "needs updated to use a newer wxpython than 2.6". 
I feel that updating the ebuild would be a far better solution to that problem
than simply removing OpenRPG from the tree.

--Arek75

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug