Summary: | sofficerc should be installed in /etc/ | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Tomáš Chvátal <tomas.chvatal> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | ilmari.lauhakangas, pmladek, rene, serval2412 |
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=406295 https://bugs.documentfoundation.org/show_bug.cgi?id=40961 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 113358 |
Description
Tomáš Chvátal
2012-03-18 01:32:28 UTC
A generic pointer is to search for "sofficerc" at http://opengrok.libreoffice.org/ The following found locations look interesting: + "/* costruct the sofficerc file location */" comment in desktop/unx/source/splashx.c + "#define SVERSION_PROFILE" and "osl_openProfile" function definition in sal/osl/unx/profile.c + "// read keys from soffice.ini (sofficerc)" comment in uui/source/newerverwarn.cxx In each case, we could take inspiration in the hack that is used in Debian. I wonder if Rene could point us to the patch. pmladek: sure. http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=rules;h=980bf1d33374aef446078096bf3b1b4cdd4ea4f0;hb=HEAD#l2496 until line 2515 which then results in $ cat /usr/lib/libreoffice/program/sofficerc # *DO NOT* CHANGE THIS FILE. IT ONLY TAKES THE SETTINGS FROM # /etc/libreoffice/sofficerc. CHANGE THAT FILE IF YOU # REALLY WANT TO CHANGE SOMETHING. FHS_CONFIG_FILE=file:///etc/libreoffice/sofficerc [Bootstrap] HideEula=${$FHS_CONFIG_FILE:Bootstrap:HideEula} Logo=${$FHS_CONFIG_FILE:Bootstrap:Logo} NativeProgress=${$FHS_CONFIG_FILE:Bootstrap:NativeProgress} ProgressBarColor=${$FHS_CONFIG_FILE:Bootstrap:ProgressBarColor} ProgressFrameColor=${$FHS_CONFIG_FILE:Bootstrap:ProgressFrameColor} ProgressPosition=${$FHS_CONFIG_FILE:Bootstrap:ProgressPosition} ProgressSize=${$FHS_CONFIG_FILE:Bootstrap:ProgressSize} URE_BOOTSTRAP=${ORIGIN}/fundamentalrc (afaicr this was a hint from sberg in OOo times) On pc Debian testing x86-64 with LO Debian package 4.4.5.2, it's the case now. root@julienPC:/# ls /etc/libreoffice/ psprint.conf sofficerc soffice.sh Tomáš: don't hesitate to reopen this tracker if I'm wrong. https://bugs.gentoo.org/show_bug.cgi?id=406295 is also indicated FIXED. Debian does symlink. It is nothing comming from tdf package or buildsystem - > problem is still present. strictly speaking, no, we don't symlink: (sid)rene@frodo:~$ ls -l /etc/libreoffice/sofficerc -rw-r--r-- 1 root root 206 Jun 4 05:50 /etc/libreoffice/sofficerc (sid)rene@frodo:~$ cat /usr/lib/libreoffice/program/sofficerc # *DO NOT* CHANGE THIS FILE. IT ONLY TAKES THE SETTINGS FROM # /etc/libreoffice/sofficerc. CHANGE THAT FILE IF YOU # REALLY WANT TO CHANGE SOMETHING. FHS_CONFIG_FILE=file:///etc/libreoffice/sofficerc [Bootstrap] HideEula=${$FHS_CONFIG_FILE:Bootstrap:HideEula} Logo=${$FHS_CONFIG_FILE:Bootstrap:Logo} NativeProgress=${$FHS_CONFIG_FILE:Bootstrap:NativeProgress} ProgressBarColor=${$FHS_CONFIG_FILE:Bootstrap:ProgressBarColor} ProgressFrameColor=${$FHS_CONFIG_FILE:Bootstrap:ProgressFrameColor} ProgressPosition=${$FHS_CONFIG_FILE:Bootstrap:ProgressPosition} ProgressSize=${$FHS_CONFIG_FILE:Bootstrap:ProgressSize} ProgressTextBaseline=${$FHS_CONFIG_FILE:Bootstrap:ProgressTextBaseline} ProgressTextColor=${$FHS_CONFIG_FILE:Bootstrap:ProgressTextColor} URE_BOOTSTRAP=${ORIGIN}/fundamentalrc (sid)rene@frodo:~$ cat /etc/libreoffice/sofficerc [Bootstrap] HideEula=1 Logo=1 NativeProgress=false ProgressBarColor=215,7,81 ProgressFrameColor=245,245,245 ProgressPosition=72,189 ProgressSize=409,8 ProgressTextBaseline=170 ProgressTextColor=255,255,255 But yes, it's a Debianism. Bug does not meet the criteria for Status 'REOPENED' https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/REOPENED#Criteria Status -> NEW Any update on this, folks? |