You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(76) |
Jun
(1) |
Jul
|
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(53) |
Feb
(31) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(1) |
2004 |
Jan
(5) |
Feb
(52) |
Mar
(23) |
Apr
(40) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(2) |
Nov
(5) |
Dec
|
2005 |
Jan
|
Feb
(5) |
Mar
|
Apr
(8) |
May
(6) |
Jun
(5) |
Jul
|
Aug
(2) |
Sep
|
Oct
(3) |
Nov
|
Dec
(4) |
2006 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(20) |
May
(2) |
Jun
(31) |
Jul
(30) |
Aug
(20) |
Sep
(1) |
Oct
|
Nov
(14) |
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(37) |
Jul
(8) |
Aug
(10) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(15) |
Apr
(4) |
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
(11) |
Oct
(4) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(9) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(18) |
Aug
(3) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: <pat...@us...> - 2007-06-28 20:16:11
|
Revision: 610 http://svn.sourceforge.net/xml-cppdom/?rev=610&view=rev Author: patrickh Date: 2007-06-28 13:16:14 -0700 (Thu, 28 Jun 2007) Log Message: ----------- In the CppDOM .fpc file, set the installation path relative to the location of the .fpc file as determined when flagpoll is run. This works around a long-standing problem with the CppDOM installation procedure when packaging a CppDOM release since staging areas are generally used to perform the installation prior to packaging, but this staging area is not the actual installation location (of course). Submitted by: Doug McCorkle < mccdo at iastate dot edu > Modified Paths: -------------- trunk/SConstruct trunk/cppdom.spec Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-27 21:05:13 UTC (rev 609) +++ trunk/SConstruct 2007-06-28 20:16:14 UTC (rev 610) @@ -141,7 +141,9 @@ base_inst_paths['lib'] = pj(base_inst_paths['base'], 'lib') base_inst_paths['flagpoll'] = pj(base_inst_paths['lib'], 'flagpoll') base_inst_paths['bin'] = pj(base_inst_paths['base'], 'bin') + base_inst_paths['flagpollPrefix'] = pj('${fp_file_cwd}' ,'..' ,'..') include_dir = pj(base_inst_paths['base'], 'include') + base_inst_paths['includePrefix'] = pj( base_inst_paths['flagpollPrefix'], 'include') if common_env['versioning']: version_suffix = "-%s_%s_%s" % CPPDOM_VERSION @@ -150,6 +152,8 @@ if not sys.platform.startswith('win'): include_dir = pj(base_inst_paths['base'], 'include', "cppdom-%s.%s.%s" % CPPDOM_VERSION) + base_inst_paths['includePrefix'] = pj( base_inst_paths['includePrefix'], + "cppdom-%s.%s.%s" % CPPDOM_VERSION ) else: version_suffix = '' @@ -170,10 +174,13 @@ print " Processing combo: ", ", ".join(['%s:%s'%(i[0],i[1]) for i in combo.iteritems()]) inst_paths = copy.copy(base_inst_paths) + inst_paths['libPrefix'] = pj(inst_paths['flagpollPrefix'], 'lib') if GetPlatform() != "win32" and "debug" == combo["type"]: - inst_paths["lib"] = pj(inst_paths["lib"],"debug") + inst_paths["lib"] = pj(inst_paths["lib"],"debug") + inst_paths['libPrefix'] = pj(inst_paths['libPrefix'],'debug') if "x64" == combo["arch"]: inst_paths['lib'] = inst_paths['lib'] + '64' + inst_paths['libPrefix'] = inst_paths['libPrefix'] + '64' cppdom_shared_libname = 'cppdom' + shared_lib_suffix + version_suffix cppdom_static_libname = 'cppdom' + static_lib_suffix + version_suffix @@ -224,14 +231,14 @@ # Build up substitution map submap = { '@provides@' : provides, - '@prefix@' : inst_paths['base'], + '@prefix@' : inst_paths['flagpollPrefix'], '@exec_prefix@' : '${prefix}', '@cppdom_cxxflags@' : cppdom_cxxflags, - '@includedir@' : inst_paths['include'], + '@includedir@' : inst_paths['includePrefix'], '@cppdom_extra_cxxflags@' : '', '@cppdom_extra_include_dirs@' : '', '@cppdom_libs@' : cppdom_libs, - '@libdir@' : inst_paths['lib'], + '@libdir@' : inst_paths['libPrefix'], '@arch@' : arch, '@version@' : cppdom_version_str } Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-27 21:05:13 UTC (rev 609) +++ trunk/cppdom.spec 2007-06-28 20:16:14 UTC (rev 610) @@ -76,8 +76,6 @@ %install [ -z %{buildroot} ] || rm -rf %{buildroot} - -lib_subdir=`echo %{_libdir} | sed -e "s|%{_prefix}/\(.*\)|\1|"` CXXFLAGS="$RPM_OPT_FLAGS" LINKFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS @@ -85,8 +83,6 @@ scons prefix=%{buildroot}%{_prefix} var_arch=%{arch} var_type=optimized build_test=no install mkdir -p %{buildroot}%{_docdir}/cppdom-%{version} mv doc/html %{buildroot}%{_docdir}/cppdom-%{version} -sed -i -e 's|%{buildroot}||g' %{buildroot}%{_libdir}/flagpoll/*.fpc -sed -i -e 's|%{buildroot}||g' %{buildroot}%{_bindir}/cppdom-config # Remove all stupid scons temp files find %{buildroot}%{_prefix} -name .sconsign -exec rm {} \; for f in README AUTHORS ChangeLog COPYING ; do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-27 21:05:11
|
Revision: 609 http://svn.sourceforge.net/xml-cppdom/?rev=609&view=rev Author: patrickh Date: 2007-06-27 14:05:13 -0700 (Wed, 27 Jun 2007) Log Message: ----------- cppdom-config is not supposed to be part of cppdom-devel. Modified Paths: -------------- trunk/cppdom.spec Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-27 16:43:00 UTC (rev 608) +++ trunk/cppdom.spec 2007-06-27 21:05:13 UTC (rev 609) @@ -1,7 +1,7 @@ # Spec file for cppdom. %define name cppdom %define version 0.7.8 -%define release 1 +%define release 2 Name: %{name} Summary: A C++ based XML loader and writer with an internal DOM representation. @@ -113,7 +113,6 @@ %files devel %defattr(-, root, root) -%{_bindir}/cppdom-config %dir %{_includedir}/cppdom-%{version}/ %dir %{_includedir}/cppdom-%{version}/cppdom/ %{_includedir}/cppdom-%{version}/cppdom/*.h @@ -132,6 +131,9 @@ %doc %{_docdir}/cppdom-%{version}/html %changelog +* Wed Jun 27 2007 Patrick Hartling <pa...@in...> 0.7.8-2 +- Removed cppdom-config from the cppdom-devel package. + * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.8-1 - Updated to version 0.7.8. - Include rendered API documentation in the new cppdom-doc package. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-27 16:43:05
|
Revision: 608 http://svn.sourceforge.net/xml-cppdom/?rev=608&view=rev Author: patrickh Date: 2007-06-27 09:43:00 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Use a static version of SConsAddons (r302) for the CppDOM 0.7.8 release. Added Paths: ----------- tags/0.7.8/deps/scons-addons/ tags/0.7.8/deps/scons-addons/AUTHORS tags/0.7.8/deps/scons-addons/COPYING tags/0.7.8/deps/scons-addons/ChangeLog tags/0.7.8/deps/scons-addons/README tags/0.7.8/deps/scons-addons/TODO tags/0.7.8/deps/scons-addons/src/ tags/0.7.8/deps/scons-addons/src/SConsAddons/ tags/0.7.8/deps/scons-addons/src/SConsAddons/AutoDist.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Builders.py tags/0.7.8/deps/scons-addons/src/SConsAddons/EnvironmentBuilder.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/ tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Boost.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Cal3D.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/CppDom.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/CppUnit.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/FlagPollBasedOption.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/GMTL.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/OSG.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/OpenSG.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/OpenSG2.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Options.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/OptionsTest.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Plexus.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/PyJuggler.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Pyste.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/SDL.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VRJuggler/ tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VRJuggler/JugglerCommon.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VRJuggler/VRJ.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VRJuggler/Vapor.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VRJuggler/__init__.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/VTK.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/WxWidgets.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Xerces.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/Zipios.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Options/__init__.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Util.py tags/0.7.8/deps/scons-addons/src/SConsAddons/Variants.py tags/0.7.8/deps/scons-addons/src/SConsAddons/__init__.py tags/0.7.8/deps/scons-addons/templates/ tags/0.7.8/deps/scons-addons/templates/__init__.py tags/0.7.8/deps/scons-addons/templates/code.py Property Changed: ---------------- tags/0.7.8/deps/ Property changes on: tags/0.7.8/deps ___________________________________________________________________ Name: svn:externals - scons-addons https://realityforge.vrsource.org/svn/scons-addons/trunk/scons-addons Added: tags/0.7.8/deps/scons-addons/AUTHORS =================================================================== --- tags/0.7.8/deps/scons-addons/AUTHORS (rev 0) +++ tags/0.7.8/deps/scons-addons/AUTHORS 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,4 @@ +Allen Bierbaum <al...@vr...> +Josh Brown <br...@ia...> +Ben Scott <bs...@vr...> + Added: tags/0.7.8/deps/scons-addons/COPYING =================================================================== --- tags/0.7.8/deps/scons-addons/COPYING (rev 0) +++ tags/0.7.8/deps/scons-addons/COPYING 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: tags/0.7.8/deps/scons-addons/ChangeLog =================================================================== --- tags/0.7.8/deps/scons-addons/ChangeLog (rev 0) +++ tags/0.7.8/deps/scons-addons/ChangeLog 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,78 @@ +DATE AUTHOR CHANGE +---------- ------------ ------------------------------------------------------- +2006-07-05 allenb Significant refactoring of Options code. + Options object interface is not simplified and more + flexible for adding options to environments. + Add ListOption, SeparatorOption. + NEW VERSION: 0.1.0 +2006-07-02 allenb Added BooleanOption. +2005-08-18 allenb Pyste Option: Added cache environment flag and param. +2005-08-18 allenb OpenSG Options: + - Minimize calls to osg-config + - Capture defines + - Add flag for putting options in cpppath +2005-07-30 allenb Make OpenSG option smarter about handling opts + and libs. Delay calling osg-config until necessary. +2005-05-13 allenb Added a couple of globs to utils to test out. +2005-04-14 allenb Moved over to subversion. +2004-11-17 allenb Added utility method to get a relative path + from a known path and base directory. +2004-11-10 allenb Refactored AutoDist to make better use of FileBundles. + Now packages can have multiple file bundles and + files bundles can have their own install prefix. + Fix relative path handling with FileBundles. +2004-09-24 allenb Updated Boost python to get more info from python + about current version, libs, etc. This allows building + with 2.2 or 2.3 (or future versions hopefully). +2004-05-31 allenb Added option to updateEnv for boost and vapor options + to explicitly tell it to update CPPPATH with include + paths. +2004-04-16 allenb Removed auto-creation of install alias in AutoDist. + This was causing problems when multiple packages + install to the same prefix. +2004-04-14 allenb Added RPM packager. +2004-04-14 allenb Added support for packagers. +2004-04-13 allenb Refactor AutoDist to make it handle files and prefixes + better. +2004-03-25 allenb Require param to boost option stating wether to use + debug and multi-threaded libraries. This should help + avoid problems that occur if you just let the defaults + get used. +2004-03-09 allenb Updated pyste builder to scons 0.95 +2004-03-06 allenb Updated the autodist factory methods for libs and + programs to use the package environment by default. +2004-03-06 allenb Add smarter search for boost include path. +2004-02-27 allenb Added OpenSG option set. +2004-02-25 allenb Updated Options code so options with multiple keys + could have help text per option. + Fixed boost option to work with the new boost build. +2003-12-30 allenb Fixed problem with boost/filesystem/operations.hpp in + Boost options class. +2003-12-22 allenb Added FileBundle object for installing sets of files + within a package. + NEW VERSION: 0.0.10 +2003-11-20 allenb Added new util methods for getting paths in SConscripts + NEW VERSION: 0.0.9 +2003-11-19 allenb Fixed bug in pyste option when script does not exist. +2003-11-10 allenb Added builder for package config scripts. +2003-11-10 allenb Removed global Prefix() method replacing it with + storing the prefix in the autodist package instead. +2003-10-?? allenb Added support for Pyste +2003-09-09 allenb Added install prefixes to all AutoDist packages. + NEW VERSION 0.0.8 +2003-09-09 allenb Added isBuilt interface. + Fixed bug that prevented libraries from building in + build directories + NEW VERSION 0.0.7 + allenb major refactoring of system + NEW VERSION 0.0.6 + NEW VERSION 0.0.5 + NEW VERSION 0.0.4 + NEW VERSION 0.0.3 + NEW VERSION 0.0.2 +2003-08-22 allenb Initial version + NEW VERSION 0.0.1 +2003-08-22 allenb Added initial implementation of Options addon. + NEW VERSION 0.1.0 + + Added: tags/0.7.8/deps/scons-addons/README =================================================================== --- tags/0.7.8/deps/scons-addons/README (rev 0) +++ tags/0.7.8/deps/scons-addons/README 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,81 @@ +o------------------------------------------------------------------------------o +|Scons-addons +| +o------------------------------------------------------------------------------o + +o------------------------------------------------------------------------------o +| What is it? +o------------------------------------------------------------------------------o + +This project is a collection of addons for the scons build system. + +See: http://www.scons.org + +o------------------------------------------------------------------------------o +| Why does this project exist? Why not just put this all in SCons? +o------------------------------------------------------------------------------o +There are two answers for this question: + +First, this allows for a place to test new addon capabilities that *may* end up +in scons in the long term for all I know. + +Second, SCons doesn't have to be a kitchen sink of everything under the sun. +Many things can be written as addons to SCons that are distributed and used +separately. That is where this project comes in. + +o------------------------------------------------------------------------------o +| Requirements +o------------------------------------------------------------------------------o + +We generally require the latest released version of scons. Some addons may require the CVS version though. + +o------------------------------------------------------------------------------o +| Installation +o------------------------------------------------------------------------------o + +To install system-wide: +cd scons-addons/src +cp -r SconsAddons /path/to/python/lib/site-packages/ + +If you do not want scons-addons installed in a standard location for python files you +will need to set your PYTHONPATH variable to reflect where it is installed at. +For example: + +(bash) +export PYTHONPATH=/home/username/scons-addons/src + +(csh based shells) +setenv PYTHONPATH /home/username/scons-addons/src + +o------------------------------------------------------------------------------o +| Documentation +o------------------------------------------------------------------------------o + +o------------------------------------------------------------------------------o +| License: GPL +o------------------------------------------------------------------------------o + +This file is part of scons-addons. + +Scons-addons is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +Scons-addons is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with scons-addons; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +o------------------------------------------------------------------------------o +| Questions +o------------------------------------------------------------------------------o + + Please feel free to email comments, questions, suggestions, etc to + + sco...@re... Property changes on: tags/0.7.8/deps/scons-addons/README ___________________________________________________________________ Name: svn:eol-style + native Added: tags/0.7.8/deps/scons-addons/TODO =================================================================== --- tags/0.7.8/deps/scons-addons/TODO (rev 0) +++ tags/0.7.8/deps/scons-addons/TODO 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,7 @@ +- Option handling must be improved + +There is a problem with the way options and build environments interact in scons-addons. For example consider how an option should validate and set itself if we are using debug runtimes and compile flags vs. using optimized run-times. + +We do not have a good way to take this into account to know what the correct way to use this is. + +Release. Added: tags/0.7.8/deps/scons-addons/src/SConsAddons/AutoDist.py =================================================================== --- tags/0.7.8/deps/scons-addons/src/SConsAddons/AutoDist.py (rev 0) +++ tags/0.7.8/deps/scons-addons/src/SConsAddons/AutoDist.py 2007-06-27 16:43:00 UTC (rev 608) @@ -0,0 +1,1061 @@ +""" +AutoDist + +Automatic distribution builder and packager for SCons. + +""" +############################################################## autodist-cpr beg +# +# AutoDist - Automatic distribution builder and packager for +# SCons-based builds +# AutoDist is (C) Copyright 2002 by Ben Scott +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. +# +# ----------------------------------------------------------------- +# File: $RCSfile$ +# Date modified: $Date: 2006-11-30 10:56:55 -0600 (Thu, 30 Nov 2006) $ +# Version: $Revision: 248 $ +# ----------------------------------------------------------------- +############################################################## autodist-cpr end + +__version__ = '0.2.1' +__author__ = 'Ben Scott and Allen Bierbaum' + + +import os +from os import path +import stat +import re + +import SCons.Defaults +import SCons.Environment +import SCons.Node.FS +import SCons.Util +import types +import re +import time +import glob +import shutil + +pj = os.path.join + + +# SCons shorthand mappings +Action = SCons.Action.Action +Builder = SCons.Builder.Builder +Environment = SCons.Environment.Environment +File = SCons.Node.FS.default_fs.File +Value = SCons.Node.Python.Value + +config_script_contents = "" + +class InstallableFile: + """ Class to wrap any installable file. ex. progs, libs, headers, docs, etc """ + def __init__(self, fileNode, prefix=""): + """ fileNode - The scons node for the file. + prefix - The prefix to use for the file (munus the package/bundle prefix) + """ + assert isinstance(fileNode, SCons.Node.Node), "Installable file called with non file node: [%s]"%str(fileNode) + self.fileNode = fileNode + self.prefix = prefix + + def __str__(self): + """ an installable file's string representation is its prefix/name.""" + if prefix: + return path.join(prefix, str(fileNode)) + else: + return str(fileNode) + + def getFileNode(self): + return self.fileNode + + def getPrefix(self): + return self.prefix + + +class Header(InstallableFile): + """ This class is meant to wrap a header file to install. """ + def __init__(self, fileNode, prefix=""): + InstallableFile.__init__(self, fileNode, prefix) + + +class FileBundle: + """ Wrapper class for a group of files to bundle together to install, archive, etc. + + This class provides a method to hold a group of files together with their destination + structure information. Then it can be used to call install builders to setup an + install where needed. + + One area of note is prefix handling. To allow maximum flexibility there are + several prefixes used. + + When built, a prefix is passed as a base prefix (build_prefix) + The file bundle has a prefix (bundle_prefix). + Each bundled file has a prefix (file.prefix added when files is added). + If path to the added file has a prefix it is added on as well. + + Final file location: build.prefix/bundle.prefix/passed_prefix/file.prefix/file.name + """ + + def __init__(self, bundlePrefix=""): + """ + Construct file bundle object. + """ + self.files = [] # Installable files of class InstallableFile + self.bundlePrefix = bundlePrefix + self.built = False + + def addFiles(self, files, prefix = "", useRelPath=True): + """ + Add these files to the list of installable files. + The list can either be string file names or File() nodes. + files - List of files to add to bundle. + prefix - A common prefix to use for all installed files (beyond the bundle prefix) + useRelPath - If true, append the relative path in the file to + the prefix to get the real full install path. + """ + if not SCons.Util.is_List(files): + files = [files] + + for f in files: # For all files + local_dir_prefix = "" + # If we are a string filename create file object + if not isinstance(f, SCons.Node.FS.Base): + f = File(f) + if useRelPath: + local_dir_prefix = str(f.dir) + install_file = InstallableFile(f, pj(prefix, local_dir_prefix)) + self.files.append(install_file) # Append it on + + def getFiles(self): + return self.files + + def buildInstall(self, env=None, installPrefix="", ignoreBuilt=False): + """ + Calls install builder to setup the installation of the packaged files. + Installs all files using the env environment under prefix. + NOTE: file is installed into: installPrefix/bundle.prefix/passed_prefix/file.prefix/file.name + + NOTE: Whatever the current directly is when this is called is the directory + used for the builder command associated with this assembly. + + Returns list of the Install() targets. + ifgnoreBuilt - If true, just rebuild for the given environment and don't test/set the built flag. + """ + if not ignoreBuilt: + assert not self.built + self.built = True + + # Clone the base environment if we have one + if env: + env = env.Copy() + else: + env = Environment() + + ret_targets = [] + + # Install the files from the bundle + common_prefix = pj(installPrefix, self.bundlePrefix) + name = common_prefix + if hasattr(self,"name"): + name = self.name + #print "FileBundle-[%s]: buildInstall: "%name + + for f in self.files: + fnode = f.getFileNode() + target_dir = path.join(installPrefix, self.bundlePrefix, f.getPrefix()) + #print " file:[%s] --> target dir: [%s]"%(str(fnode),target_dir) + inst_tgt = env.Install(target_dir, fnode) + ret_targets.append(inst_tgt) + + return ret_targets + + +# ############################################################################ # +# ASSEMBLIES +# ############################################################################ # +class _Assembly: + """ Base class for all assembly types that can be managed by a package. + This is an abstract type that provides common functionality and interface for all assemblies. + """ + def __init__(self, pkg, baseEnv, prefix=""): + """ + Constructs a new Assembly object with the given name within the given + environment. + """ + self.package = pkg # The package object we belong to + self.built = False; # Flag set once we have been built + self.installPrefix = prefix; # Default install prefix + + # Clone the base environment if we have one + if baseEnv: + self.env = baseEnv.Copy() + else: + self.env = Environment() + + def setInstallPrefix(self, prefix): + self.installPrefix = prefix + + def getInstallPrefix(self): + return self.installPrefix + + def isBuilt(self): + return self.built + + def build(self): + """ + Sets up the build targets for this assembly. + May only be called once. + NOTE: Whatever the current directly is when this is called is the directory + used for the builder command associated with this assembly. + """ + + # Now actually do the build + self._buildImpl() + self.built = True; + + + +class FileBundleAssembly(_Assembly): + """ Wrapper class for a group of files to manage in an assembly for packaging. + + One area of note is prefix handling. To allow maximum flexibility there + are several used prefixes. + + The file bundle has a prefix (this is relative to the package prefix). + Each bundled file has a prefix (added when files is added). + If path to the added file has a prefix it is added on as well. + + Final file location: package.prefix/filebundle.prefix/added.prefix/file.prefix/file_name + """ + + def __init__(self, pkg, baseEnv, prefix=""): + """ + Construct file bundle object. + prefix - Prefix to install the files (relative to package) + pkg - The package this bundle is a part of + baseEnv - The environment that this bundle should be included in + """ + print "WARNING: Usage of FileBundleAssembly is deprecated." + _Assembly.__init__(self, pkg, baseEnv, prefix) + + self.files = [] # Installable files of class InstallableFile + self.built = False # Flag set once we have been built + + def addFiles(self, files, prefix = None): + """ + Add these files to the list of installable files. They will be installed as: + package.prefix/self.prefix/prefix/file_prefix. The list must come + in as strings as they are processed through File(). + files - List of filenames (file nodes should also work) + """ + if not SCons.Util.is_List(files): + files = [files] + + for fn in files: # For all filenames + local_dir_prefix = "" + if not isinstance(fn, SCons.Node.FS.Base): # If we are a string filename, then get our local prefix + local_dir_prefix = os.path.dirname(fn) + f = InstallableFile( File(fn), pj(prefix, local_dir_prefix)) # Create new installable file + self.files.append(f) # Append it on + + def getInstallableFiles(self): + return self.files + + def isBuilt(self): + return self.built; + + def build(self): + """ + Sets up the build and install targets for this file bundle. + May only be called once. + NOTE: Whatever the current directly is when this is called is the directory + used for the builder command associated with this assembly. + """ + # Add files to the package file bundle + fb = self.package.createFileBundle() + + for f in self.files: + fnode = f.getFileNode() + fb.addFiles(fnode, f.getPrefix()) + + self.built = True; + + + +class _CodeAssembly(_Assembly): + """ + Base type for assemblys that are based on "code". + + This "abstract" class provides common functionality for Program, + StaticLibrary, and SharedLibrary. You don't want to instantiate this class + directly. It is meant to be private. + """ + + def __init__(self, filename, pkg, baseEnv, prefix=""): + """ + Constructs a new Assembly object with the given name within the given + environment. + """ + _Assembly.__init__(self, pkg, baseEnv, prefix) + + assert isinstance(filename, str), "Passed a filename that is not a string. %s"%filename + self.fileNode = File(filename) + self.sources = [] + self.includes = [] + self.libs = [] + self.libpaths = [] + self.headers = [] + + def addSources(self, sources): + """ + Adds the given list of source files into this assembly. The list must come + in as strings as they are processed through File(). + """ + # Use File() to figure out the absolute path to the file + srcs = map(File, sources) + # Add these sources into the mix + self.sources.extend(srcs) + + def addHeaders(self, headers, prefix = None): + """ + Adds the given list of distribution header files into this assembly. These + headers will be installed to self.package.prefix/include/prefix/file_prefix. The list must come + in as strings as they are processed through File(). + """ + for fn in headers: # For all filenames in headers + hdr = Header( File(fn), prefix) # Create new header rep + self.headers.append(hdr) # Append it on + + def addIncludes(self, includes): + """ + Adds in the given list of include directories that this assembly will use + while compiling. + """ + self.includes.extend(includes) + + def addLibs(self, libs): + """ + Adds in the given list of libraries directories that this assembly will + link with. + """ + self.libs.extend(libs) + + def addLibPaths(self, libpaths): + """ + Adds in the given list of library directories that this assembly will use + to find libraries while linking. + """ + self.libpaths.extend(libpaths) + + def getHeaders(self): + return self.headers + + def getSources(self): + return self.sources + + def isBuilt(self): + return self.built; + + def getFilename(self): + return str(self.fileNode) + + def getAbsFilePath(self): + return self.fileNode.get_abspath() + + def build(self): + """ + Sets up the build and install targets for this assembly. + May only be called once. + NOTE: Whatever the current directly is when this is called is the directory + used for the builder command associated with this assembly. + """ + # Setup the environment for the build + self.env.Append(CPPPATH = self.includes, + LIBPATH = self.libpaths, + LIBS = self.libs) + + # Now actually do the build + self._buildImpl() + self.built = True; + + +class Library(_CodeAssembly): + """ + This "abstract" class provides common functionality for StaticLibrary and + SharedLibrary. You don't want to instantiate this class directly. It is + meant to be private. + """ + + def __init__(self, libname, pkg, baseEnv, builderNames, installPrefix): + """ + Creates a new library builder for a library of the given name. + pkg - The package we are a part of + baseEnv - The base environemnt to use + builderNames - The names of the builders to use for building the libary: ex. 'SharedLibrary' + installPrefix - Prefix (relative to the standard install path) to install this library + """ + _CodeAssembly.__init__(self, libname, pkg, baseEnv, installPrefix) + + if type(builderNames) is types.StringType: + self.builder_names = [ builderNames ] + else: + self.builder_names = builderNames + + def _buildImpl(self): + """ + Sets up the build dependencies and the install. + """ + + fb = self.package.createFileBundle() + + # Setup build and install for each built library + # Use get_abspath() with fileNode so we get the path into the build_dir and not src dir + # Only build libraries if we have sources + if len(self.sources) > 0: + for lib_builder in self.builder_names: + lib_filepath = self.fileNode.get_abspath() + lib = self.env.__dict__[lib_builder](lib_filepath, self.sources) + + # Lib to file bundle + fb.addFiles(lib, self.installPrefix, False) + + # Install the headers in the source list + for h in self.headers: + headerNode = h.getFileNode() + fb.addFiles(headerNode, pj('include', h.getPrefix()) ) + + +class SharedLibrary(Library): + """ Sets up Library assembly with 'SharedLibrary' builder.""" + def __init__(self, libname, pkg, baseEnv = None, installPrefix='lib'): + Library.__init__(self, libname, pkg, baseEnv, 'SharedLibrary', installPrefix) + +class StaticLibrary(Library): + """ Sets up Library assembly with 'StaticLibrary' builder """ + def __init__(self, libname, pkg, baseEnv = None, installPrefix='lib'): + Library.__init__(self, libname, pkg, baseEnv, 'StaticLibrary', installPrefix) + +class StaticAndSharedLibrary(Library): + """ Sets up Library assembly with both 'StaticLibrary' and 'SharedLibrary' builders. """ + def __init__(self, libname, pkg, baseEnv = None, installPrefix='lib'): + Library.__init__(self, libname, pkg, baseEnv, ['StaticLibrary', 'SharedLibrary'], installPrefix) + + +class Program(_CodeAssembly): + """ + This object knows how to build (and install) an executable program from a + given set of sources. + """ + def __init__(self, progname, pkg, baseEnv = None, installPrefix='bin'): + """ + Creates a new program builder for a program of the given name. + """ + _CodeAssembly.__init__(self, progname, pkg, baseEnv, installPrefix) + + def _buildImpl(self): + """ + Sets up the build dependencies and the install. + """ + # Build rule + prog = self.env.Program(self.fileNode, source = self.sources) + + # Add executable to file bundle + fb = self.package.createFileBundle() + fb.addFiles(prog, self.installPrefix, False) + + # Install the binary + #inst_prefix = self.package.prefix + #if self.installPrefix: + # inst_prefix = pj(inst_prefix, self.installPrefix) + #self.env.Install(inst_prefix, prog) + + +class Package: + """ + A package defines a collection of distributables including programs and + libraries. The Package class provides the ability to build, install, and + package up distributions of your project. + + A package object provides an interface to add libraries, programs, headers, + and support files to a single unit that can be installed. It also shares + an environment across all these different units to build. + + The package contains assemblies (objects that encapsulate things to build) + and a FileBundle (which holds all the files that could be installed or handled). + + When assemblies are built, they should add any installable files to the package file bundle. + """ + + def __init__(self, name, version, prefix='/usr/local', baseEnv = None, description= None): + """ + Creates a new package with the given name and version, where version is in + the form of <major>.<minor>.<patch> (e.g 1.12.0) + """ + self.name = name + self.prefix = prefix + self.assemblies = [] + self.fileBundles = [FileBundle(),] # File bundle for all files + self.extra_dist = [] + self.description = description + self.packagers = [] + self.distDir = "dist" # Path to the dist directory to use + + if not self.description: + self.description = self.name + " Package" + + if baseEnv: + self.env = baseEnv.Copy() + else: + self.env = Environment() + + if type(version) is types.TupleType: + (self.version_major, self.version_minor, self.version_patch) = version; + else: + re_matches = re.match(r'^(\d+)\.(\d+)\.(\d+)$', version) + self.version_major = int(re_matches.group(1)) + self.version_minor = int(re_matches.group(2)) + self.version_patch = int(re_matches.group(3)) + + def getName(self): + return self.name + + def getVersionMajor(self): + return self.version_major + + def getVersionMinor(self): + return self.version_minor + + def getVersionPatch(self): + return self.version_patch + + def getFullVersion(self): + return ".".join( (str(self.version_major), str(self.version_minor), str(self.version_patch)) ) + + def getAssemblies(self): + return self.assemblies + + def getExtraDist(self): + return self.extra_dist + + def getFileBundles(self): + return self.fileBundles + + def getEnv(self): + " Get the common pakcage environment. " + return self.env + + def setDistDir(self, path): + " Set the prefix for distribution/packaged files. " + self.distDir = path + + def getDistDir(self): + return self.distDir + + def addPackager(self, packager): + " Add a new packager. Sets the packager to point to this package. " + packager.setPackage(self) + self.packagers.append(packager) + + # ###### Assembly factory methods ####### # + def createSharedLibrary(self, name, baseEnv = None, installPrefix='lib'): + """ + Creates a new shared library of the given name as a part of this package. + The library will be built within the given environment. + """ + if not baseEnv: + baseEnv = self.env + lib = SharedLibrary(name, self, baseEnv, installPrefix) + self.assemblies.append(lib) + return lib + + def createStaticLibrary(self, name, baseEnv = None, installPrefix='lib'): + """ + Creates a new static library of the given name as a part of this package. + The library will be built within the given environment. + """ + if not baseEnv: + baseEnv = self.env + lib = StaticLibrary(name, self, baseEnv, installPrefix) + self.assemblies.append(lib) + return lib + + def createStaticAndSharedLibrary(self, name, baseEnv = None, installPrefix='lib'): + """ + Creates new static and shared library of the given name as a part of this package. + The library will be built within the given environment. + """ + if not baseEnv: + baseEnv = self.env + lib = StaticAndSharedLibrary(name, self, baseEnv, installPrefix) + self.assemblies.append(lib) + return lib + + def createProgram(self, name, baseEnv = None, installPrefix='bin'): + """ + Creates a new executable program of the given name as a part of this + package. The program will be built within the given environment. + """ + if not baseEnv: + baseEnv = self.env + prog = Program(name, self, baseEnv, installPrefix) + self.assemblies.append(prog) + return prog + + def createFileBundleAssembly(self, prefix, baseEnv = None): + """ Creates a new FileBundle object as part of this package. """ + bundle = FileBundleAssembly(pkg = self, baseEnv = baseEnv, prefix=prefix) + self.assemblies.append(bundle) + return bundle + + def createFileBundle(self, bundlePrefix=""): + """ Creates a new file bundle to use with this package. """ + fb = FileBundle(bundlePrefix) + self.fileBundles.append(fb) + return fb + + def createConfigAction(self, target, source, env): + """ Called as action of config script builder """ + global config_script_contents + + new_contents = config_script_contents + value_dict = source[0].value # Get dictionary from the value node + + all_lib_names = [os.path.basename(l.getAbsFilePath()) for l in self.assemblies if isinstance(l,Library)] + lib_names = [] + for l in all_lib_names: + if not lib_names.count(l): + lib_names.append(l) + inc_paths = [pj(self.prefix,'include'),] + cflags = " ".join(["-I"+p for p in inc_paths]) + if value_dict["extraCflags"] != None: + cflags = cflags + " " + value_dict["extraCflags"] + lib_paths = [pj(self.prefix,'lib'),] + if value_dict["extraIncPaths"] != None: + cflags = cflags + " ".join([" -I"+l for l in value_dict["extraIncPaths"]]) + + # Extend varDict with local settings + varDict = {} + if value_dict["varDict"] != None: + varDict = value_dict["varDict"] + + varDict["Libs"] = " ".join(["-L"+l for l in lib_paths]) + if value_dict["extraLibPath"] != None: + varDict["Libs"] += " " + " ".join(["-L"+l for l in value_dict["extraLibPath"]]) + if len(lib_names): + varDict["Libs"] += " " + " ".join(["-l"+l for l in lib_names]) + if value_dict["extraLibs"]!=None: + varDict["Libs"] = varDict["Libs"] + " " + " ".join(["-l"+l for l in value_dict["extraLibs"]]) + varDict["Cflags"] = cflags + varDict["Version"] = self.getFullVersion() + varDict["Name"] = self.name + varDict["Description"] = self.description + varDict["Prefix"] = self.prefix + + # Create the new content + txt = "# config script generated for %s at %s\n" % (self.name, time.asctime()) + txt = txt + '# values: %s\n'%(source[0].get_contents(),) + + for k,v in value_dict["varDict"].items(): + if SCons.Util.is_String(v): + txt = txt + 'vars["%s"] = "%s"\n' % (k,v) + else: + txt = txt + 'vars["%s"] = %s\n' % (k,v) + + # Find and replace the replacable content + cut_re = re.compile(r'(?<=# -- BEGIN CUT --\n).*?(?=# -- END CUT --)', re.DOTALL) + new_contents = cut_re.sub(txt,config_script_contents) + + # Create and write out the new file (setting it executable) + fname = str(target[0]) + f = open(str(target[0]), 'w') + f.write(new_contents) + f.close() + os.chmod(fname, stat.S_IREAD|stat.S_IEXEC|stat.S_IWUSR) # Set the file options + + return 0 # Successful build + + def createConfigScript(self, name, installDir='bin', varDict = None, + extraIncPaths=None, extraLibs=None, extraLibPaths=None, extraCflags=None): + """ Adds a config script to the given package installation. + varDict - Dictionary of extra variables to define. + """ + + if not self.env['BUILDERS'].has_key("PackageConfigScript"): + cfg_builder = Builder(action = Action(self.createConfigAction, + lambda t,s,e: "Create config script for %s package: %s"%(self.name, t[0])) ) + self.env.Append(BUILDERS = {"PackageConfigScript" : cfg_builder}) + + value_dict = {} + value_dict["prefix"] = self.prefix + value_dict["extraIncPaths"] = extraIncPaths + value_dict["extraLibs"] = extraLibs + value_dict["extraLibPath"] = extraLibPaths + value_dict["extraCflags"] = extraCflags + + value_dict["varDict"] = varDict + self.env.PackageConfigScript(target = pj(installDir, name), source = Value(value_dict)) + + # May need to delay doing this until a later build stage so that all libs, headers, etc are + # setup and ready to go in this package. + + + def addExtraDist(self, files, exclude=[]): + """ + Adds in the given files to the distribution of this package. If a + directory is encountered in the file list, it is recursively added. Files + whose names are in the exclude list are not added to the list. + """ + for file in files: + assert isinstance(file, str), "file was not of correct type." + # Make sure to skip files in the exclude list + if not file in exclude: + # If the file is a directory, recurse on it + if os.path.isdir(str(file)): + self.addExtraDist(os.listdir(str(file)), exclude) + # If the file is not a directory, add in the extra dist list + else: + self.extra_dist.append(file) + + + def build(self, install = True): + """ + Sets up the build and install for this package. This will build all + assemblies contained therein that have not already been built and set + up the standard filebundle install. + """ + for assembly in self.assemblies: + if not assembly.isBuilt(): + assembly.build() + + # Build the file bundles for this package + if install: + for fb in self.fileBundles: + fb.buildInstall(self.env, self.prefix) + #self.env.Alias('install', self.prefix) + + # Setup all packagers + for p in self.packagers: + p.build() + + +# ############################################# # +# PACKAGERS +# ############################################# # + +class Packager: + """ Base class for all packagers in the system. + A packager is responsible for packaging a package into a distributable form (rpm, etc). + The packager is attached to the package and then it is the package's re... [truncated message content] |
From: <pat...@us...> - 2007-06-27 16:39:40
|
Revision: 607 http://svn.sourceforge.net/xml-cppdom/?rev=607&view=rev Author: patrickh Date: 2007-06-27 09:39:40 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Tag CppDOM 0.7.8. Added Paths: ----------- tags/0.7.8/ Copied: tags/0.7.8 (from rev 606, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-27 15:29:49
|
Revision: 606 http://svn.sourceforge.net/xml-cppdom/?rev=606&view=rev Author: patrickh Date: 2007-06-27 08:29:51 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Package cppdom-config separately so that its presence does not interfere with having multiple cppdom-devel packages installed in parallel. Modified Paths: -------------- trunk/cppdom.spec Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-26 18:17:23 UTC (rev 605) +++ trunk/cppdom.spec 2007-06-27 15:29:51 UTC (rev 606) @@ -13,7 +13,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot License: LGPL BuildPrereq: scons >= 0.96.1 -BuildPrereq: doxygen Vendor: xml-cppdom Project Provides: cppdom = %{version}-%{release} @@ -33,9 +32,23 @@ %description devel The header files and libraries needed for developing programs using CppDOM. +%package config +Summary: The cppdom-config script that calls flagpoll +Group: Development/C++ +Requires: cppdom-devel +Requires: flagpoll >= 0.8.1 +Requires: python + +%description config +The cppdom-config Python script that provides backwards compability for older +packages not using Flagpoll for getting compiler options necessary for +building against CppDOM. + %package doc Summary: CppDOM documentation Group: Development/C++ +BuildPrereq: doxygen +BuildPrereq: graphviz %description doc CppDOM API documentation in HTML form. @@ -109,7 +122,12 @@ %{_libdir}/*.a %{_libdir}/flagpoll +%files config +%defattr(-, root, root) +%{_bindir}/cppdom-config + %files doc +%defattr(-, root, root) %dir %{_docdir}/cppdom-%{version}/ %doc %{_docdir}/cppdom-%{version}/html @@ -117,6 +135,8 @@ * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.8-1 - Updated to version 0.7.8. - Include rendered API documentation in the new cppdom-doc package. +- Package cppdom-config separately so that multiple versions of the cppdom + package can be installed in parallel. * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.7-2 - Added flagpoll as a requirement for cppdom-devel This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 18:17:20
|
Revision: 605 http://svn.sourceforge.net/xml-cppdom/?rev=605&view=rev Author: patrickh Date: 2007-06-26 11:17:23 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Print the Visual Studio version being used to help users verify that they will get the binaries that they expect. Modified Paths: -------------- trunk/SConstruct Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-26 16:44:12 UTC (rev 604) +++ trunk/SConstruct 2007-06-26 18:17:23 UTC (rev 605) @@ -61,6 +61,7 @@ common_env = Environment(MSVS_VERSION = ARGUMENTS["MSVS_VERSION"]) else: common_env = Environment() + print "Using MSVS version", common_env["MSVS"]["VERSION"] else: common_env = Environment(ENV = os.environ) SConsAddons.Builders.registerSubstBuilder(common_env) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 16:44:14
|
Revision: 604 http://svn.sourceforge.net/xml-cppdom/?rev=604&view=rev Author: patrickh Date: 2007-06-26 09:44:12 -0700 (Tue, 26 Jun 2007) Log Message: ----------- If _DEBUG is defined, that implies the need for CPPDOM_DEBUG to be defined. This makes it very easy for someone to make a debug build (one that links against the Visual C++ debug runtime) of code using CppDOM since _DEBUG will be defined implicitly by using /MDd. Automatic linking takes care of the rest. Modified Paths: -------------- trunk/cppdom/config.h Modified: trunk/cppdom/config.h =================================================================== --- trunk/cppdom/config.h 2007-06-26 16:32:48 UTC (rev 603) +++ trunk/cppdom/config.h 2007-06-26 16:44:12 UTC (rev 604) @@ -83,6 +83,11 @@ CPPDOM_STRINGIZE(CPPDOM_VERSION_MINOR) "_" \ CPPDOM_STRINGIZE(CPPDOM_VERSION_PATCH) +// Defining _DEBUG implies the need for CPPDOM_DEBUG. +# if defined(_DEBUG) && ! defined(CPPDOM_DEBUG) +# define CPPDOM_DEBUG +# endif + # if defined(CPPDOM_DEBUG) # if defined(_DEBUG) # define CPPDOM_LIB_RT_OPT "_d" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 16:32:55
|
Revision: 603 http://svn.sourceforge.net/xml-cppdom/?rev=603&view=rev Author: patrickh Date: 2007-06-26 09:32:48 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Update the version number and disable the use of the JavaScript treeview. Modified Paths: -------------- trunk/doc/cppdom.doxy Modified: trunk/doc/cppdom.doxy =================================================================== --- trunk/doc/cppdom.doxy 2007-06-26 16:15:29 UTC (rev 602) +++ trunk/doc/cppdom.doxy 2007-06-26 16:32:48 UTC (rev 603) @@ -17,13 +17,13 @@ # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. -PROJECT_NAME = cppdom +PROJECT_NAME = CppDOM # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.1.0 +PROJECT_NUMBER = 0.7.8 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. @@ -471,7 +471,7 @@ # JavaScript and frames is required (for instance Netscape 4.0+ # or Internet explorer 4.0+). -GENERATE_TREEVIEW = YES +GENERATE_TREEVIEW = NO # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 16:16:17
|
Revision: 602 http://svn.sourceforge.net/xml-cppdom/?rev=602&view=rev Author: patrickh Date: 2007-06-26 09:15:29 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Include the rendered API documentation in the new cppdom-doc RPM. Modified Paths: -------------- trunk/cppdom.spec Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-26 15:31:01 UTC (rev 601) +++ trunk/cppdom.spec 2007-06-26 16:15:29 UTC (rev 602) @@ -13,6 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot License: LGPL BuildPrereq: scons >= 0.96.1 +BuildPrereq: doxygen Vendor: xml-cppdom Project Provides: cppdom = %{version}-%{release} @@ -32,6 +33,13 @@ %description devel The header files and libraries needed for developing programs using CppDOM. +%package doc +Summary: CppDOM documentation +Group: Development/C++ + +%description doc +CppDOM API documentation in HTML form. + %prep rm -rf %{buildroot} %setup -q @@ -50,6 +58,8 @@ export CXXFLAGS export LINKFLAGS scons prefix=%{buildroot}%{_prefix} var_arch=%{arch} var_type=optimized build_test=no +cd doc && doxygen cppdom.doxy +cd .. %install [ -z %{buildroot} ] || rm -rf %{buildroot} @@ -60,10 +70,15 @@ export CXXFLAGS export LINKFLAGS scons prefix=%{buildroot}%{_prefix} var_arch=%{arch} var_type=optimized build_test=no install +mkdir -p %{buildroot}%{_docdir}/cppdom-%{version} +mv doc/html %{buildroot}%{_docdir}/cppdom-%{version} sed -i -e 's|%{buildroot}||g' %{buildroot}%{_libdir}/flagpoll/*.fpc sed -i -e 's|%{buildroot}||g' %{buildroot}%{_bindir}/cppdom-config # Remove all stupid scons temp files find %{buildroot}%{_prefix} -name .sconsign -exec rm {} \; +for f in README AUTHORS ChangeLog COPYING ; do + cp $f %{buildroot}%{_docdir}/cppdom-%{version} +done %clean [ -z %{buildroot} ] || rm -rf %{buildroot} @@ -77,7 +92,11 @@ %files %defattr(-, root, root) %{_libdir}/*.so -%doc README AUTHORS ChangeLog COPYING +%dir %{_docdir}/cppdom-%{version}/ +%doc %{_docdir}/cppdom-%{version}/README +%doc %{_docdir}/cppdom-%{version}/AUTHORS +%doc %{_docdir}/cppdom-%{version}/ChangeLog +%doc %{_docdir}/cppdom-%{version}/COPYING %files devel %defattr(-, root, root) @@ -90,9 +109,14 @@ %{_libdir}/*.a %{_libdir}/flagpoll +%files doc +%dir %{_docdir}/cppdom-%{version}/ +%doc %{_docdir}/cppdom-%{version}/html + %changelog * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.8-1 - Updated to version 0.7.8. +- Include rendered API documentation in the new cppdom-doc package. * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.7-2 - Added flagpoll as a requirement for cppdom-devel This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 15:31:05
|
Revision: 601 http://svn.sourceforge.net/xml-cppdom/?rev=601&view=rev Author: patrickh Date: 2007-06-26 08:31:01 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Allow the Linux distribution name to factor into the release identifier. Modified Paths: -------------- trunk/cppdom.spec Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-26 15:23:34 UTC (rev 600) +++ trunk/cppdom.spec 2007-06-26 15:31:01 UTC (rev 601) @@ -6,7 +6,7 @@ Name: %{name} Summary: A C++ based XML loader and writer with an internal DOM representation. Version: %{version} -Release: %{release} +Release: %{release}%{?dist} Source: %{name}-%{version}.tar.gz URL: http://www.sf.net/projects/xml-cppdom/ Group: Development/Libraries This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 15:23:33
|
Revision: 600 http://svn.sourceforge.net/xml-cppdom/?rev=600&view=rev Author: patrickh Date: 2007-06-26 08:23:34 -0700 (Tue, 26 Jun 2007) Log Message: ----------- CppDOM 0.7.7 didn't work out. This version has several problems on Windows and thus should not be used. Version 0.7.8 is just around the corner, though. Removed Paths: ------------- tags/0.7.7/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 14:13:03
|
Revision: 599 http://svn.sourceforge.net/xml-cppdom/?rev=599&view=rev Author: patrickh Date: 2007-06-26 07:13:04 -0700 (Tue, 26 Jun 2007) Log Message: ----------- CppDOM 0.7.7 has proven to be a non-starter, so update the version to 0.7.8 to account for the numerous changes that I have made in the last day. Modified Paths: -------------- trunk/ChangeLog trunk/cppdom/version.h trunk/cppdom.spec Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-06-26 14:11:54 UTC (rev 598) +++ trunk/ChangeLog 2007-06-26 14:13:04 UTC (rev 599) @@ -1,5 +1,7 @@ DATE AUTHOR CHANGE ---------- ----------- ------------------------------------------------------- +2007-06-26 patrickh Made many build fixes and improvements on Windows. + VERSION: 0.7.8 2006-11-07 patrickh Do not put headers into a versioned directory on Windows. VERSION: 0.7.7 Modified: trunk/cppdom/version.h =================================================================== --- trunk/cppdom/version.h 2007-06-26 14:11:54 UTC (rev 598) +++ trunk/cppdom/version.h 2007-06-26 14:13:04 UTC (rev 599) @@ -55,7 +55,7 @@ // The major/minor/patch version (up to 3 digits each). #define CPPDOM_VERSION_MAJOR 0 #define CPPDOM_VERSION_MINOR 7 -#define CPPDOM_VERSION_PATCH 7 +#define CPPDOM_VERSION_PATCH 8 //-------------------------------------------------------------------------- //-------------------------------------------------------------------------- Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-26 14:11:54 UTC (rev 598) +++ trunk/cppdom.spec 2007-06-26 14:13:04 UTC (rev 599) @@ -1,7 +1,7 @@ # Spec file for cppdom. %define name cppdom -%define version 0.7.7 -%define release 2 +%define version 0.7.8 +%define release 1 Name: %{name} Summary: A C++ based XML loader and writer with an internal DOM representation. @@ -91,6 +91,9 @@ %{_libdir}/flagpoll %changelog +* Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.8-1 +- Updated to version 0.7.8. + * Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.7-2 - Added flagpoll as a requirement for cppdom-devel - Removed Conflicts directives since this can be installed in parallel with This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 14:11:52
|
Revision: 598 http://svn.sourceforge.net/xml-cppdom/?rev=598&view=rev Author: patrickh Date: 2007-06-26 07:11:54 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Added flagpoll >= 0.8.1 as a requirement for cppdom-devel. Removed "Obsoletes" and "Conflicts" directives since multiple CppDOM versions can now be installed in parallel. Modified Paths: -------------- trunk/cppdom.spec Modified: trunk/cppdom.spec =================================================================== --- trunk/cppdom.spec 2007-06-26 14:01:24 UTC (rev 597) +++ trunk/cppdom.spec 2007-06-26 14:11:54 UTC (rev 598) @@ -1,7 +1,7 @@ # Spec file for cppdom. %define name cppdom %define version 0.7.7 -%define release 1 +%define release 2 Name: %{name} Summary: A C++ based XML loader and writer with an internal DOM representation. @@ -15,7 +15,6 @@ BuildPrereq: scons >= 0.96.1 Vendor: xml-cppdom Project Provides: cppdom = %{version}-%{release} -Obsoletes: cppdom < %{version}-%{release} %description CppDOM is a C++ based XML loader and writer with an internal DOM @@ -28,7 +27,7 @@ Group: Development/C++ Requires: cppdom = %{version}-%{release} Provides: cppdom-devel = %{version}-%{release} -Conflicts: cppdom-devel < %{version}-%{release} +Requires: flagpoll >= 0.8.1 %description devel The header files and libraries needed for developing programs using CppDOM. @@ -92,16 +91,21 @@ %{_libdir}/flagpoll %changelog -* Thu Nov 09 2006 Patrick Hartling +* Tue Jun 26 2007 Patrick Hartling <pa...@in...> 0.7.7-2 +- Added flagpoll as a requirement for cppdom-devel +- Removed Conflicts directives since this can be installed in parallel with + other CppDOM releases. + +* Thu Nov 09 2006 Patrick Hartling <pa...@in...> - Updated for the new world order -* Thu Nov 09 2006 Patrick Hartling +* Thu Nov 09 2006 Patrick Hartling <pa...@in...> - Fixed bad paths in the .fpc file and in cppdom-config -* Wed Apr 12 2006 Patrick Hartling +* Wed Apr 12 2006 Patrick Hartling <pa...@in...> - Updated to handle multi-architecture installations. -* Mon Jun 06 2005 Aron Bierbaum +* Mon Jun 06 2005 Aron Bierbaum <ar...@in...> - Total rewrite * Thu Mar 13 2003 Allen Bierbaum This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 14:01:22
|
Revision: 597 http://svn.sourceforge.net/xml-cppdom/?rev=597&view=rev Author: patrickh Date: 2007-06-26 07:01:24 -0700 (Tue, 26 Jun 2007) Log Message: ----------- Handle the case of using Visual C++ Express Edition where "Exp" is appended to the version number. Modified Paths: -------------- trunk/cppdom/SConscript Modified: trunk/cppdom/SConscript =================================================================== --- trunk/cppdom/SConscript 2007-06-26 01:05:34 UTC (rev 596) +++ trunk/cppdom/SConscript 2007-06-26 14:01:24 UTC (rev 597) @@ -37,7 +37,10 @@ if "shared" in combo["libtype"]: shlinkcom = cppdom_lib_env['SHLINKCOM'] # When using Visual C++ 8.0 or newer, embed the manifest in the DLL. - if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION']) >= 8.0: + # NOTE: The [:3] bit used before passing the MSVS_VERSION value to float() + # is to handle the case of Visual C++ Express Edition which appends "Exp" + # to the version number. + if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION'][:3]) >= 8.0: shlinkcom = [shlinkcom, 'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2'] cppdom_shared_lib_env = cppdom_lib_env.Copy() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-26 01:05:36
|
Revision: 596 http://svn.sourceforge.net/xml-cppdom/?rev=596&view=rev Author: patrickh Date: 2007-06-25 18:05:34 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Do not define CPPDOM_DYN_LINK when building the CppDOM libraries. It is only for user-level code. This should finish off fixing up the mess that I made in Revision 591. Revision Links: -------------- http://svn.sourceforge.net/xml-cppdom/?rev=591&view=rev Modified Paths: -------------- trunk/cppdom/SConscript Modified: trunk/cppdom/SConscript =================================================================== --- trunk/cppdom/SConscript 2007-06-25 22:37:34 UTC (rev 595) +++ trunk/cppdom/SConscript 2007-06-26 01:05:34 UTC (rev 596) @@ -41,7 +41,7 @@ shlinkcom = [shlinkcom, 'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2'] cppdom_shared_lib_env = cppdom_lib_env.Copy() - cppdom_shared_lib_env.AppendUnique(CPPDEFINES = ["CPPDOM_EXPORTS", "CPPDOM_DYN_LINK"]) + cppdom_shared_lib_env.AppendUnique(CPPDEFINES = ["CPPDOM_EXPORTS"]) cppdom_lib = cppdom_shared_lib_env.SharedLibrary(cppdom_shared_libname, sources, SHLINKCOM = shlinkcom) cppdom_shared_lib_env.Install(inst_paths['lib'], cppdom_lib) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 22:37:32
|
Revision: 595 http://svn.sourceforge.net/xml-cppdom/?rev=595&view=rev Author: patrickh Date: 2007-06-25 15:37:34 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Removed unneeded code that has been commented out for a while now. Modified Paths: -------------- trunk/SConstruct Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-25 22:34:48 UTC (rev 594) +++ trunk/SConstruct 2007-06-25 22:37:34 UTC (rev 595) @@ -250,19 +250,9 @@ 'cppdom.fpc.in', submap = submap) build_env.AddPostAction(cppdom_pc, Chmod('$TARGET', 0644)) build_env.Depends(cppdom_pc, 'cppdom/version.h') - - ## Setup the builder for cppdom-config - #if GetPlatform() != 'win32': - # env = common_env.Copy(BUILDERS = builders) - # cppdom_config = env.ConfigBuilder(pj(inst_paths['bin'],'cppdom-config'), - # 'cppdom-config.in', submap=submap ) - # env.AddPostAction (cppdom_config, Chmod('$TARGET', 0755)) - # env.Depends(cppdom_config, 'cppdom/version.h') - common_env.Install(inst_paths['bin'],'cppdom-config') common_env.Alias('install', inst_paths['base']) # Close up with aliases and defaults Default('.') - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 22:34:46
|
Revision: 594 http://svn.sourceforge.net/xml-cppdom/?rev=594&view=rev Author: patrickh Date: 2007-06-25 15:34:48 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Improve things a little bit with Flagpoll on Windows by setting up the use of automatic linking. There is still a problem where too many cppdom*.fpc files are generated, however. Instead of putting the variation among optimized/debug/hybrid and static/shared into one architecture-specific file, that information is spread out across many files. Modified Paths: -------------- trunk/SConstruct Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-25 22:00:32 UTC (rev 593) +++ trunk/SConstruct 2007-06-25 22:34:48 UTC (rev 594) @@ -205,6 +205,19 @@ elif "x64" == combo["arch"]: arch = "x86_64" + cppdom_cxxflags = '' + cppdom_libs = "-l%s" % cppdom_shared_libname + + # Use automatic linking on Windows. + if GetPlatform() == 'win32': + cppdom_libs = '' + cppdom_cxxflags = '/DCPPDOM_AUTO_LINK' + + if "debug" in combo["type"] or "hybrid" in combo["type"]: + cppdom_cxxflags += ' /DCPPDOM_DEBUG' + if "shared" in combo["libtype"]: + cppdom_cxxflags += ' /DCPPDOM_DYN_LINK' + # - Define a builder for the cppdom.fpc file # ------------------ Build -config and .pc files ----------------- # # Build up substitution map @@ -212,20 +225,25 @@ '@provides@' : provides, '@prefix@' : inst_paths['base'], '@exec_prefix@' : '${prefix}', - '@cppdom_cxxflags@' : '', + '@cppdom_cxxflags@' : cppdom_cxxflags, '@includedir@' : inst_paths['include'], '@cppdom_extra_cxxflags@' : '', '@cppdom_extra_include_dirs@' : '', - '@cppdom_libs@' : "-l%s" % cppdom_shared_libname, + '@cppdom_libs@' : cppdom_libs, '@libdir@' : inst_paths['lib'], '@arch@' : arch, '@version@' : cppdom_version_str } # Setup the builder for cppdom.fpc + # XXX: This generates multiple cppdom*.fpc files instead of putting all + # the variation of debug/optimized/hybrid and static/shared into one + # architecture-specific file! name_parts = ['cppdom',cppdom_version_str,arch] if combo["type"] != "optimized": name_parts.append(combo["type"]) + if GetPlatform() == 'win32': + name_parts.append(combo["libtype"]) pc_filename = "-".join(name_parts) + ".fpc" cppdom_pc = build_env.SubstBuilder(pj(inst_paths['flagpoll'], pc_filename), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 22:00:29
|
Revision: 593 http://svn.sourceforge.net/xml-cppdom/?rev=593&view=rev Author: patrickh Date: 2007-06-25 15:00:32 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Clean up the debug/hybrid handling (at least in my view of "clean"). Instead of checking for _DEBUG, check for CPPDOM_DEBUG and let the usage of _DEBUG indicate whether the debug VC++ runtime is to be used. This removes the use of the preprocessor symbol _USE_RELEASE_RUNTIME. Modified Paths: -------------- trunk/cppdom/SConscript trunk/cppdom/config.h trunk/test/SConscript Modified: trunk/cppdom/SConscript =================================================================== --- trunk/cppdom/SConscript 2007-06-25 21:58:54 UTC (rev 592) +++ trunk/cppdom/SConscript 2007-06-25 22:00:32 UTC (rev 593) @@ -30,6 +30,9 @@ cppdom_lib_env = build_env.Copy() cppdom_lib_env.Append(CPPPATH = [inst_paths['include'],]) +if "debug" in combo["type"] or "hybrid" in combo["type"]: + cppdom_lib_env.AppendUnique(CPPDEFINES = ["CPPDOM_DEBUG"]) + # If should not do static only, then create static and shared libraries if "shared" in combo["libtype"]: shlinkcom = cppdom_lib_env['SHLINKCOM'] Modified: trunk/cppdom/config.h =================================================================== --- trunk/cppdom/config.h 2007-06-25 21:58:54 UTC (rev 592) +++ trunk/cppdom/config.h 2007-06-25 22:00:32 UTC (rev 593) @@ -83,8 +83,12 @@ CPPDOM_STRINGIZE(CPPDOM_VERSION_MINOR) "_" \ CPPDOM_STRINGIZE(CPPDOM_VERSION_PATCH) -# if defined(_DEBUG) && !defined(_USE_RELEASE_RUNTIME) -# define CPPDOM_LIB_RT_OPT "_d" +# if defined(CPPDOM_DEBUG) +# if defined(_DEBUG) +# define CPPDOM_LIB_RT_OPT "_d" +# else +# define CPPDOM_LIB_RT_OPT "_h" +# endif # else # define CPPDOM_LIB_RT_OPT "" # endif @@ -111,9 +115,5 @@ # define CPPDOM_CLASS #endif -#ifdef _DEBUG -#define CPPDOM_DEBUG -#endif - // ----------------------------------- #endif Modified: trunk/test/SConscript =================================================================== --- trunk/test/SConscript 2007-06-25 21:58:54 UTC (rev 592) +++ trunk/test/SConscript 2007-06-25 22:00:32 UTC (rev 593) @@ -9,15 +9,27 @@ LIBPATH = [inst_paths['lib'],], LIBS = [cppdom_app_libname]) +# On Windows, we always use automatic linking. +if GetPlatform() == "win32": + test_env.AppendUnique(CPPDEFINES = ["CPPDOM_AUTO_LINK"]) + + # Use dynamic linking if we are building against a DLL rather than a + # static library. + if "shared" in combo["libtype"]: + test_env.AppendUnique(CPPDEFINES = ["CPPDOM_DYN_LINK"]) + + # For a "hybrid" build (one that links against the release VC++ runtime + # and puts debug symbols in the compiled code) or a debug build, define + # CPPDOM_DEBUG. + if "hybrid" in combo["type"] or "debug" in combo["type"]: + test_env.AppendUnique(CPPDEFINES = ["CPPDOM_DEBUG"]) + tests = Split(""" maketree nodetest parsetest """) -if "shared" in combo["libtype"]: - test_env.AppendUnique(CPPDEFINES = ["CPPDOM_DYN_LINK"]) - for t in tests: test_prog = test_env.Program(t, t+'.cpp') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 21:58:52
|
Revision: 592 http://svn.sourceforge.net/xml-cppdom/?rev=592&view=rev Author: patrickh Date: 2007-06-25 14:58:54 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Restored the ability to use automatic linking with static libraries on Windows. I broke this in Revision 591. Revision Links: -------------- http://svn.sourceforge.net/xml-cppdom/?rev=591&view=rev Modified Paths: -------------- trunk/cppdom/config.h Modified: trunk/cppdom/config.h =================================================================== --- trunk/cppdom/config.h 2007-06-25 21:10:29 UTC (rev 591) +++ trunk/cppdom/config.h 2007-06-25 21:58:54 UTC (rev 592) @@ -46,9 +46,8 @@ #define CPPDOM_CONFIG_H // ----------------------------------- -// win32 DLL configuration -#if (defined(WIN32) || defined(WIN64)) && \ - (defined(CPPDOM_AUTO_LINK) || defined(CPPDOM_DYN_LINK)) +// win32 +#if defined(WIN32) || defined(WIN64) // switch some warnings off # pragma warning( disable: 4786 4275 4251 ) @@ -59,9 +58,15 @@ # define CPPDOM_EXPORT(ret) __declspec(dllexport) ret # define CPPDOM_CLASS __declspec(dllexport) # else -//# define CPPDOM_EXPORT(ret) __declspec(dllimport) ret __stdcall -# define CPPDOM_EXPORT(ret) __declspec(dllimport) ret -# define CPPDOM_CLASS __declspec(dllimport) +// Only define the dllimport bits if dynamic linking has been requested. +# if defined(CPPDOM_DYN_LINK) +//# define CPPDOM_EXPORT(ret) __declspec(dllimport) ret __stdcall +# define CPPDOM_EXPORT(ret) __declspec(dllimport) ret +# define CPPDOM_CLASS __declspec(dllimport) +# else +# define CPPDOM_EXPORT(ret) ret +# define CPPDOM_CLASS +# endif // Use automatic linking when building with Visual C++ and when requested to // do so. Define either CPPDOM_AUTO_LINK or CPPDOM_DYN_LINK to enable automatic @@ -100,7 +105,7 @@ # endif /* defined(_MSC_VER) && (defined(CPPDOM_AUTO_LINK) || defined(CPPDOM_DYN_LINK)) */ # endif /* defined(CPPDOM_EXPORTS) */ -// UNIX handling and static linking on Windows. +// Non-Windows handling. #else # define CPPDOM_EXPORT(ret) ret # define CPPDOM_CLASS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 21:10:29
|
Revision: 591 http://svn.sourceforge.net/xml-cppdom/?rev=591&view=rev Author: patrickh Date: 2007-06-25 14:10:29 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed static linking on Windows. Modified Paths: -------------- trunk/cppdom/SConscript trunk/cppdom/config.h trunk/test/SConscript Modified: trunk/cppdom/SConscript =================================================================== --- trunk/cppdom/SConscript 2007-06-25 16:51:06 UTC (rev 590) +++ trunk/cppdom/SConscript 2007-06-25 21:10:29 UTC (rev 591) @@ -28,8 +28,7 @@ sources.append("SpiritParser.cpp") cppdom_lib_env = build_env.Copy() -cppdom_lib_env.Append(CPPPATH = [inst_paths['include'],], - CPPDEFINES=["CPPDOM_EXPORTS",]) +cppdom_lib_env.Append(CPPPATH = [inst_paths['include'],]) # If should not do static only, then create static and shared libraries if "shared" in combo["libtype"]: @@ -38,13 +37,16 @@ if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION']) >= 8.0: shlinkcom = [shlinkcom, 'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2'] - cppdom_lib = cppdom_lib_env.SharedLibrary(cppdom_shared_libname, sources, - SHLINKCOM = shlinkcom) - cppdom_lib_env.Install(inst_paths['lib'], cppdom_lib) + cppdom_shared_lib_env = cppdom_lib_env.Copy() + cppdom_shared_lib_env.AppendUnique(CPPDEFINES = ["CPPDOM_EXPORTS", "CPPDOM_DYN_LINK"]) + cppdom_lib = cppdom_shared_lib_env.SharedLibrary(cppdom_shared_libname, sources, + SHLINKCOM = shlinkcom) + cppdom_shared_lib_env.Install(inst_paths['lib'], cppdom_lib) if "static" in combo["libtype"]: - cppdom_static_lib = cppdom_lib_env.StaticLibrary(cppdom_static_libname, sources) - cppdom_lib_env.Install(inst_paths['lib'], cppdom_static_lib) + cppdom_static_lib_env = cppdom_lib_env.Copy() + cppdom_static_lib = cppdom_static_lib_env.StaticLibrary(cppdom_static_libname, sources) + cppdom_static_lib_env.Install(inst_paths['lib'], cppdom_static_lib) if variant_pass == 0: header_path = pj(inst_paths['include'],'cppdom') Modified: trunk/cppdom/config.h =================================================================== --- trunk/cppdom/config.h 2007-06-25 16:51:06 UTC (rev 590) +++ trunk/cppdom/config.h 2007-06-25 21:10:29 UTC (rev 591) @@ -46,8 +46,9 @@ #define CPPDOM_CONFIG_H // ----------------------------------- -// win32 configuration -#if defined(WIN32) || defined(WIN64) +// win32 DLL configuration +#if (defined(WIN32) || defined(WIN64)) && \ + (defined(CPPDOM_AUTO_LINK) || defined(CPPDOM_DYN_LINK)) // switch some warnings off # pragma warning( disable: 4786 4275 4251 ) @@ -99,6 +100,7 @@ # endif /* defined(_MSC_VER) && (defined(CPPDOM_AUTO_LINK) || defined(CPPDOM_DYN_LINK)) */ # endif /* defined(CPPDOM_EXPORTS) */ +// UNIX handling and static linking on Windows. #else # define CPPDOM_EXPORT(ret) ret # define CPPDOM_CLASS Modified: trunk/test/SConscript =================================================================== --- trunk/test/SConscript 2007-06-25 16:51:06 UTC (rev 590) +++ trunk/test/SConscript 2007-06-25 21:10:29 UTC (rev 591) @@ -15,6 +15,9 @@ parsetest """) +if "shared" in combo["libtype"]: + test_env.AppendUnique(CPPDEFINES = ["CPPDOM_DYN_LINK"]) + for t in tests: test_prog = test_env.Program(t, t+'.cpp') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-25 16:51:04
|
Revision: 590 http://svn.sourceforge.net/xml-cppdom/?rev=590&view=rev Author: patrickh Date: 2007-06-25 09:51:06 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Install the Flagpoll files (!) on Windows. There should not be multiple .fpc files being installed, but that can be dealt with later. Modified Paths: -------------- trunk/SConstruct Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-25 16:35:32 UTC (rev 589) +++ trunk/SConstruct 2007-06-25 16:51:06 UTC (rev 590) @@ -223,15 +223,15 @@ } # Setup the builder for cppdom.fpc - if GetPlatform() != 'win32': - name_parts = ['cppdom',cppdom_version_str,arch] - if combo["type"] != "optimized": - name_parts.append(combo["type"]) - pc_filename = "-".join(name_parts) + ".fpc" - cppdom_pc = build_env.SubstBuilder(pj(inst_paths['flagpoll'],pc_filename), - 'cppdom.fpc.in', submap=submap) - build_env.AddPostAction (cppdom_pc, Chmod('$TARGET', 0644)) - build_env.Depends(cppdom_pc, 'cppdom/version.h') + name_parts = ['cppdom',cppdom_version_str,arch] + if combo["type"] != "optimized": + name_parts.append(combo["type"]) + pc_filename = "-".join(name_parts) + ".fpc" + cppdom_pc = build_env.SubstBuilder(pj(inst_paths['flagpoll'], + pc_filename), + 'cppdom.fpc.in', submap = submap) + build_env.AddPostAction(cppdom_pc, Chmod('$TARGET', 0644)) + build_env.Depends(cppdom_pc, 'cppdom/version.h') ## Setup the builder for cppdom-config #if GetPlatform() != 'win32': This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ar...@us...> - 2007-06-25 16:35:30
|
Revision: 589 http://svn.sourceforge.net/xml-cppdom/?rev=589&view=rev Author: aronb Date: 2007-06-25 09:35:32 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Add getPath() that returns the path of a Node. Modified Paths: -------------- trunk/cppdom/cppdom.cpp trunk/cppdom/cppdom.h Modified: trunk/cppdom/cppdom.cpp =================================================================== --- trunk/cppdom/cppdom.cpp 2007-06-25 16:34:49 UTC (rev 588) +++ trunk/cppdom/cppdom.cpp 2007-06-25 16:35:32 UTC (rev 589) @@ -826,6 +826,18 @@ return mParent; } + std::string Node::getPath() + { + std::string path(getName()); + Node* parent = getParent(); + while (parent != NULL) + { + path = parent->getName() + "/" + path; + parent = parent->getParent(); + } + return path; + } + /** \exception throws cppdom::Error when a streaming or parsing error occur */ void Node::load(std::istream& in, ContextPtr& context) { Modified: trunk/cppdom/cppdom.h =================================================================== --- trunk/cppdom/cppdom.h 2007-06-25 16:34:49 UTC (rev 588) +++ trunk/cppdom/cppdom.h 2007-06-25 16:35:32 UTC (rev 589) @@ -624,6 +624,11 @@ */ Node* getParent() const; + /** + * Returns the full path of this node. + */ + std::string getPath(); + void addChild(NodePtr& node); bool removeChild(NodePtr& node); bool removeChild(std::string& childName); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ar...@us...> - 2007-06-25 16:34:48
|
Revision: 588 http://svn.sourceforge.net/xml-cppdom/?rev=588&view=rev Author: aronb Date: 2007-06-25 09:34:49 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fix bug where keeps getting printed. <?xml version=""> <?xml version=""> <?xml version=""> <?xml version=""> Modified Paths: -------------- trunk/cppdom/ext/OptionRepository.cpp Modified: trunk/cppdom/ext/OptionRepository.cpp =================================================================== --- trunk/cppdom/ext/OptionRepository.cpp 2007-06-11 16:29:49 UTC (rev 587) +++ trunk/cppdom/ext/OptionRepository.cpp 2007-06-25 16:34:49 UTC (rev 588) @@ -136,6 +136,7 @@ void OptionRepository::saveOptionsFile(std::string filename) { + mDocRoot->getPiList().clear(); mDocRoot->saveFile(filename); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-11 16:29:49
|
Revision: 587 http://svn.sourceforge.net/xml-cppdom/?rev=587&view=rev Author: patrickh Date: 2007-06-11 09:29:49 -0700 (Mon, 11 Jun 2007) Log Message: ----------- MFT r586: Ensure that the correct paths are used in the generated .fpc file. Modified Paths: -------------- tags/0.7.7/SConstruct Modified: tags/0.7.7/SConstruct =================================================================== --- tags/0.7.7/SConstruct 2007-06-11 16:28:03 UTC (rev 586) +++ tags/0.7.7/SConstruct 2007-06-11 16:29:49 UTC (rev 587) @@ -210,14 +210,14 @@ # Build up substitution map submap = { '@provides@' : provides, - '@prefix@' : base_inst_paths['base'], + '@prefix@' : inst_paths['base'], '@exec_prefix@' : '${prefix}', '@cppdom_cxxflags@' : '', - '@includedir@' : base_inst_paths['include'], + '@includedir@' : inst_paths['include'], '@cppdom_extra_cxxflags@' : '', '@cppdom_extra_include_dirs@' : '', '@cppdom_libs@' : "-l%s" % cppdom_shared_libname, - '@libdir@' : base_inst_paths['lib'], + '@libdir@' : inst_paths['lib'], '@arch@' : arch, '@version@' : cppdom_version_str } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2007-06-11 16:28:03
|
Revision: 586 http://svn.sourceforge.net/xml-cppdom/?rev=586&view=rev Author: patrickh Date: 2007-06-11 09:28:03 -0700 (Mon, 11 Jun 2007) Log Message: ----------- Ensure that the correct paths are used in the generated .fpc file. Modified Paths: -------------- trunk/SConstruct Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2007-06-11 16:11:28 UTC (rev 585) +++ trunk/SConstruct 2007-06-11 16:28:03 UTC (rev 586) @@ -210,14 +210,14 @@ # Build up substitution map submap = { '@provides@' : provides, - '@prefix@' : base_inst_paths['base'], + '@prefix@' : inst_paths['base'], '@exec_prefix@' : '${prefix}', '@cppdom_cxxflags@' : '', - '@includedir@' : base_inst_paths['include'], + '@includedir@' : inst_paths['include'], '@cppdom_extra_cxxflags@' : '', '@cppdom_extra_include_dirs@' : '', '@cppdom_libs@' : "-l%s" % cppdom_shared_libname, - '@libdir@' : base_inst_paths['lib'], + '@libdir@' : inst_paths['lib'], '@arch@' : arch, '@version@' : cppdom_version_str } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |