Changeset 150686


Ignore:
Timestamp:
Jul 26, 2016, 6:50:23 PM (3 years ago)
Author:
devans@…
Message:

zathura-plugin-pdf-mupdf: maintainer update to version 0.3.0 (#51918, #50259).

Location:
trunk/dports/office/zathura-plugin-pdf-mupdf
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/office/zathura-plugin-pdf-mupdf/Portfile

    r138542 r150686  
    55
    66name                zathura-plugin-pdf-mupdf
    7 version             0.2.8
     7version             0.3.0
    88categories          office
    99platforms           darwin
     
    2222distname            zathura-pdf-mupdf-${version}
    2323
    24 checksums           rmd160  c5fb22a9b571ae2086e43d5f56a42f092002f2a9 \
    25                     sha256  9f8b92762cdad14a2a587744c758edc0e1003be6a0c1511486065bdc91a66910
     24checksums           rmd160  377e7848a5ea7f43f020e131aacc24c51453bf8f \
     25                    sha256  478cb9d1562d08e096ebec4a6db9116d616a3536260197c2a28a2772171f72c8
    2626
    27 patchfiles          patch-Makefile.diff \
     27patch.pre_args      -p1
     28patchfiles          patch-mupdf.diff \
     29                    patch-Makefile.diff \
    2830                    patch-config.mk.diff
    2931
    3032depends_build       port:pkgconfig \
    31                     path:lib/libmujs.a:mupdf
     33                    path:lib/libmupdfthird.a:mupdf
    3234
    3335depends_lib         port:desktop-file-utils \
    3436                    port:mupdf \
    3537                    port:openjpeg \
     38                    port:freetype \
     39                    port:harfbuzz \
    3640                    path:lib/libgirara-gtk3.dylib:girara \
    3741                    path:bin/zathura:zathura
     
    4953                    VERBOSE=1
    5054
    51 eval destroot.env   ${build.env}
    52 eval destroot.args  ${build.args}
     55destroot.env        {*}${build.env}
     56destroot.args       {*}${build.args}
    5357
    5458post-activate {
  • trunk/dports/office/zathura-plugin-pdf-mupdf/files/patch-Makefile.diff

    r138542 r150686  
    1 --- Makefile.orig       2015-05-27 22:57:06.000000000 -0500
    2 +++ Makefile    2015-05-27 22:57:14.000000000 -0500
    3 @@ -18,7 +18,7 @@
     1diff --git a/Makefile b/Makefile
     2index 1fb42e2..423657a 100644
     3--- a/Makefile
     4+++ b/Makefile
     5@@ -18,7 +18,7 @@ CPPFLAGS += "-DVERSION_MAJOR=${VERSION_MAJOR}"
    46 CPPFLAGS += "-DVERSION_MINOR=${VERSION_MINOR}"
    57 CPPFLAGS += "-DVERSION_REV=${VERSION_REV}"
     
    1012 zathura-version-check:
    1113 ifneq ($(ZATHURA_VERSION_CHECK), 0)
    12 @@ -46,16 +46,16 @@
     14@@ -46,19 +46,19 @@ options:
    1315 ${OBJECTS}:  config.mk zathura-version-check
    1416 ${DOBJECTS}: config.mk zathura-version-check
     
    2022+       $(QUIET)${CC} -Wl,-dylib_install_name,${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
    2123 
    22  ${PLUGIN}-debug.so: ${DOBJECTS}
     24-${PLUGIN}-debug.so: ${DOBJECTS}
     25+${PLUGIN}-debug.dylib: ${DOBJECTS}
    2326        $(ECHO) LD $@
    2427        $(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(DOBJECTS) ${LIBS}
     
    2629 clean:
    2730-       $(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).so $(PLUGIN)-debug.so \
    28 +       $(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib $(PLUGIN)-debug.so \
     31+       $(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib $(PLUGIN)-debug.dylib \
    2932                doc .depend ${PROJECT}-${VERSION}.tar.gz zathura-version-check
    3033 
    31  debug: options ${PLUGIN}-debug.so
    32 @@ -75,18 +75,18 @@
     34-debug: options ${PLUGIN}-debug.so
     35+debug: options ${PLUGIN}-debug.dylib
     36 
     37 dist: clean
     38        $(QUIET)mkdir -p ${PROJECT}-${VERSION}
     39@@ -75,18 +75,18 @@ doc: clean
    3340 install: all
    3441        $(ECHO) installing ${PLUGIN} plugin
     
    4552-       $(QUIET)rmdir --ignore-fail-on-non-empty ${DESTDIR}${PLUGINDIR} 2> /dev/null
    4653+       $(QUIET)rm -f ${DESTDIR}${PLUGINDIR}/${PLUGIN}.dylib
    47 +       $(QUIET)-rmdir ${DESTDIR}${PLUGINDIR} 2> /dev/null
     54+       $(QUIET)rmdir ${DESTDIR}${PLUGINDIR} 2> /dev/null
    4855        $(ECHO) removing desktop file
    4956        $(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
    5057-       $(QUIET)rmdir --ignore-fail-on-non-empty ${DESTDIR}${DESKTOPPREFIX} 2> /dev/null
    51 +       $(QUIET)-rmdir ${DESTDIR}${DESKTOPPREFIX} 2> /dev/null
     58+       $(QUIET)rmdir ${DESTDIR}${DESKTOPPREFIX} 2> /dev/null
    5259 
    5360 -include $(wildcard .depend/*.dep)
  • trunk/dports/office/zathura-plugin-pdf-mupdf/files/patch-config.mk.diff

    r138542 r150686  
    1 --- config.mk.original  2015-05-27 23:48:00.000000000 -0500
    2 +++ config.mk   2015-05-27 23:48:07.000000000 -0500
    3 @@ -35,7 +35,7 @@
    4  MUPDF_LIB ?= -lmupdf -lmujs
     1diff --git a/config.mk b/config.mk
     2index 6407ae6..404f4f1 100644
     3--- a/config.mk
     4+++ b/config.mk
     5@@ -32,10 +32,16 @@ endif
     6 OPENSSL_INC ?= $(shell pkg-config --cflags libcrypto)
     7 OPENSSL_LIB ?= $(shell pkg-config --libs libcrypto)
    58 
    6  INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
     9+FREETYPE_INC ?= $(shell pkg-config --cflags freetype2)
     10+FREETYPE_LIB ?= $(shell pkg-config --libs freetype2)
     11+
     12+HARFBUZZ_INC ?= $(shell pkg-config --cflags harfbuzz)
     13+HARFBUZZ_LIB ?= $(shell pkg-config --libs harfbuzz)
     14+
     15 MUPDF_LIB ?= -lmupdf -lmupdfthird
     16 
     17-INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
    718-LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
    8 +LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg -lz
     19+INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC} ${FREETYPE_INC} ${HARFBUZZ_INC}
     20+LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} ${FREETYPE_LIB} ${HARFBUZZ_LIB} -ljbig2dec -lopenjp2 -ljpeg -lz
    921 
    10  # flags
     22 # compiler flags
    1123 CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
Note: See TracChangeset for help on using the changeset viewer.