Apache OpenOffice (AOO) Bugzilla – Issue 64802
Non-conflicting SDK gid module name
Last modified: 2013-08-07 15:26:05 UTC
I want to build OOo and OOo-sdk packages from single spec file. I use the simple installer (make_installer.pl -simple) in the %install section. The real call looks like: perl -w $SOLARENV/bin/make_installer.pl -f openoffice.lst -l $langs -p OpenOffice -packagelist ../inc_openoffice/unix/packagelist.txt -addpackagelist ../inc_openoffice/unix/packagelist_language.txt -buildid $BUILD $destdir $strip -simple $path perl -w $SOLARENV/bin/make_installer.pl -f openoffice.lst -l en_US -p OpenOffice_SDK -packagelist ../inc_sdkoo/unix/packagelist.txt -buildid $BUILD /var/tmp/OOo-test -dontstrip -simple /usr/lib/ooo-2.0/sdk The simple installer produces list of files that can be later used in the %files section. The lists of files are named by the gid module ids. I got into troubles because both products OpenOffice and OpenOffice_SDK include Module gid_Module_Root. So, one file list was overwriten. There are three possibilities how to fix it: 1. I could save the conflicting file list before I install SDK. 2. We could fix the installer to use another names for the file lists. 3. We could rename gid_Module_Root for OpenOffice_SDK. I like the 3rd solution and prepared a patch for it. It solved the problem for me. What do you think about the proposed change?
Created attachment 36075 [details] A proposed solution.
If the third solution works without problems I would prefer it, too. But we will have to test this for all platforms, especially Windows. -> setting target OOo 2.0.4
Looking into the packaging process, I found a lot of dependencies to the root module that is defined by "gid_Module_Root". It would be very dangerous to change this most important module gid. Besides every product has a module gid_Module_Root, so that it is not a global solution to fix this for one special product. Therefore I do not like the patch 36075. It is not sufficient, that the lists of files are named by the gid module ids, you also have to include the product name into this list names.
OK, I'll create another patch. I will update installer to add the product name to the list names... Thanks for you opinion.
I am sorry. I was somewhat busy. I'll look on it for OOo-2.0.5.
Removing issue type PATCH, because currently no valid patch is available.
I'll look at it together with the other package split work.
Created attachment 72669
I do not plan to work on this anytime soon => resetting to the default assignee