Problem with BinryPackageBase
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sun Feb 28 13:17:02 CET 2010
Ralf Habacker schrieb:
>> When that's the way to go I'll maybe can move some more
>> win32libs-sources to the new buildsystem classes.
>>
> you are probably refering to win32libs-bin.
>
no, sources :)
>
> For converting win32libs binary package the main task will probably be
> to move/copy files with or without a specific filename pattern and
> directories with or without a directory name pattern from the source dir
> into the install dir.
>
> A generic solution may be to predefine a src/destination file/directory
> pattern list in the package and to extend BinaryPackageBase::install()
> class with the related copy/move implementation.
>
> The question is if it is worth to create a generic solution - i would
> say yes.
>
> The first step into this direction coule be to add a local related
> implementation (a single method) to the vlc Package, which could be
> easily extended and tested. If this implementation works mature, it
> could be added to the BinaryPackageBase class for having a generic feature.
>
> Just a note for writing package: in util.py there are convenience
> functions for the related shutils function with debugging support, which
> makes it easier to follow what is copied/moved .
>
I've adopted libxml2-src to BinaryPackageBase. The only additional
helper functions I can think of is to avoid the usage of
os.path.join( srcdir, ... ) and os.path.join( dstdir, ... )
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20100228/09723e47/attachment.sig
More information about the Kde-windows
mailing list