48 Commits

Author SHA1 Message Date
Stefan Saraev
a029deb2f1 buildsystem: clean up and cosmetics 2014-01-30 14:47:17 +01:00
Stephan Raue
7139ce0d21 scripts: remove packageformat v1 and v2 support, major buildsystem cleanup. now every package needs a 'package.mk' script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-01-30 14:47:17 +01:00
Stefan Saraev
14066b010a scripts/unpack: add {pre,post}_patch. post_unpack before patching 2014-01-05 20:14:45 +02:00
Stefan Saraev
e784a2114f Revert "buildsystem: rework patching. prepare to remove patches.upstream/"
This reverts (part of) commit f920a33507852a9af865a399c877073bf52d3f8b.

patch --dry-run fails with patches generated with git format-patch --stdout..

closes #2856
2014-01-02 16:24:09 +02:00
Stefan Saraev
b8815448fb scripts/unpack: run $PKG_DIR/unpack after extraction 2014-01-02 15:48:22 +02:00
Stephan Raue
f60ec98c4d scripts/unpack: add support for pre_unpack(), unpack() and post_unpack() in package.mk
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-01-02 14:12:03 +01:00
Stefan Saraev
f920a33507 buildsystem: rework patching. prepare to remove patches.upstream/ 2014-01-02 13:59:46 +02:00
Stephan Raue
9a5a8c5917 scripts/unpack: add (initial) support to handle 'zip' archives
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-25 23:26:25 +01:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stephan Raue
82ed6edd4c scripts/unpack: move post_unpack() after patching
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 07:53:41 +01:00
Stephan Raue
70944b24e2 scripts/*: make development more colorfull :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-20 15:51:09 +01:00
Stefan Saraev
debacf21ae buildsystem: clean up and cosmetics 2013-12-13 14:07:31 +02:00
Stefan Saraev
275542d635 scripts/unpack: force rebuild on scripts/* change 2013-12-12 21:22:32 +02:00
Stefan Saraev
45b47c68c3 scripts/unpack: simple need_unpack replacement 2013-12-12 20:41:52 +02:00
Stefan Saraev
0dc3e926dc scripts/*: cleanup. handle old unpack stamps 2013-12-12 20:00:56 +02:00
Stephan Raue
6811632277 scripts/unpack: rework content of stampfiles
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-10 20:51:08 +01:00
Stephan Raue
8c6667b5fb scripts/unpack: move $BUILD/.stamps/unpack to $PKG_BUILD/.openelec-unpack. Add support for PKG_SOURCE_DIR: if set this automatically rename extracted sourcefolders to the $PKG_NAME-$PKG_VERSION format. Remove support for the already deprecated and not more used $PKG_DIR/rename scripts. Deprecate post_unpack() function. Cleanup.
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-05 01:02:48 +01:00
Stefan Saraev
9029a76fa1 buildsystem: unpack on any package.mk change 2013-10-25 21:47:02 +03:00
Stefan Saraev
e3f153b3a7 buildsystem: add 'post_unpack'
this is built-in PKG_DIR/rename replacement
2013-10-25 19:11:23 +03:00
Stephan Raue
eb84546523 scripts: fix some STAMP filenames
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-20 04:47:18 +02:00
Stephan Raue
9ea8fa2b43 scripts: depends now on bash, bye bye dash i dont like you. This should fix #2481
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-19 02:35:52 +02:00
Stephan Raue
5339f79f73 scripts/unpack: refactor PKG_BUILD detection
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-17 02:41:39 +02:00
Stephan Raue
9592214d51 scripts/unpack: add support for version specific subfolders
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-17 12:40:01 +01:00
Stephan Raue
3fbcaec5d5 scripts/unpack: add general support for project based patches for every package, this patches must be put as *.patch files in 'projects/$PROJECT/patches/$PKG_NAME/'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-12-27 10:40:15 +01:00
Stephan Raue
62b661caa5 scripts/*: rename 'INDENT' variable to not interference with upcoming Mesa's 'INDENT' variable
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-22 02:00:23 +02:00
strolch
71c0db4008 Buildsystem patches:
- allow symlink for sources and .work
- add missing char in printf statements in scripts directory
2012-07-19 10:17:42 +02:00
Domin6
543c89c24b Change copyright and FSF address, this fixes #252 2012-02-29 13:36:32 +01:00
Stephan Raue
cb87a3dcc2 scripts/unpack: add support for scripts to rename builddirs before patching
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-12-04 08:33:57 +01:00
Stephan Raue
1fff11cce9 scripts/extract: add support to extract tar.xz files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-06-20 21:56:18 +02:00
Stephan Raue
08d6cabde8 scripts/unpack: fix handling of plain source packages
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-05-06 19:58:46 +02:00
Stephan Raue
ac5fb842f4 scripts/fixconfigtools: merge into scripts/unpack, various fixes and cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-09 11:09:22 +01:00
Stephan Raue
15c2f0113d scripts/fixconfigtools: automate fixing of configtools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-08 16:39:46 +01:00
Stephan Raue
87f76ddd29 scripts: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-09 23:32:01 +01:00
Wintemrute
2d3ad4c2da Adding Headers...... 2011-01-09 22:06:11 +01:00
Stephan Raue
91bce50566 scripts/unpack: fix quoting
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-12-18 23:44:46 +01:00
Stephan Raue
5b63210f4e scripts/unpack: quote tests and some more variables
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-12-18 22:55:20 +01:00
Stephan Raue
9067a8a457 scripts/unpack: use $PKG_BUILD variable
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-25 18:31:01 +01:00
Stephan Raue
d691d2b8f6 buildsystem: big rework & cleanup - PART-1: split functions from 'config/path' to an seperate file 'config/functions', rework and cleanup some build scripts, remove references to $TARGET_PLATFORM, add support for more then one downloadurl for $PKG_URL (partially done), remove support for: $PKG_DIR/arch, $PKG_DIR/platform, $PKG_DIR/url files, remove support for *.diff patches, create download-stampfiles in sources/$PKG_NAME, create md5 files after download, add support to download all sources at once with './scripts/get'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-19 22:01:08 +01:00
Stephan Raue
681ae55860 scripts/unpack: remove unneeded code
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-19 13:35:11 +01:00
Stephan Raue
997dd43f86 scripts/unpack: versioning patch support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-12 19:46:20 +01:00
Stephan Raue
7c6a5bc446 scripts/*: add metafile download url support, remove autoupdate config option (not really needed)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-22 05:07:09 +02:00
Stephan Raue
c7cf1f753b packages/*, scripts/*, config/options: remove $PKG_DIR declaration (now in config/path), include config/options with package name
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-21 18:54:45 +02:00
Stephan Raue
34e64f7a49 scripts/unpack, scripts/extract: add support to extract '*.7z' files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-18 00:47:00 +02:00
Stephan Raue
7d1e359c08 scripts/unpack: add function to support 'after_unpack' scripts, running after unpack, before patching (for example to rename the extracted source packages)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-12 16:24:52 +02:00
Stephan Raue
a44d005f66 projects/options:
- big rework of projects/*/options, config/options, config/path.
- most configurable options now under project folder
2009-12-19 01:35:31 +01:00
Stephan Raue
c46690965c allow specifying platform specific patches as well as architecture specific ones 2009-05-31 23:34:46 +02:00
Stephan Raue
7c4bbbd73d adapt scripts/unpack for elisa and alike packages to patch properly 2009-04-19 22:47:28 +02:00
Stephan Raue
de71016fb4 initial import 2009-03-18 13:02:53 +01:00