FS#28428 - [Libreoffice-sdk] .mk makefile setting files broken

Attached to Project: Arch Linux
Opened by Jesse Jaara (Huulivoide) - Tuesday, 14 February 2012, 20:16 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 16 March 2012, 15:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It would seem that the new libreoffice-sdk in testing breaks
atleast /usr/lib/libreoffice/sdk/settings/std.mk file.

I'm not sure how much of it is incorretc/broken but the following
lines are.

----OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)$(PS)offapi.rdb)"
----OFFICE_SERVICES=$(subst \\,\,$(OFFICE_PROGRAM_PATH)$(PS)services.rdb)

But they should be

++++OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)/types/$(PS)offapi.rdb)"
++++OFFICE_SERVICES=$(subst \\,\,$(OFFICE_PROGRAM_PATH)/services/$(PS)services.rdb)

Additional info:
Version: 3.5.0-1



Steps to reproduce:
Try to build voikko-libreoffice from AUR for example.
Fails complaining

"/usr/lib/libreoffice/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/usr/lib/libreoffice/ure/share/misc/types.rdb" "/usr/lib/libreoffice/program/offapi.rdb"
cppumaker : init registries failed, check your registry files.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 16 March 2012, 15:30 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Tuesday, 14 February 2012, 21:13 GMT
Sounds like a generic issue and not packaging related, right? Then it should be reported upstream. Can you do this?
Comment by Jesse Jaara (Huulivoide) - Wednesday, 15 February 2012, 19:18 GMT
Hmm thats true. I'l put this on upstream tracker too.
But I hope that this gets fixed before Libre moves to
extra, so that I won't have to include a "fixed" file
with voikko-libreoffice (finnish spell/grammar checker)
(I did that few versions backwards too..)
Comment by Jesse Jaara (Huulivoide) - Wednesday, 15 February 2012, 19:29 GMT Comment by Andreas Radke (AndyRTR) - Tuesday, 06 March 2012, 16:45 GMT
I get these entries with 3.5.1rc2:

OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)$(PS)types$(PS)offapi.rdb)"
OFFICE_SERVICES=$(subst \\,\,$(OFFICE_PROGRAM_PATH)$(PS)services$(PS)services.rdb)

So this seems fixed and no further patching is required? I have no clue what "$(PS)" is used in the path name here.
Comment by Jesse Jaara (Huulivoide) - Tuesday, 06 March 2012, 17:00 GMT
Could you try building voikko-libreoffice to see if it works?
Seems OK to be, but just to make sure as it's not in testing
and I wouldn't really like to build libre myself XD
Comment by Andreas Radke (AndyRTR) - Friday, 16 March 2012, 06:56 GMT
Please test LibO 3.5.1 in testing. I want to quickly move this to extra.
Comment by Jesse Jaara (Huulivoide) - Friday, 16 March 2012, 15:04 GMT
It's working nice now ^_^

Loading...