2013-03-19 11:40:22 +01:00
|
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
2005-03-12 12:07:22 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= evince
|
2016-02-14 19:57:53 +01:00
|
|
|
PORTVERSION= 3.18.2
|
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
2017-04-01 17:23:30 +02:00
|
|
|
PORTREVISION= 3
|
2005-03-12 12:07:22 +01:00
|
|
|
CATEGORIES= graphics print gnome
|
2006-10-14 10:35:50 +02:00
|
|
|
MASTER_SITES= GNOME
|
2014-11-19 12:49:04 +01:00
|
|
|
DIST_SUBDIR= gnome3
|
2005-03-12 12:07:22 +01:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2015-07-15 01:28:42 +02:00
|
|
|
COMMENT?= GNOME 3 multi-format document viewer
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \
|
|
|
|
itstool:textproc/itstool \
|
|
|
|
adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
|
|
|
|
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
|
|
|
LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \
|
|
|
|
libspectre.so:print/libspectre
|
|
|
|
RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \
|
|
|
|
adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
|
|
|
|
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
2014-11-19 12:49:04 +01:00
|
|
|
|
2015-08-05 21:13:24 +02:00
|
|
|
PORTSCOUT= limitw:1,even
|
2015-07-15 01:28:42 +02:00
|
|
|
SLAVEPORT?= no
|
2014-12-11 17:52:40 +01:00
|
|
|
|
2016-02-14 19:57:53 +01:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils gettext gmake \
|
|
|
|
gnome libtool pathfix pkgconfig tar:xz
|
2015-07-15 01:28:42 +02:00
|
|
|
USE_GNOME= gtk30 intlhack
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-11-19 12:49:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_XORG= ice
|
2006-05-26 22:33:06 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2014-11-19 12:49:04 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -Wno-format-nonliteral
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-04-11 17:42:43 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2015-07-15 01:28:42 +02:00
|
|
|
|
|
|
|
.if ${SLAVEPORT} == lite
|
|
|
|
CONFIGURE_ARGS+=--disable-introspection \
|
|
|
|
--disable-libgnome-desktop \
|
|
|
|
--disable-thumbnailer \
|
|
|
|
--disable-previewer
|
|
|
|
.else
|
|
|
|
USE_GNOME+= introspection:build
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection
|
|
|
|
.endif
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2010-11-20 16:37:08 +01:00
|
|
|
GLIB_SCHEMAS= org.gnome.Evince.gschema.xml
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
PLIST_SUB= VERSION=3.0
|
2010-11-20 16:37:08 +01:00
|
|
|
|
2015-07-15 01:28:42 +02:00
|
|
|
OPTIONS_DEFINE= COMICS DJVU DVI KEYRING NAUTILUS T1LIB XPS
|
2016-01-24 15:46:38 +01:00
|
|
|
OPTIONS_DEFAULT=COMICS DJVU KEYRING NAUTILUS XPS
|
2013-03-19 11:40:22 +01:00
|
|
|
DVI_DESC= DVI viewer support
|
|
|
|
T1LIB_DESC= T1LIB for TYPE1 fonts to DVI (Enables DVI)
|
|
|
|
NAUTILUS_DESC= Nautilus plugin
|
2015-07-15 01:28:42 +02:00
|
|
|
KEYRING_DESC= Keyring support
|
2013-03-19 11:40:22 +01:00
|
|
|
COMICS_DESC= Comic book archives support
|
|
|
|
DJVU_DESC= DJVU support
|
2014-11-19 12:49:04 +01:00
|
|
|
XPS_DESC= XPS support
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2015-07-15 01:28:42 +02:00
|
|
|
.if ${PORT_OPTIONS:NDBUS} && ${SLAVEPORT} == lite
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
|
|
|
.endif
|
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.if ${PORT_OPTIONS:MDVI} || ${PORT_OPTIONS:MT1LIB}
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= latex
|
2005-11-05 05:53:48 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-dvi
|
2008-03-24 04:52:36 +01:00
|
|
|
PLIST_SUB+= DVI=""
|
2013-06-13 22:30:47 +02:00
|
|
|
. if ${PORT_OPTIONS:MT1LIB}
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS+= libt1.so:devel/t1lib
|
2005-11-05 05:53:48 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-t1lib
|
2013-03-19 11:40:22 +01:00
|
|
|
. else
|
|
|
|
CONFIGURE_ARGS+= --disable-t1lib
|
2005-11-05 05:53:48 +01:00
|
|
|
. endif
|
2008-03-24 04:52:36 +01:00
|
|
|
.else
|
2013-03-19 11:40:22 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-dvi
|
2008-03-24 04:52:36 +01:00
|
|
|
PLIST_SUB+= DVI="@comment "
|
2005-11-05 05:53:48 +01:00
|
|
|
.endif
|
|
|
|
|
2015-07-15 01:28:42 +02:00
|
|
|
.if ${PORT_OPTIONS:MKEYRING}
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS+= libsecret-1.so:security/libsecret
|
2015-07-15 01:28:42 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-keyring
|
|
|
|
.endif
|
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.if ${PORT_OPTIONS:MNAUTILUS}
|
2014-11-19 12:49:04 +01:00
|
|
|
USE_GNOME+= nautilus3
|
2005-11-05 05:53:48 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-nautilus
|
|
|
|
PLIST_SUB+= NAUTILUS=""
|
|
|
|
.else
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:misc/gnome-icon-theme
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:misc/gnome-icon-theme
|
2005-11-05 05:53:48 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-nautilus
|
|
|
|
PLIST_SUB+= NAUTILUS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
.if ${PORT_OPTIONS:MXPS}
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS+= libgxps.so:graphics/libgxps
|
2014-11-19 12:49:04 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-xps
|
|
|
|
PLIST_SUB+= XPS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-xps
|
|
|
|
PLIST_SUB+= XPS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.if ${PORT_OPTIONS:MDJVU}
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre
|
2007-07-09 02:25:15 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-djvu
|
2008-03-24 04:52:36 +01:00
|
|
|
PLIST_SUB+= DJVU=""
|
2007-07-09 02:25:15 +02:00
|
|
|
.else
|
2005-04-29 23:29:34 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-djvu
|
2008-03-24 04:52:36 +01:00
|
|
|
PLIST_SUB+= DJVU="@comment "
|
2007-07-09 02:25:15 +02:00
|
|
|
.endif
|
2005-04-29 23:29:34 +02:00
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.if ${PORT_OPTIONS:MCOMICS}
|
2006-04-30 02:47:21 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-comics
|
2008-03-24 04:52:36 +01:00
|
|
|
PLIST_SUB+= COMICS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-comics
|
|
|
|
PLIST_SUB+= COMICS="@comment "
|
2006-04-30 02:47:21 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-05 05:53:48 +01:00
|
|
|
post-patch:
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
|
2010-11-20 16:37:08 +01:00
|
|
|
-e 's|" == "|" = "|g' \
|
2014-11-19 12:49:04 +01:00
|
|
|
-e 's|-Werror||g' \
|
2007-10-25 01:37:25 +02:00
|
|
|
${WRKSRC}/configure
|
Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .
This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.
Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.
Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.
This release features commits by avl, ahze, bland, marcus, mezz, and myself.
The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.
And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin
and ITetcu for two exp-run
PR: ports/143852
ports/145347
ports/144980
ports/145830
ports/145511
2010-05-10 23:19:08 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^DOC_MODULE_VERSION/d' \
|
|
|
|
${WRKSRC}/help/reference/libdocument/Makefile.in \
|
|
|
|
${WRKSRC}/help/reference/libview/Makefile.in
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.include <bsd.port.mk>
|