Bug 2412 - some specs need to be modified and rpms to be rebuilt with freeglut instead of mesaglut
Summary: some specs need to be modified and rpms to be rebuilt with freeglut instead o...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 02:37 CEST by Philippe Didier
Modified: 2011-11-24 23:58 CET (History)
16 users (show)

See Also:
Source RPM: 22 srpms !
CVE:
Status comment:


Attachments

Description Philippe Didier 2011-08-12 02:37:31 CEST
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 ....
Philippe Didier 2011-08-12 02:44:03 CEST

CC: (none) => balcaen.john

Philippe Didier 2011-08-12 02:46:09 CEST

CC: (none) => ahmadsamir3891

Philippe Didier 2011-08-12 02:47:22 CEST

CC: (none) => jquelin

Philippe Didier 2011-08-12 02:47:57 CEST

CC: (none) => fundawang

Philippe Didier 2011-08-12 02:48:50 CEST

CC: (none) => ennael1

Philippe Didier 2011-08-12 02:49:31 CEST

CC: (none) => pterjan

Philippe Didier 2011-08-12 02:51:25 CEST

CC: (none) => dmorganec

Comment 1 Philippe Didier 2011-08-12 02:55:10 CEST
I have added some committers to the CC list but I don't know everyone's mail ...
Comment 2 Manuel Hiebel 2011-08-12 15:29:58 CEST
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

Comment 3 Samuel Verschelde 2011-08-12 16:39:46 CEST
briquolo (builds without the buildrequires) and gl-117 cleaned
Philippe Didier 2011-08-12 19:57:17 CEST

CC: (none) => jani.valimaa

Comment 4 Philippe Didier 2011-08-12 20:01:39 CEST
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
Comment 5 Jani Välimaa 2011-08-12 20:30:07 CEST
Looked this bug today morning, but didn't ring any bell then.. However, I'll clean audacious-plugins BRs.
Comment 6 Jani Välimaa 2011-08-12 21:50:44 CEST
Cleaned audacious-plugins BRs and looks like it doesn't need the whole {mesa,free}glut-devel BR.

So, audacious-plugins is "fixed".
Comment 7 Jerome Quelin 2011-08-13 17:40:49 CEST
perl-OpenGL fixed.
Comment 8 Philippe Didier 2011-08-13 19:23:29 CEST
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
Comment 9 Philippe Didier 2011-08-15 21:07:30 CEST
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 ...
Comment 10 Philippe Didier 2011-08-28 14:23:55 CEST
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...
Comment 11 Philippe Didier 2011-09-22 20:14:09 CEST
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
Comment 12 Manuel Hiebel 2011-09-22 20:24:53 CEST
so we can close this bug ?
Comment 13 Philippe Didier 2011-09-22 20:27:33 CEST
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)
Comment 14 Philippe Didier 2011-09-23 00:06:00 CEST
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 !
Comment 15 Philippe Makowski 2011-09-23 18:10:25 CEST
python-opengl fixed
Jani Välimaa 2011-09-23 18:53:36 CEST

CC: jani.valimaa => (none)

Comment 16 Philippe Didier 2011-09-23 19:11:32 CEST
(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 !)
Comment 17 Philippe Didier 2011-09-24 23:39:50 CEST
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
Comment 18 Pascal Terjan 2011-09-24 23:57:12 CEST
erlang-esdl does not use glut.
Comment 19 Philippe Didier 2011-09-25 03:52:32 CEST
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 !!!
Comment 20 Philippe Didier 2011-09-25 12:42:06 CEST
Post scriptum
If needed I can provide a complete sorted list of the modified packages (same as in #comment11
Comment 21 Funda Wang 2011-09-26 04:21:48 CEST
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.
Comment 22 Philippe Didier 2011-09-26 13:47:15 CEST
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 ?
Comment 23 Philippe Didier 2011-10-01 14:46:01 CEST
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 )
Comment 24 Philippe Didier 2011-10-04 13:51:34 CEST
mesa spec has been easily switched... and mesa rebuilt smoothly 
bug 2891

mesaglut may be dropped from cauldron repo!

And that's all folks !
Comment 25 Manuel Hiebel 2011-10-04 14:25:05 CEST
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

Comment 26 Philippe Didier 2011-10-06 01:03:56 CEST
mesaglut may be removed from tainted repo too
 
bug 2891

When this is done these 2 last bug reports will be definitively closed...
Comment 27 Manuel Hiebel 2011-11-24 23:58:59 CET
Seems there is no mesaglut anymore in the repository.
Thanks to all !!!

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.