]> git.tdb.fi Git - builder.git/log
builder.git
11 years agoGet rid of the Library and SystemLibrary classes as unnecessary abstractions
Mikko Rasa [Sun, 6 May 2012 11:25:11 +0000 (14:25 +0300)]
Get rid of the Library and SystemLibrary classes as unnecessary abstractions

11 years agoMove the Component reference to Target and make it a pointer
Mikko Rasa [Sun, 6 May 2012 11:00:07 +0000 (14:00 +0300)]
Move the Component reference to Target and make it a pointer
Remove Package pointer from Target constructor

11 years agoMove some install location assignments to more logical places
Mikko Rasa [Fri, 4 May 2012 19:15:45 +0000 (22:15 +0300)]
Move some install location assignments to more logical places

11 years agoTool names are no longer retrieved from Architecture
Mikko Rasa [Fri, 4 May 2012 18:14:29 +0000 (21:14 +0300)]
Tool names are no longer retrieved from Architecture

11 years agoHave Architecture provide pattern lists for library and executable filenames
Mikko Rasa [Fri, 4 May 2012 18:10:47 +0000 (21:10 +0300)]
Have Architecture provide pattern lists for library and executable filenames

11 years agoConsolidate various target state variables into a single state
Mikko Rasa [Tue, 1 May 2012 11:22:09 +0000 (14:22 +0300)]
Consolidate various target state variables into a single state

11 years agoRename Target::get_rebuild to needs_rebuild
Mikko Rasa [Tue, 1 May 2012 11:19:43 +0000 (14:19 +0300)]
Rename Target::get_rebuild to needs_rebuild

11 years agoMove C-specific stuff from SourceFile to CSourceFile
Mikko Rasa [Tue, 1 May 2012 10:05:57 +0000 (13:05 +0300)]
Move C-specific stuff from SourceFile to CSourceFile

11 years agoRemove the buildable flag and instead check for tool being non-null
Mikko Rasa [Tue, 1 May 2012 08:33:42 +0000 (11:33 +0300)]
Remove the buildable flag and instead check for tool being non-null

11 years agoGet rid of separate header targets which serve no useful purpose
Mikko Rasa [Tue, 1 May 2012 08:18:21 +0000 (11:18 +0300)]
Get rid of separate header targets which serve no useful purpose

11 years agoSimplify InstalledFile::generate_target_path
Mikko Rasa [Mon, 30 Apr 2012 11:47:34 +0000 (14:47 +0300)]
Simplify InstalledFile::generate_target_path

11 years agoBetter use of OOP in determining file install locations
Mikko Rasa [Mon, 30 Apr 2012 08:25:50 +0000 (11:25 +0300)]
Better use of OOP in determining file install locations

11 years agoRewrite BuildInfo to be compiler-agnostic
Mikko Rasa [Fri, 27 Apr 2012 18:04:23 +0000 (21:04 +0300)]
Rewrite BuildInfo to be compiler-agnostic

11 years agoMake BuildInfo able to handle chained dependencies
Mikko Rasa [Fri, 27 Apr 2012 18:03:11 +0000 (21:03 +0300)]
Make BuildInfo able to handle chained dependencies

11 years agoDerive BuildInfo::Loader from ObjectLoader
Mikko Rasa [Sat, 21 Apr 2012 19:33:34 +0000 (22:33 +0300)]
Derive BuildInfo::Loader from ObjectLoader

11 years agoDrop some deprecated datafile statements from Component
Mikko Rasa [Sat, 21 Apr 2012 18:24:46 +0000 (21:24 +0300)]
Drop some deprecated datafile statements from Component

11 years agoLet the tools deal with cross-compiling flags
Mikko Rasa [Sat, 21 Apr 2012 18:19:48 +0000 (21:19 +0300)]
Let the tools deal with cross-compiling flags

11 years agoRename BuildInfo::add to update_from
Mikko Rasa [Sat, 21 Apr 2012 18:05:39 +0000 (21:05 +0300)]
Rename BuildInfo::add to update_from

11 years agoRename Install to InstalledFile
Mikko Rasa [Fri, 13 Apr 2012 16:54:47 +0000 (19:54 +0300)]
Rename Install to InstalledFile

11 years agoRewrite ObjectFile dependency finding so it doesn't depend on includes
Mikko Rasa [Fri, 13 Apr 2012 16:47:23 +0000 (19:47 +0300)]
Rewrite ObjectFile dependency finding so it doesn't depend on includes

11 years agoGet rid of the global TargetList typedef
Mikko Rasa [Wed, 11 Apr 2012 18:39:21 +0000 (21:39 +0300)]
Get rid of the global TargetList typedef

