Commit Graph

827 Commits

Author SHA1 Message Date
Natanael Copa 3f3281c87e abuild: fix circular dependency for symlink deps
The package should not have itself as dependency.
2015-06-23 11:20:29 +00:00
Natanael Copa 11eb0f69e7 ==== release 2.23.0_rc3 ==== 2015-06-12 07:17:14 +00:00
Natanael Copa ec0a5ee93e abuild: fix deps for versioned pkg-config deps
Fix version stripping when filtering out needed pkg-configs that are
provided from same (sub)package.
2015-06-12 07:12:47 +00:00
Natanael Copa 09427f9c7c abuild: fix finding pkg-config deps in subpackages
We strip version from pkg-config dependency when scanning the
subpackages.
2015-06-12 07:09:30 +00:00
Natanael Copa 0e58eeff80 abuild: fix provides and install_if in subpackages
we need to clear provides set in global scope before splitting the
subpackages so the subpackage does not inherit main packages' provides.

But at the same time, we must not clear the provides/install_if set in
the splitfunction itself.
2015-06-11 11:56:04 +00:00
Natanael Copa 563409ed82 abuild: clear inherit provides and install_if for subpackages
Unexpected result will happen if subpackages inherits the provides or
install_if from main package. So we clear them.
2015-06-08 07:27:23 +00:00
Natanael Copa 472ba16807 ==== release 2.23.0_rc2 ==== 2015-06-05 13:35:40 +00:00
Natanael Copa b3174ba768 abuild: make sure we don't add dupes of provides 2015-06-05 12:56:44 +00:00
Natanael Copa fede6d1161 abuild: remove "added pkgconfig (found /usr/lib/pkgconfig)" message 2015-06-05 12:16:39 +00:00
Natanael Copa b4c8ef7dad abuild: normalize path when finding symlink targets
some paths like usr/lib/../../lib/libudev.so.0.13.0 will fail to resolve
if usr/lib is does not exist, even if lib/libudev.so.0.13.0 does.

To solve thise we normalize out the ../ in path string before we try to
resolve it.
2015-06-05 12:11:47 +00:00
Natanael Copa 9d91994a74 add apkbuild-gem-resolver to .gitignore 2015-06-05 07:29:10 +00:00
Natanael Copa 9e91755369 abuild: add warning when depends_dev needs cleanup 2015-06-05 07:27:44 +00:00
Natanael Copa f5dce44bf9 abuild: add warning when pc:* provider is missing
and indicate which package that should provide it and needs a rebuild.
2015-06-05 07:18:09 +00:00
Natanael Copa d4d0dc0c33 remove buildrepo
We ship a new implementation of buildrepo with lua-aports
2015-06-05 06:47:52 +00:00
Andrew Hills da666e00c7 abuild: include MAINTAINER in default abuild.conf
For the sake of completeness, include MAINTAINER as well as
PACKAGER to provide newapkbuild with comment metadata.
2015-06-04 11:53:06 +00:00
Natanael Copa e59de7c8a2 abuild: fix detection of symlink dependencies
- add as dep when the target is also a symlink
- fix handling of absolute path in target
2015-06-04 11:50:41 +00:00
Natanael Copa fddc01bbbb abuild: fix detection of pkg-config module version
pkg-config will not print version unless dependencies are met so we can
not exclude the system modules.
2015-06-04 07:51:44 +00:00
Natanael Copa 2f5ef7e2fa abuild: autodetect pkg-config dependencies
we create provides for pc:<module>=<version> for pkg-config files and
whenever possible we add depends=pc:<module>.

We also handle version requirements whenever those are specified.
2015-06-03 12:16:35 +00:00
Natanael Copa f8a2871a9c abuild: fix regression in scanning shared objects
fix regression introduced with commit c70dbf8 (abuild: automatically
detect symlink targets in other subpackages)
2015-06-03 11:12:28 +00:00
Natanael Copa 0263b66cc1 abuild: do not exclude depends_dev
fixes regression introduced with commit 6582be1d (abuild: pull only in
needed dependencies for -dev packages)
2015-06-03 09:39:36 +00:00
Natanael Copa 6582be1d0b abuild: pull only in needed dependencies for -dev packages
ref #4109
2015-06-03 06:45:04 +00:00
Natanael Copa c70dbf8495 abuild: automatically detect symlink targets in other subpackages
Automatically pull in dependencies for symlink targets provided by other
subpackages.

