First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 106774
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Sergey Kuleshov (RETIRED) <svyatogor@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Hyman <pete4abw@comcast.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
rox.eclass.cum.patch rox.eclass cumulative patch patch Peter Hyman 2005-09-21 03:58 0000 1.13 KB Details | Diff
rox.eclass rox.eclass file text/plain Peter Hyman 2005-09-21 11:20 0000 3.11 KB Details
rox.eclass.cum.patch rox.eclass.cumulative.patch patch Peter Hyman 2005-09-23 03:10 0000 3.05 KB Details | Diff
rox.eclass rox.eclass text/plain Peter Hyman 2005-09-23 03:11 0000 3.08 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106774 depends on: Show dependency tree
Bug 106774 blocks:
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-09-21 03:56 0000
All ROX applications have py files. When first run, python will attempt to byte
compile them. However, since users don't have w permission in the ROX, they do
not compile and are interpreted. While this does not seem to affect
functionality, ROX ebuilds should provide users with byte compiled files at
install time. The attached patch includes patches from bug #106253 and includes
the python code from the python.eclass to create the pyc and pyo files. I mark
this as a major bug since without these changes, ROX does not fully compile its
packages.

------- Comment #1 From Peter Hyman 2005-09-21 03:58:16 0000 -------
Created an attachment (id=68927) [details]
rox.eclass cumulative patch

------- Comment #2 From Jakub Moc (RETIRED) 2005-09-21 03:59:22 0000 -------
*** Bug 106253 has been marked as a duplicate of this bug. ***

------- Comment #3 From Peter Hyman 2005-09-21 04:35:01 0000 -------
Just a note on the duplicate marking for bug #106253. That bug noted a
different
problem of the eclass NOT handling the chmod a+x for AppRun or AppletRun files
in subdirectories under the main Application dir. That patch (included here)
uses the find command to recurse through all subdirs. This occured with the
Oroborox (see bug #106247) and MusicBox (see bug #100426)applications for
example. These apps will fail if the AppRun files in subdirs are not changed as
per this eclass patch.

------- Comment #4 From Peter Hyman 2005-09-21 11:20:41 0000 -------
Created an attachment (id=68948) [details]
rox.eclass file

Full rox.eclass file with patch applied. Required for new rox ebuilds.

------- Comment #5 From Peter Hyman 2005-09-23 03:10:29 0000 -------
Created an attachment (id=69059) [details]
rox.eclass.cumulative.patch

Made some additional changes and cleanups (corrected spelling, changed chmod
code to be consistent (i.e. 0755 -> a+x, 755 -> a+x). Added >/dev/null 2>&1 to
python byte compile code to shush errors.

------- Comment #6 From Peter Hyman 2005-09-23 03:11:09 0000 -------
Created an attachment (id=69060) [details]
rox.eclass

Updated rox.eclass file

------- Comment #7 From Sergey Kuleshov (RETIRED) 2005-09-25 04:06:46 0000 -------
in cvs. thak you for great job and valuable updates.

P.S. I reverted back a+x -> 755 though ;)

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