Commit Graph

219 Commits

Author SHA1 Message Date
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
michael
e99826618f * Moved fppkg units to package
git-svn-id: trunk@17446 -
2011-05-13 20:24:49 +00:00
michael
94cc1eef04 * Patch from Darius to fix 19348
git-svn-id: trunk@17440 -
2011-05-13 11:16:09 +00:00
michael
cb3043b3a2 * Fixed 19068
git-svn-id: trunk@17235 -
2011-04-03 09:27:06 +00:00
joost
7b613697fa * Fixed AV when files cant be opened
git-svn-id: trunk@17180 -
2011-03-25 18:35:57 +00:00
joost
547a1b289c * Do not use a buildunit, but build the units directly. To avoid that
logic on which units to use has to be changed on two places

git-svn-id: trunk@16960 -
2011-02-21 09:33:17 +00:00
joost
27b6b908f1 * Fixed problem with spaces in path of add-ins (maybequoted was called twice)
git-svn-id: trunk@16936 -
2011-02-19 10:38:36 +00:00
joost
445dd5fc91 * Show message when downloading package
git-svn-id: trunk@16935 -
2011-02-18 22:03:38 +00:00
joost
04017bd0f3 * Do not show the message that dependencies are being installed in recursive calls
git-svn-id: trunk@16933 -
2011-02-18 20:58:12 +00:00
joost
e5b156f29a * When a add-in is installed, add it to the fpmake dependencies list, so that packages
depending on it can be installed in one go.

git-svn-id: trunk@16931 -
2011-02-17 17:03:18 +00:00
joost
06fb7437d9 * Use macro in default LocalRepository setting
* When no FPCDIR env. variable is set, do not clear the GlobalInstallDir

git-svn-id: trunk@16930 -
2011-02-17 13:12:26 +00:00
joost
5df80040ce * Solved issues setting the default GlobalPrefix and GlobalInstallDir
git-svn-id: trunk@16929 -
2011-02-17 12:17:31 +00:00
joost
45f6cc6567 * Do now show newlines in listsettings
git-svn-id: trunk@16928 -
2011-02-17 11:25:06 +00:00
joost
496a232570 * Use macros instead of code to resolve Global-and Local-InstallDir
* Added CompilerVersion macro

git-svn-id: trunk@16927 -
2011-02-17 09:57:42 +00:00
joost
83d224e61c * Alined settings output
git-svn-id: trunk@16926 -
2011-02-16 20:53:23 +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
533f01f158 * Use fppkg as application name on Windows and other OS'es. This means that
on all targets the same configuration filename and the same prefix for the
   local repository is used. This is easier to explain in the documentation.

git-svn-id: trunk@16921 -
2011-02-16 13:25:23 +00:00
joost
4d13235ea0 * Store the location of the original source when installing a package
* Store the used options to install a package in fpunits.conf
 * When a package is re-installed because of broken dependencies, use the stored
   source-path and options if possible
 * When installing a package from the current directory, make sure the right
   directory is used. It could be changed while installing dependencies.

git-svn-id: trunk@16918 -
2011-02-15 15:56:21 +00:00
joost
8292cc17e2 * Show that dependencies are being installed
git-svn-id: trunk@16912 -
2011-02-13 15:12:13 +00:00
joost
4e18e505f6 * Show message to inform why depending packages are installed
git-svn-id: trunk@16897 -
2011-02-08 17:10:58 +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
94e9d5ebb8 * Added TPackage.IsFPMakeAddIn, when this flag is set, the package can be
needed when compiling fpmake.pp files. 
 * Pass -dCOMPILED_BY_FPPKG to the compiler when compiling fpmake files. This
   is used to show better error-messages when a fpmake-addin is missing
 * FPMKUnitDeps is not a constant anymore, but a variable, so that extra 
   dependencies for the fpmake.pp files can be added. (The add-ins)
 * Added TFPMKUnitDep.Def, so that it canbe detected is an AddIn is available

git-svn-id: trunk@16462 -
2010-11-28 13:01:05 +00:00
joost
6a4ea03acb * Added FPMakeOptions to the global configuration file, to pass custom options to fpmake
git-svn-id: trunk@16349 -
2010-11-14 19:29:26 +00:00
Károly Balogh
497518c6a3 + disable unimplemented stuff in fppkg for MorphOS/Amiga, so it builds at least
git-svn-id: trunk@16194 -
2010-10-21 03:25:15 +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
mazen
b127fc154a * Fixed spell error revealed by lintian.
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +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
819b0a0f0a * Regenerated and added comment how to re-generate
git-svn-id: trunk@16038 -
2010-09-23 19:14:43 +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
21c81ee3fd * Session-info removed from Lazarus project-file
git-svn-id: trunk@16006 -
2010-09-19 10:39:49 +00:00
joost
0dfd6f6675 * Added GlobalPrefix and LocalPrefix settings to compilersettings of fppkg
* By default only use the prefix instead of the InstallDir settings

git-svn-id: trunk@15919 -
2010-08-29 19:50:19 +00:00
joost
1a7cbeeb88 * Flush text output before calling external programs
git-svn-id: trunk@15917 -
2010-08-29 13:08:07 +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
Almindor
ee598d6f67 * update lNet to 0.6.4
git-svn-id: trunk@15275 -
2010-05-13 21:19:47 +00:00
joost
d4af41d4bf * Do not check platform-availability for manifest and archive commands
git-svn-id: trunk@15267 -
2010-05-13 17:12:58 +00:00
joost
b475fa84d7 * Pass on --debug to fpmake
git-svn-id: trunk@15266 -
2010-05-13 16:55:23 +00:00
joost
d94ee900fb * Also check cpu and os when the package in the current directory is used
git-svn-id: trunk@15258 -
2010-05-11 19:42:42 +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
d27093ceba * Evaluate macros when getting LocalUnitDir and GlobalUnitDir
git-svn-id: trunk@15168 -
2010-04-24 21:38:07 +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
2ca892c361 * Added ability to use macros ({AppConfigDir}, {UserDir} and {LocalRepository}) in path settings
git-svn-id: trunk@15159 -
2010-04-22 09:17:45 +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