11 years agoMove file-to-target mapping to a separate class
Mikko Rasa [Tue, 10 Apr 2012 15:07:22 +0000 (18:07 +0300)]
Move file-to-target mapping to a separate class

11 years agoBig rewrite for a more tool-centric approach
Mikko Rasa [Sun, 8 Apr 2012 16:11:29 +0000 (19:11 +0300)]
Big rewrite for a more tool-centric approach

12 years agoAdd .gitignore file
Mikko Rasa [Sun, 8 Apr 2012 16:19:10 +0000 (19:19 +0300)]
Add .gitignore file

12 years agoRemove a useless path-to-string conversion
Mikko Rasa [Sat, 31 Mar 2012 10:51:58 +0000 (13:51 +0300)]
Remove a useless path-to-string conversion

12 years agoMake symlink a feature of the Install target rather than a target on its own
Mikko Rasa [Sat, 31 Mar 2012 10:51:23 +0000 (13:51 +0300)]
Make symlink a feature of the Install target rather than a target on its own

12 years agoImprove file target naming
Mikko Rasa [Sat, 31 Mar 2012 10:47:28 +0000 (13:47 +0300)]
Improve file target naming

12 years agoFix an incorrect assumption of target name being the basename of its path
Mikko Rasa [Sat, 31 Mar 2012 10:46:47 +0000 (13:46 +0300)]
Fix an incorrect assumption of target name being the basename of its path

12 years agoAdd a separate set of functions for registering and looking up targets by path
Mikko Rasa [Fri, 30 Mar 2012 19:21:39 +0000 (22:21 +0300)]
Add a separate set of functions for registering and looking up targets by path

12 years agoMove the TargetMap typedef inside Builder
Mikko Rasa [Fri, 30 Mar 2012 18:00:52 +0000 (21:00 +0300)]
Move the TargetMap typedef inside Builder

12 years agoReplace per-file copyright notices with a single file
Mikko Rasa [Fri, 24 Feb 2012 09:55:21 +0000 (11:55 +0200)]
Replace per-file copyright notices with a single file

12 years agoDetect multiarch in bootstrap.sh as well
Mikko Rasa [Mon, 19 Sep 2011 09:07:07 +0000 (09:07 +0000)]
Detect multiarch in bootstrap.sh as well

12 years agoRudimentary support for Debian/Ubuntu multiarch library locations
Mikko Rasa [Fri, 16 Sep 2011 20:24:53 +0000 (20:24 +0000)]
Rudimentary support for Debian/Ubuntu multiarch library locations

12 years agoFurther changes for library compatibility
Mikko Rasa [Tue, 6 Sep 2011 11:47:24 +0000 (11:47 +0000)]
Further changes for library compatibility

12 years agoAdjust to library changes
Mikko Rasa [Thu, 1 Sep 2011 06:13:16 +0000 (06:13 +0000)]
Adjust to library changes
Avoid conflict with multiple files with same name

12 years agoAdd a binary package for OpenGL ES
Mikko Rasa [Wed, 25 May 2011 07:38:10 +0000 (07:38 +0000)]
Add a binary package for OpenGL ES

12 years agoFix a bug in condition evaluation
Mikko Rasa [Wed, 25 May 2011 07:38:00 +0000 (07:38 +0000)]
Fix a bug in condition evaluation

13 years agoDeprecate the modular keyword for programs and host keyword for modules
Mikko Rasa [Thu, 20 Jan 2011 08:26:24 +0000 (08:26 +0000)]
Deprecate the modular keyword for programs and host keyword for modules

13 years agoMove variable expansion from Config to SourcePackage
Mikko Rasa [Wed, 19 Jan 2011 14:14:33 +0000 (14:14 +0000)]
Move variable expansion from Config to SourcePackage
Allow variables to be used in component sources

13 years agoFix rebuild graph walking over symlinks
Mikko Rasa [Fri, 12 Nov 2010 20:30:55 +0000 (20:30 +0000)]
Fix rebuild graph walking over symlinks
Allow non-numeric optimize levels (for -Os)
Don't create symlinks for shlibs without soname

13 years agoAdd an alias for x86_64
Mikko Rasa [Sat, 7 Aug 2010 00:31:08 +0000 (00:31 +0000)]
Add an alias for x86_64
Make symlinks depend on the link target

14 years agoInstall shared libs correctly even if they have no soname
Mikko Rasa [Sun, 21 Feb 2010 13:10:56 +0000 (13:10 +0000)]
Install shared libs correctly even if they have no soname

