Commit Graph

75 Commits

Author SHA1 Message Date
joost
fd191a9d57 --- Merging r44193 into '.':
U    utils/fppkg/fppkg.pp
--- Recording mergeinfo for merge of r44193 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44214 -
2020-02-18 22:30:10 +00:00
marco
ae432bf0e6 # revisions: 40515,40687,40689,40690,40705,40711,40748,41197,41220,41226,41418,41742,41771,41848,41860,41946
git-svn-id: branches/fixes_3_2@42002 -
2019-05-05 16:05:49 +00:00
joost
19b60c0cf3 * Fixed the ability to build packages in .source.zip files
from the command-line. +test

git-svn-id: trunk@36715 -
2017-07-09 20:30:28 +00:00
joost
a4250d1beb * Add FPC-download-handler to fppkg
git-svn-id: trunk@36550 -
2017-06-19 21:18:37 +00:00
joost
09f415dc81 * Refactored so that TFPCustomPackagesStructure has access to the (compiler-)options
git-svn-id: trunk@35427 -
2017-02-12 14:18:20 +00:00
joost
b9f8c73198 * Replaced the global GFFppkg instance at some locations
git-svn-id: trunk@35211 -
2016-12-28 22:35:56 +00:00
joost
295c274940 * Determine the path of the <currentdirectory> package within the
PackageStructure. Set it to the current-directory at application start.
   This because the creation of manifest files could change the current
   directory while scanning for packages.

git-svn-id: trunk@34670 -
2016-10-08 16:56:20 +00:00
joost
1d2dca50a9 * FindInstalledPackages nowadays scans for both compileroptions at once
git-svn-id: trunk@34669 -
2016-10-08 16:52:08 +00:00
joost
fde6b0b53b * Do not scan for available packages while checking for fpmkunit dependencies
because those scans could depend on compilation of the fpmkunit itself.
   For the same reason the the fpmkunit-dependencies are checked now before 
   the 'normal' scan for available/installed packages.

git-svn-id: trunk@34648 -
2016-10-07 21:27:25 +00:00
joost
79d2d05c58 * Replaced the local- and global-repositories with a list of repositories.
A repository can contain installed or packages available for installation.
   The repositories have a helper-class that contains information about
   where the packages are installed and such. Things like installing a 
   package from the current-directory are done using temporary 'fake'
   repositories. The TpkgFPpkg-class keeps track of all repositories
   and packages.

git-svn-id: trunk@34503 -
2016-09-10 21:15:26 +00:00
joost
9487b46b8a * Added new structure to hold the global options. The goal is to get rid
of all globals and to contain all fppkg-related stuff into this
   structure. So it will be easier to embed fppkg into other applications.

git-svn-id: trunk@34400 -
2016-08-30 20:09:34 +00:00
joost
5d4682349d * Re-factored parsing of configuration-file, to be able to add support for include-files
git-svn-id: trunk@34315 -
2016-08-14 21:06:01 +00:00
joost
18b66865ac * Added fppkg option to gather info on a package
git-svn-id: trunk@32224 -
2015-11-03 20:53:34 +00:00
joost
57204b2404 * Fixed fppkg --config-file option
git-svn-id: trunk@32071 -
2015-10-17 13:39:29 +00:00
joost
96ea6b0001 * Added uninstall command to fppkg
git-svn-id: trunk@29439 -
2015-01-11 18:22:01 +00:00
tom_at_work
810adb2f65 Merge with trunk r22040. Regenerated makefiles.
git-svn-id: branches/targetandroid@22046 -
2012-08-09 08:12:34 +00:00
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
tom_at_work
acbc94e0fd - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +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