kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #06912
Re: [PATCH] 30 icons updated + new ico files generated
On 09/16/2011 07:43 AM, Wayne Stambaugh wrote:
> On 9/16/2011 12:42 AM, Dick Hollenbeck wrote:
>> On 09/14/2011 01:54 PM, jean-pierre charras wrote:
>>> Le 14/09/2011 20:24, Dick Hollenbeck a écrit :
>>>> On 09/14/2011 06:19 AM, fabrizio wrote:
>>>>> Hello,
>>>>> In this patch the following updates were made:
>>>>> - 30 icons/buttons were redrawn in accordance to various suggestions
>>>>> - updated all .ico images so that they now contain high resolution
>>>>> images (good for OS X)
>>>>> - a script to generate .ico file was added
>>>>> - some redundant buttons (like zoomoins3d.svg ) were deleted
>>>>>
>>>>> Regards
>>>>> Fabrizio
>>>>> PS sorry for the big patch but I do not understand how to not include
>>>>> the rebuilt .cpp icons. the touch suggestion did not seem to work.
>>>> I wonder what the delta is on the *.cpp files, even if they were re-written?
>>>>
>>>> If the PNG file is generated exactly the same on two runs, I would think that
>>>> "bzr diff" should not see this as a change in the *.cpp files.
>>>>
>>>> So we are perhaps still bringing some extraneous gunk into the PNG file, like a
>>>> date stamp or something?
>>>>
>>>> Dick
>>>>
>>> Previous .cpp files were rebuilt by me (because fabrizio sent me only .svg files).
>>> To avoid a lot of .cpp changes, I rebuilt .cpp files before commit the last patch from fabrizio.
>>>
>>> Seems a lot of changes were removed.
>>> I had a look to the patch file:
>>> Perhaps there are some changes due Inkscape or pngcrush version differences.
>>> In fact I am pretty sure differences are mainly due to End Of Line characters (LF versus CRLF)
>> The most recent "bzr update" has at last some of the cpp_26/*.cpp files with
>> CRLF in them.
> That was probably me when I was tweaking the CMake file for creating PNGs. The
> files were built on Windows when I was switching back an forth between
> platforms to make sure my changes worked correctly.
>
>> Also, no way yet to put this into the repo:
>> https://answers.launchpad.net/bzr/+question/123365
> This is IMO one of Bazaar's biggest flaws. Subversion handled the EOL issue
> transparently. I have to remember to never perform any repo maintenance in
> Linux because when I go back to Windows every text file will be tagged as
> modified. The only option I can think of is setting the Bazaar eol option to
> force either LF or CRLF no matter what the platform. Here is the documentation
> for using eol:
> http://doc.bazaar.canonical.com/bzr.2.4/en/user-reference/eol-help.html. The
> problem with this solution is every developer will have to remember to set up
> their Bazaar rules file correctly.
>
> Wayne
It's a small problem that we can work around, and we can carry the rules file
into the checkout.
It can be copied into the $BZRHOME directory, per some guidelines.
I'd go with "native" so that EOL translation happens during commit and
checkout. That gives you the SVN equivalence with one command line copy
operation, at only one point in time.
Dick
References