Hi Roger,
2011/8/25 Roger Oberholtzer
I have a few items I would like to add to OBS, building for MinGW. I have worked with OBS making packages for openSUSE, but have not done so for MinGW. The packages I want to build do exist in openSUSE.
I am looking for advice about the least painful way to continue. I can:
1. start with the openSUSE spec for the package and adapt that
2. use a similar type of package from MinGW and adapt that
3. start from scratch
2. Is definately the best option here. There's quite some boilerplate like: %define __strip %{_mingw32_strip} #!BuildIgnore: post-build-checks echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} in the mingw spec files that is not very obvious, but is really needed. The OpenSUSE spec file can give you guidance, however, for how two divide the project into packages and how to build it in general.
I am soliciting advice on locating a good example of a spec for a package that:
- only provides libraries
- only provides an executable
- provides both
There's not really much difference for those.
Perhaps a well-written easily handles all these.
I am sure all the existing specs are fine. What I am after is one that is closest to doing it the preferred way on which I can base my additions.
The mingw32-fontconfig package is quite clean, only the chmod *.def line is extra. (And don't worry about keeping a changelog, OBS versioning works OK for that). Other things to consider: are you using patches that need autotools to be rerun (see mingw32-poppler) or do you want to automatically generate a -lang package (see mingw32-atk)
When these are done, I am sure they would be interesting to add to the MinGW repo. The packages I want to add are:
- proj
- libgd
- ImageMagick
- Tcl/Tk, including at lease these additional packages:
* Tix * Img * BLT * BWidget * tkTable * pixane * tklib * tkxml
Great. If you have finished them, please post to the list and we can review them. Maarten
Yours sincerely,
Roger Oberholtzer
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________
Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se
-- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mingw+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mingw+help@opensuse.org