| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix live variable names for packages whose names start with digits.
Since variable names can not start with digits in bash, just prepend
an underscore to them.
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/2547
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the warning about missing dev-vcs/git[curl] for HTTP(S) support
non-fatal since the ebuild can specify non-HTTP(S) fallback URIs which
would otherwise be ignored. The eclass will die if all URIs fail anyway.
Extend the check to cover both HTTPS and plain HTTP.
Reported by Coacher.
Bug: https://bugs.gentoo.org/597356
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although simply calling default sounds like a good idea, if an ebuild
needs to use multiple eclasses that call default then patching will
break as PATCHES will be applied more than once. eapply_user, on the
other hand, is idempotent. If an ebuild needs to apply PATCHES then it
should define src_prepare and call default explicitly. This will
probably be improved in EAPI 7.
java_prepare is being dropped because non-Java people find it
confusing and it isn't consistent. Other eclasses don't do this and we
don't apply the same rule to other phases either.
|
| |
|
|
|
|
|
|
|
|
| |
* Use an accurate regexp rather than naive string manipulation.
* Join the entries with , for a single call to java-config.
* Don't export the given variable as we haven't previously.
* die if the atom is invalid, particularly if the SLOT is missing.
* Avoid adding duplicates because this may get called more than once.
|
|
|
|
|
|
|
|
|
| |
Added call to java-pkg_gen-cp EANT_GENTOO_CLASSPATH in
java-pkg-simple_src_compile. This has no effect unless CP_DEPEND is set
in an ebuild.
Closes: https://github.com/gentoo/gentoo/pull/2286
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Added call to java-pkg_gen-cp EANT_GENTOO_CLASSPATH in
java-pkg-2_src_compile. This has no effect unless CP_DEPEND is set in an
ebuild.
Closes: https://github.com/gentoo/gentoo/pull/2286
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Java package generate classpath will create a classpath based on special
variable CP_DEPEND in the ebuild. This allows for automatic classpath
creation based on depends. Reduces chance of error in ebuild with slots
in deps not matching slots in classpath variable, etc. Not to most
elegant. Elected for multiple passes using bash vs external sed or awk.
Closes: https://github.com/gentoo/gentoo/pull/2286
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
php-ext-source-r3 eclass currently does not provide FEATURES=test support
like php-ext-pecl-r3 eclass does. This commit will add and export the
src_test function from php-ext-pecl-r3 eclass to php-ext-source-r3 eclass
to allow testing of PHP standalone extensions as well.
|
| |
|
| |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/462118
|
| |
|
| |
|
|
|
|
|
|
| |
While this overlay-specific logic is never expected to actually be used in the
main tree, it makes tracking and merging future updates from the overlay a lot
easier.
|
|
|
|
| |
Copied and adapted from kde4-base.eclass.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugs.gentoo.org/show_bug.cgi?id=596044
|
|
|
|
| |
https://bugs.gentoo.org/show_bug.cgi?id=595878
|
| |
|
|
|
|
| |
We would really need a PMS-supplied eqawarn here...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are reading multiple sections from my.cnf at once from my.cnf when
looking for the password for the mysql root user in
mysql-multilib-r1_pkg_config().
If each section has set a password option this will result in the following
invalid password value (with "set -x"):
++ local extra_options=
++ //usr/bin/my_print_defaults client mysql
++ sed -n '/^--password=/s,--password=,,gp'
+ MYSQL_ROOT_PASSWORD='*****
*****'
+ [[ *****
***** == \*\*\*\*\* ]]
+ set +x
Like you can see the two passwords are concatenated via newline in one
string which is not what we want.
With this commit we will no longer read all sections at once instead we
read section per section. We are now also telling the user where we are
looking for the password and where we found one. In addition this commit
adds a sanity check for newline to catch scenarios where the user for
example has inadvertently set multiple password options in one section
which we can't handle: In that case it is better to prompt for a password
like no password was set in my.cnf instead of initializing mysqld with a
mysql root password the user is not expecting.
Gentoo-Bug: https://bugs.gentoo.org/510724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since dev-db/percona-server was bumped to EAPI=6 usage mysql_fx eclass is
no longer inherited [Link1] which results in an error like
> # emerge --config dev-db/percona-server
>
> Configuring pkg...
>
> * Creating the mysql database and setting proper permissions on it ...
> /var/tmp/portage/dev-db/percona-server-5.6.32.78.0/temp/environment: line 4697: mysql_version_is_at_least: command not found
To fix this problem I replaced the call to "mysql_version_is_at_least"
function from mysql_fx eclass with a call to "version_is_at_least" function
from versionator eclass we are already inheriting [Link2].
Link1: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n46
Link2: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n43
Gentoo-Bug: https://bugs.gentoo.org/594298
|
| |
|
| |
|
| |
|
|
|
|
| |
Package-Manager: portage-2.2.28
|
|
|
|
| |
Signed-off-by: layman <layman@localhost>
|
|
|
|
| |
This eclass has not been ported for EAPI 6 yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While at it:
- dropped internal 'ghc-sanecabal()' helper
- factored out parallelism setup to new 'ghc-make-args()' function
- building initial Setup binary now also uses 'ghc-make-args()'
- dropped unused CABAL_MIN_VERSION global variable
Fixed bug in 'ghc-make-args()' to work on NOSMP ports of GHC:
We use 'qb0' to enable parallel GC. Parallel GC requires SMP
support and threaded runtime.
Reported by iota__ on arm/ghc-8 where there is support for
parallel make but not the SMP support:
,("Host platform","arm-unknown-linux")
,("Support SMP","NO")
,("Support parallel --make","YES")
,("RTS ways","l debug thr...
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
| |
|
|
|
|
| |
Bug: 591160
|
| |
|
|
|
|
|
|
|
| |
This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5.
Makes packages with custom FEATURE_SUMMARY fail as can be seen in
https://bugs.gentoo.org/593230
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/2139
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
|
|
| |
Bug: https://bugs.gentoo.org/583762
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a get_exeext function that can be used to obtain executable program
suffix specific to the platform, in line with get_libname and
get_modname. It is necessary to correctly reference built programs on
non-standard platforms where executables use some suffix (like .exe).
Original author: Gerhard Bräunlich
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've explored scalability of 'ghc --make -j' a bit in
https://ghc.haskell.org/trac/ghc/ticket/9221
Some takeaways:
- never specify -j<N> with N > CPU. garbage collector threads
waste kernel time running sched_yield()
- GHC allocates A Lot: large nursery decreases GC interruptions.
We fix it with '-A256M'
- for large nursery enabling work-stealing makes GC finish faster
on each collection cycle.
We fix it with -qb0
While at it move HCFLAGS setup after parallel defaults.
That allows user to override defaults with own HCFLAGS.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As part of the user requested feature from [Gentoo-Bug #543878]
eutils.eclass shows a warning regarding user applied patches in case of an
error [Link 1].
However this warning will always be shown even if no user patch were
applied at all (example: empty /etc/portage/<cat>/<pkg> directory).
This commit adds a new global variable "EPATCH_N_APPLIED_PATCHES" which
tracks the number of applied user patches. This allows us to only show the
notice when user patches were really applied.
Link: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.443&r2=1.444
Gentoo-Bug: https://bugs.gentoo.org/543878
|
| |
|
|
|
|
| |
Add kdevelop-pg-qt SRC_URIs
|