14 years agoDon't segfault on missing packages
Mikko Rasa [Thu, 11 Feb 2010 08:22:40 +0000 (08:22 +0000)]
Don't segfault on missing packages

14 years agoUse ${prefix} in .pc files
Mikko Rasa [Thu, 11 Feb 2010 07:55:17 +0000 (07:55 +0000)]
Use ${prefix} in .pc files

14 years agoFix Condition to handle booleans properly
Mikko Rasa [Wed, 10 Feb 2010 14:46:45 +0000 (14:46 +0000)]
Fix Condition to handle booleans properly

14 years agoVarious fixes to package dependency and build info handling
Mikko Rasa [Wed, 10 Feb 2010 14:18:12 +0000 (14:18 +0000)]
Various fixes to package dependency and build info handling

14 years agoAdd a generic internal alias system to Architecture
Mikko Rasa [Mon, 8 Feb 2010 09:53:22 +0000 (09:53 +0000)]
Add a generic internal alias system to Architecture
Avoid breaking packages that compare arch against win32

14 years agoAdd --no-externals option
Mikko Rasa [Sat, 6 Feb 2010 07:31:38 +0000 (07:31 +0000)]
Add --no-externals option

14 years agoAdd Symlink target and associated action
Mikko Rasa [Fri, 5 Feb 2010 21:33:49 +0000 (21:33 +0000)]
Add Symlink target and associated action
More generic mechanism for figuring out real targets behind proxies
Give the -soname option to linker when appropriate
Install libraries with versioned names

14 years agoMove some file-related things from Target to FileTarget
Mikko Rasa [Fri, 5 Feb 2010 12:00:29 +0000 (12:00 +0000)]
Move some file-related things from Target to FileTarget

14 years agoImplement rdeps mode and sorting in Analyzer
Mikko Rasa [Fri, 5 Feb 2010 11:44:30 +0000 (11:44 +0000)]
Implement rdeps mode and sorting in Analyzer

14 years agoMake the name of a FileTarget be its basename instead of full path
Mikko Rasa [Fri, 5 Feb 2010 10:35:21 +0000 (10:35 +0000)]
Make the name of a FileTarget be its basename instead of full path

14 years agoCosmetic fixes to some options
Mikko Rasa [Fri, 5 Feb 2010 09:33:19 +0000 (09:33 +0000)]
Cosmetic fixes to some options

14 years agoRewrite the architecture system
Mikko Rasa [Fri, 5 Feb 2010 09:23:05 +0000 (09:23 +0000)]
Rewrite the architecture system
CPU is now be specified as a part of the architecture
Cross-compiling between 32/64-bit variants is supported

14 years agoStyle update: add spaces around assignment operators
Mikko Rasa [Thu, 3 Dec 2009 09:03:56 +0000 (09:03 +0000)]
Style update: add spaces around assignment operators

14 years agoSupport default values for features
Mikko Rasa [Thu, 3 Dec 2009 08:31:27 +0000 (08:31 +0000)]
Support default values for features
Use textual values for features rather than numeric

14 years agoCompile libraries with -fPIC
Mikko Rasa [Thu, 3 Dec 2009 08:12:08 +0000 (08:12 +0000)]
Compile libraries with -fPIC
Update arm tool prefix

14 years agoChange component order so that miscellaneous installed files get in tarball 1.0
Mikko Rasa [Mon, 21 Sep 2009 19:05:24 +0000 (19:05 +0000)]
Change component order so that miscellaneous installed files get in tarball

14 years agoBump version to 1.0
Mikko Rasa [Mon, 21 Sep 2009 18:57:29 +0000 (18:57 +0000)]
Bump version to 1.0
Output version with help message

14 years agoAlso use file size to determine whether to reinstall a file
Mikko Rasa [Mon, 21 Sep 2009 16:23:33 +0000 (16:23 +0000)]
Also use file size to determine whether to reinstall a file

14 years agoImprove target names in announces
Mikko Rasa [Mon, 21 Sep 2009 16:19:49 +0000 (16:19 +0000)]
Improve target names in announces

14 years agoProperly handle default and install options for datafiles
Mikko Rasa [Mon, 21 Sep 2009 09:54:09 +0000 (09:54 +0000)]
Properly handle default and install options for datafiles

14 years agoDon't b0rk if C++ compiler is not found while trying to determine its version
Mikko Rasa [Sun, 20 Sep 2009 18:08:05 +0000 (18:08 +0000)]
Don't b0rk if C++ compiler is not found while trying to determine its version

