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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
