diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/esorex |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/esorex')
-rw-r--r-- | sci-astronomy/esorex/Manifest | 14 | ||||
-rw-r--r-- | sci-astronomy/esorex/esorex-3.10.2.ebuild | 38 | ||||
-rw-r--r-- | sci-astronomy/esorex/esorex-3.12.3.ebuild | 39 | ||||
-rw-r--r-- | sci-astronomy/esorex/esorex-3.12.ebuild | 39 | ||||
-rw-r--r-- | sci-astronomy/esorex/files/esorex-3.10-generate-manpage.patch | 123 | ||||
-rw-r--r-- | sci-astronomy/esorex/files/esorex-3.10-remove-empty-configdir.patch | 13 | ||||
-rw-r--r-- | sci-astronomy/esorex/files/esorex-3.10-remove-private-ltdl.patch | 39 | ||||
-rw-r--r-- | sci-astronomy/esorex/files/esorex-3.10-set-default-plugin-path.patch | 28 | ||||
-rw-r--r-- | sci-astronomy/esorex/files/esorex-3.9.6-use-shared-libs.patch | 20 | ||||
-rw-r--r-- | sci-astronomy/esorex/metadata.xml | 21 |
10 files changed, 374 insertions, 0 deletions
diff --git a/sci-astronomy/esorex/Manifest b/sci-astronomy/esorex/Manifest new file mode 100644 index 000000000000..9c38d1703a93 --- /dev/null +++ b/sci-astronomy/esorex/Manifest @@ -0,0 +1,14 @@ +AUX esorex-3.10-generate-manpage.patch 4865 SHA256 ca69cc20e5291dce3fe2bec20ee7ef4929f98c7a635208ff0e2d1a8645eb755c SHA512 5a2aeb18e08f36969d439f999f76933030b6a462b8e10041f20d3ffccefdf04f68daeecaaab7ee1694a0127bfe570cd0db8fbf9ced17a484eac2023929aff2b8 WHIRLPOOL 2314b9a10406d9c7ff695e9626dceade5670597dd7cfabf3a53f9016ae875c6e5263dd9040ce157a2cca88c2c3da5632175a3bdb97b59d36c27ddb5cc75dc9c9 +AUX esorex-3.10-remove-empty-configdir.patch 400 SHA256 03a89a4072b52c85866f5cb601d7f71a51fbe4cda9e5fba07a8e3c76bae37a3f SHA512 24c2893f47c779368f72a01b00088e1dccb830797a7c3c094b48dda833770b37b9d98f8a7068d1d12e0a88182b0649e0418cb24c5f597cfb2467caee9e1d0f14 WHIRLPOOL bc3d5001dfb179d3b494d90620942656b4d6ecf5aaed3dbdb37001286a4852540e882d45aeb6f4d06a0fbace40482a7855de3640c65a233f3660e7a03fd8ea61 +AUX esorex-3.10-remove-private-ltdl.patch 1053 SHA256 d7dd4f889409e28c510b0f11d6d6d1efd75fd5e7fcad96b22700c6be60bd6b4e SHA512 039e6147d6ccb08cbde344ca21628e03bc039bd16ea9edc2cc5d5cea60f5478166f5f82b60b63fcfc71a6bf003510071d11b4882ef0c3cd3ba01c4a7d914d520 WHIRLPOOL 5d3ac2162d067af71e6c9231bd4a07b2eafaf8d96cb7be347b666ed1e12b760844cde4ca3fdbd0272c5fc33248e6a52ec18cc156411710d0d949565b38beb4fd +AUX esorex-3.10-set-default-plugin-path.patch 951 SHA256 d39d57620e1c38d5167f0003c9ea4b5ce8c870f82a764b2e7d90ed5a69989a2a SHA512 004ebad285f4bc8eac0917ccdd1ab22563f73926b276e5ce2c469e144a6f7d6f2310c098904aeab73e88d57886147dcfae7704ec54a3b5ef86005a58f6f41829 WHIRLPOOL 3255a3a63d315895c0afa07011cc6c4f1d0191a4c39afc8b1c244cf1f868104cd4af9a5f49bb1cd3bba513ebb66f99b34721398bbcce8d0759bec8e53a0030c4 +AUX esorex-3.9.6-use-shared-libs.patch 562 SHA256 1a8922317e93d5840144b79d84e93b7ca329da9aa0e1872ad3493913e6975e90 SHA512 224ddaa94e1d7f105634f53b4238176ff84b2df0ebbfbfe8470fcb30182b4b3aa874ce002d98275488cf38128586e7dc7da0e26729db748e843ce661fa20930c WHIRLPOOL da69698daaf93607e8a4542dc35c2aaeb6b1327139927276bebca72e4788110c53e3b1aa88e7495b23ec4a1ba75fca1ce2efa34f82a4469a1366d7a393b96884 +DIST esorex-3.10.2.tar.gz 817875 SHA256 9a295754452b3e84fe2bc3674aaaf2e93354d2ad16781cb3f4c3f37ca0214e1e SHA512 6f6f663bd74d61f3612a13fb39e17c984f8ed88d9dd175951b385d9797433b19a6e276841b23b61881cec8702eb8d74061549a922acf939a9a5e98c8016d1ecb WHIRLPOOL cb900ecad2067498c9865cfbd3db4d80f0f2907ea18e8eb3ab5d07aaea2a184520a480ad62cf591a30abbe51023f8f8384139ca67fdd05d3a35cde837f730967 +DIST esorex-3.12.3.tar.gz 693894 SHA256 ac7bc9cec70a5bfa55f4ca29bac5bf30c853596503ab3238444c610e32b9233b SHA512 28d62b2cbb66e21fe96435fedf94a727c598b33f2d0aa9ff8d811cfc87edf8d215a76837f525d2964c24bb6e0a3b50aa4dcf2a8dcfae8ac1b933303f8fb08122 WHIRLPOOL eec3fa02ac776ffb333a0be8b6bdfa3ae4188516074112e54b6d8bf6d8527002243171e293f22245fb6c90fc1bf3f29aef5eff8eafcb48508bd24948475f4f1d +DIST esorex-3.12.tar.gz 649290 SHA256 b99a11a93942543fd6c4e96975fa9f45e0e2c36412093c1be6ac37e545f1fd50 SHA512 02547d44cf93c570b2be6f429215efee95a2ef91a26b45fd0a5bfea3ec00837e04972f801c3c00a892eb8bb24b2e3aa8a854b4093844cfae0aed3bf0f396eac6 WHIRLPOOL 8c22a6afb7bd8ccabc5e6bc2b42bb414a4a0a0dada41c15686949e20d2bbdc5f473107221ecb5222b4b5d06db42af786d812a861076c93743612bca05ee5833f +EBUILD esorex-3.10.2.ebuild 960 SHA256 2e7ed5ed2403f54282e5c7f8fd56f369703af55c674040583412867d10af2f69 SHA512 7cf51b8dcfe8148ff0e67afaa1a82d3d44d1746a603a0896d2c5878e6a8098f956f5d1d72a854907c7f51cf30e2db873776419472b0a5128a4c307316f9f97d9 WHIRLPOOL 578249c9ae4c35a7d4c8c2baec22db19a17904a99eeb89bfe636b26c980358c1b6e7ae9ca8f17821e45b5fc7e2051fb7cc216c3f42b1f268c23c80ae5d391ddc +EBUILD esorex-3.12.3.ebuild 922 SHA256 60285b2524247339b6eb5655a545551f7c6cf4c12a961a6f46ec723edf6f9efb SHA512 42f2ea5dcaf421167f8d6cee13f2fa7559335cf74148ec6e1a410098330b455d451765273eee547c7d93624b35966ee61838ab5c83727eacbe7acbd6aa811d38 WHIRLPOOL cbc867931c6869831c2a6b37b292ca532046e5e985195d99c69ff4ff0adfd4b39d0a46e062f4655babb7cc8915ce9d71abdd5a070f41c2dd6da1c06b20194ea4 +EBUILD esorex-3.12.ebuild 922 SHA256 60285b2524247339b6eb5655a545551f7c6cf4c12a961a6f46ec723edf6f9efb SHA512 42f2ea5dcaf421167f8d6cee13f2fa7559335cf74148ec6e1a410098330b455d451765273eee547c7d93624b35966ee61838ab5c83727eacbe7acbd6aa811d38 WHIRLPOOL cbc867931c6869831c2a6b37b292ca532046e5e985195d99c69ff4ff0adfd4b39d0a46e062f4655babb7cc8915ce9d71abdd5a070f41c2dd6da1c06b20194ea4 +MISC ChangeLog 3194 SHA256 bcfd4f38cc29345b80f6e357ce4ee666bbd73ba2b7fb9cf92c4d1d928af3eaeb SHA512 27d76210236263ed93c40adbe67a637cb246ae07e2f58f0c1a40397fb3630fd0d50371ebf3eb339877fe152a58b95df5b029d9e02f07e863d1d62a90298ec137 WHIRLPOOL c6c06bc50372abca55c73324e93aaa23b53f97986d570b48376f88ad69ecbe647872c51338ede87ef2c9736a23a24b87390928e43e07aed9d2e331e3cbd701e5 +MISC ChangeLog-2015 3607 SHA256 bf7bc9265ff4521f5b544e64f2ca2cea114c7f927f2cbbcd90d9fb79f3277267 SHA512 c855e5f4656da51f2415634af6226fd459bc41093667d1532f6746cebeb1a99ebf9c481f398f08aaaa3d7683e4bb64c97c13318e15dcbcbf5f7ecbaae6092b92 WHIRLPOOL 09a5f08714a15a633ed7bda351c6309c94c89d3c742282c01d3c2f85def1701f22a78dfed9eacd4ed789220678f7e28aab519f6c5d0b3c40e2ed92f34476382d +MISC metadata.xml 1020 SHA256 c95da969ce16ecb61d6c764c16470a0ef6fce68ce75212133f27484242a5e1b4 SHA512 6a8f1a8f0f098520103818d351ef6dd0c10ff6cb38c3ee9bf937a7c67e3bc10e0fc2648b8949735b4c65116b83676d354383e73b550d1828ca1cd276ae3d7c75 WHIRLPOOL b33b81113aafd78a86a90e0a2889bdbab28000cc03509875615bc13638a05828af00bfaf9dbeecf144fa919501a29a5dac21fc10fbe8ba1d0be5d4cd871bffe7 diff --git a/sci-astronomy/esorex/esorex-3.10.2.ebuild b/sci-astronomy/esorex/esorex-3.10.2.ebuild new file mode 100644 index 000000000000..741a0b4ff28f --- /dev/null +++ b/sci-astronomy/esorex/esorex-3.10.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 +AT_NO_RECURSIVE=1 + +inherit autotools-utils + +DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" +HOMEPAGE="http://www.eso.org/sci/software/cpl/esorex.html" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=sci-astronomy/cpl-6.3:0=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch + "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch + "${FILESDIR}"/${PN}-3.10-generate-manpage.patch + "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch + "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch +) + +export CPLDIR="${EPREFIX}/usr" + +src_install() { + autotools-utils_src_install + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/sci-astronomy/esorex/esorex-3.12.3.ebuild b/sci-astronomy/esorex/esorex-3.12.3.ebuild new file mode 100644 index 000000000000..270226cd7bb0 --- /dev/null +++ b/sci-astronomy/esorex/esorex-3.12.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" +HOMEPAGE="http://www.eso.org/sci/software/cpl/esorex.html" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=sci-astronomy/cpl-6.3:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch + "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch + "${FILESDIR}"/${PN}-3.10-generate-manpage.patch + "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch + "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch +) + +export CPLDIR="${EPREFIX}/usr" + +src_prepare() { + default + AT_NO_RECURSIVE=1 eautoreconf +} + +src_install() { + default + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/sci-astronomy/esorex/esorex-3.12.ebuild b/sci-astronomy/esorex/esorex-3.12.ebuild new file mode 100644 index 000000000000..270226cd7bb0 --- /dev/null +++ b/sci-astronomy/esorex/esorex-3.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts" +HOMEPAGE="http://www.eso.org/sci/software/cpl/esorex.html" +SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=sci-astronomy/cpl-6.3:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch + "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch + "${FILESDIR}"/${PN}-3.10-generate-manpage.patch + "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch + "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch +) + +export CPLDIR="${EPREFIX}/usr" + +src_prepare() { + default + AT_NO_RECURSIVE=1 eautoreconf +} + +src_install() { + default + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/sci-astronomy/esorex/files/esorex-3.10-generate-manpage.patch b/sci-astronomy/esorex/files/esorex-3.10-generate-manpage.patch new file mode 100644 index 000000000000..017eb2c8f776 --- /dev/null +++ b/sci-astronomy/esorex/files/esorex-3.10-generate-manpage.patch @@ -0,0 +1,123 @@ +Author: Ole Streicher <debian@liska.ath.cx> +Subject: Generate a manpage for esorex. +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -62,3 +62,7 @@ + include $(top_builddir)/Makefile.purify + endif + ++esorex.man: esorex ++ sh esorex_create_man.sh ++ ++man1_MANS = esorex.man +--- /dev/null ++++ b/src/esorex_create_man.sh +@@ -0,0 +1,108 @@ ++#!/bin/sh ++ ++help2man -N -i $0 ./esorex | sed s/^:\ // | fgrep -v "***" > esorex.man ++<< instrument. ++ ++[NAME] ++esorex \- ESO Recipe Execution Tool ++ ++[DESCRIPTION] ++EsoRex is the ESO Recipe Execution Tool. It can list, configure and execute ++CPL-based recipes from the command line. ++ ++One of the features provided by the CPL is the ability to create ++data-reduction algorithms that run as plugins (dynamic libraries). These are ++called recipes and are one of the main aspects of the CPL data-reduction ++development environment. ++ ++As these recipes are dynamic libraries, it is not possible to run them ++directly from the command line. However, ESO provides several tools to do ++this, thus saving recipe developers the need to write such an application ++themselves. One of these is GASGANO (a GUI-based tool) and the other is ++ EsoRex (which runs from the command line) and is described here. ++ ++[ENVIRONMENT] ++All options can be set as environment parameters as well. See the previous ++paragraph for details. ++ ++[HINTS] ++.TP ++.SH File permissions ++When a recipe is used with the \fB\-\-suppress\-prefix\fR option, and the ++\fB\-\-output\-dir\fR is set to the current working directory, then the first ++execution of a recipe will work correctly, but subsequent executions may ++fail. This is due to output products being given \`read-only\' permission ++(to avoid the potential inadvertant loss of products). The recipe itself ++is unable to modify the permissions, and thus it fails when attempting to ++create the file. The solution (other than using a different output directory ++or prefixes) is to change the permission of these output files or delete ++them prior to any subsequent execution of that recipe. ++ ++This problem is less likely to occur in EsoRex v2+, due to the replacement of ++the \fB\-\-output\-overwrite\fR option with the \fB\-\-output\-readonly\fR ++(which is disabled by default). However, a determined user can still reach ++this situation, in which case the non-readable products must have their ++permissions changed, as described above. ++ ++.TP ++.SH Configuration files ++When creating configuration files, if the the recipe is provided on the ++command line, then EsoRex will generate the configuration file for this ++recipe. If no recipe name is given, then EsoRex will generate a configuration ++file for EsoRex itself. All configuration files are written in the ++$HOME/.esorex/ directory. ++ ++.TP ++.SH Memory checking ++It is possible to get EsoRex to check for memory leaks in the recipe ++that it is running, by enabling the \fB\-\-mem\-check\fR option. Then, at the ++conclusion of the recipe execution, and after memory deallocation, a list of ++all remaining allocated memory will be printed to screen. If there are no ++memory leaks, then no addition output is displayed. ++ ++[FILES] ++.TP ++.SH /etc/esorex.rc $HOME/.esorex/esorex.rc ++Default configuration files ++ ++The configuration file contains the EsoRex options, less the \`\-\-\' ++switch, but prefixed with \`esorex.caller.\'. Blank lines are ignored and ++lines beginning with \`#\' are treated as comments. ++ ++Here is an example configuration file. ++ ++ # Example EsoRex configuration file ++ # ++ esorex.caller.recipe-dir=/home/username/EsoRex/Plugins ++ esorex.caller.log-dir=. ++ esorex.caller.log-file=esorex.log ++ esorex.caller.log-file=esorex.log ++ esorex.caller.output-dir=. ++ esorex.caller.output-prefix=out_ ++ ++.TP ++.SH filename.sof ++A sof file contains a list of the input data. This data is specified in an sof ++file (which is just a text file), where each input file is specified with its ++associated classification and category. The format of each line in the sof ++file is as follows: ++ ++ full-path-to-file classification ++ ++Optionally, a third column may be provided. Permitted values are either RAW or ++CALIB. This is for when a recipe does not identify the type of input file, but ++as all ESO recipes are required to do so, this column is typically not needed. ++ ++An example sof file, for the mythological "ZIMOS" instrument, might look like this: ++ ++ /data/mos/ZIMOS.03-12-26T01:05:06.fits MOS_SCIENCE ++ /data/mos/ZIMOS.03-12-26T01:26:00.fits MOS_SCIENCE ++ /data/mos/ZIMOS.03-12-26T01:47:04.fits MOS_SCIENCE ++ /data/cal/master_bias4.fits MASTER_BIAS ++ /data/cal/grs_LR_red.3.tfits GRISM_TABLE ++ /data/gasgano/extract_table2.fits EXTRACT_TABLE ++ /data/cal/badpixel.3.tfits CCD_TABLE ++ ++For an concrete example for a specific instrument, check the documentation for that ++instrument. ++ diff --git a/sci-astronomy/esorex/files/esorex-3.10-remove-empty-configdir.patch b/sci-astronomy/esorex/files/esorex-3.10-remove-empty-configdir.patch new file mode 100644 index 000000000000..d492173da8eb --- /dev/null +++ b/sci-astronomy/esorex/files/esorex-3.10-remove-empty-configdir.patch @@ -0,0 +1,13 @@ +Author: Ole Streicher <debian@liska.ath.cx> +Description: Avoid creation of an empty directory "/usr/share/esorex/config" +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -51,8 +51,6 @@ + + bin_PROGRAMS = esorex + +-config_DATA = +- + esorex_LDFLAGS = $(CPL_LDFLAGS) $(LIBLTDL) + esorex_LDADD = @GETOPT@ $(LIBCPLDFS) $(LIBCPLUI) $(LIBCPLCORE) $(LIBCEXT) $(LIBLTDL) + esorex_DEPENDENCIES = @GETOPT@ $(LIBLTDL) diff --git a/sci-astronomy/esorex/files/esorex-3.10-remove-private-ltdl.patch b/sci-astronomy/esorex/files/esorex-3.10-remove-private-ltdl.patch new file mode 100644 index 000000000000..e675cdbb8f73 --- /dev/null +++ b/sci-astronomy/esorex/files/esorex-3.10-remove-private-ltdl.patch @@ -0,0 +1,39 @@ +Author: Ole Streicher <debian@liska.ath.cx> +Subject: Remove private library libltdl and use the installed one. +--- a/Makefile.am ++++ b/Makefile.am +@@ -37,10 +37,7 @@ + if MAINTAINER_MODE + + MAINTAINERCLEANFILES = $(top_srcdir)/Makefile.in $(top_srcdir)/aclocal.m4 \ +- $(top_srcdir)/config.h.in $(top_srcdir)/configure config.status config.log \ +- $(top_srcdir)/libltdl/Makefile.in $(top_srcdir)/libltdl/aclocal.m4 \ +- $(top_srcdir)/libltdl/config-h.in $(top_srcdir)/libltdl/configure \ +- libltdl/config.status libltdl/config.log ++ $(top_srcdir)/config.h.in $(top_srcdir)/configure config.status config.log + + clean-local: clean-doxygen + +--- a/configure.ac ++++ b/configure.ac +@@ -30,7 +30,9 @@ + + ESO_CHECK_DOCTOOLS + +-AC_LIBLTDL_CONVENIENCE ++LT_INIT ++LT_CONFIG_LTDL_DIR([libltdl]) ++AC_LIB_LTDL + AC_SUBST(INCLTDL) + AC_SUBST(LIBLTDL) + +@@ -76,9 +78,6 @@ + # Determine the shared library suffix on this platform + AC_LTDL_SHLIBEXT + +- +-AC_CONFIG_SUBDIRS(libltdl) +- + AC_CONFIG_FILES(Makefile + Makefile.purify + doxygen/Doxyfile diff --git a/sci-astronomy/esorex/files/esorex-3.10-set-default-plugin-path.patch b/sci-astronomy/esorex/files/esorex-3.10-set-default-plugin-path.patch new file mode 100644 index 000000000000..1289bed5ab0d --- /dev/null +++ b/sci-astronomy/esorex/files/esorex-3.10-set-default-plugin-path.patch @@ -0,0 +1,28 @@ +Author: Ole Streicher <debian@liska.ath.cx> +Description: Set the default plugin path to the one where recipes are + installed in Debian. +--- a/etc/esorex.rc.in ++++ b/etc/esorex.rc.in +@@ -130,7 +130,7 @@ + # as well. Multiple directory heads may be specified, by separating the + # starting paths with colons (:). This option may also be set using the + # environment variable ESOREX_PLUGIN_DIR. +-esorex.caller.recipe-dir=@recipedir@/esopipes-plugins ++esorex.caller.recipe-dir=@recipedir@ + + # --suppress-link + # When TRUE, no symbolic link is created to the output product. However, if +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -35,7 +35,10 @@ + AC_SUBST(configdir) + + if test -z "$recipedir"; then +- recipedir="`eval echo $libdir`" ++ recipedir="`eval echo $libdir`/cpl/plugins" ++ if test $libdir != "/usr/lib"; then ++ recipedir="$recipedir:/usr/lib/cpl/plugins" ++ fi + fi + AC_SUBST(recipedir) + diff --git a/sci-astronomy/esorex/files/esorex-3.9.6-use-shared-libs.patch b/sci-astronomy/esorex/files/esorex-3.9.6-use-shared-libs.patch new file mode 100644 index 000000000000..0cd348eaa446 --- /dev/null +++ b/sci-astronomy/esorex/files/esorex-3.9.6-use-shared-libs.patch @@ -0,0 +1,20 @@ +--- esorex-3.9.6/m4/cpl.m4.orig 2012-06-04 23:47:50.000000000 +0100 ++++ esorex-3.9.6/m4/cpl.m4 2012-06-04 23:48:45.000000000 +0100 +@@ -455,7 +455,7 @@ + AC_MSG_CHECKING([for libcext]) + + cpl_cext_check_header="cxtypes.h" +- cpl_cext_check_lib="libcext.a" ++ cpl_cext_check_lib="libcext.so" + + cpl_cext_incdirs="" + cpl_cext_libdirs="" +@@ -1314,7 +1314,7 @@ + AC_MSG_CHECKING([for CPL]) + + cpl_check_cpl_header="cpl.h" +- cpl_check_cpl_lib="libcplcore.a" ++ cpl_check_cpl_lib="libcplcore.so" + + cpl_incdirs="" + cpl_libdirs="" diff --git a/sci-astronomy/esorex/metadata.xml b/sci-astronomy/esorex/metadata.xml new file mode 100644 index 000000000000..dec7e069f528 --- /dev/null +++ b/sci-astronomy/esorex/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> +</maintainer> +<longdescription lang="en"> + EsoRex is the ESO Recipe Execution Tool. It can list, configure and + execute CPL-based recipes from the command line. One of the features + provided by the CPL is the ability to create data-reduction algorithms + that run as plugins (dynamic libraries). These are called recipes and + are one of the main aspects of the CPL data-reduction development + environment. As these recipes are dynamic libraries, it is not + possible to run them directly from the command line. However, ESO + provides several tools to do this, thus saving recipe developers the + need to write such an application themselves. One of these is GASGANO + (a GUI-based tool) and the other is EsoRex (which runs from the + command line. +</longdescription> +</pkgmetadata> |