Re: [Lprof-devel] lprof/build/netbsd2 SConscript,NONE,1.1
Brought to you by:
hvengel
|
From: Hal V. E. <hv...@as...> - 2005-11-25 00:31:52
|
On Thursday 24 November 2005 04:07 pm, Greg Troxel wrote: > Update of /cvsroot/lprof/lprof/build/netbsd2 > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30823 > > Added Files: > SConscript > Log Message: > Initial version, modified from Linux's file. > Does not work due to qt issues, but a starting place. Greg I did some testing on the qt stuff for Debian and in the bug tracker I gave Alex something that needs to be tested by him. It worked on my Gentoo machine and may work for you. Have another look at bug #1365009. > > Much of this should probably be in a generic file included from linux > and netbsd. Yes I agree that much of this it probably is not platform specific. Most of the ???=env.Install lines starting with icon_files=env.... probably belong in the main SContruct file and probably the first env.Clean line as well. As these should also work on Windows and OS/X the way these are coded. It might also be possible to generalize the last two env.Clean lines and somehow include them in the main script. I will play around with this to see if I can get this to works. This would greatly simplify the platform specific scripts. > > > > --- NEW FILE: SConscript --- > # Copied from linux/SConscript 1.11, with 1,$s/linux/netbsd2/g > # $Id: SConscript,v 1.1 2005/11/25 00:07:04 lexort Exp $ > > # import these variables from the parent build script > from build_config import * > > Import('env', 'sources', 'ICCtoIT8_sources', 'moc_sources0', > 'moc_sources1', 'moc_sources2', 'moc_sources3', 'moc_sources4', > 'moc_sources5', 'moc_sources6', 'moc_sources7', 'idir_bin', 'idir_lib', > 'idir_prefix', 'idir_data') > > #liblprof=env.Library('lprof', liblprof_sources) > #print liblprof_sources > > #env.Install(idir_lib, liblprof) > #env.Alias('install', idir_prefix) > > icc2it8=env.Program(target='icc2it8', source=ICCtoIT8_sources) > > env.Install(idir_bin, icc2it8) > env.Alias('install', idir_prefix) > > # add the lprof target to the environment > lprof=env.Program(target='lprof', source=sources + moc_sources0 + > moc_sources1 + moc_sources2 + moc_sources3 + moc_sources4 + moc_sources5 + > moc_sources6 + moc_sources7) > > env.Install(idir_bin, lprof) > env.Alias('install', idir_prefix) > > # share_dir = env.Install(Dir(idir_data), Dir('../../data')) > # env.Alias('install', share_dir) > > #data_dir = env.Install(Dir(idir_data + '/data'), '../../data') > #env.Alias('install', data_dir) > > #desktop_dir = env.Install(Dir(idir_data + '/data/desktop'), > '../../data/desktop') #env.Alias('install', desktop_dir) > > #icons_dir = env.Install(Dir(idir_data + '/data/icons'), > '../../data/icons') #env.Alias('install', icons_dir) > > # install data files to $PREFIX/share/lprof > # will install but > > icon_files = env.Install(idir_data + '/data/icons/', > '../../data/icons/lprof.png') env.Alias('install', icon_files); > > desktop_files = env.Install(idir_data + '/data/desktop', > '../../data/desktop/Little CMS Profiler.desktop') env.Alias('install', > desktop_files) > > pic_files = env.Install(idir_data + '/data/pics', > ['../../data/pics/grayscale.tif', '../../data/pics/monitor patches.tif', > '../../data/pics/MonitorTemplate.it8', '../../data/pics/party_4s.png', > '../../data/pics/scandmo.png', '../../data/pics/srgb.it8'] ) > env.Alias('install', pic_files) > > profiles = env.Install(idir_data + '/data/profiles', > ['../../data/profiles/CIEE.icm', '../../data/profiles/scandmo.icm', > '../../data/profiles/sRGB Color Space Profile.icm'] ) env.Alias('install', > profiles) > > templates = env.Install(idir_data + '/data/template', > ['../../data/template/IT8_19.ITX', '../../data/template/IT8_22.ITX', > '../../data/template/KODAK.ITX'] ) env.Alias('install', templates) > > help_files = env.Install(idir_data + '/data/help', > ['../../data/help/lprof-help.html', '../../data/help/about.txt', > '../../data/help/checker.html', '../../data/help/gamma.html', > '../../data/help/handbook.png', '../../data/help/inst-ref.html', > '../../data/help/lprof.png', '../../data/help/lprof-help.adp', > '../../data/help/mon-val.html', '../../data/help/monitor.html', > '../../data/help/preferences.html', '../../data/help/profile-id.html', > '../../data/help/profile-parms.html', '../../data/help/corner.jpg', > '../../data/help/ufraw.html', '../../data/help/ufraw-1.jpg', > '../../data/help/ufraw-2.jpg', '../../data/help/ufraw-3.jpg'] ) > env.Alias('install', help_files) > > env.Clean('install', idir_data) > > env.Clean('icc2it8', ['../../build/netbsd2/ICCtoIT8']) > > env.Clean('lprof', ['../../build/netbsd2/checkerqt', > '../../build/netbsd2/gammaqt', '../../build/netbsd2/IDqt', > '../../build/netbsd2/liblprof', '../../build/netbsd2/libqtlcmswidgets', > '../../build/netbsd2/lprofqt', '../../build/netbsd2/monqt', > '../../build/netbsd2/parmsqt', '../../build/netbsd2/reference_inst_qt']) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Lprof-devel mailing list > Lpr...@li... > https://lists.sourceforge.net/lists/listinfo/lprof-devel |