Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-12

fpmkunit - support for listing of packages for install.dat updates (Was: Re: [Core] Short 8.3 archive-filenames by fpmake)

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tomas Hajny

On 30 Nov 14, at 1:48, FPC Core Developer List <core wrote:

Hi Joost,

.
.

Show quoted text 11 lines
I guess that I'll have a look at extending fpmkunit so that it allows extracting the metadata in a format compatible to install.dat (as used for the text-mode installer for Go32v2 and OS/2) to simplify addition of packages new since the previous release. It wouldn't automate it fully (that would require much more effort due to restrictions for the description length, possibility of keyboard shortcuts, etc.), but the effort especially when adding a bigger amount of packages at once (like now with the split utils ;-) ) would be much lower. Deriving this functionality from support for the Manifest command looks quite easy at the first sight. Obviously, I'll send you a patch for your review first.

.
.

As mentioned above, I've prepared a patch for fpmkunit to allow listing of packages in a way supporting simplification of updates of install.dat (the file used by the text-mode installer under OS/2 and GO32v2).

It works by adding a new command ('pkglist'). If used for standard packages (rather than 'utils'), '-zp units-' needs to be passed among fpmake options. I've added special recognition for explicit passing of 'osnone' as target OS which is used in this command to generate list of zip files with sources (instead of archive with compiled files). I had to use different rules for evaluation of the AllLimit83fsOSes (generation of files supporting manual editing of install.dat for its update in SVN should not depend on the host operating system where this operation is performed), but this special treatment is limited to this new command, of course.

Please, let me know what you think about it and if I may commit these changes.

Tomas

Reply by email

Joost van der Sluis
to Tomas Hajny
Tomas Hajny wrote 18 lines
As mentioned above, I've prepared a patch for fpmkunit to allow listing of packages in a way supporting simplification of updates of install.dat (the file used by the text-mode installer under OS/2 and GO32v2). It works by adding a new command ('pkglist'). If used for standard packages (rather than 'utils'), '-zp units-' needs to be passed among fpmake options. I've added special recognition for explicit passing of 'osnone' as target OS which is used in this command to generate list of zip files with sources (instead of archive with compiled files). I had to use different rules for evaluation of the AllLimit83fsOSes (generation of files supporting manual editing of install.dat for its update in SVN should not depend on the host operating system where this operation is performed), but this special treatment is limited to this new command, of course. Please, let me know what you think about it and if I may commit these changes.

I don't see anything strange. You could argue if this is the right moment to add such a functionality. But otoh it doesn't change any vital functionality, and if we don't do it now it will only be functional with the next release.

So go ahead.

Regars,

Joost.

Reply by email

Tomas Hajny
to Joost van der Sluis
Joost van der Sluis wrote 5 lines
On 12/06/2014 05:14 AM, Tomas Hajny wrote: > As mentioned above, I've prepared a patch for fpmkunit to allow > listing of packages in a way supporting simplification of updates of > install.dat (the file used by the text-mode installer under OS/2 and > GO32v2).

.
.

Show quoted text 6 lines
I don't see anything strange. You could argue if this is the right moment to add such a functionality. But otoh it doesn't change any vital functionality, and if we don't do it now it will only be functional with the next release. So go ahead.

Done.

The listing gives nice overview of missing package descriptions throughout the whole tree. I used it to add descriptions for at least some of them, but there are many more missing and I don't even know what they would be about in some cases.

One particular case is libogcfpc. This one is supposed to be built for all targets according to its fpmake.pp, although I strongly suspect that it doesn't make too much sense. The original Makefile.fpc.fpcmake seems to suggest that it was meant for powerpc- wii only - can someone have a look at it, please?

Tomas

Reply by email