aboutsummaryrefslogtreecommitdiff
path: root/graphics/timg
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 08:35:14 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 08:35:14 +0000
commit5e2e62accee3fe262c327b022846aeeab79e4a45 (patch)
tree215b5cb2158fa0dc116046f0c6987c40d2257eb1 /graphics/timg
parent7196e4db7dac36bd39a9699f0dc7637bbd228980 (diff)
downloadports-5e2e62accee3fe262c327b022846aeeab79e4a45.tar.gz
ports-5e2e62accee3fe262c327b022846aeeab79e4a45.zip
Notes
Diffstat (limited to 'graphics/timg')
-rw-r--r--graphics/timg/Makefile5
-rw-r--r--graphics/timg/distinfo6
-rw-r--r--graphics/timg/files/patch-Makefile23
-rw-r--r--graphics/timg/files/patch-timg.cc6
4 files changed, 20 insertions, 20 deletions
diff --git a/graphics/timg/Makefile b/graphics/timg/Makefile
index 6965a2c3fd05..9999cf891018 100644
--- a/graphics/timg/Makefile
+++ b/graphics/timg/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= timg
-PORTVERSION= 0.9.5
+PORTVERSION= 0.9.8
DISTVERSIONPREFIX= v
-PORTREVISION= 5
CATEGORIES= graphics
MAINTAINER= uzsolt@uzsolt.hu
@@ -13,10 +12,10 @@ LICENSE= GPLv2
LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6
+USES= compiler:c++11-lang gmake
USE_GITHUB= yes
GH_ACCOUNT= hzeller
-USES= compiler:c++11-lang gmake
ALL_TARGET= ${PORTNAME}
WRKSRC_SUBDIR= src
diff --git a/graphics/timg/distinfo b/graphics/timg/distinfo
index 14dbfd7dbd8d..7b68e17fb724 100644
--- a/graphics/timg/distinfo
+++ b/graphics/timg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489942207
-SHA256 (hzeller-timg-v0.9.5_GH0.tar.gz) = 285f51e95bed3d477b585db2998ef10b32c230d64d8015748e45f9a6e013ce48
-SIZE (hzeller-timg-v0.9.5_GH0.tar.gz) = 91623
+TIMESTAMP = 1593323068
+SHA256 (hzeller-timg-v0.9.8_GH0.tar.gz) = 436e2c3b5f43e906786ca150d11e521281d558329a7bc00198fe30d6907ee8c4
+SIZE (hzeller-timg-v0.9.8_GH0.tar.gz) = 92611
diff --git a/graphics/timg/files/patch-Makefile b/graphics/timg/files/patch-Makefile
index 112357e754b8..5c6a906279c9 100644
--- a/graphics/timg/files/patch-Makefile
+++ b/graphics/timg/files/patch-Makefile
@@ -1,20 +1,21 @@
---- Makefile.orig 2016-06-27 04:44:39 UTC
+--- Makefile.orig 2020-04-30 05:40:03 UTC
+++ Makefile
-@@ -1,6 +1,6 @@
- CXXFLAGS=-Wall -O3 -fPIC
--MAGICK_CXXFLAGS=`GraphicsMagick++-config --cppflags --cxxflags`
--MAGICK_LDFLAGS=`GraphicsMagick++-config --ldflags --libs`
-+MAGICK_CXXFLAGS=`Magick++-config --cppflags --cxxflags`
-+MAGICK_LDFLAGS=`Magick++-config --ldflags --libs`
+@@ -1,13 +1,14 @@
+-MAGICK_CXXFLAGS=$(shell GraphicsMagick++-config --cppflags)
+-MAGICK_LDFLAGS=$(shell GraphicsMagick++-config --ldflags --libs)
+-CXXFLAGS=$(MAGICK_CXXFLAGS) -Wall -O3 -fPIC
++MAGICK_CXXFLAGS=$(shell Magick++-config --cppflags)
++MAGICK_LDFLAGS=$(shell Magick++-config --ldflags --libs)
++CXXFLAGS?=-Wall -O3 -fPIC
++CXXFLAGS+=$(MAGICK_CXXFLAGS)
PREFIX?=/usr/local
timg : timg.o terminal-canvas.o
-@@ -10,7 +10,7 @@ timg.o: timg.cc
- $(CXX) $(MAGICK_CXXFLAGS) $(CXXFLAGS) -c -o $@ $^
+ $(CXX) -o $@ $^ $(MAGICK_LDFLAGS)
install: timg
- install $^ $(PREFIX)/bin
+ install $^ $(DESTDIR)$(PREFIX)/bin
- clean:
- rm -f timg terminal-canvas.o timg.o
+ uninstall:
+ rm -f $(PREFIX)/bin/timg
diff --git a/graphics/timg/files/patch-timg.cc b/graphics/timg/files/patch-timg.cc
index efe754682a3f..325db30b9bcb 100644
--- a/graphics/timg/files/patch-timg.cc
+++ b/graphics/timg/files/patch-timg.cc
@@ -1,6 +1,6 @@
---- timg.cc.orig 2016-06-27 04:44:39 UTC
+--- timg.cc.orig 2020-04-30 05:40:03 UTC
+++ timg.cc
-@@ -66,9 +66,9 @@ void CopyToCanvas(const Magick::Image &i
+@@ -66,9 +66,9 @@ void CopyToCanvas(const Magick::Image &img, TerminalCa
if (c.alphaQuantum() >= 255)
continue;
result->SetPixel(x, y,
@@ -13,7 +13,7 @@
}
}
}
-@@ -222,9 +222,9 @@ void DisplayScrolling(const Magick::Imag
+@@ -271,9 +271,9 @@ void DisplayScrolling(const Magick::Image &img, int sc
if (src.alphaQuantum() >= 255)
continue;
RGBCol &dest = fast_image[y * img_width + x];