Commit Graph

58 Commits

Author SHA1 Message Date
joost
160c2fec65 * Use fpmkunit in the fppkg package, to avoid double code.
This also adds (among others) iphonesim support to fppkg

git-svn-id: trunk@21959 -
2012-07-23 20:56:09 +00:00
joost
7b13c9230d * Renamed TLogLevel vl** enumerations to ll**, to avoid
conflicts with fpmkunits TVerboseLevel

git-svn-id: trunk@21957 -
2012-07-23 20:13:19 +00:00
joost
a26f1d9dd3 * When the OS,CPU or compiler are specifically given on the command line, the
fpmake-compileroptions and default compileroptions can differ. Even when
   they are based on the same configuration file.

git-svn-id: trunk@20065 -
2012-01-13 15:39:27 +00:00
joost
0e1f20773a * Move LoadCompilerDefaults and LoadGlobalDefaults to the fppkg package, so it can be used by other fppkg clients
git-svn-id: trunk@17652 -
2011-06-04 12:19:19 +00:00
joost
fa58935cfe * Added command listsettings to values for all settings
git-svn-id: trunk@16925 -
2011-02-16 20:44:56 +00:00
joost
cedede9e81 * Do not handle packages twice, when they are passed on the command line
git-svn-id: trunk@16463 -
2010-11-28 17:08:39 +00:00
joost
631811d779 * Added the ability to skip the rebuild of all packages which are dependent on the package being installed
git-svn-id: trunk@16131 -
2010-10-11 20:24:08 +00:00
joost
b5fadc3414 * Added --cpu and --os command-line options
git-svn-id: trunk@16045 -
2010-09-25 20:03:05 +00:00
joost
b9b0eb1152 * Hopefully finally fixed the --options option after r16007,r16016
git-svn-id: trunk@16033 -
2010-09-20 21:33:36 +00:00
joost
ff4614177b * Fixed exception while parsing the -o option for the second time
git-svn-id: trunk@16016 -
2010-09-19 20:06:37 +00:00
joost
ed985423ac * Do not use -c command line parameter for the compiler executable, it is already used for the compiler config file
git-svn-id: trunk@16015 -
2010-09-19 18:23:12 +00:00
joost
f6ced54fb4 * Parse command-line options twice, so they can override values from the configuration files
* Added --prefix command-line option
 * Added -n command-line option to skip reading of configuration files
 * Added --compiler option to set compiler-executable
 * When the compiler version, target os or cpu is not given in the configuration files, obtain them from the compiler-executable 

git-svn-id: trunk@16007 -
2010-09-19 11:05:45 +00:00
joost
4cb34b50f3 * Only save new config-files when the version is updated or the file is newly created
git-svn-id: trunk@15914 -
2010-08-28 11:14:01 +00:00
joost
db2d55128c * Added option to pass options to the compiler
git-svn-id: trunk@15873 -
2010-08-22 12:07:12 +00:00
joost
6be872bb13 * Added -l/--showlocation option for the list command to show which packages are installed locally and globally
git-svn-id: trunk@15250 -
2010-05-10 08:31:33 +00:00
joost
2ad42e8d8f * Show ''broken'' option and ''fixbroken'' command in help
* Help output fits now in a width of 80 chars
 * Do only fail on broken packages for commands for which this is relevant
 * Show which packages are broken in the list of packages

git-svn-id: trunk@15243 -
2010-05-09 10:20:44 +00:00
joost
f95c24176a * Set the value of the LocalRepository macro in both compilersettings, after the globalsettings are read
git-svn-id: trunk@15177 -
2010-04-25 19:54:57 +00:00
joost
82eb1a1a1c * Do not handle files with the same name as a package as a package-file if the extension is not .zip
git-svn-id: trunk@15169 -
2010-04-24 21:44:28 +00:00
joost
3295cd8370 * First search for a user-specific configuration file, if that does not exist,
search for a system-wide configuration file. If this one also does not exist,
   create a system-wide configuration if the user is a super-user. Else create
   a user-specific configuration file

git-svn-id: trunk@15161 -
2010-04-23 12:57:55 +00:00
joost
ccce77f28b * Forgot to commit file in r14960, fixes make all
git-svn-id: trunk@14964 -
2010-03-01 20:53:27 +00:00
joost
660a7c4b6d * Load the local mirrors before an update is tried if it is a new installation or else the update will always fail
git-svn-id: trunk@12459 -
2009-01-01 12:09:19 +00:00
peter
e8e9da4047 * replace showall with list command
* support new homepageurl and downloadurl
  * update fpmkunit requirement to 2.2.2-1

git-svn-id: trunk@12171 -
2008-11-18 23:59:58 +00:00
peter
efeafa36aa * log configuration settings
git-svn-id: trunk@11953 -
2008-10-23 19:20:15 +00:00
marco
901bf9689e * patch from peter
git-svn-id: trunk@11943 -
2008-10-22 16:30:20 +00:00
peter
85250cca06 * split repository in InstalledRepository and AvailableRepository
* replace CurrentPackage by PackageName
  * remove obsolete execute arguments

