Skip to content

Commit

Permalink
graphics/feh: Update to 3.10 (+)
Browse files Browse the repository at this point in the history
Changes:
  - Add tests: All tests successful (Files=2, Tests=74. Result: PASS)
  - Remove USES=compiler:c++11-lang as it should no longer be necessary
    for building on powerpc64
  - Pet portclippy, portfmt, and portlint

Upstream changes:
  - Add --sort=none option to un-set sort modes specified earlier
  - Improve error messages for Imlib2 ≥ 1.8
  - Fix build with clang 16
  - Fix tests when building with magic=1

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
Jehops committed Apr 17, 2023
1 parent 2df74b4 commit ffa7631
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
33 changes: 16 additions & 17 deletions graphics/feh/Makefile
@@ -1,6 +1,5 @@
PORTNAME= feh
PORTVERSION= 3.9.1
PORTREVISION= 1
PORTVERSION= 3.10
CATEGORIES= graphics
MASTER_SITES= https://feh.finalrewind.org/

Expand All @@ -13,33 +12,33 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libpng.so:graphics/png
TEST_DEPENDS= p5-Test-Command>=0:devel/p5-Test-Command

USES= compiler:c++11-lang cpe desktop-file-utils gmake localbase:ldflags \
tar:bzip2 xorg
USE_XORG= x11 xt xinerama
USES= cpe desktop-file-utils gmake localbase:ldflags tar:bzip2 xorg
CPE_VENDOR= feh_project
USE_XORG= x11 xinerama xt

MAKE_ENV+= LDFLAGS="${LDFLAGS}" verscmp=0
MAKE_ENV+= LDFLAGS="${LDFLAGS}" \
verscmp=0
TEST_TARGET= test

OPTIONS_DEFINE= CURL DCRAW DOCS EXAMPLES EXIF XINERAMA
OPTIONS_DEFAULT= CURL EXIF XINERAMA
OPTIONS_SUB= yes

OPTIONS_DEFINE= CURL DCRAW DOCS EXAMPLES EXIF XINERAMA
EXIF_DESC= Support EXIF tags
DCRAW_DESC= Use dcraw to display raw file previews
OPTIONS_DEFAULT=CURL EXIF XINERAMA
OPTIONS_SUB= yes
EXIF_DESC= Support EXIF tags

CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_MAKE_ENV= curl=1
CURL_MAKE_ENV_OFF= curl=0
DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw
EXIF_LIB_DEPENDS= libexif.so:graphics/libexif
EXIF_MAKE_ENV= exif=1
EXIF_MAKE_ENV_OFF= exif=0

XINERAMA_MAKE_ENV= xinerama=1
XINERAMA_MAKE_ENV_OFF= xinerama=0

CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_MAKE_ENV= curl=1
CURL_MAKE_ENV_OFF= curl=0

DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw

post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|install-doc||' \
${WRKSRC}/Makefile
Expand Down
6 changes: 3 additions & 3 deletions graphics/feh/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1662679431
SHA256 (feh-3.9.1.tar.bz2) = 455c92711b588af149b945edc5c145f3e9aa137ed9689dabed49d5e4acac75fa
SIZE (feh-3.9.1.tar.bz2) = 2108873
TIMESTAMP = 1681222749
SHA256 (feh-3.10.tar.bz2) = 1d71d1f6dcfe9ffee5e2766969a11978f7eb4fac7d7ae556f104c11f9c57cc98
SIZE (feh-3.10.tar.bz2) = 2109603

0 comments on commit ffa7631

Please sign in to comment.