Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
1304032a
Commit
1304032a
authored
2 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
community/git-interactive-rebase-tool: upgrade to 2.2.0
parent
23bc6b26
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/git-interactive-rebase-tool/APKBUILD
+10
-11
10 additions, 11 deletions
community/git-interactive-rebase-tool/APKBUILD
community/git-interactive-rebase-tool/minimize-size.patch
+0
-14
0 additions, 14 deletions
community/git-interactive-rebase-tool/minimize-size.patch
with
10 additions
and
25 deletions
community/git-interactive-rebase-tool/APKBUILD
+
10
−
11
View file @
1304032a
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
git-interactive-rebase-tool
pkgver
=
2.
1
.0
pkgrel
=
3
pkgver
=
2.
2
.0
pkgrel
=
0
pkgdesc
=
"A terminal based sequence editor for interactive rebase"
url
=
"https://gitrebasetool.mitmaro.ca"
arch
=
"all !s390x !riscv64"
# limited by rust/cargo
license
=
"GPL-3.0-or-later"
makedepends
=
"cargo libgit2-dev zlib-dev"
subpackages
=
"
$pkgname
-doc"
source
=
"https://github.com/MitMaro/git-interactive-rebase-tool/archive/
$pkgver
/
$pkgname
-
$pkgver
.tar.gz
$pkgname
-upgrade-git2.patch::https://github.com/MitMaro/git-interactive-rebase-tool/commit/f4d3026f23118d29a263bbca6c83f963e76c34c4.patch
minimize-size.patch
"
source
=
"https://github.com/MitMaro/git-interactive-rebase-tool/archive/
$pkgver
/
$pkgname
-
$pkgver
.tar.gz"
export
CARGO_PROFILE_RELEASE_CODEGEN_UNITS
=
1
export
CARGO_PROFILE_RELEASE_LTO
=
"true"
export
CARGO_PROFILE_RELEASE_OPT_LEVEL
=
"z"
export
CARGO_PROFILE_RELEASE_PANIC
=
"abort"
prepare
()
{
default_prepare
...
...
@@ -29,15 +31,12 @@ check() {
}
package
()
{
cargo
install
--frozen
--offline
--path
.
--root
=
"
$pkgdir
/usr"
rm
"
$pkgdir
"
/usr/.crates
*
install
-D
-m755
target/release/interactive-rebase-tool
-t
"
$pkgdir
"
/usr/bin/
install
-D
-m
644 src/interactive-rebase-tool.1
\
"
$pkgdir
"
/usr/share/man/man1/interactive-rebase-tool.1
}
sha512sums
=
"
488bf4206f3fa59a6c68a78ddf7b50c05b4b27fe922ad69575a23c34f9457a51fcd8c3caaee133f73c226129edc14b2dd6192532c9dedf64ea68bf19d90f10a6 git-interactive-rebase-tool-2.1.0.tar.gz
12a3c9d341ae7f5d6984cb49903d854e59976ba11240a39170ef06691b8d98fe21c1900cb43184a04a8fac84114e4780dbd54f27e298d1536e41698d73747b2b git-interactive-rebase-tool-upgrade-git2.patch
b8aa6eaae78d6b7d1ad1b9a3b43268f5727b4b3a364bee0b4ca261eff5ce5e79044deb53fdd96e5c03f985b75be0671fde63068ba07996d8e5a21615e06d4d32 minimize-size.patch
4aec9b5e7462bc95b7e45e8aae195537a9c8ae37c2bac07370cbe95979fa81d5f48ab3b130d9613517498b961e7755c0925033d7cbeec560b394756686a4da61 git-interactive-rebase-tool-2.2.0.tar.gz
"
This diff is collapsed.
Click to expand it.
community/git-interactive-rebase-tool/minimize-size.patch
deleted
100644 → 0
+
0
−
14
View file @
23bc6b26
Minimize size of the resulting binary.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -62,3 +62,9 @@
["CHANGELOG.md", "usr/share/doc/interactive-rebase-tool/", "644"],
["src/interactive-rebase-tool.1", "usr/share/man/man1/interactive-rebase-tool.1", "644"]
]
+
+[profile.release]
+codegen-units = 1
+lto = true
+opt-level = "z"
+panic = "abort"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment