[Pkg-pascal-devel] help needed

Paul Gevers elbrus at debian.org
Tue Dec 1 21:44:50 UTC 2015


Hi Abou,

On 22-11-15 20:46, Abou Al Montacir wrote:
> On Sun, 2015-11-22 at 19:55 +0100, Paul Gevers wrote:
>> Do you think that would still be acceptable by upstream? Well, either
>> way, we get the code in. So I guess we agree to fix getdatestr in
>> globals.pas, either with the code copied in (our first implementation
>> for now) and if upstream doesn't like that and rather has a dependency
>> on the unit, we go that route. If upstream rejects outright, we'll stick
>> to the getdatestr solution in Debian only.

> That is OK for me. Let's do it that way and then we can adapt depending
> on upstream fix later.
> I think there are several RTL functions that are copied in compiler
> code. So it may not hurt.

I used the attached patch, but any subsequent build of the fpcsrc/ide
without defining SOURCE_DATE_EPOCH fails to use the current date. Even
forcing SOURCE_DATE_EPOCH while building the IDE, still results in the
"about" window showing the timestamp of my fpc changelog, i.e. the value
of SOURCE_DATE_EPOCH of the compiling of fpcsrc/compiler/globals.pas. Do
you have a clue why this code is not dynamically checking for the
environmental variable, but instead seems to check the variable once.

I thought I finally understood how it worked, but apparently not.

Paul

PS, apart from this, I am ready to upload fpc 3.0.0 to experimental.
Then I want to rebuild all the reverse dependencies as described here:
https://wiki.debian.org/Teams/ReleaseTeam/Transitions before asking for
a transition slot in unstable. Yes I know we didn't do that before, but
it is the appropriate thing to do.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: honor_SOURCE_DATE_EPOCH_in_date.patch
Type: text/x-patch
Size: 2145 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20151201/a64f8e9f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20151201/a64f8e9f/attachment.sig>


More information about the Pkg-pascal-devel mailing list