aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-08 20:38:03 +0800
committermat <mat@FreeBSD.org>2016-04-08 20:38:03 +0800
commit93ff73e174c326130c6614d34738fc40126d978d (patch)
treed90a2d5c3c4abba9f9a643ee9a08415055307f69 /graphics
parent4cbbbc75e2ee8aafa602eb942971949140382fe7 (diff)
downloadfreebsd-ports-gnome-93ff73e174c326130c6614d34738fc40126d978d.tar.gz
freebsd-ports-gnome-93ff73e174c326130c6614d34738fc40126d978d.tar.zst
freebsd-ports-gnome-93ff73e174c326130c6614d34738fc40126d978d.zip
Update to 2.11.
PR: 208614 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ida/Makefile33
-rw-r--r--graphics/ida/distinfo4
-rw-r--r--graphics/ida/files/patch-GNUmakefile12
-rw-r--r--graphics/ida/files/patch-desktop.c6
-rw-r--r--graphics/ida/files/patch-mk_Autoconf.mk (renamed from graphics/ida/files/patch-mk__Autoconf.mk)4
-rw-r--r--graphics/ida/files/patch-mk_Variables.mk (renamed from graphics/ida/files/patch-mk__Variables.mk)4
6 files changed, 41 insertions, 22 deletions
diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile
index 02e24fc8485c..6f633d8bb80c 100644
--- a/graphics/ida/Makefile
+++ b/graphics/ida/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= ida
-PORTVERSION= 2.10
-PORTREVISION= 1
+PORTVERSION= 2.11
CATEGORIES= graphics
-MASTER_SITES= http://www.kraxel.org/releases/fbida/
+MASTER_SITES= https://www.kraxel.org/releases/fbida/
DISTNAME= fbida-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -15,10 +14,10 @@ LICENSE= GPLv2
LIB_DEPENDS= libexif.so:graphics/libexif
-USES= compiler:c11 desktop-file-utils gmake iconv jpeg motif perl5
+USES= desktop-file-utils gmake iconv jpeg motif perl5
USE_PERL5= build
MAKEFILE= GNUmakefile
-MAKE_ARGS= HAVE_LINUX_FB_H=no HAVE_GLIBC=no JPEG_VER=80 verbose=yes
+MAKE_ARGS= verbose=yes
LDFLAGS+= ${ICONV_LIB}
@@ -31,18 +30,30 @@ OPTIONS_DEFINE= DOCS GIF PCD PNG SANE TIFF WEBP
OPTIONS_DEFAULT= GIF PNG TIFF
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
-GIF_MAKE_ARGS_OFF= HAVE_LIBGIF=no
+GIF_MAKE_ARGS= HAVE_LIBGIF=yes
PCD_DESC= PhotoCD support
PCD_LIB_DEPENDS= libpcd.so:graphics/libpcd
-PCD_MAKE_ARGS_OFF= HAVE_LIBPCD=no
+PCD_MAKE_ARGS= HAVE_LIBPCD=yes
PNG_LIB_DEPENDS= libpng.so:graphics/png
-PNG_MAKE_ARGS_OFF= HAVE_LIBPNG=no
+PNG_MAKE_ARGS= HAVE_LIBPNG=yes
SANE_LIB_DEPENDS= libsane.so:graphics/sane-backends
-SANE_MAKE_ARGS_OFF= HAVE_LIBSANE=no
+SANE_MAKE_ARGS= HAVE_LIBSANE=yes
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
-TIFF_MAKE_ARGS= HAVE_LIBTIFF=no
+TIFF_MAKE_ARGS= HAVE_LIBTIFF=yes
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
-WEBP_MAKE_ARGS_OFF= HAVE_LIBWEBP=no
+WEBP_MAKE_ARGS= HAVE_LIBWEBP=yes
+
+pre-build:
+ @${ECHO_CMD} -n > ${WRKSRC}/Make.config
+ @${ECHO_CMD} "LIB:=lib" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "RESDIR:=${PREFIX}/lib/X11" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_ENDIAN_H:=yes" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_LINUX_FB_H:=no" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_NEW_EXIF:=yes" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_GLIBC:=no" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_STRSIGNAL:=yes" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "HAVE_MOTIF:=yes" >> ${WRKSRC}/Make.config
+ @${ECHO_CMD} "JPEG_VER:=80" >> ${WRKSRC}/Make.config
post-install:
${INSTALL_DATA} ${WRKSRC}/desktop/ida.desktop ${STAGEDIR}${DESKTOPDIR}
diff --git a/graphics/ida/distinfo b/graphics/ida/distinfo
index 3a672c1e6d26..cc562e8f0793 100644
--- a/graphics/ida/distinfo
+++ b/graphics/ida/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fbida-2.10.tar.gz) = 7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6
-SIZE (fbida-2.10.tar.gz) = 283490
+SHA256 (fbida-2.11.tar.gz) = 7caa63d6d09aeeef6209556f3e2d05083a6a9ffc47636dee7e6019b3eea5a103
+SIZE (fbida-2.11.tar.gz) = 285691
diff --git a/graphics/ida/files/patch-GNUmakefile b/graphics/ida/files/patch-GNUmakefile
index 38e14fa3be63..2456094e342b 100644
--- a/graphics/ida/files/patch-GNUmakefile
+++ b/graphics/ida/files/patch-GNUmakefile
@@ -1,4 +1,4 @@
---- GNUmakefile.orig 2015-03-31 14:07:23 UTC
+--- GNUmakefile.orig 2016-03-24 14:39:02 UTC
+++ GNUmakefile
@@ -8,7 +8,7 @@ resdir = $(DESTDIR)$(RESDIR)
@@ -18,7 +18,7 @@
JPEG_VER := $(call ac_jpeg_ver)
endef
-@@ -145,8 +145,8 @@ OBJS_IDA := \
+@@ -145,15 +145,15 @@ OBJS_IDA := \
OBJS_IDA += $(call ac_lib_mkvar,$(ida_libs),OBJS)
# for X11 + Motif
@@ -29,3 +29,11 @@
ida : LDLIBS += -lXm -lXpm -lXt -lXext -lX11
# jpeg/exif libs
+ ida : LDLIBS += -ljpeg -lexif -lm
+
+ # RegEdit.c is good old K&R ...
+-RegEdit.o : CFLAGS += -Wno-missing-prototypes -Wno-strict-prototypes -Wno-maybe-uninitialized
++RegEdit.o : CFLAGS += -Wno-missing-prototypes -Wno-strict-prototypes -Wno-uninitialized
+
+ ida: $(OBJS_IDA) $(OBJS_READER) $(OBJS_WRITER)
+
diff --git a/graphics/ida/files/patch-desktop.c b/graphics/ida/files/patch-desktop.c
index b5ac71395640..1671278fcc54 100644
--- a/graphics/ida/files/patch-desktop.c
+++ b/graphics/ida/files/patch-desktop.c
@@ -1,6 +1,6 @@
---- desktop.c.orig 2009-05-24 18:56:39.000000000 +0300
-+++ desktop.c 2009-05-24 18:56:44.000000000 +0300
-@@ -26,7 +26,7 @@
+--- desktop.c.orig 2016-03-24 14:39:02 UTC
++++ desktop.c
+@@ -27,7 +27,7 @@ extern int debug;
/* desktop files are in utf-8 */
static int iconv_string(char *to, char *from,
diff --git a/graphics/ida/files/patch-mk__Autoconf.mk b/graphics/ida/files/patch-mk_Autoconf.mk
index 83a022e81537..3b7192c1db19 100644
--- a/graphics/ida/files/patch-mk__Autoconf.mk
+++ b/graphics/ida/files/patch-mk_Autoconf.mk
@@ -1,6 +1,6 @@
---- mk/Autoconf.mk.orig 2012-02-22 17:13:36 UTC
+--- mk/Autoconf.mk.orig 2016-03-24 14:39:02 UTC
+++ mk/Autoconf.mk
-@@ -110,20 +110,14 @@
+@@ -110,20 +110,14 @@ ac_binary = $(shell \
# $(call ac_fini))
ac_lib64 = $(shell \
$(call ac_init,for libdir name);\
diff --git a/graphics/ida/files/patch-mk__Variables.mk b/graphics/ida/files/patch-mk_Variables.mk
index c956a80a2011..efd33cb6b7de 100644
--- a/graphics/ida/files/patch-mk__Variables.mk
+++ b/graphics/ida/files/patch-mk_Variables.mk
@@ -1,5 +1,5 @@
---- mk/Variables.mk.orig 2008-06-09 17:56:36.000000000 +0300
-+++ mk/Variables.mk 2009-05-24 19:03:04.000000000 +0300
+--- mk/Variables.mk.orig 2016-03-24 14:39:02 UTC
++++ mk/Variables.mk
@@ -4,12 +4,12 @@
# directories
DESTDIR =