From owner-svn-ports-all@freebsd.org Sun Feb 24 18:39:44 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 962ED150675D; Sun, 24 Feb 2019 18:39:44 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DEA680A98; Sun, 24 Feb 2019 18:39:44 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 130FC937B; Sun, 24 Feb 2019 18:39:44 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OIdhU0061455; Sun, 24 Feb 2019 18:39:43 GMT (envelope-from rigoletto@FreeBSD.org) Received: (from rigoletto@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1OIdht0061451; Sun, 24 Feb 2019 18:39:43 GMT (envelope-from rigoletto@FreeBSD.org) Message-Id: <201902241839.x1OIdht0061451@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rigoletto set sender to rigoletto@FreeBSD.org using -f From: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= Date: Sun, 24 Feb 2019 18:39:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493796 - in head/graphics/mupdf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rigoletto X-SVN-Commit-Paths: in head/graphics/mupdf: . files X-SVN-Commit-Revision: 493796 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2DEA680A98 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 18:39:44 -0000 Author: rigoletto Date: Sun Feb 24 18:39:42 2019 New Revision: 493796 URL: https://svnweb.freebsd.org/changeset/ports/493796 Log: graphics/mupdf: fix mupdf-gl not being built. PR: 236002 Reported by: Oleh Hushchenkov Approved by: tcberner (mentor) Modified: head/graphics/mupdf/Makefile head/graphics/mupdf/files/patch-Makerules head/graphics/mupdf/files/patch-thirdparty_lcms2_src_cmsmd5.c head/graphics/mupdf/pkg-plist Modified: head/graphics/mupdf/Makefile ============================================================================== --- head/graphics/mupdf/Makefile Sun Feb 24 18:37:58 2019 (r493795) +++ head/graphics/mupdf/Makefile Sun Feb 24 18:39:42 2019 (r493796) @@ -4,6 +4,7 @@ PORTNAME= mupdf DISTVERSION= 1.14.0 DISTVERSIONSUFFIX= -source +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= http://www.mupdf.com/downloads/ \ Modified: head/graphics/mupdf/files/patch-Makerules ============================================================================== --- head/graphics/mupdf/files/patch-Makerules Sun Feb 24 18:37:58 2019 (r493795) +++ head/graphics/mupdf/files/patch-Makerules Sun Feb 24 18:39:42 2019 (r493796) @@ -43,7 +43,7 @@ LIBS += -lprofiler else $(error unknown build setting: '$(build)') -@@ -143,7 +143,58 @@ else ifeq ($(OS),Linux) +@@ -143,7 +143,59 @@ else ifeq ($(OS),Linux) PTHREAD_LIBS := -lpthread endif @@ -60,6 +60,7 @@ + SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2) + SYS_FREETYPE_LIBS := $(shell pkg-config --libs freetype2) + # glut ++ HAVE_GLUT := yes + USE_SYSTEM_GLUT := yes + SYS_GLUT_CFLAGS := + SYS_GLUT_LIBS := -lglut -lGL Modified: head/graphics/mupdf/files/patch-thirdparty_lcms2_src_cmsmd5.c ============================================================================== --- head/graphics/mupdf/files/patch-thirdparty_lcms2_src_cmsmd5.c Sun Feb 24 18:37:58 2019 (r493795) +++ head/graphics/mupdf/files/patch-thirdparty_lcms2_src_cmsmd5.c Sun Feb 24 18:39:42 2019 (r493796) @@ -9,7 +9,7 @@ { do { -@@ -42,7 +42,7 @@ void byteReverse(cmsUInt8Number * buf, c +@@ -42,7 +42,7 @@ void byteReverse(cmsUInt8Number * buf, cmsUInt32Number } #else @@ -18,7 +18,7 @@ #endif -@@ -196,7 +196,7 @@ void MD5add(cmsHANDLE Handle, cmsUInt8Nu +@@ -196,7 +196,7 @@ void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cms } memmove(p, buf, t); @@ -27,7 +27,7 @@ MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in); buf += t; -@@ -205,7 +205,7 @@ void MD5add(cmsHANDLE Handle, cmsUInt8Nu +@@ -205,7 +205,7 @@ void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cms while (len >= 64) { memmove(ctx->in, buf, 64); @@ -36,7 +36,7 @@ MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in); buf += 64; len -= 64; -@@ -232,21 +232,21 @@ void MD5finish(cmsProfileID* ProfileID, +@@ -232,21 +232,21 @@ void MD5finish(cmsProfileID* ProfileID, cmsHANDLE Han if (count < 8) { memset(p, 0, count); Modified: head/graphics/mupdf/pkg-plist ============================================================================== --- head/graphics/mupdf/pkg-plist Sun Feb 24 18:37:58 2019 (r493795) +++ head/graphics/mupdf/pkg-plist Sun Feb 24 18:39:42 2019 (r493796) @@ -1,6 +1,7 @@ bin/mjsgen bin/mujstest bin/mupdf +bin/mupdf-gl bin/muraster bin/mutool include/mupdf/fitz.h @@ -80,10 +81,10 @@ include/mupdf/pdf/resource.h include/mupdf/pdf/widget.h include/mupdf/pdf/xref.h include/mupdf/ucdn.h -lib/libmupdf.so -lib/libmupdf.so.%%SOVERSION%% lib/libmupdf-third.so lib/libmupdf-third.so.%%SOVERSION%% +lib/libmupdf.so +lib/libmupdf.so.%%SOVERSION%% man/man1/mupdf.1.gz man/man1/mutool.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGES