From nobody Sat Jan 20 13:56:01 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THJ0x43Zyz57BQw; Sat, 20 Jan 2024 13:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4THJ0x3TS8z4lTy; Sat, 20 Jan 2024 13:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705758961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rT+7EwQGfhNZlyOBiBcxX03P2IBf2wIAYCaXqVXruI0=; b=eKYcfFNboVKnwxX2sUo8vXJlsaTKonA4TZvCYJ8qUTrVvSoH+U84Kp9WX6/5MaOyus8E4I nUfjMh8+JNtc2dFoBMFNtwKaLwrGVIFrEKLrt5ZLcjQQA/xPqWg/8Ohc1RGzhvY3K5DBhU FEUl1fZt2WghmsKJjOt6DsUA59B8iQcjpNJle0/lNGpLl0HPk+Jg0ip1hiQlkZR65U6Vm0 aq0UnbFWAu1D/UgUNBBj8VOwsNUoj4GB/kDxWlqAZpTtXf+XQzEjYfY7bZzPooxOuwYC7P S8BiZBFq3k3PeMuAYjLberKbDR/ScGmXlsx7Fev6gqxfff/WHDcGcLyp5mlEdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705758961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rT+7EwQGfhNZlyOBiBcxX03P2IBf2wIAYCaXqVXruI0=; b=SuLt8oXT9wPXh7yGgeTU/jVnjPOiYNRgokDmrBzHz/F63cKUMN+8Jxgm/icCBTU8mBfVui RKbTzWZJZlOYeFWnqd2kdENFaCQst6Mq7JNMt9ssvfIPEHB1ezl+CMa9pRohPSJ0zxmxJ+ VbP6g+l/LZSSHDK/J5ov0WugzpqFyEw2z9QvaYc4AyGkQY9IpTg1BkDsmrpFvPioy3gjqL d9zVpn32NdGLs7WfpNCyEOdJikNUgw/ZKoRiqswjWxd+ccj7QKTwLGH/gcDYZEdcqfsich nAdBNg1Gq8pTrrzI4RYbJ7PwEZ7y5EtpE04eAea3lJaVlACuSBuYRx7oB+T94Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705758961; a=rsa-sha256; cv=none; b=jPFILH9Dl1ieQ3Prx/wJmbkB7xGPVgKNn3nX8kIoAYK4AS9DdrDbtZ8S7bn0l3VFsjdPKv MXTCqPnZKBKLjeWzxlO8xTAcB/hML9kKU/EX4qeCESKAUzNTd2CFvDC+NcDtSaT6i9+rM2 NDoeTCSMWNzvqni0fOdX2iyPeXVaDrup+Cxej6vo2gd7fVTLc5fA0OMZsQ1+b31Zl+3/lH 1ZFXl8WVk3uK9oOL9Dh2JVSuB5jZdMSu+4MgXhcqMxBITkV7PCN6oKB4BE31ZIgxFgrR6P pqQhlJHQ8XlNfZa8KxHvxLv9X6b9orA3mtYBLYQYQ5JO9zcDuVHtHX1uZN6bFA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4THJ0x2XNPzdJw; Sat, 20 Jan 2024 13:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40KDu1Xw082468; Sat, 20 Jan 2024 13:56:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40KDu1Mc082465; Sat, 20 Jan 2024 13:56:01 GMT (envelope-from git) Date: Sat, 20 Jan 2024 13:56:01 GMT Message-Id: <202401201356.40KDu1Mc082465@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 026dc430636a - main - graphics/imlib2: Update to 1.12.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 026dc430636af6e3687a5b0499a8893126515a45 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=026dc430636af6e3687a5b0499a8893126515a45 commit 026dc430636af6e3687a5b0499a8893126515a45 Author: Nuno Teixeira AuthorDate: 2024-01-20 13:42:23 +0000 Commit: Nuno Teixeira CommitDate: 2024-01-20 13:55:48 +0000 graphics/imlib2: Update to 1.12.1 - Switch to DISTVERSION - Pet portlint, portclippy, portfmt and Q/A check - Take maintainership - Drop CONFIGURE_ENV=ac_cv_lib_dl_dlopen=no - Drop --enable-mmx on supported platforms on this version (see 1.12.1 changelog) ChangeLog: https://git.enlightenment.org/old/legacy-imlib2/src/branch/master/ChangeLog PR: 276369 --- graphics/imlib2/Makefile | 40 ++++++++++++---------- graphics/imlib2/distinfo | 6 ++-- .../files/patch-src_modules_loaders_loader__argb.c | 12 ------- graphics/imlib2/pkg-plist | 11 ++++-- 4 files changed, 32 insertions(+), 37 deletions(-) diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index 270b0c70dd0a..7239bc32bc7c 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -1,12 +1,11 @@ PORTNAME= imlib2 -PORTVERSION= 1.7.0 -PORTREVISION= 1 +DISTVERSION= 1.12.1 PORTEPOCH= 2 CATEGORIES= graphics enlightenment -MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION} +MASTER_SITES= SF/enlightenment/imlib2-src/${DISTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= The next generation graphics library for Enlightenment +MAINTAINER= eduardo@FreeBSD.org +COMMENT= Next generation graphics library for Enlightenment WWW= https://docs.enlightenment.org/api/imlib2/html/ LICENSE= imlib2 @@ -16,24 +15,26 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfreetype.so:print/freetype2 -USES= cpe libtool pathfix pkgconfig tar:bzip2 -GNU_CONFIGURE= yes +USES= cpe libtool localbase:ldflags pathfix pkgconfig tar:xz +CPE_VENDOR= enlightenment USE_LDCONFIG= yes -INSTALL_TARGET= install-strip -CPE_VENDOR= enlightenment +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static \ + --enable-visibility-hiding \ + --with-bzip2 \ + --with-zlib -CONFIGURE_ARGS= --enable-visibility-hiding --disable-static \ - --with-zlib --with-bzip2 -CONFIGURE_ENV= ac_cv_lib_dl_dlopen=no -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip CONFLICTS_INSTALL= imlib2-webp +PLIST_SUB= SHLIB_SHORT=${DISTVERSION:R:R} \ + SHLIB_VER=${DISTVERSION} + OPTIONS_DEFINE= GIF ID3 JPEG PNG TIFF WEBP X11 OPTIONS_DEFAULT= GIF ID3 JPEG PNG TIFF WEBP X11 -OPTIONS_SUB= yes +OPTIONS_SUB= yes GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif @@ -44,23 +45,24 @@ ID3_CONFIGURE_WITH= id3 JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg -PNG_LIB_DEPENDS= libpng.so:graphics/png +PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_CONFIGURE_WITH= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff -WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp X11_USES= xorg -X11_USE= XORG=x11,sm,xcb,xext +X11_USE= XORG=sm,x11,xcb,xext X11_CONFIGURE_WITH= x x-shm-fd .include +# scaling: MMX asm scaling causes segv, disable for now .if ${ARCH} == "i386" && !empty(MACHINE_CPU:Mmmx) -CONFIGURE_ARGS+= --enable-mmx +CONFIGURE_ARGS+= --disable-mmx .else CONFIGURE_ARGS+= --disable-mmx .endif diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo index b90f1f7652d1..1abef604a3d1 100644 --- a/graphics/imlib2/distinfo +++ b/graphics/imlib2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1596568156 -SHA256 (imlib2-1.7.0.tar.bz2) = 1976ca3db48cbae79cd0fc737dabe39cc81494fc2560e1d22821e7dc9c22b37d -SIZE (imlib2-1.7.0.tar.bz2) = 893015 +TIMESTAMP = 1705226776 +SHA256 (imlib2-1.12.1.tar.xz) = 8c24d2d189c4d5ae602dbf2fc0fbb117aa923eab6c883041f0feeca4e8c6774e +SIZE (imlib2-1.12.1.tar.xz) = 831680 diff --git a/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c b/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c deleted file mode 100644 index 8eb13255fc23..000000000000 --- a/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/modules/loaders/loader_argb.c.orig 2020-08-08 14:27:16 UTC -+++ src/modules/loaders/loader_argb.c -@@ -7,6 +7,9 @@ load2(ImlibImage * im, int load_data) - int w = 0, h = 0, alpha = 0; - DATA32 *ptr; - int y; -+#ifdef WORDS_BIGENDIAN -+ int l; -+#endif - - rc = LOAD_FAIL; - diff --git a/graphics/imlib2/pkg-plist b/graphics/imlib2/pkg-plist index 1c811d3373fe..a3460a4cc2f0 100644 --- a/graphics/imlib2/pkg-plist +++ b/graphics/imlib2/pkg-plist @@ -1,4 +1,3 @@ -bin/imlib2-config %%X11%%bin/imlib2_bumpmap %%X11%%bin/imlib2_colorspace bin/imlib2_conv @@ -9,9 +8,11 @@ bin/imlib2_load %%X11%%bin/imlib2_test %%X11%%bin/imlib2_view include/Imlib2.h +include/Imlib2_Loader.h lib/imlib2/filters/bumpmap.so lib/imlib2/filters/colormod.so lib/imlib2/filters/testfilter.so +lib/imlib2/loaders/ani.so lib/imlib2/loaders/argb.so lib/imlib2/loaders/bmp.so lib/imlib2/loaders/bz2.so @@ -21,17 +22,21 @@ lib/imlib2/loaders/ico.so %%ID3%%lib/imlib2/loaders/id3.so %%JPEG%%lib/imlib2/loaders/jpeg.so lib/imlib2/loaders/lbm.so +lib/imlib2/loaders/lzma.so %%PNG%%lib/imlib2/loaders/png.so lib/imlib2/loaders/pnm.so +lib/imlib2/loaders/qoi.so lib/imlib2/loaders/tga.so %%TIFF%%lib/imlib2/loaders/tiff.so %%WEBP%%lib/imlib2/loaders/webp.so +lib/imlib2/loaders/xbm.so lib/imlib2/loaders/xpm.so lib/imlib2/loaders/zlib.so lib/libImlib2.so -lib/libImlib2.so.1 -lib/libImlib2.so.1.7.0 +lib/libImlib2.so.%%SHLIB_SHORT%% +lib/libImlib2.so.%%SHLIB_VER%% libdata/pkgconfig/imlib2.pc +%%DATADIR%%/rgb.txt %%DATADIR%%/data/fonts/cinema.ttf %%DATADIR%%/data/fonts/grunge.ttf %%DATADIR%%/data/fonts/morpheus.ttf