Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531996 - sci-mathematics/rstudio RDEPEND app-text/pandoc dev-haskell/pandoc-citeproc
Summary: sci-mathematics/rstudio RDEPEND app-text/pandoc dev-haskell/pandoc-citeproc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2014-12-08 17:16 UTC by Vincent-Xavier JUMEL
Modified: 2022-08-21 21:32 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,6.42 KB, text/plain)
2017-02-17 08:28 UTC, Toralf Förster
Details
dev-haskell:pandoc-citeproc-0.8.1.3:20170216-210606.log (dev-haskell:pandoc-citeproc-0.8.1.3:20170216-210606.log,10.02 KB, text/plain)
2017-02-17 08:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,356.64 KB, text/plain)
2017-02-17 08:28 UTC, Toralf Förster
Details
environment (environment,110.21 KB, text/plain)
2017-02-17 08:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.95 KB, application/x-bzip)
2017-02-17 08:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent-Xavier JUMEL 2014-12-08 17:16:41 UTC
sci-mathematics/rstudio RDEPENDS on pandoc but can be compiled and used without it. Could it be more modular ?

Reproducible: Always
Comment 1 Mark Wright gentoo-dev 2014-12-08 18:43:03 UTC
You could copy the rstudio ebuild to a local directory and remove the 2 lines:

	app-text/pandoc
	dev-haskell/pandoc-citeproc

and as you note, it will compile fine, however it will also break the
R Markdown runtime features notes in the RStudio v0.98.1091 Release Notes – November 6th, 2014:

http://www.rstudio.com/products/rstudio/release-notes/

R Markdown

Next generation of R Markdown based on pandoc
Create HTML, PDF, and MS Word documents as well as Beamer and ioslides presentations
New markdown syntax including expanded support for tables, definition lists, and bibliographies
A responsive (multi-device friendly) and themeable HTML template based on Bootstrap
Include raw LaTeX within markdown for advanced customization of PDF output
Use Shiny with R Markdown to create interactive documents
Compile HTML, PDF, or MS Word notebooks from R scripts
See the rmarkdown website package for more details
Option to preview R Markdown HTML in Viewer Pane
Enhancements to HTML previewing for presentation authoring
Previewing for MS Word and PDF output
Added Run Previous Chunks command (Ctrl+Alt+P)
Keyboard shortcut for Knit is now Ctrl+Shift+K
Comment 2 Toralf Förster gentoo-dev 2017-02-17 08:28:14 UTC
same at a tinderbox image
Comment 3 Toralf Förster gentoo-dev 2017-02-17 08:28:17 UTC
Created attachment 464036 [details]
emerge-info.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-17 08:28:20 UTC
Created attachment 464038 [details]
dev-haskell:pandoc-citeproc-0.8.1.3:20170216-210606.log
Comment 5 Toralf Förster gentoo-dev 2017-02-17 08:28:24 UTC
Created attachment 464040 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2017-02-17 08:28:27 UTC
Created attachment 464042 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2017-02-17 08:28:30 UTC
Created attachment 464044 [details]
etc.portage.tbz2
Comment 8 segmentation fault 2022-02-09 08:51:58 UTC
Maybe leave the dependency on pandoc, but make the dependency on pandoc-citeproc conditional on some USE flag? This would not remove the ability to create PDF, HTML etc from Rmarkdown documents, only the ability to cite other papers - in case the USE flag is not set and pandoc-citeproc is not installed. 

pandoc-citeproc practically restricts pandoc to v. 2.9.2.1 - and this does not play well with hslua and hslua-module-path, leading to unresolved dependencies, see https://bugs.gentoo.org/775545#c5 .
Comment 9 Larry the Git Cow gentoo-dev 2022-07-22 22:21:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1

commit a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-22 22:20:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-22 22:20:47 +0000

    profiles: last-rite sci-mathematics/rstudio, dev-haskell/pandoc-citeproc
    
    Bug: https://bugs.gentoo.org/766294
    Bug: https://bugs.gentoo.org/775545
    Bug: https://bugs.gentoo.org/855197
    Bug: https://bugs.gentoo.org/727912
    Bug: https://bugs.gentoo.org/831868
    Bug: https://bugs.gentoo.org/696938
    Bug: https://bugs.gentoo.org/531996
    Bug: https://bugs.gentoo.org/836111
    Bug: https://bugs.gentoo.org/818721
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-08-21 21:32:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ccc989339f75ab648ede0419e498527901d463

commit 07ccc989339f75ab648ede0419e498527901d463
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-21 21:10:32 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-21 21:31:00 +0000

    sci-mathematics/rstudio: treeclean
    
    Closes: https://bugs.gentoo.org/766294
    Closes: https://bugs.gentoo.org/696938
    Closes: https://bugs.gentoo.org/531996
    Closes: https://bugs.gentoo.org/818721
    Closes: https://bugs.gentoo.org/727912
    Closes: https://bugs.gentoo.org/836111
    Closes: https://bugs.gentoo.org/831868
    Closes: https://bugs.gentoo.org/855197
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |   6 -
 sci-mathematics/rstudio/Manifest                   |   2 -
 sci-mathematics/rstudio/files/rsession.conf        |  26 ---
 .../rstudio/files/rstudio-1.0.44-systemd.patch     |  21 --
 .../files/rstudio-1.2.1335-linker_flags.patch      |  11 -
 .../files/rstudio-1.2.5042-boost-1.73.0.patch      |  22 --
 .../rstudio/files/rstudio-1.3.1056-R-4.0.0.patch   |  58 -----
 .../files/rstudio-1.3.1056-boost-1.74.0.patch      |  30 ---
 .../files/rstudio-1.3.1093-boost-1.76.patch        |  55 -----
 .../rstudio/files/rstudio-1.3.959-core.patch       | 184 ----------------
 .../files/rstudio-1.3.959-pandoc-mathjax.patch     |  42 ----
 .../rstudio/files/rstudio-1.3.959-paths.patch      | 118 -----------
 .../rstudio/files/rstudio-1.3.959-prefs.patch      |  68 ------
 .../rstudio-1.3.959-qtsingleapplication.patch      |  60 ------
 sci-mathematics/rstudio/files/rstudio-server.conf  |  35 ----
 sci-mathematics/rstudio/files/rstudio-server.initd |  19 --
 .../rstudio/files/rstudio-server.service.in        |  11 -
 sci-mathematics/rstudio/metadata.xml               |  18 --
 sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild | 233 ---------------------
 19 files changed, 1019 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca6f5bacc5f1d05b6c432294c97578366aa1bb2

commit 8ca6f5bacc5f1d05b6c432294c97578366aa1bb2
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-21 21:08:42 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-21 21:30:59 +0000

    dev-haskell/pandoc-citeproc: treeclean
    
    Closes: https://bugs.gentoo.org/504310
    Bug: https://bugs.gentoo.org/531996
    Closes: https://bugs.gentoo.org/775545
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-haskell/pandoc-citeproc/Manifest               |  1 -
 dev-haskell/pandoc-citeproc/metadata.xml           | 30 ----------
 .../pandoc-citeproc-0.17.0.2.ebuild                | 69 ----------------------
 profiles/package.mask                              |  1 -
 4 files changed, 101 deletions(-)