[Mageia-dev] Last versions of programs concerning Computer Assisted Music

PhilippeDidier philippedidier at laposte.net
Fri Mar 29 01:19:54 CET 2013


Barry Jackson a écrit :

> Thanks Philippe,
> 
> I have committed your changes (but somewhat shrunk ;) - please check it
> over and I will submit, as the group change is quite important.
> 
> Cheers,
> Barry
> 
Hi Barry

Sorry for being so late to answer


I tested the spec you commited
built ardour3-3.0.2
installed it
tested it : the symlinks are wrong ?!!!

Reused my own spec file
rebuild installed : the symlinks work ?!!!

Indeed :
 because of an artefact I couldn't see that the symlinks that I created
were wrong (leading to BUILDROOT/ardour3-3.0-1.mga2.i386 that had not
been deleted ... the links showed the icons )

I know why now !

Anyway there's a little typo in yours (ardour_icon_${i}x.png instead of
ardour_icon_${i}px.png)


Here is a new svndiff with corrected symlinks and the typo corrected
Better tested this time ;-)

I am sure the symlinks are correct (they needed a relative path !!!!)
I tested them several ways : they are all OK

I think you may commit and submit now

Regards
Philippe





-------------- next part --------------
Index: SPECS/ardour3.spec
===================================================================
--- SPECS/ardour3.spec	(révision 406066)
+++ SPECS/ardour3.spec	(copie de travail)
@@ -125,9 +125,9 @@
 for i in 16 22 32 48; do
 install -d -m 0755 %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps
 install -d -m 0755 %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/mimetypes
-ln -s %{buildroot}%{_datadir}/%{name}/icons/application-x-ardour_${i}px.png \
+ln -s ../../../../%{name}/icons/application-x-ardour_${i}px.png \
 %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/mimetypes/application-x-ardour3.png
-ln -s %{buildroot}%{_datadir}/%{name}/icons/ardour_icon_${i}x.png \
+ln -s ../../../../%{name}/icons/ardour_icon_${i}px.png \
 %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps/ardour3.png
 done
 


More information about the Mageia-dev mailing list