Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54842 - New ebuild for Point2Play-1.3
Summary: New ebuild for Point2Play-1.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 19:11 UTC by John Croisant
Modified: 2004-06-23 15:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for Point2Play-1.3 (point2play-1.3.ebuild,1.09 KB, text/plain)
2004-06-22 19:14 UTC, John Croisant
Details
alternative ebuild for point2play-1.3 (point2play-1.3.ebuild,947 bytes, text/plain)
2004-06-22 20:26 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Croisant 2004-06-22 19:11:26 UTC
I have written an ebuild for Point2Play-1.3 (modified from the ebuild for 1.2.2.b-1). I will attach it to a comment.

The ebuild seems to work, but it might be better if installing /usr/lib/transgaming_point2play/bin/python (a python 2.2.3 [not 2.3] interpreter) could be avoided, as this extra interpreter would seem to be redundant.

If python 2.3.4 is used instead (by modifying /usr/bin/Point2Play to point to /usr/bin/python), I get the following error (in -----) :
--------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/transgaming_point2play/Point2Play_gui.py", line 35, in ?
    raise Point2PlayError(_("Unable to load GTK2 Python bindings") + "(%s)" % str( sys.exc_info()[1] ) )
__main__.Point2PlayError: 'Unable to load GTK2 Python bindings(/usr/lib/libpangoft2-1.0.so.0: undefined symbol: g_type_instance_get_private)'
--------------------------------------------

If this error could be fixed, I suspect that the python distributed with Point2Play could be deleted. As I said earlier, it seems to work if you do not delete it, so this ebuild *is* functional, just sub-optimal (imo).

Whether the ebuild depends on Python-2.3 or not depends on getting Point2Play to use the regular python interpreter.

Reproducible: Always
Steps to Reproduce:
Comment 1 John Croisant 2004-06-22 19:14:01 UTC
Created attachment 33920 [details]
Ebuild for Point2Play-1.3

Note that the patch that was included with the last version (1.2.2.b-1) is not
needed, as python 2.3 is no longer masked in portage (see
http://bugs.gentoo.org/show_bug.cgi?id=30556 for the original reason behind the
patch)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-06-22 20:26:09 UTC
Created attachment 33923 [details]
alternative ebuild for point2play-1.3

This ebuild is based on the point2play-1.2; unlike the previously submitted
ebuild, this uses the point2play-small-1.3.tgz, i.e. it does not install its
own version of python and pygtk. A couple of questions:
-first, I commented out the python-2.2 patch, for same reasons as John
Croisant.
-second, why is it slot 3? What was in the previous slots? And why not slot 4?
-third, I have the ebuild install install applnk files into /usr/share/applnk
instead of /etc/X11/applnk; the /usr/share/applnk seems to be the more standard
directory on Gentoo (openoffice and most K applications use it), and besides,
that way it's not considered as a config file and unemerges properly. Am I
correct? What's the functional difference between /etc/X11/applnk and
/usr/share/applnk ?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-06-22 20:31:33 UTC
To further explain point2play-small-1.*.tgz vs point2play-1.*.tgz difference: Transgaming used to distribute a standard Point2Play (with built-in python, pygtk, and kitchen sink) and also the small version that relied on dependencies. They got rid of small around 1.2.2, users complained, and now small is back (although not officially supported).
Comment 4 SpanKY gentoo-dev 2004-06-23 15:24:31 UTC
added alex's ebuild to portage, thanks