Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 06:23:16 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548457 - in head: . graphics graphics/dssim graphics/libdssim
Message-ID:  <202009130623.08D6NG81091482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Sep 13 06:23:16 2020
New Revision: 548457
URL: https://svnweb.freebsd.org/changeset/ports/548457

Log:
  graphics/libdssim: drop in favor of CARGO_CRATES
  
  $ cat /usr/local/include/dssim/dssim.h
  
  #define DSSIM_MAJOR 2
  #define DSSIM_MINOR 11
  #define DSSIM_PATCH 3
  
  #include <cstdarg>
  #include <cstdint>
  #include <cstdlib>
  #include <new>
  
  $ nm -D /usr/local/lib/libdssim.so
                   w _Jv_RegisterClasses
                   U _Unwind_GetDataRelBase
                   U _Unwind_GetIPInfo
                   U _Unwind_GetLanguageSpecificData
                   U _Unwind_GetRegionStart
                   U _Unwind_GetTextRelBase
                   U _Unwind_SetGR
                   U _Unwind_SetIP
                   w __cxa_finalize
  0000000000003920 T rust_eh_personality
  
  $ cat /usr/local/libdata/pkgconfig/dssim.pc
  prefix=/usr/local
  exec_prefix=${prefix}
  libdir=${exec_prefix}/lib
  includedir=${prefix}/include
  
  Name: dssim
  Description: Tool that measures structural similarity between images using a multi-scale variant of the SSIM algorithm.
  Version: 2.11.3
  Libs: -L${libdir} -ldssim
  Cflags: -I${includedir}/dssim
  Libs.private: -lexecinfo -lpthread -lgcc_s -lc -lm -lrt -lpthread -lutil -lutil

Deleted:
  head/graphics/libdssim/
Modified:
  head/MOVED
  head/graphics/Makefile   (contents, props changed)
  head/graphics/dssim/Makefile   (contents, props changed)

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sun Sep 13 06:21:44 2020	(r548456)
+++ head/MOVED	Sun Sep 13 06:23:16 2020	(r548457)
@@ -15428,3 +15428,4 @@ x11-wm/e-module-rmb||2020-09-09|Removed
 x11-wm/e-module-wlan||2020-09-09|Removed
 x11-wm/e-modules||2020-09-09|Removed
 net/frr6|net/frr7|2020-09-10|Has expired: Uses deprecated version of python and upstream no longer maintained
+graphics/libdssim||2020-09-13|Removed: C API is empty, only usable from Rust

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Sep 13 06:21:44 2020	(r548456)
+++ head/graphics/Makefile	Sun Sep 13 06:23:16 2020	(r548457)
@@ -435,7 +435,6 @@
     SUBDIR += libchamplain
     SUBDIR += libdmtx
     SUBDIR += libdrm
-    SUBDIR += libdssim
     SUBDIR += libecwj2
     SUBDIR += libemf
     SUBDIR += libepoxy

Modified: head/graphics/dssim/Makefile
==============================================================================
--- head/graphics/dssim/Makefile	Sun Sep 13 06:21:44 2020	(r548456)
+++ head/graphics/dssim/Makefile	Sun Sep 13 06:23:16 2020	(r548457)
@@ -2,7 +2,6 @@
 
 PORTNAME=	dssim
 DISTVERSION=	2.11.3
-PORTREVISION?=	0
 CATEGORIES=	graphics
 MASTER_SITES=	CRATESIO
 # XXX Teach USES=cargo to have proper default
@@ -15,7 +14,7 @@ LICENSE=	AGPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cargo
-PLIST_FILES?=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME}
 
 CARGO_CRATES=	adler-0.2.3 \
 		arrayvec-0.5.1 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009130623.08D6NG81091482>