kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #19263
Re: Stable release
2015-07-10 20:52 GMT+02:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
> On 7/6/2015 6:25 PM, Nick Østergaard wrote:
>>>>> I've only tested this on windows so please let me know if you find any
>>>>> issues on other platforms. For those of you who are using the msys2
>>>>> package builder file PKGBUILD to build kicad, please note that the msys2
>>>>> version of bzr is broken and will fail attempting to determine the bzr
>>>>> version. Please comment out the bzr source build dependency in PKGBUILD
>>>>> and use one of the native bzr windows installers instead. Make sure to
>>>>> add the bzr executable to your system path so CMake can find it during
>>>>> configuration. I will remove it from the PKGBUILD file and send a pull
>>>>> request to the msys2 devs when I get a chance.
>>>>
>>>> The PKGBUILD I am using is using git, because that is what the initial
>>>> PKGBUILD was based upon, and git has proven much easier to work with
>>>> in this regard too... bzr is very slow.
>>>>
>>>> With this I am currently patching the version string to calculate BZR
>>>> version string and also list the short git commit hash.
>>>>
>>>> Are you interested in merging this patch by now? It will also help
>>>> other people using git to build with. I guess I will have to apply
>>>> the new logic from CreateBzrVersionHeader.cmake to my
>>>> CreateGitVersionHeader.cmake.
>>>
>>> I will merge it if it helps create usable build version information.
>>
>> I hereby attach my patch, please consider it.
>>
>> Regards
>> Nick Østergaard
>>
>
> I managed to make a mess of this again. It appears that I must have
> been making changes to the CMake files which was forcing the version
> header file to get rebuilt. I did not fix the original issue of
> updating the version header when the repo version was updated. I just
> committed a fix which actually works (I hope). Please refactor your
> patch accordingly. It should be fairly trivial. Sorry about the mistake.
>
> Cheers,
>
> Wayne
I just tried to uplevel the patch, but I noticed that your latest
commit does not seem to work. I don't get a version.h file by doing a
regular cmake ../kicad-source
Follow ups
References