[ooo-build] Unable to Load Included Impress Templates in ooo-build 3.2.1.4

Christoph Willing c.willing at uq.edu.au
Tue Jun 22 21:50:10 PDT 2010


On 23/06/2010, at 1:24 PM, <ooo-build at opennix.com> <ooo-build at opennix.com 
 > wrote:

> On 06/22/2010 07:07 PM, Christoph Willing wrote:
>>
>> On 23/06/2010, at 8:34 AM, <ooo-build at opennix.com> <ooo-build at opennix.com
>>> wrote:
>>
>>> Hi List,
>>>
>>> I have successfully built ooo-build 3.2.1.4 for Slackware64 13.1.
>>> Now I
>>> am having problems using the included Impress background templates.
>>
>>
>> I have also built 3.2.1.4 for Slackware64-13.1 but I can't reproduce
>> that problem. Templates & backgrounds load without any trouble.
>>
>> Perhaps you could check our binary at:
>>     http://www.vislab.uq.edu.au/slackware64/13.1/openoffice-3.2.1.4-x86_64-1_uqv.txz
>>
>> and if it works as expected (which it should) then we can investigate
>> whether some difference in building technique is causing the problem.
>>
>>
>> chris
>
> Thanks for responding, Chris.  Sure enough I do not have the same
> problems using your OOo package.
>
> Yours is built with an older icu4c.  That is the first difference I
> noticed.  I had to replace my icu4c package with yours.  I do not
> believe that is the cause of my issue, as I had the same problems with
> Impress when I built ooo-build 3.2.0.x for Slackware 13.0.  That was
> built against icu4c 4.2.1 (the same version you used).
>
> Here is my configure command line:
>
> CFLAGS="-O2 -fPIC" \
> CXXFLAGS="-O2 -fPIC" \
> ./configure \
>   --prefix=/usr \
>   --libdir=/usr/lib64 \
>   --sysconfdir=/etc \
>   --localstatedir=/var/lib \
>   --mandir=/usr/man \
>   --docdir=/usr/doc/openoffice-3.2.1.4 \
>   --build=x86_64-slackware-linux \
>   --with-distro=Slackware \
>   --with-ant-home=/usr/share/ant \
>   --with-lang="" \
>   --disable-odk \
>   --disable-pam \
>   --disable-pam-link \
>   --disable-post-install-scripts \
>   --enable-access \
>   --enable-cairo \
>   --disable-kde \
>   --disable-kde4 \
>   --enable-gtk \
>   --with-system-cairo \
>   --with-system-neon \
>   --with-system-icu \
>   --with-system-expat \
>   --with-system-boost \
>   --with-system-mozilla=seamonkey \
>   --disable-mono \
>   --with-docdir=/usr/doc/openoffice-3.2.1.4 \
>   --with-gcc-speedup=ccache \
>   --with-openclipart=/usr/share/openclipart \
>   --enable-pdfimport
>
> I've had to apply the patch included in this post:
> http://lists.freedesktop.org/archives/ooo-build/2010-January/000473.html
>
> That thread was started by me, as well.  No matter what I tried to use
> for --with-lang the build would fail.  I tried setting it to "",
> "en-US", and "en-US fr" without luck.  So I dug up that patch again  
> and
> configured with --with-lang="".


I haven't used any --with-lang at all in mine. I wonder if adding the  
patch suggested above which enables you to use it causes your problem?  
The patch name (sdext-presenter-makefile.diff) indicates that it plays  
around with the presenter makefile and maybe it has some bad side  
effect.

Since I don't set any --with-lang option, nor explicitly apply the  
above patch, I see a "fail" during compilation, same as already  
mentioned in http://lists.freedesktop.org/archives/ooo-build/2010-March/000741.html 
.


> Is there any chance you can share your build process, or perhaps the
> SlackBuild you used?

Its included in the binary package in /usr/src/slackbuilds/ 
openoffice-3.2.1.4/Slack.build. Sorry its a bit messy - I often try  
new things with the builds but since the turn around time compiling/ 
testing for ooo is quite long, I tend to leave old things lying around  
in there much longer than I normally would, in case I need to revert  
to a previous incantation. The Slack.build uses some global helper  
functions of my own that are not included in that directory but their  
usage is pretty transparent.


> Personally I don't care much about presentations, but other people may
> feel differently.

Actually, thats how I became involved in making these packages in the  
first place; we need to run an existing python based application that  
can use Impress via pyuno and that needs matching, or compatible,  
python versions. That was often not the case when repackaging  
upstream's official rpms (as SBo do). Its easier (ha ha) to build our  
own.


chris


>>> Ways to reproduce:
>>>
>>> Open Impress.  During initial "Presentation Wizard" dialogue choose
>>> "From template".  The "Preview" checkbox is checked per default.  A
>>> window pops up containing the error message "Error loading the
>>> template:
>>> General error".
>>>
>>> Open Impress.  During initial "Presentation Wizard" dialogue choose
>>> "Empty presentation".  Click "Next".  The "Preview" checkbox is
>>> checked
>>> per default.  Select any of the options listed under "Presentation
>>> Backgrounds" or "Presentations".  A window pops up containing the
>>> error
>>> message "Error loading the template: General error".
>>>
>>> Creating an empty presentation and choosing a background from  
>>> "Master
>>> Pages" -> "Available for Use" seems to have no effect.  There are no
>>> warnings or errors but the background of the presentation does not
>>> change.
>>>
>>> Starting Impress from the command line provides no additional  
>>> output.
>>>
>>> Templates are installed in the directory
>>> /usr/lib64/ooo-3.2/basis3.2/share/template/en-US/layout/ with the
>>> naming pattern lyt-{template}.otp.  Permissions on the files are  
>>> 444.
>>>
>>> Web searches turn up little.  I did run across a posting on the Arch
>>> Linux forums that describe the same behavior:
>>>
>>> http://bbs.archlinux.org/viewtopic.php?id=85592
>>>
>>> That thread gives no resolution.  Also, posters indicate vanilla
>>> OpenOffice.org releases do not exhibit this behavior.
>>>
>>> Please let me know if there are any steps I can take to fix this
>>> problem.  As always, let me know if any further information is
>>> required.
>>>
>>> Thanks,
>>>
>>> Mike
>>> _______________________________________________
>>> ooo-build mailing list
>>> ooo-build at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/ooo-build
>>
>> Christoph Willing                       +61 7 3365 8316
>> QCIF Access Grid Manager
>> University of Queensland
>>
>> _______________________________________________
>> ooo-build mailing list
>> ooo-build at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/ooo-build
>
> _______________________________________________
> ooo-build mailing list
> ooo-build at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ooo-build

Christoph Willing                       +61 7 3365 8316
QCIF Access Grid Manager
University of Queensland



More information about the ooo-build mailing list