diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
commit | 413421048cc2b0df9a218f0ab3cb151846809eb5 (patch) | |
tree | 3fd887035aa0f5b65d7f147ab77caa98c44c148d /sci-libs | |
parent | 3e42d1577189af123b773dc0f11e5419035308c8 (diff) |
gentoo auto-resync : 27:04:2024 - 23:59:42
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44825 -> 44652 bytes | |||
-rw-r--r-- | sci-libs/linux-gpib-modules/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild (renamed from sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5.ebuild) | 35 | ||||
-rw-r--r-- | sci-libs/linux-gpib/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/linux-gpib/linux-gpib-4.3.6.ebuild | 184 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/files/aclocal.patch | 146 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/metadata.xml | 13 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild | 77 |
9 files changed, 201 insertions, 263 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 8e46440f03eb..92a2150ebbea 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest index db8f1d0b15e2..2f99c4b13aed 100644 --- a/sci-libs/linux-gpib-modules/Manifest +++ b/sci-libs/linux-gpib-modules/Manifest @@ -1,6 +1,7 @@ AUX linux-gpib-modules-4.3.4-depmod.patch 744 BLAKE2B 6079d0523cafcd15e38a7e73e8a0d98e107220e6816bd7646c254044acaa1d39d19e983987dff70c249a67b7accbc74a836f8ddd9f39503cdd510edc2d6bdbc2 SHA512 417193e768b0b5bd41b053a86ebbab163a74662e7f2912c70ae76a873243fb218b24f0680699f9988d4e9097b8bbd8a23902d3f5652675f8a3dbb02915308f12 AUX linux-gpib-modules-4.3.4-kernel-6.4.patch 957 BLAKE2B 0acd630a4ba05dd168813b6b8641d189eb4a4dae57a3a6b558ca0ee0de97c4287ddc7fc756c9f1b3c90e4d378ffec8afe4af16c33b0bb4394b10fc726518fa14 SHA512 62d3b8add27b43b2419de1b49fdb2e10b03bb50f179558fa2bda0d2dee13c3e44b871713f6c695224478c5dfd0f461b53e4bd70a2576e467e74cf37877d4d9b5 DIST linux-gpib-4.3.5.tar.gz 1462624 BLAKE2B fff30ed1a7abc18cd4317e8f8979ef4014a532baab8c014f9a2eaa3338a2e8e8b672214d3f2b3f44066be15f432861a3fe3d67652f6966e73e561d99ff1e1566 SHA512 018cc255922a6335f8d28418b0a0808c3a369506470d9c81432ac7183ae255217d938a419e10ba2b0c44205a9d901405ce00ad5bdd968db2721cedd83baa2f76 +DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35 EBUILD linux-gpib-modules-4.3.5-r3.ebuild 1340 BLAKE2B 2ba9531da3adb1b8db0c2f4632aebc4bac91a50a97c32dfd379337f15daff1a867865c8cb8a1959a855d8da50b4f0c26399dc954cef4556824068915abe0edc6 SHA512 bd929a5f270ec28ac542b4f116c88a792d0a0a09dae13009588ac63a7f20b774cb65512768dbadbd9b2ed38d4e6265ba91c16351ecbf1e1c8571030817279fbb -EBUILD linux-gpib-modules-4.3.5.ebuild 1330 BLAKE2B f935eefab0bf6ce9c69eb71607552b90a3d164383c68f1474b2887f1f7548d710e4e243c079a8732bd3073bf42c3197dc312438bc0fe79b8f6a6a59105a23c12 SHA512 cfb97cf0bc1f573ae43183366aedfe3a182319b545b39b8534882036021c5d1291245df83c1b971aa9b47fd6906b3e1bd4bdae1c92e6174fb8a2a7aa2ba59249 +EBUILD linux-gpib-modules-4.3.6.ebuild 1246 BLAKE2B f0fd73733ad3d9e4f6f64b612f2ebcef8a087f2106f58dfa0443cc5fdef19f3f4199f6c53d31a9784fffd579a0930eafd86175033e9542f9e4b437d1fd2b2828 SHA512 39a77b251358910c9da3be832c10a71c4458321681c813865c7b2c814af633b61fde468f880227dd9df95706afffdb373dbfd9494d27870d84b408d6e5343200 MISC metadata.xml 481 BLAKE2B 5ee2924d1131f188c19c84bbfa8a3e2c6093387d15db5a0bc86ea14d4b0c0f36924df7525fb26f0b6660efe1a75f20e19afbd71270386795bd6af82bc5cd38f8 SHA512 dd41ed66cff7ad48e4a107f512e1121fb630f6487ef7872aeab219ff39d6cdb4b5dc14fa19c1b7931697c555702c2bd8bb8ec553b060c11581f02d8a46f76ef4 diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild index fb572031d1ee..345e1659d919 100644 --- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5.ebuild +++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-info linux-mod +inherit linux-mod-r1 DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" HOMEPAGE="https://linux-gpib.sourceforge.io/" @@ -12,7 +12,7 @@ S="${WORKDIR}/linux-gpib-kernel-${PV}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="debug" COMMONDEPEND="" @@ -27,13 +27,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.3.4-depmod.patch" ) -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is -lt 2 6 8; then - die "Kernel versions older than 2.6.8 are not supported." - fi -} +MODULES_KERNEL_MIN=2.6.8 src_unpack() { default @@ -41,29 +35,26 @@ src_unpack() { } src_configure() { - set_arch_to_kernel - - my_gpib_makeopts='' - use debug && my_gpib_makeopts+='GPIB-DEBUG=1 ' - - my_gpib_makeopts+="LINUX_SRCDIR=${KERNEL_DIR} " + MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" ) + use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' ) } src_compile() { - set_arch_to_kernel - emake \ - ${my_gpib_makeopts} + # The individual modules don't have separate targets so we can't use + # modlist here. + emake "${MODULES_MAKEARGS[@]}" } src_install() { - set_arch_to_kernel emake \ + "${MODULES_MAKEARGS[@]}" \ DESTDIR="${ED}" \ INSTALL_MOD_PATH="${ED}" \ - DEPMOD="/bin/true" \ docdir="${ED}/usr/share/doc/${PF}/html" \ - ${my_gpib_makeopts} \ install + modules_post_process + dodoc ChangeLog AUTHORS README* NEWS + einstalldocs } diff --git a/sci-libs/linux-gpib/Manifest b/sci-libs/linux-gpib/Manifest index bc325e4461e0..9db3bba1ebdd 100644 --- a/sci-libs/linux-gpib/Manifest +++ b/sci-libs/linux-gpib/Manifest @@ -1,5 +1,7 @@ AUX linux-gpib-4.3.0-perl.patch 546 BLAKE2B 9695c1a9f48a2a8bcb5f5998c40eb909e6b1b3624defe87a08bc4b91b34f53e8176531678dff3d4810b0b85b811eb477795c0dffe0275b864c0e4d4bac9b0ea9 SHA512 21bf64366d4b68dcfc2f4fa932480f8ff6af62bf792fe90c0dd0330606c3b95c073040dfa87bd1e277391a02ad324612d58b6d618d83c637b3df60c638289d06 DIST gpib_firmware-2008-08-10.tar.gz 173004 BLAKE2B 05fcde09de5246b86004c263c733d64316511bdb0b84dfbd9b94cb78e2909c0d191ff21ee0d77e7f0947e9231bd4cd62d6348e8f9beefd6d201b473732ff23d2 SHA512 f2a0ee3316b75ac36ed88568e45ca4c69935a6d10783c65582003ab39686f2a69d3002901866065f4f5efa9fdd4c779e038d1d7ce24bba266a619c164d5ac10d DIST linux-gpib-4.3.5.tar.gz 1462624 BLAKE2B fff30ed1a7abc18cd4317e8f8979ef4014a532baab8c014f9a2eaa3338a2e8e8b672214d3f2b3f44066be15f432861a3fe3d67652f6966e73e561d99ff1e1566 SHA512 018cc255922a6335f8d28418b0a0808c3a369506470d9c81432ac7183ae255217d938a419e10ba2b0c44205a9d901405ce00ad5bdd968db2721cedd83baa2f76 +DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35 EBUILD linux-gpib-4.3.5.ebuild 4984 BLAKE2B a449f422fd337bdcffdf76f1c8eeecd22fc778a2f8048ff03bd6a7eb7927a8828b9202950133d9c02cc00d3bef9d63451d45e4b2a083579465655707361535ef SHA512 9e5271f7e587c00de73f280155ac3716f9165f993c00dd991f80e0301c1780a38d292a63106ae4868e8a6f3310d4bbcbe356443dbfbe631c2763f536d145b51a +EBUILD linux-gpib-4.3.6.ebuild 5048 BLAKE2B 2565a0d098e62843d856acb1047f1257decd984004c89c6cba17f14e1e9a9e134aad3931db0d5c90def02dd1c7fa55919f35bc2fff8aca90e363c4bfc2912bcf SHA512 01d5f4f038c98bda2da5486844919f51e1c2d57176e9bf49ed8761912bc5d4579c11b4442dc246e86064e4dfd53d9a80d08f94c03a3156ad1f1c8d75c77e7807 MISC metadata.xml 548 BLAKE2B c976143b910efb6a8920f064f35fdac9cb325ff272aca8a7644511300f4dfe9232c280577a90eae225ca4f88bc2b4cd09d175d4190bc13513d89457f57c9bb52 SHA512 c611a420ab28d623b5b9167bd59c04c2fe27404a7fd85de72a555f99ef8bad4383702482ae808d4eb66014a9e63ca057aa7195748f9c230f0778fcbde07fb71f diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.6.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.6.ebuild new file mode 100644 index 000000000000..4402e945c74f --- /dev/null +++ b/sci-libs/linux-gpib/linux-gpib-4.3.6.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +inherit readme.gentoo-r1 autotools perl-functions python-single-r1 udev + +# Check for latest firmware version on bump +FW_PV="2008-08-10" + +DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" +HOMEPAGE="https://linux-gpib.sourceforge.io/" +SRC_URI="mirror://sourceforge/linux-gpib/${P}.tar.gz + firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) +" +S="${WORKDIR}/${PN}-user-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="pcmcia static guile perl php python tcl doc firmware" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMONDEPEND=" + sys-libs/readline:= + tcl? ( dev-lang/tcl:0= ) + guile? ( dev-scheme/guile:12 ) + perl? ( dev-lang/perl:= ) + php? ( dev-lang/php:= ) + python? ( ${PYTHON_DEPS} ) + firmware? ( sys-apps/fxload ) +" +RDEPEND="${COMMONDEPEND} + acct-group/gpib + ~sci-libs/linux-gpib-modules-${PV} +" +DEPEND="${COMMONDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + perl? ( virtual/perl-ExtUtils-MakeMaker ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.3.0-perl.patch +) + +pkg_setup() { + use perl && perl_set_version + use python && python_setup +} + +src_unpack() { + default + unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" +} + +src_prepare() { + default + + # We have to use --root instead of --prefix for setup.py. + # Otherwise the python files are not installed properly into site-packages. + sed -i -e \ + 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ + language/python/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static) \ + $(use_enable guile guile-binding) \ + $(use_enable perl perl-binding) \ + $(use_enable php php-binding) \ + $(use_enable python python-binding) \ + $(use_enable tcl tcl-binding) \ + $(use_enable doc documentation) +} + +src_install() { + # PYTHONDONTWRITEBYTECODE=0 is required, otherwise + # installation of the python files is skipped + FIRM_DIR=/usr/share/usb + emake \ + DESTDIR="${ED}" \ + INSTALL_MOD_PATH="${ED}" \ + HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ + UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ + USB_FIRMWARE_DIR=${FIRM_DIR} \ + PYTHONDONTWRITEBYTECODE=0 \ + docdir="/usr/share/doc/${PF}/html" install + + if use perl; then + einfo "Installing perl module" + cd "${S}"/language/perl || die + emake DESTDIR="${ED}" install + perl_fix_packlist + perl_delete_emptybsdir + cd "${S}" || die + fi + + echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules + udev_dorules 99-gpib.rules + + dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS + + insinto /etc + newins util/templates/gpib.conf gpib.conf + newins util/templates/gpib.conf gpib.conf.example + + if use pcmcia; then + insinto /etc/pcmcia + doins "${S}"/etc/pcmcia/* + fi + + # fix rules files + local f + find "${ED}$(get_udevdir)"/rules.d -type f -print0 | while read -rd '' f ; do + grep -q "${ED}" "${f}" && einfo "File ${f} contains a temporary path, fixing." + sed -i -e "s:${ED}:/:g" "${f}" + done + + # remove .la files + find "${ED}" -name '*.la' -delete || die + + DOC_CONTENTS=" +As the udev rules were changed and refactored in this release it is +necessary to remove any manually installed pre-4.3.0 gpib udev rules files +in /etc/udev/rules.d/. The files to remove are: +\n + 99-agilent_82357a.rules\n + 99-gpib-generic.rules\n + 99-ni_usb_gpib.rules\n +\n +You need to run the 'gpib_config' utility to setup the driver before +you can use it. In order to do it automatically you can add to your +start script something like this (supposing the appropriate driver +is loaded on the startup): +\n + gpib_config --minor 0 +\n +To give a user access to the computer's gpib board you will have to add +them to the group 'gpib' or, you could change the permissions on the device +files /dev/gpib[0-15] to something you like better, using 'chmod' +\n +Edit /etc/gpib.conf to match your interface board, and any devices you wish +to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for +more information. +\n +" + + if use pcmcia; then + DOC_CONTENTS+=' +For PCMCIA cards:\n +All files needed for a PCMCIA board were copied to /etc/pcmcia. +You may wish to edit the options passed to the gpib_config call in the +/etc/pcmcia/linux-gpib-pcmcia script. +You may need to send a SIGHUP signal to the cardmgr daemon to force it +to reload the files in /etc/pcmcia \(alternatively you could use your +pcmcia init.d script to restart the cardmgr, or you could just reboot\). +The driver module will be loaded as needed by the cardmgr. + +' + fi + + if use firmware; then + DOC_CONTENTS+=' +For Agilent \(HP\) 82341C and 82341D cards: +The firmware for these boards is uploaded by passing the appropriate +firmware file from /usr/share/linux-gpib/hp_82341 directory to +gpib_config using the -I or --init-data command line option. Example:\n +gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin +' + fi + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/sci-libs/xgks-pmel/Manifest b/sci-libs/xgks-pmel/Manifest deleted file mode 100644 index 63f939aabcfb..000000000000 --- a/sci-libs/xgks-pmel/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX aclocal.patch 3632 BLAKE2B 09c84b06a83821cb8bc8131963e3c9c384883bb0f7c2fd30fb98c4d72f934e118c76b482df52abc72910f2ede5327cfbe5599817c45f3adcec1eeae775db1429 SHA512 ec3d6bf45993cf180b98898cafc3dc72f0ecc5c4868d5e5c478cac1c5748e812609a2ff3f1981a11c0eb1830ef5f1aefad6d88d3db7aaee184d8b95fad7f927e -DIST xgks-pmel-2.5.5.tar.gz 1006581 BLAKE2B d44a956080382a7cb9758d54bc16528007a1b06abdb591cdff5cbdec4a292122916ff38503baca7ffb5a059eab21f26e5d9d6d71720a484201027032a62bf721 SHA512 001ef5742ebd93534569d650833ef04a82b01de819ceb2c3d3c750df58fd5bf9bbd538a79370b1d553db54477f409f6ab24958d3708260fb9ba7c8894ceb91c8 -EBUILD xgks-pmel-2.5.5.ebuild 1744 BLAKE2B eeb79d8df9b5fe230e6463eacdd5ef35ad2e811fad1e05b0b12f152c5a42bdcf59058ce8a45271d267f1d9dbe4092a0827e9bdbbfb1a94dfc625e5eeff53ac7f SHA512 70f38a54c7b39c88e7e388ce1e5002e19731f493d8b3a10adfd9f2831e8273403e129e3ab8ba2141a6577ffff3931c518cf4324338628fb1b6e0edaa362fdf61 -MISC metadata.xml 499 BLAKE2B 1d1367fa816eb1a830d2a0f6e4a723adcc927e0bb3c592939642517e93b817946f5f703d9379a48034e6e8c1a751c2495364f9f09a3d706fbe080e59f65048cb SHA512 77c0f5ecb4feac484777970f7a5b396abcefa10134c7c07e257a121489c560ba120ca0b05033171424bc79f7dce2a1226fa8f0c488a701dbd0e6e010d83049b3 diff --git a/sci-libs/xgks-pmel/files/aclocal.patch b/sci-libs/xgks-pmel/files/aclocal.patch deleted file mode 100644 index dbedb2e49f29..000000000000 --- a/sci-libs/xgks-pmel/files/aclocal.patch +++ /dev/null @@ -1,146 +0,0 @@ ---- a/port/aclocal.m4 -+++ b/port/aclocal.m4 -@@ -582,26 +582,6 @@ - ])]) - - --# Check for ncdump(1) --# --define([UC_PROG_NCDUMP], [dnl --AC_PROGRAM_CHECK(NCDUMP, ncdump, ncdump, UC_ABSPATH($exec_prefix)/ncdump)dnl --if test `which "$NCDUMP" | wc -w` != 1; then -- UC_NEED_VALUE(NCDUMP, [netCDF lister], /usr/local/unidata/bin/ncdump)dnl --fi --]) -- -- --# Check for ncgen(1) --# --define([UC_PROG_NCGEN], [dnl --AC_PROGRAM_CHECK(NCGEN, ncgen, ncgen, UC_ABSPATH($exec_prefix)/ncgen)dnl --if test `which "$NCGEN" | wc -w` != 1; then -- UC_NEED_VALUE(NCGEN, [netCDF generator], /usr/local/unidata/bin/ncgen)dnl --fi --]) -- -- - # Test a script. - # - define([UC_TEST_SCRIPT], -@@ -719,16 +699,6 @@ - ]) - - --# Check for McIDAS library. --# --define([UC_LIB_MCIDAS], [dnl --echo checking for MCIDAS library --UC_TEST_LIB(LD_MCIDAS, /home/mcidas/lib /home/mcidasd/lib, mcidas, McIDAS, dnl -- -L/home/mcidas/lib -lmcidas)dnl --AC_PROVIDE([$0])dnl --]) -- -- - # Check for X11 library. - # - define([UC_LIB_X11], [dnl -@@ -745,77 +715,6 @@ - define([UC_X11], [AC_REQUIRE([UC_CPP_X11])AC_REQUIRE([UC_LIB_X11])]) - - --# Check for netCDF header-file directory. --# --define([UC_CPP_NETCDF], [dnl --echo checking for netCDF header-file --UC_TEST_DIR(CPP_NETCDF, UC_ABSPATH($prefix/[[[include]]]), netcdf.h, -- [netCDF [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl --CPP_NETCDF=`case ${CPP_NETCDF} in -I*) echo ${CPP_NETCDF};; *) echo -I${CPP_NETCDF-};; esac` --AC_PROVIDE([$0])dnl --]) -- -- --# Check for netCDF library. --# --define([UC_LIB_NETCDF], [dnl --echo checking for netCDF library --UC_TEST_LIB(LD_NETCDF, UC_ABSPATH($prefix/lib), netcdf, -- netCDF, -L/usr/local/unidata/lib -lnetcdf)dnl --AC_PROVIDE([$0])dnl --]) -- -- --# Check for netCDF implementation (header file and library). --# --define([UC_NETCDF], [AC_REQUIRE([UC_CPP_NETCDF])AC_REQUIRE([UC_LIB_NETCDF])]) -- -- --# Check for netCDF operators library. --# --define([UC_LIB_NCOPERS], [dnl --echo checking for netCDF operators library --UC_TEST_LIB(LD_NCOPERS, UC_ABSPATH($prefix/lib), ncopers, -- netCDF-operators, [-L/usr/local/unidata/lib -lncopers])dnl --AC_PROVIDE([$0])dnl --]) -- -- --# Check for LDM header-file directory. --# --define([UC_CPP_LDM], [dnl --echo checking for LDM header-file --UC_TEST_DIR(CPP_LDM, UC_ABSPATH($prefix/[[[include]]]) dnl -- UC_ABSPATH($prefix/../[[[include]]]) dnl -- UC_ABSPATH($prefix/../ldm/[[[include]]]), ldm.h, -- [LDM [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl --CPP_LDM=`case ${CPP_LDM} in -I*) echo ${CPP_LDM};; *) echo -I${CPP_LDM-};; esac` --if test -z "$CPP_LDM"; then -- UC_NEED_VALUE(CPP_LDM, [LDM include directory], -I/home/ldm/include)dnl --fi --AC_PROVIDE([$0])dnl --]) -- -- --# Check for LDM library. --# --define([UC_LIB_LDM], [dnl --echo checking for LDM library --UC_TEST_LIB(LD_LDM, UC_ABSPATH($prefix/lib) dnl -- UC_ABSPATH($prefix/../lib) UC_ABSPATH($prefix/../ldm/lib), ldm, -- LDM, -L/usr/local/unidata/lib -lldm)dnl --if test -z "$LD_LDM"; then -- UC_NEED_VALUE(LD_LDM, [LDM library], -L/home/ldm/lib -lldm)dnl --fi --AC_PROVIDE([$0])dnl --]) -- -- --# Check for LDM implementation (header file and library). --# --define([UC_LDM], [AC_REQUIRE([UC_CPP_LDM])AC_REQUIRE([UC_LIB_LDM])]) -- -- - # Check for udres(3) library. - # - define([UC_LIB_UDRES], [dnl ---- a/port/configure.in -+++ b/port/configure.in -@@ -24,8 +24,6 @@ - UC_PROG_FORTC - UC_PROG_NEQN - UC_PROG_TBL --UC_PROG_NCDUMP --UC_PROG_NCGEN - UC_PROG_INSTALL - - UC_UDPOSIX ---- a/port/master.mk.in -+++ b/port/master.mk.in -@@ -19,8 +19,6 @@ - INSTALL_DATA = @INSTALL_DATA@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ - FC = @FC@ --NCDUMP = @NCDUMP@ --NCGEN = @NCGEN@ - NEQN = @NEQN@ - OS = @OS@ - SHELL = /bin/sh diff --git a/sci-libs/xgks-pmel/metadata.xml b/sci-libs/xgks-pmel/metadata.xml deleted file mode 100644 index fafca56c2a24..000000000000 --- a/sci-libs/xgks-pmel/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <longdescription> - XGKS is a level 2C implementation of the ANSI Graphical Kernel System (GKS) for - X-windows, with a C and Fortran interface. This version has support for PMEL's - Ferret visualization tool. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild deleted file mode 100644 index f6a347c55989..000000000000 --- a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fortran-2 toolchain-funcs - -DESCRIPTION="PMEL fork of XGKS, an X11-based version of the ANSI Graphical Kernel System" -HOMEPAGE="http://www.gentoogeek.org/viewvc/Linux/xgks-pmel/" -SRC_URI="http://www.gentoogeek.org/files/${P}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="doc" - -RDEPEND="x11-libs/libX11" -DEPEND="${RDEPEND}" -BDEPEND=" - app-alternatives/lex - sys-apps/groff" - -PATCHES=( "${FILESDIR}"/aclocal.patch ) - -src_configure() { - sed -i -e "s:lib64:$(get_libdir):g" port/master.mk.in \ - fontdb/Makefile.in || die - - CFLAGS="${CFLAGS}" LD_X11='-L/usr/$(get_libdir) -lX11' \ - FC="$(tc-getFC)" CC="$(tc-getCC)" OS=linux \ - ./configure --prefix=/usr --exec_prefix=/usr/bin \ - || die -} - -src_compile() { - sed -i -e "s:port/all port/install:port/all:g" Makefile \ - || die - - # Fails parallel build, bug #295724 - emake -j1 - emake -C src/fortran -j1 -} - -src_install() { - pushd progs >/dev/null || die - local tool - for tool in defcolors font mi pline pmark; do - newbin ${tool} xgks-${tool} - done - popd >/dev/null || die - - dolib.a src/lib/libxgks.a - - dodoc COPYRIGHT HISTORY README - doman doc/{xgks.3,xgks_synop.3} - if use doc; then - newdoc doc/binding/cbinding.me cbinding - newdoc doc/userdoc/userdoc.me userdoc - - docinto examples - dodoc progs/{hanoi.c,star.f} - fi - - insinto /usr/include/xgks - doins src/lib/gks*.h - doins src/lib/gksm/gksm*.h - doins src/fortran/f*.h - doins src/lib/w*.h - doins src/lib/{input.h,metafile.h,polylines.h,polymarkers.h,text.h} - - insinto /usr/include - doins src/lib/xgks.h - doins port/udposix.h - - insinto /usr/share/xgksfonts - doins fontdb/{[1-9],*.gksfont} -} |