[gentoo-dev] New copyright policy approved, please weigh your Signed-off-bys
Hi, everyone. Just FYI: the Trustees have approved GLEP 76 aka our new copyright policy [1]. While the exact implementation details are to be determined yet, please note that *Signed-off-by* line will mean you are certifying our GCO [2]. Since some developers were giving the sign-off 'in blanco' so far, I would like to emphasize that now it will actually mean agreeing to the document. Unless you have read the new policy and agreed with it, please don't do that. [1]:https://www.gentoo.org/glep/glep-0076.html [2]:https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] tcltk project has no members
Dear all, the tcltk project has no members, and noone is cc'ed on the tcltk@ alias. If you want to help maintaining this, please sign up for project and alias. If both are still empty in two weeks, the 39 packages become maintainer-needed (so there is no "illusion of maintainership") and the project is removed. Cheers, Andreas -- Andreas K. Hüttel dilfri...@gentoo.org Gentoo Linux developer (council, toolchain, perl, libreoffice, comrel) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Simplify sed call in python_fix_shebang
On Sat, 15 Sep 2018 16:27:28 +0200 Michał Górny wrote: > On Fri, 2018-09-14 at 23:44 +0100, James Le Cuirot wrote: > > There's no need for two separate sed calls here. > > --- > > eclass/python-utils-r1.eclass | 6 +- > > 1 file changed, 1 insertion(+), 5 deletions(-) > > > > diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass > > index e3cf82b4b58f..121f2382ba78 100644 > > --- a/eclass/python-utils-r1.eclass > > +++ b/eclass/python-utils-r1.eclass > > @@ -1247,11 +1247,7 @@ python_fix_shebang() { > > if [[ ! ${error} ]]; then > > # We either want to match ${from} followed by > > space > > # or at end-of-string. > > - if [[ ${shebang} == *${from}" "* ]]; then > > - sed -i -e "1s:${from} :${EPYTHON} :" > > "${f}" || die > > - else > > - sed -i -e "1s:${from}$:${EPYTHON}:" > > "${f}" || die > > - fi > > + sed -i -e "1s:${from}\( \|\$\):${EPYTHON}\1:" > > "${f}" || die > > Hmm, I wonder if we could just utilize '\b' here. I also considered it but that would match /, which is no good. For example, it would replace python in /usr/python/foo. I am now working on a new approach to better accommodate my cross stuff that would supersede this anyway but it's not ready yet. > > any_fixed=1 > > else > > eerror "The file has incompatible shebang:" -- James Le Cuirot (chewi) Gentoo Linux Developer pgpAKEeU7xASq.pgp Description: OpenPGP digital signature
[gentoo-dev] [PATCH 1/2] git-r3.eclass: Print possible override vars for user convenience
--- eclass/git-r3.eclass | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 48fac96ee358..3c09b6682ef5 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -586,6 +586,8 @@ git-r3_fetch() { local -x GIT_DIR _git-r3_set_gitdir "${repos[0]}" + einfo "Repository id: ${GIT_DIR##*/}" + # prepend the local mirror if applicable if [[ ${EGIT_MIRROR_URI} ]]; then repos=( @@ -618,10 +620,11 @@ git-r3_fetch() { COMMIT_DATE:commit_date ) - local localvar livevar live_warn= + local localvar livevar live_warn= override_vars=() for localvar in "${varmap[@]}"; do livevar=EGIT_OVERRIDE_${localvar%:*}_${override_name} localvar=${localvar#*:} + override_vars+=( "${livevar}" ) if [[ -n ${!livevar} ]]; then [[ ${localvar} == repos ]] && repos=() @@ -633,6 +636,13 @@ git-r3_fetch() { if [[ ${live_warn} ]]; then ewarn "No support will be provided." + else + einfo "To override fetched repository properties, use:" + local x + for x in "${override_vars[@]}"; do + einfo " ${x}" + done + einfo fi fi -- 2.19.0
[gentoo-dev] [PATCH 2/2] git-r3.eclass: Undocument deprecated EGIT_LIVE_* API
--- eclass/git-r3.eclass | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 3c09b6682ef5..a1ad0d238dc9 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -122,8 +122,6 @@ fi # URIs are completely unsecured and their use (even if only as # a fallback) renders the ebuild completely vulnerable to MITM attacks. # -# It can be overridden via env using ${PN}_LIVE_REPO variable. -# # Can be a whitespace-separated list or an array. # # Example: @@ -152,8 +150,6 @@ fi # @DESCRIPTION: # The branch name to check out. If unset, the upstream default (HEAD) # will be used. -# -# It can be overridden via env using ${PN}_LIVE_BRANCH variable. # @ECLASS-VARIABLE: EGIT_COMMIT # @DEFAULT_UNSET @@ -162,8 +158,6 @@ fi # commit from the branch will be used. Note that if set to a commit # not on HEAD branch, EGIT_BRANCH needs to be set to a branch on which # the commit is available. -# -# It can be overridden via env using ${PN}_LIVE_COMMIT variable. # @ECLASS-VARIABLE: EGIT_COMMIT_DATE # @DEFAULT_UNSET @@ -178,8 +172,6 @@ fi # (assuming that merges are done correctly). In other words, each merge # will be considered alike a single commit with date corresponding # to the merge commit date. -# -# It can be overridden via env using ${PN}_LIVE_COMMIT_DATE variable. # @ECLASS-VARIABLE: EGIT_CHECKOUT_DIR # @DESCRIPTION: @@ -262,6 +254,7 @@ _git-r3_env_setup() { esc_pn=${PN//[-+]/_} [[ ${esc_pn} == [0-9]* ]] && esc_pn=_${esc_pn} + # note: deprecated, use EGIT_OVERRIDE_* instead livevar=${esc_pn}_LIVE_REPO EGIT_REPO_URI=${!livevar-${EGIT_REPO_URI}} [[ ${!livevar} ]] \ -- 2.19.0
[gentoo-dev] Re: The state of libav stabilisation
On Donnerstag, 13. September 2018 12:44:24 CEST Luca Barbato wrote: > I guess nobody had time to, libav-12 is working correctly on those arches. > > Thanks for reminding us. Thanks for getting it going. Could someone please add themselves as a dedicated maintainer to media-video/libav? amd64 has a question regarding stabilisation[1] and it seems that assigning media-video does not suffice. Relaying via gentoo-dev list does not scale. [1] https://bugs.gentoo.org/617508
Re: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Simplify sed call in python_fix_shebang
On Fri, 2018-09-14 at 23:44 +0100, James Le Cuirot wrote: > There's no need for two separate sed calls here. > --- > eclass/python-utils-r1.eclass | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass > index e3cf82b4b58f..121f2382ba78 100644 > --- a/eclass/python-utils-r1.eclass > +++ b/eclass/python-utils-r1.eclass > @@ -1247,11 +1247,7 @@ python_fix_shebang() { > if [[ ! ${error} ]]; then > # We either want to match ${from} followed by > space > # or at end-of-string. > - if [[ ${shebang} == *${from}" "* ]]; then > - sed -i -e "1s:${from} :${EPYTHON} :" > "${f}" || die > - else > - sed -i -e "1s:${from}$:${EPYTHON}:" > "${f}" || die > - fi > + sed -i -e "1s:${from}\( \|\$\):${EPYTHON}\1:" > "${f}" || die Hmm, I wonder if we could just utilize '\b' here. > any_fixed=1 > else > eerror "The file has incompatible shebang:" -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part