* [PATCH 2/7] gnu: Add r-rbgl.
@ 2016-09-15 11:38 Roel Janssen
2016-09-19 10:09 ` Ricardo Wurmus
0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-09-15 11:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/bioinformatics.scm (r-rbgl): New variable.
---
gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ffb9692..3d607cc 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5309,6 +5309,30 @@ packages.")
CRAN, and (some) github packages.")
(license license:artistic2.0)))
+(define-public r-rbgl
+ (package
+ (name "r-rbgl")
+ (version "1.49.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://bioconductor.org/packages/3.4/bioc/src/contrib/"
+ "RBGL_" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rpiqpalbxk82jkwv3l0fimq9y2hrdi0f7ca4v21318541vfsncs"))))
+ (properties
+ `((upstream-name . "RBGL")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-graph" ,r-graph)))
+ (home-page "http://bioconductor.org/packages/RBGL")
+ (synopsis "Interface to the graph algorithms from Boost")
+ (description
+ "This package provides a fairly extensive and comprehensive interface to
+the graph algorithms contained in the Boost library.")
+ (license license:artistic2.0)))
+
(define-public r-dnacopy
(package
(name "r-dnacopy")
--
2.10.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-15 11:38 [PATCH 2/7] gnu: Add r-rbgl Roel Janssen
@ 2016-09-19 10:09 ` Ricardo Wurmus
2016-09-19 10:15 ` Roel Janssen
0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2016-09-19 10:09 UTC (permalink / raw)
To: Roel Janssen; +Cc: guix-devel
Roel Janssen <roel@gnu.org> writes:
> * gnu/packages/bioinformatics.scm (r-rbgl): New variable.
> ---
> gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
> index ffb9692..3d607cc 100644
> --- a/gnu/packages/bioinformatics.scm
> +++ b/gnu/packages/bioinformatics.scm
> @@ -5309,6 +5309,30 @@ packages.")
> CRAN, and (some) github packages.")
> (license license:artistic2.0)))
>
> +(define-public r-rbgl
> + (package
> + (name "r-rbgl")
> + (version "1.49.3")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://bioconductor.org/packages/3.4/bioc/src/contrib/"
> + "RBGL_" version ".tar.gz"))
Shouldn’t this be “(bioconductor-uri "RBGL" version)”?
> + (sha256
> + (base32
> + "0rpiqpalbxk82jkwv3l0fimq9y2hrdi0f7ca4v21318541vfsncs"))))
> + (properties
> + `((upstream-name . "RBGL")))
> + (build-system r-build-system)
> + (propagated-inputs
> + `(("r-graph" ,r-graph)))
> + (home-page "http://bioconductor.org/packages/RBGL")
> + (synopsis "Interface to the graph algorithms from Boost")
> + (description
> + "This package provides a fairly extensive and comprehensive interface to
> +the graph algorithms contained in the Boost library.")
> + (license license:artistic2.0)))
> +
This package looks very familiar. Chances are that I packaged this
already and forgot about it… :)
~~ Ricardo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-19 10:09 ` Ricardo Wurmus
@ 2016-09-19 10:15 ` Roel Janssen
2016-09-19 10:54 ` Ricardo Wurmus
0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-09-19 10:15 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Ricardo Wurmus writes:
> Roel Janssen <roel@gnu.org> writes:
>
>> * gnu/packages/bioinformatics.scm (r-rbgl): New variable.
>> ---
>> gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
>> 1 file changed, 24 insertions(+)
>>
>> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
>> index ffb9692..3d607cc 100644
>> --- a/gnu/packages/bioinformatics.scm
>> +++ b/gnu/packages/bioinformatics.scm
>> @@ -5309,6 +5309,30 @@ packages.")
>> CRAN, and (some) github packages.")
>> (license license:artistic2.0)))
>>
>> +(define-public r-rbgl
>> + (package
>> + (name "r-rbgl")
>> + (version "1.49.3")
>> + (source (origin
>> + (method url-fetch)
>> + (uri (string-append
>> + "https://bioconductor.org/packages/3.4/bioc/src/contrib/"
>> + "RBGL_" version ".tar.gz"))
>
> Shouldn’t this be “(bioconductor-uri "RBGL" version)”?
You are right, it should be “(bioconductor-uri "RBGL" version)”.
>> + (sha256
>> + (base32
>> + "0rpiqpalbxk82jkwv3l0fimq9y2hrdi0f7ca4v21318541vfsncs"))))
>> + (properties
>> + `((upstream-name . "RBGL")))
>> + (build-system r-build-system)
>> + (propagated-inputs
>> + `(("r-graph" ,r-graph)))
>> + (home-page "http://bioconductor.org/packages/RBGL")
>> + (synopsis "Interface to the graph algorithms from Boost")
>> + (description
>> + "This package provides a fairly extensive and comprehensive interface to
>> +the graph algorithms contained in the Boost library.")
>> + (license license:artistic2.0)))
>> +
>
> This package looks very familiar. Chances are that I packaged this
> already and forgot about it… :)
Do you whether you stripped the Boost source code in this package and
used the Boost library from Guix? I wanted to do so, but couldn't
figure out how it gets build! Plus, they use Boost 1.61.0 on this RBGL
release, and we are stuck at 1.60.0.
Thanks for looking at this package.
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-19 10:15 ` Roel Janssen
@ 2016-09-19 10:54 ` Ricardo Wurmus
2016-09-19 11:31 ` Roel Janssen
0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2016-09-19 10:54 UTC (permalink / raw)
To: Roel Janssen; +Cc: guix-devel
Roel Janssen <roel@gnu.org> writes:
> Ricardo Wurmus writes:
>
>> Roel Janssen <roel@gnu.org> writes:
>>
>>> * gnu/packages/bioinformatics.scm (r-rbgl): New variable.
>>> ---
>>> gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
>>> 1 file changed, 24 insertions(+)
>>>
>>> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
>>> index ffb9692..3d607cc 100644
>>> --- a/gnu/packages/bioinformatics.scm
>>> +++ b/gnu/packages/bioinformatics.scm
>>> @@ -5309,6 +5309,30 @@ packages.")
>>> CRAN, and (some) github packages.")
>>> (license license:artistic2.0)))
>>>
>>> +(define-public r-rbgl
>>> + (package
>>> + (name "r-rbgl")
>>> + (version "1.49.3")
>>> + (source (origin
>>> + (method url-fetch)
>>> + (uri (string-append
>>> + "https://bioconductor.org/packages/3.4/bioc/src/contrib/"
>>> + "RBGL_" version ".tar.gz"))
>>
>> Shouldn’t this be “(bioconductor-uri "RBGL" version)”?
>
> You are right, it should be “(bioconductor-uri "RBGL" version)”.
Okay. I’ll make the change before pushing.
>>> + (sha256
>>> + (base32
>>> + "0rpiqpalbxk82jkwv3l0fimq9y2hrdi0f7ca4v21318541vfsncs"))))
>>> + (properties
>>> + `((upstream-name . "RBGL")))
>>> + (build-system r-build-system)
>>> + (propagated-inputs
>>> + `(("r-graph" ,r-graph)))
>>> + (home-page "http://bioconductor.org/packages/RBGL")
>>> + (synopsis "Interface to the graph algorithms from Boost")
>>> + (description
>>> + "This package provides a fairly extensive and comprehensive interface to
>>> +the graph algorithms contained in the Boost library.")
>>> + (license license:artistic2.0)))
>>> +
>>
>> This package looks very familiar. Chances are that I packaged this
>> already and forgot about it… :)
>
> Do you whether you stripped the Boost source code in this package and
> used the Boost library from Guix? I wanted to do so, but couldn't
> figure out how it gets build! Plus, they use Boost 1.61.0 on this RBGL
> release, and we are stuck at 1.60.0.
I didn’t try to swap out the sources. In my opinion this should be
treated as a fork. It’s a subset of Boost with R-specific adaptations.
Other R packages may depend on this particular “flavour” and might not
work well otherwise.
If someone made the effort to change this, it would need to be checked
each time we updated our Boost package. I don’t think we have the
infrastructure to keep track of these things, so I’d rather err on the
side of keeping things as upstream has them.
~~ Ricardo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-19 10:54 ` Ricardo Wurmus
@ 2016-09-19 11:31 ` Roel Janssen
2016-09-19 13:00 ` Ricardo Wurmus
0 siblings, 1 reply; 7+ messages in thread
From: Roel Janssen @ 2016-09-19 11:31 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Ricardo Wurmus writes:
> Roel Janssen <roel@gnu.org> writes:
>
>> Ricardo Wurmus writes:
>>
>>> Roel Janssen <roel@gnu.org> writes:
>>>
>>>> * gnu/packages/bioinformatics.scm (r-rbgl): New variable.
>>>> ---
>>>> gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
>>>> 1 file changed, 24 insertions(+)
>>>>
>>>> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
>>>> index ffb9692..3d607cc 100644
>>>> --- a/gnu/packages/bioinformatics.scm
>>>> +++ b/gnu/packages/bioinformatics.scm
>>>> @@ -5309,6 +5309,30 @@ packages.")
>>>> CRAN, and (some) github packages.")
>>>> (license license:artistic2.0)))
>>>>
>>>> +(define-public r-rbgl
>>>> + (package
>>>> + (name "r-rbgl")
>>>> + (version "1.49.3")
>>>> + (source (origin
>>>> + (method url-fetch)
>>>> + (uri (string-append
>>>> + "https://bioconductor.org/packages/3.4/bioc/src/contrib/"
>>>> + "RBGL_" version ".tar.gz"))
>>>
>>> Shouldn’t this be “(bioconductor-uri "RBGL" version)”?
>>
>> You are right, it should be “(bioconductor-uri "RBGL" version)”.
>
> Okay. I’ll make the change before pushing.
If you want I can do the modifications as well and push. Saves you some
valuable time :)
>>>> + (sha256
>>>> + (base32
>>>> + "0rpiqpalbxk82jkwv3l0fimq9y2hrdi0f7ca4v21318541vfsncs"))))
>>>> + (properties
>>>> + `((upstream-name . "RBGL")))
>>>> + (build-system r-build-system)
>>>> + (propagated-inputs
>>>> + `(("r-graph" ,r-graph)))
>>>> + (home-page "http://bioconductor.org/packages/RBGL")
>>>> + (synopsis "Interface to the graph algorithms from Boost")
>>>> + (description
>>>> + "This package provides a fairly extensive and comprehensive interface to
>>>> +the graph algorithms contained in the Boost library.")
>>>> + (license license:artistic2.0)))
>>>> +
>>>
>>> This package looks very familiar. Chances are that I packaged this
>>> already and forgot about it… :)
>>
>> Do you whether you stripped the Boost source code in this package and
>> used the Boost library from Guix? I wanted to do so, but couldn't
>> figure out how it gets build! Plus, they use Boost 1.61.0 on this RBGL
>> release, and we are stuck at 1.60.0.
>
> I didn’t try to swap out the sources. In my opinion this should be
> treated as a fork. It’s a subset of Boost with R-specific adaptations.
> Other R packages may depend on this particular “flavour” and might not
> work well otherwise.
>
> If someone made the effort to change this, it would need to be checked
> each time we updated our Boost package. I don’t think we have the
> infrastructure to keep track of these things, so I’d rather err on the
> side of keeping things as upstream has them.
Right. I didn't compare the original boost sources with the one
provided with the RBGL package, so I didn't know there were differences
in code.
I agree to keep the "forked" Boost code instead of using the upstream
Boost code for additional reasons:
1. It makes the package recipe much simpler.
2. It keeps the package as the maintainer of RBGL meant to distribute
it. The compile-time overhead is manageable (building the package on my
machine takes less than ten minutes).
I will take care of upstreaming this package and the other six I proposed.
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-19 11:31 ` Roel Janssen
@ 2016-09-19 13:00 ` Ricardo Wurmus
2016-09-19 13:28 ` Roel Janssen
0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2016-09-19 13:00 UTC (permalink / raw)
To: Roel Janssen; +Cc: guix-devel
Roel Janssen <roel@gnu.org> writes:
>> Okay. I’ll make the change before pushing.
>
> If you want I can do the modifications as well and push. Saves you some
> valuable time :)
Yes, that would be best. I forgot that you already have push access! :)
>> I didn’t try to swap out the sources. In my opinion this should be
>> treated as a fork. It’s a subset of Boost with R-specific adaptations.
>> Other R packages may depend on this particular “flavour” and might not
>> work well otherwise.
>>
>> If someone made the effort to change this, it would need to be checked
>> each time we updated our Boost package. I don’t think we have the
>> infrastructure to keep track of these things, so I’d rather err on the
>> side of keeping things as upstream has them.
>
> Right. I didn't compare the original boost sources with the one
> provided with the RBGL package, so I didn't know there were differences
> in code.
I should state that I also don’t *know* if there are differences. But I
know that “r-bh”, for example, does something similar and we decided not
to make it reuse the upstream Boost sources for similar reasons.
> I agree to keep the "forked" Boost code instead of using the upstream
> Boost code for additional reasons:
>
> 1. It makes the package recipe much simpler.
> 2. It keeps the package as the maintainer of RBGL meant to distribute
> it. The compile-time overhead is manageable (building the package on my
> machine takes less than ten minutes).
>
> I will take care of upstreaming this package and the other six I proposed.
Okay. Please take a quick look at my comments before pushing.
~~ Ricardo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/7] gnu: Add r-rbgl.
2016-09-19 13:00 ` Ricardo Wurmus
@ 2016-09-19 13:28 ` Roel Janssen
0 siblings, 0 replies; 7+ messages in thread
From: Roel Janssen @ 2016-09-19 13:28 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Ricardo Wurmus writes:
> Roel Janssen <roel@gnu.org> writes:
>
>>> Okay. I’ll make the change before pushing.
>>
>> If you want I can do the modifications as well and push. Saves you some
>> valuable time :)
>
> Yes, that would be best. I forgot that you already have push access! :)
Great, then I'll take care of it.
>>> I didn’t try to swap out the sources. In my opinion this should be
>>> treated as a fork. It’s a subset of Boost with R-specific adaptations.
>>> Other R packages may depend on this particular “flavour” and might not
>>> work well otherwise.
>>>
>>> If someone made the effort to change this, it would need to be checked
>>> each time we updated our Boost package. I don’t think we have the
>>> infrastructure to keep track of these things, so I’d rather err on the
>>> side of keeping things as upstream has them.
>>
>> Right. I didn't compare the original boost sources with the one
>> provided with the RBGL package, so I didn't know there were differences
>> in code.
>
> I should state that I also don’t *know* if there are differences. But I
> know that “r-bh”, for example, does something similar and we decided not
> to make it reuse the upstream Boost sources for similar reasons.
Okay. Then I will generate a diff between Boost-1.61.0 and this to see
whether there are any differences. I could then add a comment to the
package to state whether this is the original Boost source or not.
>> I agree to keep the "forked" Boost code instead of using the upstream
>> Boost code for additional reasons:
>>
>> 1. It makes the package recipe much simpler.
>> 2. It keeps the package as the maintainer of RBGL meant to distribute
>> it. The compile-time overhead is manageable (building the package on my
>> machine takes less than ten minutes).
>>
>> I will take care of upstreaming this package and the other six I proposed.
>
> Okay. Please take a quick look at my comments before pushing.
Of course. Your comments are much appreciated. I need to slow down a
bit and think more about the synopsis and descriptions of packages.. :)
Thanks!
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-09-19 13:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-15 11:38 [PATCH 2/7] gnu: Add r-rbgl Roel Janssen
2016-09-19 10:09 ` Ricardo Wurmus
2016-09-19 10:15 ` Roel Janssen
2016-09-19 10:54 ` Ricardo Wurmus
2016-09-19 11:31 ` Roel Janssen
2016-09-19 13:00 ` Ricardo Wurmus
2016-09-19 13:28 ` Roel Janssen
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).