Issue 12004

Summary: W32-tcsh: Problem with macro $(APPxICON)
Product: Build Tools Reporter: quetschke
Component: codeAssignee: quetschke
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: hans-joachim.lankenau, issues
Version: 644   
Target Milestone: OOo 1.1 Beta2   
Hardware: PC   
OS: Windows 2000   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 12046    
Attachments:
Description Flags
Patch for solenv/bin/guw.pl
none
Patch for [_]tg_app.mk
none
Found entroll.btm, full _tg_app.mk and tg_app.mk
none
Patch for _?tg_app.mk none

Description quetschke 2003-03-03 17:42:36 UTC
In setup2/util the makefile fails to create a correct
  wntmsci7.pro/misc/setup.rc

1. Problem: In the following line in _tg_app.mk

 @-+guw.pl echo 1 ICON \"$(APP2ICON:s/\//\/\//)\" >> $(MISC)$/$(APP2LINKRES:b).rc
-----------------------^^
there are quotes around APPxICON, this is ok, but guw.pl cannot handle this.
The following guw.pl.diff teaches guw.pl the quotes. Now the path gets
translated to DOS notation, but only with single \.

This is not enough, for some reason rc needs \\ double backslashes,
see the 4nt part.

Btw. the $(APP2ICON:s/\//\/\//) part is wrong, the correct syntax would be:
$(APP2ICON:s!/!//!), but the double // are removed by guw.pl anyway.

The following tg_app.mk.diff fixes this for me. That is a patch for
tg_app.mk and for the APP2ICON part of _tg_app.mk

The entroll.btm is missing in the cws_... branches to generate the full
 _tg_xxx.mk files, and I don't want to change everything by hand.

ause: can you please generate a _tg_app.mk for cws_srx644_ooo_20030309 and
commit it.

Please approve

               Volker
Comment 1 quetschke 2003-03-03 17:43:21 UTC
Created attachment 4965 [details]
Patch for solenv/bin/guw.pl
Comment 2 quetschke 2003-03-03 17:44:09 UTC
Created attachment 4966 [details]
Patch for [_]tg_app.mk
Comment 3 quetschke 2003-03-03 17:45:07 UTC
I take this issue
Comment 4 quetschke 2003-03-03 23:05:25 UTC
Created attachment 4969 [details]
Found entroll.btm, full _tg_app.mk and tg_app.mk
Comment 5 quetschke 2003-03-04 10:19:36 UTC
Approval pending added.
Comment 6 hjs 2003-03-10 13:05:21 UTC
approved - looks fine to me...
Comment 7 quetschke 2003-03-11 09:07:26 UTC
waiting for an open cws_srx644_ooo... ...
Comment 8 quetschke 2003-03-27 08:48:26 UTC
Committed to: cws_srx644_ooo20030412
Comment 9 quetschke 2003-04-03 15:14:41 UTC
The following is a fix for my own patch.

Replacing
  tr -s '\' '\\'
with
  sed 'sX\\X\\\\Xg'
because tr cannot replace one char with multiple chars.
Comment 10 quetschke 2003-04-03 15:15:29 UTC
Created attachment 5441 [details]
Patch for _?tg_app.mk
Comment 11 quetschke 2003-04-03 15:20:01 UTC
Committed to cws_srx644_ooo20030412.
Comment 12 quetschke 2003-06-27 09:22:11 UTC
works
Comment 13 quetschke 2003-06-27 09:22:39 UTC
close
Comment 14 phochalbuse 2010-11-11 02:10:09 UTC
Created attachment 74032