14 years agoAdd support for building datafiles
Mikko Rasa [Sun, 20 Sep 2009 17:34:22 +0000 (17:34 +0000)]
Add support for building datafiles

14 years agoFix compile errors on 64-bit systems
Mikko Rasa [Sun, 20 Sep 2009 16:19:05 +0000 (16:19 +0000)]
Fix compile errors on 64-bit systems

14 years agoAdd install component type
Mikko Rasa [Fri, 11 Sep 2009 22:48:06 +0000 (22:48 +0000)]
Add install component type
Allow specifying a package for File

14 years agoChange the default value of the cpu option to "none" since there's no actual autodete...
Mikko Rasa [Fri, 4 Sep 2009 21:15:21 +0000 (21:15 +0000)]
Change the default value of the cpu option to "none" since there's no actual autodetection
Remove target in Archive action since ar doesn't truncate the file
Check for target existence in Copy action to avoid unnecessary exceptions

14 years agoMake bootstrap.sh more user-friendly when reporting missing libraries
Mikko Rasa [Fri, 4 Sep 2009 10:18:49 +0000 (10:18 +0000)]
Make bootstrap.sh more user-friendly when reporting missing libraries
Rewrite parts of Readme.txt

14 years agoAlways prepare cmdline to avoid some dependency hassle
Mikko Rasa [Wed, 26 Aug 2009 11:16:55 +0000 (11:16 +0000)]
Always prepare cmdline to avoid some dependency hassle
Get rid of Target::count_rebuild function
Detect cyclic dependencies
Re-enable the tarball target which accidentally got commented out earlier

15 years agoMiscellaneous minor code cleanups
Mikko Rasa [Wed, 13 May 2009 20:15:38 +0000 (20:15 +0000)]
Miscellaneous minor code cleanups

15 years agoSet PKG_CONFIG_PATH to include prefix
Mikko Rasa [Mon, 11 May 2009 20:43:21 +0000 (20:43 +0000)]
Set PKG_CONFIG_PATH to include prefix
More intelligent checking for pkg-config errors

15 years agoAdd a tarball component type
Mikko Rasa [Mon, 11 May 2009 09:51:01 +0000 (09:51 +0000)]
Add a tarball component type
Turn the default tarball target into a component
Deprecate tar_file statement from package config
Make File take an Msp::FS::Path instead of an std::string
Sort components so that targets will be created in the correct order

15 years agoUse mspio for all I/O operations
Mikko Rasa [Thu, 7 May 2009 06:08:09 +0000 (06:08 +0000)]
Use mspio for all I/O operations
Use GetOpt to generate help messages for options
Make --help work even if there's no package in cwd

15 years agoDeprecate the install_headers statement
Mikko Rasa [Tue, 5 May 2009 19:44:22 +0000 (19:44 +0000)]
Deprecate the install_headers statement
Use the headers component name as install location

15 years agoFix a problem in finding ObjectFile dependencies
Mikko Rasa [Tue, 17 Mar 2009 11:18:42 +0000 (11:18 +0000)]
Fix a problem in finding ObjectFile dependencies
Don't fail unlinking if the file didn't exist

15 years agoBugfixes
Mikko Rasa [Sat, 21 Feb 2009 14:13:45 +0000 (14:13 +0000)]
Bugfixes

15 years agoRework the Target class hierarchy
Mikko Rasa [Sat, 21 Feb 2009 00:45:50 +0000 (00:45 +0000)]
Rework the Target class hierarchy
- Introduce FileTarget and move the stat call there
- More senseful relationships between executable and library targets
- Some related minor cleanups

15 years agoReorder class members
Mikko Rasa [Thu, 19 Feb 2009 16:43:37 +0000 (16:43 +0000)]
Reorder class members
Put all function documentation comments to headers
Update copyright notices

15 years agoFix some usages of get_current_arch() inside Builder
Mikko Rasa [Thu, 19 Feb 2009 08:22:21 +0000 (08:22 +0000)]
Fix some usages of get_current_arch() inside Builder
Fix a mistake in Readme.txt
Remove the binary package for ODE since it provides a .pc file now

15 years agoConvert all fstreams to IO::Files
Mikko Rasa [Sun, 17 Aug 2008 10:08:04 +0000 (10:08 +0000)]
Convert all fstreams to IO::Files

15 years agoDrop the .cache suffix when saving config too
Mikko Rasa [Sun, 17 Aug 2008 07:44:57 +0000 (07:44 +0000)]
Drop the .cache suffix when saving config too

