diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /sci-mathematics/gsl-shell/files | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'sci-mathematics/gsl-shell/files')
-rw-r--r-- | sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-no-compile-in-install.patch | 24 | ||||
-rw-r--r-- | sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-sphinx-extmath-to-imgmath.patch | 13 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-no-compile-in-install.patch b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-no-compile-in-install.patch new file mode 100644 index 000000000000..d8cdaa02a2c5 --- /dev/null +++ b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-no-compile-in-install.patch @@ -0,0 +1,24 @@ +diff --git a/Makefile b/Makefile +index 39b4872..4c04865 100644 +--- a/Makefile ++++ b/Makefile +@@ -154,8 +154,8 @@ mkdir -p $1$(PREFIX)/bin + mkdir -p $1$(PREFIX)/share/applications + mkdir -p $1$(PREFIX)/share/icons/hicolor/128x128/apps + mkdir -p $1$(PREFIX)/share/$(PACKAGE_NAME)/$(PACKAGE_VERSION) +-cp $(GSL_SHELL_GUI) $(GSL_SHELL) $1$(PREFIX)/bin +-strip $1$(PREFIX)/bin/$(GSL_SHELL) $1$(PREFIX)/bin/$(GSL_SHELL_GUI) ++test -f $(GSL_SHELL_GUI) && cp $(GSL_SHELL_GUI) $1$(PREFIX)/bin || : ++test -f $(GSL_SHELL) && cp $(GSL_SHELL) $1$(PREFIX)/bin || : + test -f $(LUAJIT_SO) && \ + mkdir -p $1$(PREFIX)/lib && \ + cp $(LUAJIT_SO) $1$(PREFIX)/lib && \ +@@ -168,7 +168,7 @@ $(CP_REL) $(LUA_BASE_FILES) $1$(PREFIX)/share/$(PACKAGE_NAME)/$(PACKAGE_VERSION) + $(CP_REL) $(EXAMPLES_FILES) $1$(PREFIX)/bin + endef + +-install: $(GSL_SHELL) $(GSL_SHELL_GUI) ++install: + $(call install-to-dir,$(DESTDIR)) + + debian: $(DEBIAN_PACKAGE) diff --git a/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-sphinx-extmath-to-imgmath.patch b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-sphinx-extmath-to-imgmath.patch new file mode 100644 index 000000000000..29ddaf2fd710 --- /dev/null +++ b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.2-sphinx-extmath-to-imgmath.patch @@ -0,0 +1,13 @@ +diff --git a/doc/user-manual/conf.py b/doc/user-manual/conf.py +index 899f5d6..9475d85 100644 +--- a/doc/user-manual/conf.py ++++ b/doc/user-manual/conf.py +@@ -25,7 +25,7 @@ import sys, os + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.pngmath'] ++extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.imgmath'] + + # Add any paths that contain templates here, relative to this directory. + templates_path = ['_templates'] |