Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | in function: call_epm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Build Tools | Reporter: | syniack <stali> | ||||||||||
Component: | build.pl | Assignee: | AOO issues mailing list <issues> | ||||||||||
Status: | CLOSED OBSOLETE | QA Contact: | |||||||||||
Severity: | Trivial | ||||||||||||
Priority: | P4 | CC: | issues, petko | ||||||||||
Version: | OOo 1.0.0 | ||||||||||||
Target Milestone: | --- | ||||||||||||
Hardware: | PC (x86_64) | ||||||||||||
OS: | Other OS | ||||||||||||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- | ||||||||||
Developer Difficulty: | --- | ||||||||||||
Attachments: |
|
Description
syniack
2008-12-30 12:00:04 UTC
Ah, I see. epm says: "epm: Product names should only contain letters and numbers!" So for this OS we need new package names. Instead of "ooobasis3.0-core01" we will need "ooobasis30core01" or something similar. Setting target 3.1. Issue type is not PATCH, because there is no patch attached to this task. so what i do to resolved this issue give me some hints is there any file in which we change and didnt't get any issue like you said epm is not supported special character so can we change openoffice-3.0 to openoffice in any file? that is usefull for as. So please test the following. There is a file "solenv/bin/modules/installer/epmfile.pm" that contains a function: "call_epm". In this function you already find code for debian packages: <snip> my $localpackagename = $packagename; # Debian allows only lowercase letters in package name or '-+.' if ( $installer::globals::debian ) { $localpackagename = lc($localpackagename); } if ( $installer::globals::debian ) { $localpackagename =~ s/_/-/g; } </snip> So please add below this the code to remove "." and "-" and "_" : $localpackagename =~ s/_//g; $localpackagename =~ s/-//g; $localpackagename =~ s/.//g; I do not know exactly, if this causes further problems, but it should work. Furthermore we can only integrate such a code after checking the rpm version, because we do not want to use this for all rpm calls. Created attachment 59154 [details]
my epmfile
Created attachment 59155 [details]
my epmfile
Created attachment 59156 [details]
my epm file
Why did you add the complete file to this patch (three times) ? Please add the three lines and test this. But as I wrote, this is no valid patch, because this changes are only allowed under very special circumstances that still need to be evaluated. Created attachment 59183 [details]
openoffice with 2 million rows support
Setting target OOo 3.2. Shifting target I think this is obsolote, or? Sound like something that should be resolved long time ago. The build script was improved many times over the years. If there a any issues with EPM or other things, then please report in a new issue. |