15 years agoUse IO::BufferedFile where appropriate
Mikko Rasa [Sat, 16 Aug 2008 10:17:48 +0000 (10:17 +0000)]
Use IO::BufferedFile where appropriate

15 years agoLoad builderrc from sys_data_dir to avoid the need of copying it to $HOME
Mikko Rasa [Sat, 16 Aug 2008 08:21:21 +0000 (08:21 +0000)]
Load builderrc from sys_data_dir to avoid the need of copying it to $HOME
Do not incorporate the from path in include hash for <> includes
Fix an error with C++ include path construction
Use package-relative filenames for storing dependencies
Detect if dependencies are ot found in deps cache and find them

15 years agoRefactor arch handling a bit
Mikko Rasa [Fri, 15 Aug 2008 21:26:11 +0000 (21:26 +0000)]
Refactor arch handling a bit
Add detection of native arch name

15 years agoAdd some output to get_package_source
Mikko Rasa [Fri, 15 Aug 2008 18:14:03 +0000 (18:14 +0000)]
Add some output to get_package_source
Redirect stderr to /dev/null in run_command

15 years agoMake bootstrap.sh more POSIX compliant
Mikko Rasa [Fri, 15 Aug 2008 17:49:19 +0000 (17:49 +0000)]
Make bootstrap.sh more POSIX compliant

15 years agoImprove automatic package finding to detect directories with version number 0.9
Mikko Rasa [Wed, 13 Aug 2008 05:02:01 +0000 (05:02 +0000)]
Improve automatic package finding to detect directories with version number
Make bootstrap.sh recognize libs as extracted from tarballs

15 years agoSome additions to Readme.txt
Mikko Rasa [Sun, 10 Aug 2008 14:00:49 +0000 (14:00 +0000)]
Some additions to Readme.txt

15 years agoMake sure we have libpaths for all static libs
Mikko Rasa [Sun, 10 Aug 2008 13:46:27 +0000 (13:46 +0000)]
Make sure we have libpaths for all static libs

15 years agoBump version number to 0.9
Mikko Rasa [Fri, 8 Aug 2008 12:51:53 +0000 (12:51 +0000)]
Bump version number to 0.9
Add License.txt and a license section to Readme.txt
Add a section about using Builder to Readme.txt

15 years agoUpdate bootstrap.sh and Readme.txt to reflect the msppath -> mspfs transition
Mikko Rasa [Fri, 8 Aug 2008 09:51:21 +0000 (09:51 +0000)]
Update bootstrap.sh and Readme.txt to reflect the msppath -> mspfs transition
Drop the .cache suffix from certain files
Clean up svn:ignore a bit

15 years agoPut output files for foreign archs in their own directories
Mikko Rasa [Fri, 8 Aug 2008 08:59:12 +0000 (08:59 +0000)]
Put output files for foreign archs in their own directories

15 years agoMigrate from msppath to mspfs
Mikko Rasa [Thu, 7 Aug 2008 05:48:35 +0000 (05:48 +0000)]
Migrate from msppath to mspfs
New way of using custom loaders

15 years agoMake warnings configurable through build_info and command line
Mikko Rasa [Wed, 11 Jun 2008 14:46:05 +0000 (14:46 +0000)]
Make warnings configurable through build_info and command line
Some minor fixes

15 years agoAdd missing includes
Mikko Rasa [Tue, 10 Jun 2008 13:17:22 +0000 (13:17 +0000)]
Add missing includes
Fix style warnings from gcc 4.3
Disable -Wconversion since it causes too much trouble with gcc 4.3

15 years agoInclude libmode in library lookup hash
Mikko Rasa [Thu, 29 May 2008 00:27:08 +0000 (00:27 +0000)]
Include libmode in library lookup hash
Redesign Target::build
Always remove target before rebuilding to avoid trouble with ar

16 years agoUse package directory as work dir for ExternalActions and make filename arguments...
Mikko Rasa [Tue, 20 May 2008 12:02:55 +0000 (12:02 +0000)]
Use package directory as work dir for ExternalActions and make filename arguments relative to it
Do not use static libraries when linking dynamic ones

16 years agoChange arch and prefix to global options
Mikko Rasa [Thu, 13 Mar 2008 20:14:25 +0000 (20:14 +0000)]
Change arch and prefix to global options

16 years agoOne more exception fix
Mikko Rasa [Mon, 3 Mar 2008 17:51:44 +0000 (17:51 +0000)]
One more exception fix

16 years agoException handling fixes
Mikko Rasa [Thu, 7 Feb 2008 15:38:09 +0000 (15:38 +0000)]
Exception handling fixes