[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52422: closed ([PATCH] gnu: Add bibutils.)
From: |
GNU bug Tracking System |
Subject: |
bug#52422: closed ([PATCH] gnu: Add bibutils.) |
Date: |
Fri, 24 Dec 2021 18:15:02 +0000 |
Your message dated Fri, 24 Dec 2021 19:14:14 +0100
with message-id <d0314dd04ea450b12bd6b24af1ee5704ff187059.camel@gmail.com>
and subject line Re: [PATCH v2 1/2] gnu: Add bibutils.
has caused the debbugs.gnu.org bug report #52422,
regarding [PATCH] gnu: Add bibutils.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
52422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52422
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
[PATCH] gnu: Add bibutils. |
Date: |
Sat, 11 Dec 2021 08:43:10 +0100 |
* gnu/packages/textutils.scm (bibutils): New variable.
---
gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index bbad8ce867..11233446af 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1146,6 +1146,40 @@ (define-public odt2txt
OpenDocument presentations (*.odp).")
(license license:gpl2)))
+(define-public bibutils
+ (package
+ (name "bibutils")
+ (version "7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/bibutils/"
+ "bibutils_" version "_src.tgz"))
+
+ (sha256
+ (base32
+ "1hxmwjjzw48w6hdh2x7ybkrhi1xngd55i67hrrd3wswa3vpql0kf"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--install-dir" (string-append (assoc-ref %outputs "out") "/bin")
+ "--install-lib" (string-append (assoc-ref %outputs "out") "/lib")
+ "--dynamic")
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "LDFLAGSIN=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))
+ #:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ ;; configure script is ill-formed, invoke it manually
+ (apply invoke "sh" "./configure" configure-flags))))))
+ (home-page "https://bibutils.sourceforge.io/")
+ (synopsis "Convert between various bibliography formats")
+ (description "This package provides converters for various bibliography
+formats (e.g. Bibtex, RIS, ...) using a common XML intermediate.")
+ (license license:gpl2)))
+
(define-public opencc
(package
(name "opencc")
--
2.34.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [PATCH v2 1/2] gnu: Add bibutils. |
Date: |
Fri, 24 Dec 2021 19:14:14 +0100 |
User-agent: |
Evolution 3.42.1 |
Am Freitag, dem 24.12.2021 um 15:51 +0100 schrieb Ludovic Courtès:
> Hi,
>
> Liliana Marie Prikler <liliana.prikler@gmail.com> skribis:
>
> > * gnu/packages/textutils.scm (bibutils): New variable.
> > ---
> > Am Mittwoch, dem 22.12.2021 um 22:42 +0100 schrieb Ludovic Courtès:
> > > Bonus points if you change that to:
> > >
> > > (list #:configure-flags
> > > #~(list … #$output …)
> > > …)
> > Watch my street cred go up as I mix quasiquote and gexp 😎
>
> I try to avoid that because I’m think it can be quite confusing and
> intimidating, especially when you end up with sequences like ,#~.
> That’s a discussion we should have, but I’m in favor of the above
> style.
Fair enough, I've pushed it with the style you suggested.
>
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#52422: closed ([PATCH] gnu: Add bibutils.),
GNU bug Tracking System <=