git-svn-id: trunk@10610 -
2008-04-06 21:00:24 +00:00
peter
a4c852d729 * detect broken packages, give an error if broken packages are found and the user
needs to run 'fppkg fixbroken' first
  * add --broken option to skip the broken package detection at startup
  * call fixbroken implicitly after an install command from the commandline has been processed.
    This will make sure that all packages depending on the installed package will also be recompiled
    and reinstalled.
    Warning: Installing a new rtl will recompile everything. Currently this will
    give a broken installation because not all packages compile yet.

git-svn-id: trunk@10595 -
2008-04-01 22:39:20 +00:00
peter
36316bea75 * recovery mode added to always use internal fpmkunit
* fix dependency versioning

git-svn-id: trunk@10280 -
2008-02-10 19:06:20 +00:00
peter
18ccec1b15 * clean command
git-svn-id: trunk@10244 -
2008-02-07 23:01:28 +00:00
peter
aafabe4bb2 * log packages installed both global and local
git-svn-id: trunk@10241 -
2008-02-07 21:55:08 +00:00
peter
12931808dc * find installed versions in local and global install dir
* support Package.fpc for backwards compatibility

git-svn-id: trunk@10214 -
2008-02-04 21:14:25 +00:00
peter
7ab46e8507 * basic work to load installed versions from fpunits.conf
git-svn-id: trunk@10182 -
2008-02-03 15:16:13 +00:00
peter
dd1a7ce8e3 * quoted parameters
* workaround broken fpc.exe in 2.2.0, retreive real compiler binary instead
  * fppkg requires at least 2.2.1 to be compiled, because of broken sysutils and zipper

git-svn-id: trunk@10132 -
2008-02-01 08:12:33 +00:00
peter
ef9177ccc4 * report URL in download failure
* ignore errors in initial download
  * fixed crash with selecting mirror without doing an update

git-svn-id: trunk@10076 -
2008-01-27 22:40:36 +00:00
peter
c80c97739c * rename Packages dir to Archives dir
* use local configuration dirs and files

git-svn-id: trunk@10075 -
2008-01-27 22:17:33 +00:00
peter
35c6e49575 * verbosity cleanup so it is constistent with fpmkunit
* lnet http failures now raise an error
  * mirrors.xml support
  * config file upgrading added
  * weighted random mirror selection

git-svn-id: trunk@10013 -
2008-01-27 00:13:27 +00:00
peter
2377b34d16 * support passing archive on the commandline for build,compile,install.
this can be used to test build of archives using 'fppkg archive && fppkg build <archive.zip>'

git-svn-id: trunk@9858 -
2008-01-21 17:58:18 +00:00
peter
f3b26a94fe * stop when fpmake fails
git-svn-id: trunk@9355 -
2007-11-30 00:15:50 +00:00
peter
b72cb5f4b8 * check if the minimum required fpmkunit is installed, if not
installed or too old then fallback to internal source

git-svn-id: trunk@9305 -
2007-11-20 22:01:22 +00:00
peter
ed3d9e1e5f * downloader registration
git-svn-id: trunk@9283 -
2007-11-18 17:25:52 +00:00
peter
269d8ecf51 * split options in globaloptions and compileroptions
* use compileroptions to load settings for compiling fpmake
  * simple version check in config files

git-svn-id: trunk@9256 -
2007-11-14 23:10:09 +00:00
peter
6a0b278727 * basic dependency handling is working
git-svn-id: trunk@9215 -
2007-11-12 17:07:23 +00:00
peter
33b5d4d73c * compile command added
* basic work for package dependencies

git-svn-id: trunk@9168 -
2007-11-09 01:00:59 +00:00
peter
100dab3c33 * support local and global install directories, default is to use a local
install dir for normal users and for root the global install dir
  * updated unit check in fpmake build to look in local and global dirs
  * auto bootstrap when fpmkunit is not found, no --bootstrap needed
  * archive command line option to call fpmake archive

git-svn-id: trunk@9011 -
2007-10-30 22:07:34 +00:00
peter
94aa14018d * compile fixed
git-svn-id: trunk@8944 -
2007-10-26 08:13:24 +00:00
peter
6ea1339f0a * initial code for bootstrapping using only source dirs
git-svn-id: trunk@8943 -
2007-10-25 23:10:36 +00:00
peter
88f2a0e53a * avail,scan commands added
* finished createarchive command, compresses still the whole source
    dir instead of using files from a specified input list

git-svn-id: trunk@7521 -
2007-05-29 20:56:59 +00:00
peter
7fa93d8b1a * separate compiler setting for compiling fpmake.pp
* first auto-detected fpc is used for compiling fpmake.pp

git-svn-id: trunk@6567 -
2007-02-19 22:20:43 +00:00
peter
cf8f48fc5f * remote and local repository cleanup
* development hack added to use ~/repository as default
    remote repository
  * tfppakcage.filename added for file location instead offical
    repository
  * tfppackage.url renamed to externalurl for 3rd party

git-svn-id: trunk@6478 -
2007-02-13 19:39:42 +00:00
peter
b928627d6d * pkgglobals added
* prepare for recursive executeaction

git-svn-id: trunk@6474 -
2007-02-13 17:18:01 +00:00
peter
2fe7c8ec82 * remove spaces and tabs
* first things to add archive unzipping

git-svn-id: trunk@6447 -
2007-02-11 22:17:52 +00:00