https://bugs.freedesktop.org/show_bug.cgi?id=46506

Tomáš Chvátal <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
            Summary|Libreoffice does not        |Libreoffice does not
                   |install                     |install some basic help
                   |help/main_transform.xsl     |control elements with
                   |file                        |--without-help

--- Comment #6 from Tomáš Chvátal <[email protected]> 2012-03-17 10:58:36 
UTC ---
It seems like it lacks wide range of files so they should be installed.

As discussed on mailinglist this is what is done in suse:


# hack to add icons for helpcontent that is build separately 
(
    . ./*Env.Set.sh
    mkdir -p $SOLARVER/$INPATH/res/img
    perl helpcontent2/helpers/create_ilst.pl
-dir=default_images/res/helpimg >$SOLARVER/$INPATH/res/img/helpimg.ilst
)

2. during installation of the main package:

################ 
# common helpcontent files 
# create symlinks to /usr/share for noarch help packages 
mkdir -p $RPM_BUILD_ROOT/%lo_prefix/%lo_home/%lo_basis_dir/help
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help
echo "%dir %lo_prefix/%lo_home/%lo_basis_dir/help"
>>file-lists/common_list.txt
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help"
>>file-lists/common_list.txt
for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do
    install -m 644 solver/*/unxlng*.pro/bin/$file $RPM_BUILD_ROOT/%
lo_prefix/%lo_home/%lo_basis_dir/help
    ln -sf %lo_prefix/%lo_home/%lo_basis_dir/help/$file
$RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help
    echo "%lo_prefix/%lo_home/%lo_basis_dir/help/$file"
>>file-lists/common_list.txt
    echo "%_datadir/%lo_home/%lo_basis_dir/help/$file"
>>file-lists/common_list.txt
done


These files should be installed regardless help status as the help files can be
provided diferently than build every time. If not hardcoded it should have some
configure switch like --with-help-common

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to