After some discussion on dev mailing list, in order to switch from GLUT (mesaglut) to freeglut in cauldron : some packages need to have their spec file modified and need to be rebuilt with a modified BuilRequire . Mikala provided a list (that has been shortened yet : thanks to Funda) These packages may be built with BuildRequire : glut-devel or BuildRequire : freeglut-devel (the freeglut-devel package provides glut standard headers, and freeglut headers : that means standard plus enhanced glut headers) instead of BuildRequire mesaglut-devel or libmesaglut-devel The list is in alphabetical order, with the name of the last commiter for each package : audacious-plugins:libmesaglut-devel :fwang boinc-client:mesaglut-devel :ahmad briquolo:mesaglut-devel :stormi calligra:mesaglut-devel :mikala celestia:libmesaglut-devel :mikala crack-attack:mesaglut-devel :ennael cultivation:mesaglut-devel :zezinho enblend:mesaglut-devel :mikala fltk2:mesaglut-devel :fwang gl-117:mesaglut-devel :zezinho stormi gle:libmesaglut-devel[>= 4.0.1] :ahmad libtiff:mesaglut-devel :pterjan mesa-demos:mesaglut-devel :pterjan navit:mesaglut-devel :tv perl-OpenGL:mesaglut-devel :jquelin python-opengl:mesaglut-devel :philippem qt3:mesaglut-devel :dmorgan quesoglc:mesaglut-devel :eandry ruby-rbogl:mesaglut-devel :shlomif supertuxkart:mesaglut-devel :dams teeworlds:mesaglut-devel :remmy xscreensaver:mesaglut-devel :ahmad NB some packages inherited of old BR that are maybe no more required ! In a first time we may try to build them without BR mesaglut-devel (or libmesaglut-devel). (Funda cleaned some of them this way : they need neither mesaglut nor glut nor freeglut anymore !) Funda started the job and doesn't seem to have had problems using BR glut for the modified spec file When this will have been done the mesa spec may be switched and mesaglut disappear and then freeglut may obsolete it ! Perhaps would it be better to write a bug report for each package with a link to this bug report ! Or simply add a comment with the name of the modified and rebuilt package and shorten the list ....
CC: (none) => balcaen.john
CC: (none) => ahmadsamir3891
CC: (none) => jquelin
CC: (none) => fundawang
CC: (none) => ennael1
CC: (none) => pterjan
CC: (none) => dmorganec
I have added some committers to the CC list but I don't know everyone's mail ...
you can found some mail here: http://www.mageia.org/wiki/doku.php?id=packaging#list_of_registered_people
CC: (none) => eandry, lists.jjorge, mageia, makowski.mageia, remco, shlomif, stormi, thierry.vignaud
briquolo (builds without the buildrequires) and gl-117 cleaned
CC: (none) => jani.valimaa
Thanks to Manuel : I didn't even thought about the wiki page !!! :-( I added wally to the cc list : he has just commited audacious plugin new version without being aware of the BR cleaning
Looked this bug today morning, but didn't ring any bell then.. However, I'll clean audacious-plugins BRs.
Cleaned audacious-plugins BRs and looks like it doesn't need the whole {mesa,free}glut-devel BR. So, audacious-plugins is "fixed".
perl-OpenGL fixed.
I found some other packages to add to the list with the name of the last commiters: jasper :libmesaglut-devel : dmorgan gpac : mesaglut-devel : fwang and last but not least, the worst of all : ocaml-lablgl :mesaglut-devel : mikala (it's hidden by the fact that the BR is the meta package "mesa-common-devel" which includes mesaglut-devel for now, and will not after the switch... line 70 and 109 and 128 of the spec file ring the bells !) it's one inconvenient of the use of metapackages... That leeds to another bug (2421) in mesa spec file line 371 : Requires libfreeglut-devel instead of libglut-devel ! NB those two packages existed in mandriva and haven't yet been ported... libmgl-glut5 pymol if anyone import them he will have to modify the spec file too
And now the last list of possibly hidden BuildRequire for mesaglut-devel : Those packages need mesa-common-devel as BuildRequire.... we can't know easily if they need each of the components of this meta package and so if they need or not mesaglut-devel! and if they may be built with freeglut-devel instead of mesaglut-devel... erlang-esdl :ennael foobillard (quite shure it needs mesaglut: it needed it for Mandriva) :dmorgan irrlicht :dams jogl : grenoya ocamlablgtk2 :fwang scourge :zezinho torcs (quite shure it needs mesaglut : it needed it for Mandriva) :stormi warzone :fwang xlockmore :ahmad Maybe in a first time is it necessary to write in extenso the BuildRequires in their spec file BR mesaegl-devel BR mesagl-devel BR mesaglu-devel BR mesaglut-devel BR mesaglw-devel BR mesaglesv1-devel BR mesaglesv2-devel instead of BR mesa-common-devel and then try to build without mesaglut-devel and if necessary try to build with freeglut-devel I can understand why this bug remained not solved for more than 2 years in Mandriva https://qa.mandriva.com/show_bug.cgi?id=47090 Mageia may not inherit of the consequences of an old initial wrong choice by Mandriva (it's not strictly a problem of GPL of GLUT ... it's also a problem with a frozen component that doesn't offer as much usability as freeglut to developpers) Hope this will help and thanks for what has been already done ...
9 packages have yet been corrected Cleaned packages : -1) don't require glut anymore : hugin : 0 :fwang (did it during discussion on dev ML) openscengraph:0 :fwang (did it during discussion on dev ML) audacious-plugins: 0 :fwang walli briquolo: 0 :stormi -2) switched to freeglut vegastrike: freeglut-devel :fwang (did it during discussion on dev ML) gl-117:glut-devel :zezinho stormi perl-OpenGL:glut-devel :jquelin calligra:freeglut-devel :mikala (corrected by fwang) -3) no more using BR mesa-common-devel but exhaustive *-devel list : -3a) don't require glut anymore : warzone :fwang -3b)switched to freeglut : ? I open a bug report for each of those which remain uncorrected (with a cc for the last known committer) : it's maybe easier to correct each bug than to read the list...
22 Cleaned packages : 1) don't require glut anymore : audacious-plugins: 0 :fwang walli briquolo: 0 :stormi celestia: :fwang fltk2: 0 :fwang openscengraph:0 :fwang (during discussion on dev ML) qt3: 0 :fwang 2) switched to freeglut calligra:freeglut-devel :fwang cultivation:freeglut-devel (& mesaglu) :corrected by zezinho and Funda enblend:freeglut-devel (& mesaglu) :fwang gl-117:glut-devel :stormi gpac : freeglut-devel :fwang hugin : freeglut-devel :fwang (during discussion on dev ML) perl-OpenGL:glut-devel :jquelin vegastrike: freeglut-devel :fwang (during discussion on dev ML) xscreensaver: freeglut-devel (& mesaglu):fwang 3) no more using BR mesa-common-devel but exhaustive *-devel list : 3a) don't require glut anymore : irrlicht :fwang ocamlablgtk2 :fwang warzone :fwang xlockmore :fwang 3b) switched to freeglut : foobillard (freeglut-devel & mesaglu) :fwang) jogl (mesagl*-devel &freeglut-devel) :grenoya torcs (freeglut) :kharec & Funda
so we can close this bug ?
No ! 15 Remaining packages to clean (with the last submitter and bug report number): boinc-client:mesaglut-devel :ahmad #2531 crack-attack:mesaglut-devel :ennael #2533 gle:libmesaglut-devel[>= 4.0.1] :ahmad #2537 jasper :mesaglut-devel :dmorgan #2539 (no longer need glut?) libtiff:mesaglut-devel :pterjan #2540 mesa-demos:mesaglut-devel :pterjan #2541 navit:mesaglut-devel :tv #2542 python-opengl:mesaglut-devel :philippem #2543 quesoglc:mesaglut-devel :eandry #2545 ruby-rbogl:mesaglut-devel :shlomif #2546 supertuxkart:mesaglut-devel :dams #2547 teeworlds:mesaglut-devel :remmy #2548 xorg-x11-devel :tv #2748 (this one needs all others packages having been cleaned : it's only a metapackage having Require mesaglut ) Packages using mesa-common-devel (and so maybe mesaglut...) erlang-esdl :ennael #2550 ocaml-lablgl: mesaglut-devel :mikala #2549 One package already cleaned but not yet pushed in the Build system : scourge :zezinho not yet submitted #2555 When all these packages are cleaned the switch in mesa spec file may be done and freeglut may replace mesaglut (which may be removed from the repo)
2 others cleaned : mesa-demos : pterjean ruby-rbogl : shlomif scourge pushed : zezinho most of he remaining ones seem not to have a maintainer ... It may be a training job for mentored apprentices... not making them automatically the maintainers of the package ;) but only allowing to finish the cleaning !
python-opengl fixed
CC: jani.valimaa => (none)
(30 months in mandriva and nothing is yet done... 1 month in Mageia and it's quite finished ) 6 Remaining packages to clean and rebuild: crack-attack:mesaglut-devel :ennael #2533 gle:libmesaglut-devel[>= 4.0.1] :ahmad #2537 quesoglc:mesaglut-devel :eandry #2545 teeworlds:mesaglut-devel :remmy #2548 Packages using mesa-common-devel (and so maybe mesaglut...) erlang-esdl :ennael #2550 ocaml-lablgl: mesaglut-devel :mikala #2549 (after this one is rebuilt perhaps need to rebuild : ocaml-lablgtk2 already cleaned by fwang #2554 but having BR ocaml-lablgl) After that is done one line to modify in the metapackage xorg-x11-devel : #2748 And mesa.src may be definitely switched without mesaglut in cauldron... Huge job thanks to everybody (especially to Funda !)
Thanks to Funda who cleaned 5 packages (not so simple to do as we might think...) 1 only package to clean and rebuild: erlang-esdl :ennael #2550 NB this package was built with mesa-common-devel ... It is not sure that it depends on any glut stuff
erlang-esdl does not use glut.
No package has BR mesaglut-devel any more ... All the ones that really needed it have been switched to freeglut... One thing remains to do and can be done now one line to modify in the metapackage xorg-x11-devel : #2748 When that is done this bug report may be considered as fixed ! And mesa spec file that waited for that may be switched too ... Thanks to John Balcaen & Funda and Manuel Hiebel who organised it on dev-mailing-list and here. and thanks to dmorgan grenoya jquelin kharec philippem pterjean shlomif stormi zezinho and Funda again !! They cleaned, corrected, adapted and rebuilt 37 packages !!!
Post scriptum If needed I can provide a complete sorted list of the modified packages (same as in #comment11
I guess we'll need to ditch x11 meta package from distro. The only use of it nowadyas is providing X11-devel meta development package. I'll begin to cleanup the BRs of X11-devel and XFree86-devel at a later time.
OK ! But until the BRs are modified in xorg-x11-devel, freeglut may not obsolete mesaglut nor we may remove mesaglut from the repo I don't know if Thierry Vignaud may already switch the mesa spec file We let this opened as a reminder ... May I open new bug reports depending on it to modify the spec files of mesa and freeglut ?
Stormi cleaned xorg-x11-devel (thanks to him) 2 steps remain 1) mesa spec may now be switched (I open a new bug report for it) 2)mesaglut and mesaglut-devel may be then dropped out of the repo (manually or kicked by freeglut )
mesa spec has been easily switched... and mesa rebuilt smoothly bug 2891 mesaglut may be dropped from cauldron repo! And that's all folks !
If the ok update will run smoothly, I see no objection (I know nothing about packaging). (add sysadmin to the CC list)
CC: (none) => sysadmin-bugs
mesaglut may be removed from tainted repo too bug 2891 When this is done these 2 last bug reports will be definitively closed...
Seems there is no mesaglut anymore in the repository. Thanks to all !!!
Status: NEW => RESOLVEDResolution: (none) => FIXED