FreeBSD Bugzilla – Attachment 223286 Details for
Bug 254304
graphics/timg: update to 1.2.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
timg-1.2.0.diff (text/plain), 5.71 KB, created by
Zsolt Udvari
on 2021-03-15 10:18:35 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Zsolt Udvari
Created:
2021-03-15 10:18:35 UTC
Size:
5.71 KB
patch
obsolete
>Index: graphics/timg/Makefile >=================================================================== >--- graphics/timg/Makefile (revision 568418) >+++ graphics/timg/Makefile (working copy) >@@ -1,27 +1,32 @@ > # $FreeBSD$ > > PORTNAME= timg >-PORTVERSION= 0.9.8 >+PORTVERSION= 1.2.0 > DISTVERSIONPREFIX= v > CATEGORIES= graphics > > MAINTAINER= uzsolt@uzsolt.hu >-COMMENT= Terminal Image Viewer >+COMMENT= Terminal Image and Video Viewer > > LICENSE= GPLv2 > >-LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 >+BUILD_DEPENDS= pkgconf>0:devel/pkgconf \ >+ ffmpeg>0:multimedia/ffmpeg >+LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ >+ libexif.so:graphics/libexif \ >+ libGraphicsMagick.so:graphics/GraphicsMagick \ >+ libpng16.so:graphics/png \ >+ libturbojpeg.so:graphics/libjpeg-turbo > >-USES= compiler:c++11-lang gmake >+USES= cmake compiler:c++11-lang > USE_GITHUB= yes > GH_ACCOUNT= hzeller > >-ALL_TARGET= ${PORTNAME} >-WRKSRC_SUBDIR= src >+CMAKE_OFF+= TIMG_VERSION_FROM_GIT >+# timg requires libavutil, contained in multimedia/ffmpeg >+# isn't splitted libavcodec, libavutil, etc. >+CMAKE_ON+= WITH_VIDEO_DECODING WITH_VIDEO_DEVICE > >-PLIST_FILES= bin/timg >+PLIST_FILES= bin/timg man/man1/timg.1.gz > >-post-install: >- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >- > .include <bsd.port.mk> >Index: graphics/timg/distinfo >=================================================================== >--- graphics/timg/distinfo (revision 568418) >+++ graphics/timg/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1593323068 >-SHA256 (hzeller-timg-v0.9.8_GH0.tar.gz) = 436e2c3b5f43e906786ca150d11e521281d558329a7bc00198fe30d6907ee8c4 >-SIZE (hzeller-timg-v0.9.8_GH0.tar.gz) = 92611 >+TIMESTAMP = 1615796137 >+SHA256 (hzeller-timg-v1.2.0_GH0.tar.gz) = b0fa8b4571247833167b73d6fe5aab733160c09f56389b97c9e516d0f0f2a5de >+SIZE (hzeller-timg-v1.2.0_GH0.tar.gz) = 1024378 >Index: graphics/timg/files/patch-Makefile >=================================================================== >--- graphics/timg/files/patch-Makefile (revision 568418) >+++ graphics/timg/files/patch-Makefile (nonexistent) >@@ -1,21 +0,0 @@ >---- Makefile.orig 2020-04-30 05:40:03 UTC >-+++ Makefile >-@@ -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 >- $(CXX) -o $@ $^ $(MAGICK_LDFLAGS) >- >- install: timg >-- install $^ $(PREFIX)/bin >-+ install $^ $(DESTDIR)$(PREFIX)/bin >- >- uninstall: >- rm -f $(PREFIX)/bin/timg > >Property changes on: graphics/timg/files/patch-Makefile >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-on >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: graphics/timg/files/patch-timg.cc >=================================================================== >--- graphics/timg/files/patch-timg.cc (revision 568418) >+++ graphics/timg/files/patch-timg.cc (nonexistent) >@@ -1,28 +0,0 @@ >---- timg.cc.orig 2020-04-30 05:40:03 UTC >-+++ timg.cc >-@@ -66,9 +66,9 @@ void CopyToCanvas(const Magick::Image &img, TerminalCa >- if (c.alphaQuantum() >= 255) >- continue; >- result->SetPixel(x, y, >-- ScaleQuantumToChar(c.redQuantum()), >-- ScaleQuantumToChar(c.greenQuantum()), >-- ScaleQuantumToChar(c.blueQuantum())); >-+ MagickCore::ScaleQuantumToChar(c.redQuantum()), >-+ MagickCore::ScaleQuantumToChar(c.greenQuantum()), >-+ MagickCore::ScaleQuantumToChar(c.blueQuantum())); >- } >- } >- } >-@@ -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]; >-- dest.r = ScaleQuantumToChar(src.redQuantum()); >-- dest.g = ScaleQuantumToChar(src.greenQuantum()); >-- dest.b = ScaleQuantumToChar(src.blueQuantum()); >-+ dest.r = MagickCore::ScaleQuantumToChar(src.redQuantum()); >-+ dest.g = MagickCore::ScaleQuantumToChar(src.greenQuantum()); >-+ dest.b = MagickCore::ScaleQuantumToChar(src.blueQuantum()); >- } >- } >- > >Property changes on: graphics/timg/files/patch-timg.cc >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-on >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: graphics/timg/pkg-descr >=================================================================== >--- graphics/timg/pkg-descr (revision 568418) >+++ graphics/timg/pkg-descr (working copy) >@@ -1,9 +1,10 @@ >-timg - Terminal Image Viewer >+timg - Terminal Image and Video Viewer > >-A viewer that uses 24-Bit color capabilities and unicode >-character blocks to display images in the terminal. >-Displays regular images, plays animated gifs or allows to >-scroll static images. >+A user-friendly viewer that uses 24-Bit color capabilities >+and unicode character blocks to display images, animations >+and videos in the terminal. >+Displays regular images, plays animated gifs, scrolls >+static images and plays videos. > > Very useful for if you want to have a quick visual check > without starting a bulky image viewer or in an SSH session.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
uzsolt
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 254304
: 223286