To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56955
                  Issue #:|56955
                  Summary:|Remove
                          |instsetoo_native/inc_openoffice/unix/shellscripts_pyu
                          |no.txt
                Component:|udk
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|FreeBSD
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|kr
              Reported by:|maho





------- Additional comments from [EMAIL PROTECTED] Sat Oct 29 22:14:31 -0700 
2005 -------
It is desirable to prepare minimal shellscripts as far as possible at
installation part, and possibly, no shellscripts. However,
unfortunately three things had done at shellscripts_pyuno.txt.

1. symlink to python.sh -> python
2. chmod +x program/python-core-2.3.4/bin/python
3. symlink to python-core-2.3.4 -> python-core

solution

0. apply following patch. full build confirmed for SRC680_m134, FreeBSD 
5.4-RELEASE.
1. Done in scp2 project: prepare scp2/source/python/shortcut_python.scp and
scp2/util/makefile.mk,
and make a symlink to python.sh -> python.
(3. is impossible to solve in this way since we only have python-core-2.3.4.zip
in files in scp2.)
2. Do not use program/python-core-2.3.4/bin/python, use program/python.bin
instead. python.sh
now executes program/python.bin. this is usual way; see e.g., spadmin etc.
3. change from symlinking python-core-2.3.4->python-core
to adding version number (by replacing by sed) to python.sh which invoke python
in OOo,
and we don't have to make a symlink.

suggestion (and not yet done):

4. we can also remove symlink from python.sh to python and
rename python.sh to python. apparently intermidiate python.sh is unnecessary.
currently: python -> python.sh -> python.bin
suggested: python -> python.bin
delivering a shell script python can harm since we have python binary from
python project
as well. but this is safe since python (shell script) and python.bin are 
delivered,
at the same time.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to