diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-libs/libgeotiff | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'sci-libs/libgeotiff')
| -rw-r--r-- | sci-libs/libgeotiff/Manifest | 3 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/files/Doxyfile | 261 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch | 120 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild | 53 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild | 68 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild | 75 | ||||
| -rw-r--r-- | sci-libs/libgeotiff/metadata.xml | 13 |
7 files changed, 0 insertions, 593 deletions
diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest deleted file mode 100644 index 66332cd9b9c0..000000000000 --- a/sci-libs/libgeotiff/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST libgeotiff-1.7.1.tar.gz 542779 BLAKE2B e26a14fcb463f4a9e5a3652b978223da6b11dcb4ec6a3b6068460f929a57e9affafdb652f16fad23a2da4612c6ae3c2624bfb4f26c96fc4290a33f1e0629b726 SHA512 af119040598f4349124848d9788ea1d0d2019e23fc48eaf4b0445320c51e91afa6c7e25b49738bdaf0aa4467a19104b00838d669da27dee77898c489fe5fe4c1 -DIST libgeotiff-1.7.3.tar.gz 547548 BLAKE2B cc22000d71c30d178c190a4e10487a49c970590148c92474e805957e3f7dee8211b3cb3543455a9c8a9aa48a9ee79c95e116bdb0741c458b9c7fe91fa2a8fd63 SHA512 a523d6117c7433fe37b7c0cdcba81698426cd4b084bcb35c7dacc9e87bfda1ab7a4c16a9aa64a69dedb78edc2f85e8032bf8b158411f50909603e04d13821cd3 -DIST libgeotiff-1.7.4.tar.gz 549848 BLAKE2B c2eb314b1e318e707831d548442d047bacf84b8040750e99df191b38b0d56f0f6e4a98eb8921fc86a3688ab77d9d7053e9fc93a25656226f66ce067f1884cc72 SHA512 72e81075348ef92c56f84c51bb8234eaf38e10fd88dc786c317ee6c1cf9fb1c07178b8cf4fc6348b1ddf6e42d5888861f8c57dac57273a278d157c59e9803eb1 diff --git a/sci-libs/libgeotiff/files/Doxyfile b/sci-libs/libgeotiff/files/Doxyfile deleted file mode 100644 index fcf0539b5748..000000000000 --- a/sci-libs/libgeotiff/files/Doxyfile +++ /dev/null @@ -1,261 +0,0 @@ -# Doxyfile 1.6.1 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = libgeotiff -PROJECT_NUMBER = -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -QT_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = NO -OPTIMIZE_FOR_FORTRAN = NO -OPTIMIZE_OUTPUT_VHDL = NO -EXTENSION_MAPPING = -BUILTIN_STL_SUPPORT = YES -CPP_CLI_SUPPORT = NO -SIP_SUPPORT = NO -IDL_PROPERTY_SUPPORT = YES -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES -TYPEDEF_HIDES_STRUCT = NO -SYMBOL_CACHE_SIZE = 0 -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -EXTRACT_ANON_NSPACES = NO -HIDE_UNDOC_MEMBERS = YES -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_MEMBERS_CTORS_1ST = NO -SORT_GROUP_NAMES = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = NO -SHOW_FILES = YES -SHOW_NAMESPACES = YES -FILE_VERSION_FILTER = -LAYOUT_FILE = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = NO -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = . \ - libxtiff/xtiff.c -INPUT_ENCODING = UTF-8 -FILE_PATTERNS = *.h \ - *.cpp \ - *.c \ - *.inc -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXCLUDE_SYMBOLS = -EXAMPLE_PATH = . -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = NO -REFERENCES_LINK_SOURCE = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = docs/api -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -HTML_DYNAMIC_SECTIONS = NO -GENERATE_DOCSET = NO -DOCSET_FEEDNAME = "Doxygen generated docs" -DOCSET_BUNDLE_ID = org.doxygen.Project -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -CHM_INDEX_ENCODING = -BINARY_TOC = NO -TOC_EXPAND = NO -GENERATE_QHP = NO -QCH_FILE = -QHP_NAMESPACE = -QHP_VIRTUAL_FOLDER = doc -QHP_CUST_FILTER_NAME = -QHP_CUST_FILTER_ATTRS = -QHP_SECT_FILTER_ATTRS = -QHG_LOCATION = -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -USE_INLINE_TREES = NO -TREEVIEW_WIDTH = 250 -FORMULA_FONTSIZE = 10 -SEARCHENGINE = NO -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = YES -USE_PDFLATEX = YES -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -LATEX_SOURCE_CODE = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/local/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -MSCGEN_PATH = -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -DOT_FONTNAME = FreeSans -DOT_FONTSIZE = 10 -DOT_FONTPATH = -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -CALLER_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -DOT_GRAPH_MAX_NODES = 50 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES diff --git a/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch b/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch deleted file mode 100644 index 6fdcd9753f95..000000000000 --- a/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch +++ /dev/null @@ -1,120 +0,0 @@ -https://github.com/OSGeo/libgeotiff/pull/74 - -From d18deccb461990c826ceee8fbcc57a44502ace2e Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 20 Mar 2022 02:55:50 +0000 -Subject: [PATCH] CMake: adopt GNUInstallDirs - -This makes it a lot easier for packagers (it happens by default -if we've setup our environment correctly) to have files installed in the right -places, including libdir, but also documentation, which can vary. - -This works cross-platform still but it means libgeotiff uses the -standard options which CMake projects tend to use for such locations -and therefore no special treatment is needed when packaging it. - -Fixes: https://github.com/OSGeo/issues/33 -Signed-off-by: Sam James <sam@gentoo.org> ---- - CMakeLists.txt | 41 ++++++++++------------------------- - bin/CMakeLists.txt | 6 ++--- - 2 files changed, 14 insertions(+), 33 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 001df67..1840258 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,6 +7,8 @@ - ############################################################################### - PROJECT(GeoTIFF) - -+include(GNUInstallDirs) -+ - SET(GEOTIFF_LIB_NAME geotiff) - SET(GEOTIFF_LIBRARY_TARGET geotiff_library) - -@@ -239,38 +241,17 @@ SET(GEOTIFF_MAN_PAGES - - # ${PROJECT_BINARY_DIR}/geotiff_version.h - --SET(DEFAULT_BIN_SUBDIR bin) --SET(DEFAULT_LIB_SUBDIR lib) --SET(DEFAULT_INCLUDE_SUBDIR include) -- --# Locations are changeable by user to customize layout of GeoTIFF installation --# (default values are platform-specIFic) --SET(GEOTIFF_BIN_SUBDIR ${DEFAULT_BIN_SUBDIR} CACHE STRING -- "Subdirectory where executables will be installed") --SET(GEOTIFF_LIB_SUBDIR ${DEFAULT_LIB_SUBDIR} CACHE STRING -- "Subdirectory where libraries will be installed") --SET(GEOTIFF_INCLUDE_SUBDIR ${DEFAULT_INCLUDE_SUBDIR} CACHE STRING -- "Subdirectory where header files will be installed") -- --# Mark *_SUBDIR variables as advanced and dedicated to use by power-users only. --MARK_AS_ADVANCED(GEOTIFF_BIN_SUBDIR GEOTIFF_LIB_SUBDIR GEOTIFF_INCLUDE_SUBDIR) -- --# Full paths for the installation --SET(GEOTIFF_BIN_DIR ${GEOTIFF_BIN_SUBDIR}) --SET(GEOTIFF_LIB_DIR ${GEOTIFF_LIB_SUBDIR}) --SET(GEOTIFF_INCLUDE_DIR ${GEOTIFF_INCLUDE_SUBDIR}) -- - # Install doc files - INSTALL(FILES - AUTHORS ChangeLog COPYING INSTALL LICENSE README README_BIN README.WIN -- DESTINATION doc) -+ DESTINATION ${CMAKE_INSTALL_DOCDIR}) - - # Install man pages --INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION share/man/man1) -+INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) - - - # Install header files for development distribution --INSTALL(FILES ${GEOTIFF_LIB_HEADERS} DESTINATION ${GEOTIFF_INCLUDE_DIR}) -+INSTALL(FILES ${GEOTIFF_LIB_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - ############################################################################### - # Build libxtiff library -@@ -323,7 +304,7 @@ if(UNIX) - set_target_properties( - ${GEOTIFF_LIBRARY_TARGET} - PROPERTIES -- INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${GEOTIFF_LIB_DIR}") -+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") - endif() - endif() - -@@ -348,14 +329,14 @@ target_link_libraries(${GEOTIFF_LIBRARY_TARGET} PRIVATE - target_include_directories( - ${GEOTIFF_LIBRARY_TARGET} - PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> -- $<INSTALL_INTERFACE:${GEOTIFF_INCLUDE_DIR}>) -+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) - - INSTALL( TARGETS ${GEOTIFF_LIBRARY_TARGET} - EXPORT depends -- RUNTIME DESTINATION ${GEOTIFF_BIN_DIR} -- LIBRARY DESTINATION ${GEOTIFF_LIB_DIR} -- PUBLIC_HEADER DESTINATION ${GEOTIFF_INCLUDE_DIR} -- ARCHIVE DESTINATION ${GEOTIFF_LIB_DIR} ) -+ RUNTIME DESTINATION ${CMAKE_INSTALLL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - - # Define grouping of source files in PROJECT file (e.g. Visual Studio) - SOURCE_GROUP("CMake Files" FILES CMakeLists.txt) -diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt -index dad465f..c61585c 100644 ---- a/bin/CMakeLists.txt -+++ b/bin/CMakeLists.txt -@@ -41,6 +41,6 @@ MESSAGE(STATUS "Adding GeoTIFF utilities to build - done: ${GEOTIFF_UTILITIES}") - # Targets installation - - INSTALL(TARGETS ${GEOTIFF_UTILITIES} -- RUNTIME DESTINATION ${GEOTIFF_BIN_DIR} -- LIBRARY DESTINATION ${GEOTIFF_LIB_DIR} -- ARCHIVE DESTINATION ${GEOTIFF_LIB_DIR}) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild deleted file mode 100644 index 6f31d1093aed..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~x64-macos" -IUSE="doc jpeg +tiff zlib" - -DEPEND=">=sci-libs/proj-6.0.0:= - jpeg? ( media-libs/libjpeg-turbo:= ) - tiff? ( >=media-libs/tiff-3.9.1:= ) - zlib? ( virtual/zlib:= )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.7.1-gnuinstalldirs.patch -) - -src_configure() { - local mycmakeargs=( - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=$(usex tiff) - -DWITH_ZLIB=$(usex zlib) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - mkdir -p docs/api || die - cp "${FILESDIR}"/Doxyfile Doxyfile || die - doxygen -u Doxyfile || die "updating doxygen config failed" - doxygen Doxyfile || die "docs generation failed" - fi -} - -src_install() { - use doc && local HTML_DOCS=( docs/api/. ) - - cmake_src_install -} diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild deleted file mode 100644 index 70aa47cf5284..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" -# TODO: add tiff when resolved: https://github.com/OSGeo/libgeotiff/issues/125 -IUSE="doc jpeg zlib" - -DEPEND=" - >=sci-libs/proj-6.0.0:= - >=media-libs/tiff-3.9.1:= - jpeg? ( media-libs/libjpeg-turbo:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=media-libs/tiff-3.9.1 - doc? ( app-text/doxygen ) -" - -src_configure() { - # in >1.7.3 there is BUILD_{DOC,MAN}, it should be added - local mycmakeargs=( - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=ON # bug 837287 - -DWITH_TOWGS84=OFF # default - -DWITH_ZLIB=$(usex zlib) - ) - use doc && HTML_DOCS=( docs/api/. ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - mkdir -p docs/api || die - cp "${FILESDIR}"/Doxyfile Doxyfile || die - doxygen -u Doxyfile || die "updating doxygen config failed" - doxygen Doxyfile || die "docs generation failed" - fi -} - -src_test() { - # https://github.com/OSGeo/libgeotiff?tab=readme-ov-file#testing - # Check if still needed: https://github.com/OSGeo/libgeotiff/issues/126 - pushd "${BUILD_DIR}"/bin || die - - # prepare file - ./makegeo || die "makegeo failed" - [[ -f "newgeo.tif" ]] || die "makegeo did not produce a file" - - # test - ./listgeo newgeo.tif > metadata.txt || die "listgeo metadata extraction failed" - ./geotifcp -g metadata.txt newgeo.tif newer.tif > /dev/null || die - cmp new{geo,er}.tif || die "geotifcp produces different files" - popd || die -} diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild deleted file mode 100644 index 457267aacb90..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" - -inherit cmake docs - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE=" - https://trac.osgeo.org/geotiff/ - https://github.com/OSGeo/libgeotiff/tree/master/libgeotiff -" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~x64-macos" -# TODO: add tiff when resolved: https://github.com/OSGeo/libgeotiff/issues/125 -IUSE="jpeg zlib" - -DEPEND=" - >=sci-libs/proj-6.0.0:= - >=media-libs/tiff-3.9.1:= - jpeg? ( media-libs/libjpeg-turbo:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=">=media-libs/tiff-3.9.1" -# Upstream DOCS are a mess, install the bare minimum -DOCS=( NEWS README ) - -src_configure() { - # in >1.7.3 there is BUILD_{DOC,MAN}, it should be added - local mycmakeargs=( - -DBUILD_MAN=ON # 12K - -DBUILD_DOC=OFF # installs AUTHORS, COPYING... - -DWITH_TOWGS84=ON # default - -DWITH_UTILITIES=ON # default - - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=ON # bug 837287 - -DWITH_ZLIB=$(usex zlib) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then # use our Doxyfile, upstream violates the sandbox - mkdir -p docs/api || die - ln -s "${FILESDIR}"/Doxyfile ./ || die - doxygen -u Doxyfile || die "updating doxygen config failed" - fi - docs_compile -} - -src_test() { - # https://github.com/OSGeo/libgeotiff?tab=readme-ov-file#testing - # Check if still needed: https://github.com/OSGeo/libgeotiff/issues/126 - pushd "${BUILD_DIR}"/bin || die - - # prepare file - ./makegeo || die "makegeo failed" - [[ -f "newgeo.tif" ]] || die "makegeo did not produce a file" - - # test - ./listgeo newgeo.tif > metadata.txt || die "listgeo metadata extraction failed" - ./geotifcp -g metadata.txt newgeo.tif newer.tif > /dev/null || die - cmp new{geo,er}.tif || die "geotifcp produces different files" - popd || die -} diff --git a/sci-libs/libgeotiff/metadata.xml b/sci-libs/libgeotiff/metadata.xml deleted file mode 100644 index 8885661c78b0..000000000000 --- a/sci-libs/libgeotiff/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> - <upstream> - <bugs-to>https://github.com/OSGeo/libgeotiff/issues</bugs-to> - <changelog>https://github.com/OSGeo/libgeotiff/blob/master/libgeotiff/NEWS</changelog> - <remote-id type="github">OSGeo/libgeotiff</remote-id> - </upstream> -</pkgmetadata> |
