summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999.ebuild
AgeCommit message (Collapse)Author
2025-11-18dev-vcs/git: Rust fixes for >=2.52.0Sam James
* Improve the cargo wrapper script that Meson calls by respecting $CARGO and not passing --quiet. These could go upstream but the Rust discussions haven't been a great atmosphere so I don't really want to do that at this time. * Actually call rust_pkg_setup Signed-off-by: Sam James <sam@gentoo.org>
2025-11-18dev-vcs/git: forward-port Solaris fixSam James
Forward-port the fix from 6408827516c5afef669e079322efdb8fd48cba62. I'd lost it as I had a 2.52.0 ebuild that I started but didn't finish yesterday. Signed-off-by: Sam James <sam@gentoo.org>
2025-11-18dev-vcs/git: add 2.52.0Sam James
Adds USE=rust as the first release upstream w/ any Rust. It is optional for now but they will make it mandatory in 3.0. Signed-off-by: Sam James <sam@gentoo.org>
2025-11-17dev-vcs/git: install upstream Zsh completionsD. Ben Knoble
Administrators can still filter out these completions with INSTALL_MASK, and users or admins can adjust fpath if desired. Whatever is earlier in fpath (that is, the first hit for `ls $^fpath/_git`) wins. Git's completion goes to /usr/share/zsh/site_functions or something similar, which is early on the system fpath to allow overrides; meanwhile Zsh's completion is fairly late on the default fpath. So installing unconditionally means Git's script wins, without the aforementioned customization. Closes: https://bugs.gentoo.org/961079 Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44459 Closes: https://github.com/gentoo/gentoo/pull/44459 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-04*/*: Add := to virtual/zlib deps, part 1Michał Górny
Done via: ``` git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@' ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04dev-*/*: update for virtual/zlibMichał Górny
Update done using: ``` git grep -l sys-libs/zlib dev-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Followed by manual revert in dev-python/zlib-ng where it accidentally caught sys-libs/zlib-ng dependencies. Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-10-31dev-vcs/git: Permit app-alternatives/gpgMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-08-18dev-vcs/git: sync removals previously in 'seen' into 2.51.0Sam James
I didn't realise these had all landed. Also, a bonus one, for 'workdir'. Closes: https://bugs.gentoo.org/961723 Signed-off-by: Sam James <sam@gentoo.org>
2025-08-18dev-vcs/git: add 2.51.0Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-16dev-vcs/git: add 2.50.0Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-10dev-vcs/git: enable py3.14Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-06-08dev-vcs/git: fix USE=tk installation when git is not already installedSam James
git-gui/Makefile invokes git to determine gitexecdir if unset. Fortunately, for master, git-gui uses meson, so will switch that in a followup commit. Closes: https://bugs.gentoo.org/957542 Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28dev-vcs/git: drop docs patch from 9999Sam James
This somehow snuck in again. Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28dev-vcs/git: add copies-harder patchSam James
I wasn't planning on adding this to dev-vcs/git, but after polling a few times on IRC in #gentoo-dev, it seems people want it. It was rejected upstream (after several revisions; we hope it'll be accepted in future) because they don't see the value in having a config option for this, but when working in a repo like ::gentoo, it's natural to want it as a default. It seems okay to patch it in downstream unconditionally given you have to actively opt-in to *using* it by adding the relevant config option - this was also the opinion of others which helped persuade me to do this. The docs added by the patch also mention that it's patched in and not upstream. Details are within the patch itself, but quoting some of it: > diff: implement config.diff.renames=copies-harder > > This patch adds a config value for 'diff.renames' called 'copies-harder' > which make it so '-C -C' is in effect always passed for 'git log -p', > 'git diff', etc. > > This allows specifying that 'git log -p', 'git diff', etc should always act > as if '-C --find-copies-harder' was passed. (I also ended up having to manually distribute rebased versions of this patch on new releases, so it's better all-round to do this, I think). Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28dev-vcs/git: sync liveSam James
Bug: https://bugs.gentoo.org/952004 Signed-off-by: Sam James <sam@gentoo.org>
2025-03-25dev-vcs/git: Don't use coccinelle for non-live ebuildsStephen Reaves
contrib/coccinelle assumes we are in a git directory and fails otherwise, but non-live ebuilds are downloaded via tarballs. [sam: Add missing die and sync live.] Closes: https://bugs.gentoo.org/952004 Signed-off-by: Stephen Reaves <reaves735@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/41273 Signed-off-by: Sam James <sam@gentoo.org>
2025-03-15dev-vcs/git: fix DoubleEmptyLineSam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-15dev-vcs/git: fix USE=tk for 2.49.0Sam James
The gitk-gui subdirectory isn't wired up to the toplevel meson. Closes: https://bugs.gentoo.org/951357 Signed-off-by: Sam James <sam@gentoo.org>
2025-03-14dev-vcs/git: improve doc handling (already) in 2.49.0Sam James
... as foretold in 724de2ccb5756cf13ae3ae16a37ed0f60488a338, though it came up sooner than I expected. The .txts were renamed to .adoc. Signed-off-by: Sam James <sam@gentoo.org>
2025-03-14dev-vcs/git: add 2.49.0Sam James
Still not completely comfortable with the doc setup here and the relationship with the downloaded tarballs of pregenerated ones and how it glues together, it'll need more work. More contrib bits have moved into Meson now. Signed-off-by: Sam James <sam@gentoo.org>
2025-01-18dev-vcs/git: sync 9999 with 9999-r*Sam James
The 'maint' branch is now on 2.48.x so has Meson. Signed-off-by: Sam James <sam@gentoo.org>
2024-12-06dev-vcs/git: drop -std=gnu17 for liveSam James
Fixed in live. Signed-off-by: Sam James <sam@gentoo.org>
2024-12-06dev-vcs/git: pass -std=gnu17 conditionallySam James
Old compilers during Prefix bootstrap may not support it but they also won't be defaulting to C23 so that's fine. Signed-off-by: Sam James <sam@gentoo.org>
2024-11-16dev-vcs/git: build with -std=gnu17Sam James
Bug: https://lore.kernel.org/git/87ed3apy2u.fsf@gentoo.org/ Signed-off-by: Sam James <sam@gentoo.org>
2024-09-30dev-vcs/git: rebase USE=-safe-directory patchSam James
Closes: https://github.com/gentoo/gentoo/pull/38802 Closes: https://bugs.gentoo.org/939895 Signed-off-by: Sam James <sam@gentoo.org>
2024-09-22dev-vcs/git: fixup netrc test handlingSam James
* Use emake for cleaner error handling * Always give verbose logs * Fix directory Signed-off-by: Sam James <sam@gentoo.org>
2024-09-22dev-vcs/git: add support for git-credential-netrcStephen Reaves
Fedora installs this too. Signed-off-by: Stephen Reaves <reaves735@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38434 Signed-off-by: Sam James <sam@gentoo.org>
2024-09-12*/*: unkeyword ~ia64Arthur Zamarin
Change was created by running the following command:: ekeyword ^ia64 */*/*.ebuild Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-08-14dev-vcs/git: add 2.46.0Sam James
Thanks to negril for figuring out the test issue. Signed-off-by: Sam James <sam@gentoo.org>
2024-08-07dev-vcs/git: Fix cross-compiling when build host lacks curlJames Le Cuirot
The Makefile tries to run curl-config, which is practically always present on the build host, but we shouldn't assume that, and it could return the wrong values when cross-compiling. It's just a shell script, so we can safely call the copy under ESYSROOT for the version check. For the CFLAGS and LDFLAGS, leverage pkg-config instead, as it will correctly adjust the paths. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2024-07-05dev-vcs/git: enable py3.13Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-25dev-vcs/git: add 2.45.0_rc1, sync liveSam James
hg-to-git has been removed upstream. Signed-off-by: Sam James <sam@gentoo.org>
2023-05-30dev-vcs/git: enable py3.12Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-05-25*/*: remove x64-cygwin keywordFabian Groffen
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2023-05-25*/*: remove sparc64-solaris keywordFabian Groffen
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2023-05-25*/*: remove sparc-solaris keywordFabian Groffen
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2023-05-24*/*: remove x86-solaris keywordFabian Groffen
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2023-05-18dev-vcs/git: Rename USE=gnome-keyring -> keyringAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-04-09dev-vcs/git: fix musl buildSam James
Bug: https://bugs.gentoo.org/713836 Signed-off-by: Sam James <sam@gentoo.org>
2023-03-07dev-vcs/git: drop broken USE=mediawiki-experimentalSam James
Closes: https://bugs.gentoo.org/764998 Signed-off-by: Sam James <sam@gentoo.org>
2023-02-16dev-vcs/git: sync liveSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-14*/*: remove py3.8 from PYTHON_COMPATDavid Seifert
Signed-off-by: David Seifert <soap@gentoo.org>
2022-12-09Revert "dev-vcs/git: Add missing runtime dependency on ↵Andreas K. Hüttel
dev-perl/LWP-Protocol-https" Sorry, false alarm. This reverts commit e76a19a82456a958ccaa64249b70c8068715e891. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2022-12-09dev-vcs/git: Add missing runtime dependency on dev-perl/LWP-Protocol-httpsAndreas K. Hüttel
Without this git can't fetch https:// URLs. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2022-09-17dev-vcs/git: add 2.38.0_rc0Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-09-17dev-vcs/git: remove USE=threads and always-enable supportHolger Hoffstätte
Upstream enables pthreads by default, so enable it unconditionally. Closes: https://bugs.gentoo.org/868339 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/27210 Signed-off-by: Sam James <sam@gentoo.org>
2022-08-19dev-vcs/git: rebase Darwin patchSam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-06-11dev-vcs/git: Drop emacs USE flagUlrich Müller
Closes: https://bugs.gentoo.org/850760 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2022-05-01dev-vcs/git: forward ~loongWANG Xuerui
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
2022-04-27dev-vcs/git: add USE=selinux for selinux-git policySam James
Closes: https://bugs.gentoo.org/841350 Signed-off-by: Sam James <sam@gentoo.org>