This is mainly for pulling in target of .so symlinks.
2015-06-03 06:28:34 +00:00
Natanael Copa 5e268f8d70 abuild: cleanup. use better function names
no change in code logic
2015-06-03 06:27:15 +00:00
Isaac Dunham 582b477817 newapkbuild: add CMake support.
This is a first try that *might* work for cross-compiling packages with
an absolute bare minimum of requirements, if you're lucky.
I can't debug that part further, but the references should help with it.
2015-05-27 07:03:35 +00:00
Natanael Copa 5aa41e9fb2 ==== release 2.22.0 ==== 2015-04-28 14:17:50 +00:00
Natanael Copa 25a56f81a2 abuild: check that source package is not a version number only
github tarballs are normally only a version number. we need to force
that those are renamed so we dont get source tarball name collisions.
2015-04-28 14:09:11 +00:00
Natanael Copa 553762ca30 abuild: require that .initd files are sbin/openrc-run
The sbin/runscript was renamed to sbin/openrc-run with openrc-0.13

warn only if it is sbin/runscript for compatibility
2015-04-28 14:09:11 +00:00
Natanael Copa 663a5e6031 apkbuild-gem-resolver: add ruby 2.2.2 2015-04-28 13:19:20 +00:00
Natanael Copa 60225fc46c abuild: fix license in pkginfo
license is a simple string, not an array
2015-04-23 12:23:38 +00:00
Timo Teräs a664181714 abuild: preserve all xattrs
by default getfattr omits system xattrs like security.capability
2015-04-09 08:47:56 +03:00
Timo Teräs 248e9bb408 abuild-tar: write checksum to extended header 2015-04-08 10:52:34 +03:00
Timo Teräs 18594ff66c abuild: assume GNU tar and store xattrs 2015-04-08 10:52:34 +03:00
Natanael Copa fd6f259cc2 apkbuild-gem-resolver: add ruby 2.2.1 2015-03-26 14:44:39 +00:00
Natanael Copa 756a9e0c04 abuild: fix CXXFLAGS for debug 2015-01-28 13:09:24 +00:00
Natanael Copa a6150cc7e0 abuild: fix move of .a file to -dev subpackage
seems like new version of busybox find would stop if lib/ dir does not
exist.
2015-01-14 15:26:58 +00:00
Natanael Copa a5caab30c9 abuild: improve error message when conflicting packages are installed 2014-12-29 12:54:52 +00:00
Łukasz Jendrysik b7c197f20c Removed conflicts= support
Conflicts support in an abuild seems to be uneccessary feature.

Signed-off-by: Łukasz Jendrysik <scadu@yandex.com>
2014-12-29 12:35:02 +00:00
Bartłomiej Piotrowski fa204f8557 abuild: remove *.la files by default
Libtool archives are useless in the most of cases and can be safely
removed. A quick grep shows that *.la files are explicitly removed in
903 APKBUILDs, while intentionally preserved only in 17.

postcheck() is discussable place to perform the deletion, but it's
currently the only function being run for each subpackage, including
the artifact of package().
2014-12-29 12:34:47 +00:00
Kaarle Ritvanen 32656aff47 apkbuild-gem-resolver: check package name also when version is specified 2014-12-26 08:46:44 +02:00
Kaarle Ritvanen 870149f01d apkbuild-gem-resolver: use the << operator to append to arrays 2014-12-26 08:37:02 +02:00
Kaarle Ritvanen 3567ee3f49 apkbuild-gem-resolver: exclude testing repository by default 2014-12-26 08:34:06 +02:00
Kaarle Ritvanen ddb37cfcd5 apkbuild-gem-resolver: support for v2.6 2014-12-26 08:09:17 +02:00
Kaarle Ritvanen 3bb9db2ddf apkbuild-gem-resolver: add version data for json gem 2014-12-09 00:25:54 +02:00
Kaarle Ritvanen 6faa35d597 RubyGem dependency resolver 2014-12-08 17:56:25 +02:00
Natanael Copa 96f9167889 ==== release 2.21.0 ==== 2014-10-30 09:49:50 +00:00
Natanael Copa 5f395a8e80 abump: fix bumping repo/name-<version> 2014-10-30 09:48:22 +00:00
Natanael Copa 91e2db6baf abump: die if version is missing 2014-10-30 08:10:39 +00:00
Natanael Copa f1b0b3de5e abuild: remove debug message
this was added by mistake
2014-10-02 09:21:47 +00:00
Natanael Copa aa74d0eccc abuild: add 'index' subcommand to refresh the abuild repo index
this is a convenience synonym to update_abuildrepo_index
2014-09-25 07:50:19 +00:00
Natanael Copa 046cebc28b abuild: sort commands in helptext alpabetically 2014-09-25 07:49:31 +00:00