From: damaxi via Guix-patches via <guix-patches@gnu.org>
To: 57453@debbugs.gnu.org
Subject: [bug#57453] Add chrpath package
Date: Sat, 27 Aug 2022 12:40:01 +0200 (CEST) [thread overview]
Message-ID: <NATslO3--3-2@tuta.io> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 196 bytes --]
Hello,
That's my first time when I am trying to apply patch to guix.
That's a package which is required by some software like bitbake. So I think it would be nice to have.
Best Regards,
Daniel
[-- Attachment #1.2: Type: text/html, Size: 510 bytes --]
[-- Attachment #2: 0001-gnu-chrpath-Add-new-package.patch --]
[-- Type: text/x-patch, Size: 1933 bytes --]
From f32d1154938e989177d59b32c91c5482bb127b0d Mon Sep 17 00:00:00 2001
Message-Id: <f32d1154938e989177d59b32c91c5482bb127b0d.1661596588.git.daniel.maksymow@tuta.io>
From: Daniel Maksymow <daniel.maksymow@tuta.io>
Date: Sat, 27 Aug 2022 12:25:49 +0200
Subject: [PATCH] gnu: chrpath: Add new package
To: guix-patches@gnu.org
* gnu/packages/elf.scm: New package added.
---
gnu/packages/elf.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index 8cc2ff3637..d1e878a6e6 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -31,7 +31,7 @@ (define-module (gnu packages elf)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
- #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+))
+ #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+ gpl2))
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
@@ -282,3 +282,23 @@ (define-public patchelf
(properties
'((release-monitoring-url . "https://github.com/NixOS/patchelf/releases")))
(license gpl3+)))
+
+(define-public chrpath
+ (package
+ (name "chrpath")
+ (version "0.16")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://deb.debian.org/debian/pool/main/c/chrpath/chrpath_"
+ version ".orig.tar.gz"))
+ (sha256
+ (base32
+ "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv"))))
+ (build-system gnu-build-system)
+ (home-page "https://directory.fsf.org/wiki/Chrpath")
+ (synopsis "Tool to edit the rpath of ELF binaries")
+ (description
+ "@code{chrpath} allows you to modify the dynamic library load path
+ (rpath and runpath) of compiled programs and libraries")
+ (license gpl2)))
--
2.37.0
next reply other threads:[~2022-08-27 16:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-27 10:40 damaxi via Guix-patches via [this message]
2022-08-28 16:10 ` [bug#57453] Add new package chrpath damaxi via Guix-patches via
2022-08-28 16:33 ` [bug#57453] Add chrpath package Maxime Devos
2022-08-28 19:16 ` [bug#57453] WIP daniel.maksymow--- via Guix-patches via
2022-08-28 22:24 ` Maxime Devos
2022-09-11 13:28 ` daniel.maksymow--- via Guix-patches via
2022-09-12 14:22 ` [bug#57453] WIP (chrpath) Maxime Devos
[not found] ` <NCBSkq3--3-2@tuta.io>
2022-09-17 19:57 ` Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NATslO3--3-2@tuta.io \
--to=guix-patches@gnu.org \
--cc=57453@debbugs.gnu.org \
--cc=daniel.maksymow@tuta.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).