unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57453] Add chrpath package
@ 2022-08-27 10:40 damaxi via Guix-patches via
  2022-08-28 16:10 ` [bug#57453] Add new package chrpath damaxi via Guix-patches via
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: damaxi via Guix-patches via @ 2022-08-27 10:40 UTC (permalink / raw)
  To: 57453


[-- 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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-17 19:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-27 10:40 [bug#57453] Add chrpath package damaxi via Guix-patches via
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

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).