From 78574333f54f69ad9b4b0f06b5a66d9bca13a380 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 2 Jan 2026 08:52:30 +0100 Subject: [PATCH] libxpm, bump to 3.5.17 (#13564) --- ...xpm-3.5.12.recipe => libxpm-3.5.17.recipe} | 45 ++++++++++++++----- 1 file changed, 34 insertions(+), 11 deletions(-) rename x11-libs/libxpm/{libxpm-3.5.12.recipe => libxpm-3.5.17.recipe} (75%) diff --git a/x11-libs/libxpm/libxpm-3.5.12.recipe b/x11-libs/libxpm/libxpm-3.5.17.recipe similarity index 75% rename from x11-libs/libxpm/libxpm-3.5.12.recipe rename to x11-libs/libxpm/libxpm-3.5.17.recipe index af789ed6d..0f1e9cafb 100644 --- a/x11-libs/libxpm/libxpm-3.5.12.recipe +++ b/x11-libs/libxpm/libxpm-3.5.17.recipe @@ -6,14 +6,15 @@ community. \ The X.Org Foundation is the educational non-profit corporation whose \ Board serves this effort, and whose Members lead this work." HOMEPAGE="https://www.x.org/" -COPYRIGHT="1989-95 GROUPE BULL +COPYRIGHT="2023 Oracle and/or its affiliates. + 1989-95 GROUPE BULL 1998 Arnaud LE HORS 1996 Lorens Younes" # TODO: check all the licenses in the COPYING file in the next century. LICENSE="MIT" -REVISION="5" -SOURCE_URI="https://www.x.org/releases/individual/lib/libXpm-$portVersion.tar.bz2" -CHECKSUM_SHA256="fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec" +REVISION="1" +SOURCE_URI="https://www.x.org/releases/individual/lib/libXpm-$portVersion.tar.xz" +CHECKSUM_SHA256="64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43" SOURCE_DIR="libXpm-$portVersion" ARCHITECTURES="all !x86_gcc2" @@ -31,8 +32,6 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" libxpm$secondaryArchSuffix = $portVersion - cmd:cxpm$commandSuffix - cmd:sxpm$commandSuffix lib:libXpm$secondaryArchSuffix = $libVersionCompat " REQUIRES=" @@ -52,6 +51,21 @@ REQUIRES_devel=" devel:libX11$secondaryArchSuffix " +PROVIDES_tools=" + libxpm${secondaryArchSuffix}_tools = $portVersion + cmd:cxpm$commandSuffix + cmd:sxpm$commandSuffix + " +REQUIRES_tools=" + libxpm$secondaryArchSuffix == $portVersion base + $REQUIRES + " + +ARCHITECTURES_doc="any" +PROVIDES_doc=" + libxpm_doc + " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libintl$secondaryArchSuffix @@ -67,6 +81,7 @@ BUILD_PREREQUIRES=" cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix + cmd:xgettext$secondaryArchSuffix " defineDebugInfoPackage libxpm$secondaryArchSuffix \ @@ -84,18 +99,26 @@ INSTALL() { make install - install -m 0755 -d "$docDir" - install -m 0644 -t "$docDir" README + install -m 0755 -d "$documentationDir/packages/libxpm" + install -m 0644 -t "$documentationDir/packages/libxpm" doc/README.html # remove libtool library file rm $libDir/libXpm.la - prepareInstalledDevelLib libXpm - + prepareInstalledDevelLib \ + libXpm fixPkgconfig packageEntries devel \ - $developDir + $developDir \ + $manDir/man3 + + packageEntries tools \ + $commandBinDir \ + $manDir + + packageEntries doc \ + $documentationDir } TEST()