Bug 11237 - Add --noCPAN-lite option for buildme.pl in SC
: Add --noCPAN-lite option for buildme.pl in SC
Status: RESOLVED FIXED
Product: SB Touch
Classification: Unclassified
Component: TinySC
: unspecified
: PC Windows XP
: P2 normal (vote)
: 8.0.0
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-03 05:30 UTC by Richard Titmuss
Modified: 2009-09-08 09:12 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Titmuss 2009-03-03 05:30:14 UTC
This would remove all the files from the install that the lite version of SC would not need. At the moment for the fab4 build I do:

	${S}/buildme.pl --build tarball --buildDir ${WORKDIR}/tmp --sourceDir ${S} --destDir ${WORKDIR} --destName squeezecenter --noCPAN
	tar -xzf ${WORKDIR}/squeezecenter-noCPAN.tgz
	mkdir -p ${D}/${prefix}/squeezecenter
	mv squeezecenter-noCPAN/* ${D}/${prefix}/squeezecenter
	rm -r ${D}/${prefix}/squeezecenter/Bin
	rm -r ${D}/${prefix}/squeezecenter/HTML
	rm -r ${D}/${prefix}/squeezecenter/Firmware
	rm -r ${D}/${prefix}/squeezecenter/MySQL
	rm -r ${D}/${prefix}/squeezecenter/Graphics/CODE2000.*

But this does not remove everything, for example HTML directories in plugins.
Comment 1 Michael Herger 2009-03-03 06:04:58 UTC
I might add some code to turn on the noweb flag if no HTML templates are available.
Comment 2 Michael Herger 2009-03-04 07:06:35 UTC
change 25321 add --light parameter to buildme.pl to exclude more files from the noCPAN tarball. Use "--noCPAN --light".

This change should remove all HTML templates, but leave eg. icons for radio stations in place. Additionally it removes the following plugins, which either don't work on fab4 or only are used when another player is connected

DateTime DigitalInput iTunes LineIn LineOut MusicMagic RSSNews Rescan SavePlaylist SlimTris Snow Plugin/TT/ Visualizer xPL
Comment 3 Richard Titmuss 2009-03-26 04:19:55 UTC
I need to update the poky scripts.
Comment 4 Alan Young 2009-04-22 00:46:42 UTC
I think we need to review carefully the list of plugins to include and exclude.

Note that I have hacked on the poky config some more.