freebsd-ports/graphics/evince/Makefile

108 lines
2.9 KiB
Makefile
Raw Normal View History

# Created by: Adam Weinberger <adamw@FreeBSD.org>
PORTNAME= evince
2021-11-22 20:09:30 +01:00
DISTVERSION= 41.3
PORTREVISION= 4
CATEGORIES= graphics print gnome
2021-08-03 06:40:36 +02:00
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= 1060b24d0516.patch:-p1 # https://gitlab.gnome.org/GNOME/evince/-/merge_requests/398
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 3 multi-format document viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
FLAVOR?= full
FLAVORS= full lite
2021-08-03 06:40:36 +02:00
BUILD_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
itstool:textproc/itstool
LIB_DEPENDS= libfribidi.so:converters/fribidi \
libhandy-1.so:x11-toolkits/libhandy \
libpoppler-glib.so:graphics/poppler-glib \
libspectre.so:print/libspectre \
libtiff.so:graphics/tiff
RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2. Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up. This commit removes the old GNOME 2 desktop, bindings and some ports that can't be compiled. A few ports where updated to more recent versions to allow them to compile with this update. Apart from updating ports to newer versions GDM is more integrated with gnome-shell now, and handles several things for the GNOME desktop such as screen locking. If you want to use GNOME 3 via startx, you will have to add your own lock screen/screensaver. For example xscreensaver can be used for sessions started without GDM. Shell Extensions can be installed via https://extensions.gnome.org/ , we have ported a few that can't be installed via this way. The old gnome-utils and gnome-games ports where split up into single ports and where converted to meta-ports. gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but if you use startx you need to do this yourself. Upgrade instructions: Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd # pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \ evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 We are currently aware of two issues. The first issue is a bug in the file monitoring code in the glib20 port. This bug causes glib programs to crash when files in a monitored directory are added or removed. Upstream is aware of the problem, but since the problem is quite complex there is no solution yet. This problem isn't restricted to BSD. The second issue is that on certain video cards totem will display a purple/pink overlay on the video. It not clear yet where the issues comes from. Major thanks goes to Gustau Perez for being a driving force behind getting GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs. This update was also made possible by: Joe Maloney Kris Moore Beeblebrox Ryan Lortie Antoine Jacoutot and everyone I missed
2014-11-19 12:49:04 +01:00
PORTSCOUT= limitw:1,even
SLAVEPORT?= no
USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome libarchive \
2021-08-03 06:40:36 +02:00
localbase:ldflags meson pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30
USE_GSTREAMER1= yes
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)
2006-10-14 10:35:50 +02:00
USE_LDCONFIG= yes
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2. Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up. This commit removes the old GNOME 2 desktop, bindings and some ports that can't be compiled. A few ports where updated to more recent versions to allow them to compile with this update. Apart from updating ports to newer versions GDM is more integrated with gnome-shell now, and handles several things for the GNOME desktop such as screen locking. If you want to use GNOME 3 via startx, you will have to add your own lock screen/screensaver. For example xscreensaver can be used for sessions started without GDM. Shell Extensions can be installed via https://extensions.gnome.org/ , we have ported a few that can't be installed via this way. The old gnome-utils and gnome-games ports where split up into single ports and where converted to meta-ports. gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but if you use startx you need to do this yourself. Upgrade instructions: Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd # pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \ evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 We are currently aware of two issues. The first issue is a bug in the file monitoring code in the glib20 port. This bug causes glib programs to crash when files in a monitored directory are added or removed. Upstream is aware of the problem, but since the problem is quite complex there is no solution yet. This problem isn't restricted to BSD. The second issue is that on certain video cards totem will display a purple/pink overlay on the video. It not clear yet where the issues comes from. Major thanks goes to Gustau Perez for being a driving force behind getting GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs. This update was also made possible by: Joe Maloney Kris Moore Beeblebrox Ryan Lortie Antoine Jacoutot and everyone I missed
2014-11-19 12:49:04 +01:00
USE_XORG= ice
CPE_VENDOR= gnome
2021-08-03 06:40:36 +02:00
MESON_ARGS= -Dgtk_doc=false \
-Dps=enabled \
-Dsystemduserunitdir=no
.if ${FLAVOR} == lite
2021-08-03 06:40:36 +02:00
MESON_ARGS+= -Dintrospection=false \
-Dpreviewer=false \
-Dthumbnail_cache=disabled \
-Dthumbnailer=false
USE_GNOME+= libxml2
OPTIONS_EXCLUDE= DBUS NAUTILUS
PLIST= ${.CURDIR}/pkg-plist-lite
PKGNAMESUFFIX= -lite
COMMENT+= without GNOME dependencies
CONFLICTS_INSTALL= evince
.else
2021-08-03 06:40:36 +02:00
USE_GNOME+= introspection:build
MESON_ARGS+= -Dintrospection=true
CONFLICTS_INSTALL= evince-lite
.endif
GLIB_SCHEMAS= org.gnome.Evince.gschema.xml
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2. Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up. This commit removes the old GNOME 2 desktop, bindings and some ports that can't be compiled. A few ports where updated to more recent versions to allow them to compile with this update. Apart from updating ports to newer versions GDM is more integrated with gnome-shell now, and handles several things for the GNOME desktop such as screen locking. If you want to use GNOME 3 via startx, you will have to add your own lock screen/screensaver. For example xscreensaver can be used for sessions started without GDM. Shell Extensions can be installed via https://extensions.gnome.org/ , we have ported a few that can't be installed via this way. The old gnome-utils and gnome-games ports where split up into single ports and where converted to meta-ports. gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but if you use startx you need to do this yourself. Upgrade instructions: Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd # pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \ evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 We are currently aware of two issues. The first issue is a bug in the file monitoring code in the glib20 port. This bug causes glib programs to crash when files in a monitored directory are added or removed. Upstream is aware of the problem, but since the problem is quite complex there is no solution yet. This problem isn't restricted to BSD. The second issue is that on certain video cards totem will display a purple/pink overlay on the video. It not clear yet where the issues comes from. Major thanks goes to Gustau Perez for being a driving force behind getting GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs. This update was also made possible by: Joe Maloney Kris Moore Beeblebrox Ryan Lortie Antoine Jacoutot and everyone I missed
2014-11-19 12:49:04 +01:00
PLIST_SUB= VERSION=3.0
2021-08-03 06:40:36 +02:00
OPTIONS_SUB= yes
2021-11-07 01:33:31 +01:00
OPTIONS_DEFINE= COMICS DBUS DJVU DVI KEYRING NAUTILUS SPELL T1LIB XPS
2021-08-03 06:40:36 +02:00
OPTIONS_DEFAULT= COMICS DBUS DJVU KEYRING NAUTILUS SPELL XPS
2021-08-03 06:40:36 +02:00
COMICS_DESC= Comic book archives support
COMICS_MESON_ENABLED= comics
DJVU_DESC= DJVU support
DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre
DJVU_MESON_ENABLED= djvu
DBUS_MESON_TRUE= dbus
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
2021-11-07 01:33:31 +01:00
DVI_DESC= DVI viewer support
DVI_USE= TEX=kpathsea,latex
DVI_MESON_ENABLED= dvi
KEYRING_DESC= Keyring support
KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret
KEYRING_MESON_ENABLED= keyring
NAUTILUS_DESC= Nautilus plugin
2021-08-03 06:40:36 +02:00
NAUTILUS_USE= GNOME=nautilus3
NAUTILUS_MESON_TRUE= nautilus
SPELL_DESC= spell checking support
SPELL_MESON_ENABLED= gspell
SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2. Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up. This commit removes the old GNOME 2 desktop, bindings and some ports that can't be compiled. A few ports where updated to more recent versions to allow them to compile with this update. Apart from updating ports to newer versions GDM is more integrated with gnome-shell now, and handles several things for the GNOME desktop such as screen locking. If you want to use GNOME 3 via startx, you will have to add your own lock screen/screensaver. For example xscreensaver can be used for sessions started without GDM. Shell Extensions can be installed via https://extensions.gnome.org/ , we have ported a few that can't be installed via this way. The old gnome-utils and gnome-games ports where split up into single ports and where converted to meta-ports. gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but if you use startx you need to do this yourself. Upgrade instructions: Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd # pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \ evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 We are currently aware of two issues. The first issue is a bug in the file monitoring code in the glib20 port. This bug causes glib programs to crash when files in a monitored directory are added or removed. Upstream is aware of the problem, but since the problem is quite complex there is no solution yet. This problem isn't restricted to BSD. The second issue is that on certain video cards totem will display a purple/pink overlay on the video. It not clear yet where the issues comes from. Major thanks goes to Gustau Perez for being a driving force behind getting GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs. This update was also made possible by: Joe Maloney Kris Moore Beeblebrox Ryan Lortie Antoine Jacoutot and everyone I missed
2014-11-19 12:49:04 +01:00
2021-11-07 01:33:31 +01:00
T1LIB_DESC= Support TYPE1 fonts to DVI (Enables DVI)
T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib
T1LIB_MESON_ENABLED= t1lib
T1LIB_IMPLIES= DVI
2021-08-03 06:40:36 +02:00
XPS_DESC= XPS support
XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps
XPS_MESON_ENABLED= xps
.include <bsd.port.mk>