diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-19 07:17:26 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-19 07:17:26 +0800 |
commit | d49e48606aced4164c8fb531cb035046864e03f3 (patch) | |
tree | bdfb7a615da74a4c1fd9b451b779619299cac6db | |
parent | 15eb4f8ee1476bdd96e3407301762e664bae9631 (diff) | |
download | marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar.gz marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar.bz2 marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar.lz marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar.xz marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.tar.zst marcuscom-ports-d49e48606aced4164c8fb531cb035046864e03f3.zip |
Update to 0.7.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8071 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | graphics/evince/Makefile | 114 | ||||
-rw-r--r-- | graphics/evince/distinfo | 3 | ||||
-rw-r--r-- | graphics/evince/files/patch-configure | 11 | ||||
-rw-r--r-- | graphics/evince/files/patch-properties_ev-properties-view.c | 23 | ||||
-rw-r--r-- | graphics/evince/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/evince/pkg-plist | 197 |
6 files changed, 353 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile new file mode 100644 index 000000000..fe59e3670 --- /dev/null +++ b/graphics/evince/Makefile @@ -0,0 +1,114 @@ +# New ports collection makefile for: evince +# Date created: 09 January 2005 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/graphics/evince/Makefile,v 1.58 2006/10/10 02:27:26 ahze Exp $ +# + +PORTNAME= evince +PORTVERSION= 0.7.0 +CATEGORIES= graphics print gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 multi-format document viewer + +LIB_DEPENDS= poppler-glib.1:${PORTSDIR}/graphics/poppler-gtk + +USE_LDCONFIG= yes +USE_BZIP2= yes +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +USE_GETTEXT= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_GHOSTSCRIPT=yes +INSTALLS_OMF= yes +USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui \ + desktopfileutils gnomedocutils +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas + +OPTIONS= DVI "Enable DVI viewer support" off \ + T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \ + NAUTILUS "Enable Nautilus plugin" on \ + DBUS "Enable D-BUS support" on \ + COMICS "Enable comic book archives support" off +# IMPRESS "Enable Impress presentations support" off \ +# DJVU "Enable DJVU support" off + +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) \ + || exists(${LOCALBASE}/lib/libdbus-glib-1.so) +WITH_DBUS= yes +.endif + +.if defined(WITH_DVI) || defined(WITH_T1LIB) +BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base + +CONFIGURE_ARGS+= --enable-dvi +GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas +. if defined(WITH_T1LIB) +LIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib + +CONFIGURE_ARGS+= --enable-t1lib +. endif +.endif + +.if !defined(WITHOUT_NAUTILUS) +USE_GNOME+= nautilus2 +CONFIGURE_ARGS+= --enable-nautilus +PLIST_SUB+= NAUTILUS="" +.else +CONFIGURE_ARGS+= --disable-nautilus +PLIST_SUB+= NAUTILUS="@comment " +.endif + +#.if defined(WITH_IMPRESS) +#CONFIGURE_ARGS+= --enable-impress +#.else +CONFIGURE_ARGS+= --disable-impress +#.endif + +#.if exists(${X11BASE}/bin/djview) +#DJVU_DIR?= # empty +#.else +#DJVU_DIR?= -nox11 +#.endif +# +#.if defined(WITH_DJVU) +#LIB_DEPENDS+= djvulibre.17:${PORTSDIR}/graphics/djvulibre${DJVU_DIR} +#CONFIGURE_ARGS+= --enable-djvu +#GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas +#.else +CONFIGURE_ARGS+= --disable-djvu +#.endif + +.if !defined(WITHOUT_DBUS) +LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +.endif + +.if defined(WITH_COMICS) +CONFIGURE_ARGS+= --enable-comics +GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas + +RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar \ + unzip:${PORTSDIR}/archivers/unzip +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-lt1lib|-lt1 -lm| ; \ + s|execinfo.h|#|g' \ + ${WRKSRC}/configure \ + ${WRKSRC}/dvi/mdvi-lib/Makefile.in + +post-install: + @-update-desktop-database + +.include <bsd.port.post.mk> diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo new file mode 100644 index 000000000..73b11bb76 --- /dev/null +++ b/graphics/evince/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/evince-0.7.0.tar.bz2) = 1288d21b183127af36dd58158caa59b5 +SHA256 (gnome2/evince-0.7.0.tar.bz2) = ba08f552fe44a2a85fa28a171192bc45d0bf27658f714bf8b4924d072918b81d +SIZE (gnome2/evince-0.7.0.tar.bz2) = 1276149 diff --git a/graphics/evince/files/patch-configure b/graphics/evince/files/patch-configure new file mode 100644 index 000000000..dc2323992 --- /dev/null +++ b/graphics/evince/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Dec 18 18:05:50 2006 ++++ configure Mon Dec 18 18:06:30 2006 +@@ -25315,7 +25315,7 @@ else + echo "${ECHO_T}yes" >&6 + enable_cairo_pdf=yes + fi +- if test x$enable_cairo_pdf == xyes; then ++ if test x$enable_cairo_pdf = xyes; then + + cat >>confdefs.h <<\_ACEOF + #define HAVE_CAIRO_PDF 1 diff --git a/graphics/evince/files/patch-properties_ev-properties-view.c b/graphics/evince/files/patch-properties_ev-properties-view.c new file mode 100644 index 000000000..3204df9ac --- /dev/null +++ b/graphics/evince/files/patch-properties_ev-properties-view.c @@ -0,0 +1,23 @@ +--- properties/ev-properties-view.c.orig Mon Dec 18 18:08:18 2006 ++++ properties/ev-properties-view.c Mon Dec 18 18:13:07 2006 +@@ -245,10 +245,11 @@ ev_regular_paper_size (const EvDocumentI + { + const struct regular_paper_size *size; + char *exact_size = NULL; +- char *imperial = NULL; + char *str = NULL; + int i; + ++#ifdef _NL_MEASUREMENT_MEASUREMENT ++ char *imperial = NULL; + imperial = nl_langinfo(_NL_MEASUREMENT_MEASUREMENT); + if ( imperial && imperial[0] == 2 ) + /* Imperial measurement (inches) */ +@@ -256,6 +257,7 @@ ev_regular_paper_size (const EvDocumentI + info->paper_width / 25.4f, + info->paper_height / 25.4f ); + else ++#endif + /* Metric measurement (millimeters) */ + exact_size = g_strdup_printf( _("%.0f x %.0f mm"), + info->paper_width, diff --git a/graphics/evince/pkg-descr b/graphics/evince/pkg-descr new file mode 100644 index 000000000..800f6fcd3 --- /dev/null +++ b/graphics/evince/pkg-descr @@ -0,0 +1,5 @@ +Evince is a document viewer for multiple document formats including PDF and +Postscript. The goal of evince is to replace document viewers such as ggv and +gpdf with a single, simple application. + +WWW: http://www.gnome.org/projects/evince/ diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist new file mode 100644 index 000000000..c08330e33 --- /dev/null +++ b/graphics/evince/pkg-plist @@ -0,0 +1,197 @@ +bin/evince +bin/evince-thumbnailer +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.a +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.la +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.so +share/gnome/applications/evince.desktop +share/gnome/evince/evince-password.glade +share/gnome/evince/evince-preview-toolbar.xml +share/gnome/evince/evince-properties.glade +share/gnome/evince/evince-toolbar.xml +share/gnome/evince/evince-ui.xml +share/gnome/evince/hand-open.png +share/gnome/help/evince/C/evince.xml +share/gnome/help/evince/C/figures/evince_start_window.png +share/gnome/help/evince/C/legal.xml +share/gnome/help/evince/bg/evince.xml +share/gnome/help/evince/bg/figures/evince_start_window.png +share/gnome/help/evince/el/evince.xml +share/gnome/help/evince/el/figures/evince_start_window.png +share/gnome/help/evince/es/evince.xml +share/gnome/help/evince/es/figures/evince_start_window.png +share/gnome/help/evince/fi/evince.xml +share/gnome/help/evince/fi/figures/evince_start_window.png +share/gnome/help/evince/fr/evince.xml +share/gnome/help/evince/fr/figures/evince_start_window.png +share/gnome/help/evince/it/evince.xml +share/gnome/help/evince/it/figures/evince_start_window.png +share/gnome/help/evince/nl/evince.xml +share/gnome/help/evince/nl/figures/evince_start_window.png +share/gnome/help/evince/ru/evince.xml +share/gnome/help/evince/ru/figures/evince_start_window.png +share/gnome/help/evince/sr/evince.xml +share/gnome/help/evince/sr/figures/evince_start_window.png +share/gnome/help/evince/sv/evince.xml +share/gnome/help/evince/sv/figures/evince_start_window.png +share/gnome/help/evince/uk/evince.xml +share/gnome/help/evince/uk/figures/evince_start_window.png +share/gnome/omf/evince/evince-C.omf +share/gnome/omf/evince/evince-bg.omf +share/gnome/omf/evince/evince-el.omf +share/gnome/omf/evince/evince-es.omf +share/gnome/omf/evince/evince-fi.omf +share/gnome/omf/evince/evince-fr.omf +share/gnome/omf/evince/evince-it.omf +share/gnome/omf/evince/evince-nl.omf +share/gnome/omf/evince/evince-ru.omf +share/gnome/omf/evince/evince-sr.omf +share/gnome/omf/evince/evince-sv.omf +share/gnome/omf/evince/evince-uk.omf +share/icons/hicolor/16x16/apps/evince.png +share/icons/hicolor/22x22/apps/evince.png +share/icons/hicolor/24x24/apps/evince.png +share/icons/hicolor/48x48/apps/evince.png +share/icons/hicolor/scalable/apps/evince.svg +share/locale/be/LC_MESSAGES/evince.mo +share/locale/bg/LC_MESSAGES/evince.mo +share/locale/bn/LC_MESSAGES/evince.mo +share/locale/bn_IN/LC_MESSAGES/evince.mo +share/locale/br/LC_MESSAGES/evince.mo +share/locale/ca/LC_MESSAGES/evince.mo +share/locale/cs/LC_MESSAGES/evince.mo +share/locale/cy/LC_MESSAGES/evince.mo +share/locale/da/LC_MESSAGES/evince.mo +share/locale/de/LC_MESSAGES/evince.mo +share/locale/dz/LC_MESSAGES/evince.mo +share/locale/el/LC_MESSAGES/evince.mo +share/locale/en_CA/LC_MESSAGES/evince.mo +share/locale/en_GB/LC_MESSAGES/evince.mo +share/locale/es/LC_MESSAGES/evince.mo +share/locale/et/LC_MESSAGES/evince.mo +share/locale/eu/LC_MESSAGES/evince.mo +share/locale/fa/LC_MESSAGES/evince.mo +share/locale/fi/LC_MESSAGES/evince.mo +share/locale/fr/LC_MESSAGES/evince.mo +share/locale/gl/LC_MESSAGES/evince.mo +share/locale/gu/LC_MESSAGES/evince.mo +share/locale/he/LC_MESSAGES/evince.mo +share/locale/hi/LC_MESSAGES/evince.mo +share/locale/hu/LC_MESSAGES/evince.mo +share/locale/id/LC_MESSAGES/evince.mo +share/locale/it/LC_MESSAGES/evince.mo +share/locale/ja/LC_MESSAGES/evince.mo +share/locale/ka/LC_MESSAGES/evince.mo +share/locale/ko/LC_MESSAGES/evince.mo +share/locale/ku/LC_MESSAGES/evince.mo +share/locale/lt/LC_MESSAGES/evince.mo +share/locale/lv/LC_MESSAGES/evince.mo +share/locale/mg/LC_MESSAGES/evince.mo +share/locale/mk/LC_MESSAGES/evince.mo +share/locale/ml/LC_MESSAGES/evince.mo +share/locale/mr/LC_MESSAGES/evince.mo +share/locale/nb/LC_MESSAGES/evince.mo +share/locale/ne/LC_MESSAGES/evince.mo +share/locale/nl/LC_MESSAGES/evince.mo +share/locale/nn/LC_MESSAGES/evince.mo +share/locale/or/LC_MESSAGES/evince.mo +share/locale/pa/LC_MESSAGES/evince.mo +share/locale/pl/LC_MESSAGES/evince.mo +share/locale/pt/LC_MESSAGES/evince.mo +share/locale/pt_BR/LC_MESSAGES/evince.mo +share/locale/ro/LC_MESSAGES/evince.mo +share/locale/ru/LC_MESSAGES/evince.mo +share/locale/rw/LC_MESSAGES/evince.mo +share/locale/sk/LC_MESSAGES/evince.mo +share/locale/sl/LC_MESSAGES/evince.mo +share/locale/sq/LC_MESSAGES/evince.mo +share/locale/sr/LC_MESSAGES/evince.mo +share/locale/sr@Latn/LC_MESSAGES/evince.mo +share/locale/sv/LC_MESSAGES/evince.mo +share/locale/ta/LC_MESSAGES/evince.mo +share/locale/th/LC_MESSAGES/evince.mo +share/locale/tr/LC_MESSAGES/evince.mo +share/locale/uk/LC_MESSAGES/evince.mo +share/locale/vi/LC_MESSAGES/evince.mo +share/locale/wa/LC_MESSAGES/evince.mo +share/locale/zh_CN/LC_MESSAGES/evince.mo +share/locale/zh_HK/LC_MESSAGES/evince.mo +share/locale/zh_TW/LC_MESSAGES/evince.mo +@dirrm share/gnome/omf/evince +@dirrm share/gnome/help/evince/uk/figures +@dirrm share/gnome/help/evince/uk +@dirrm share/gnome/help/evince/sv/figures +@dirrm share/gnome/help/evince/sv +@dirrm share/gnome/help/evince/sr/figures +@dirrm share/gnome/help/evince/sr +@dirrm share/gnome/help/evince/ru/figures +@dirrm share/gnome/help/evince/ru +@dirrm share/gnome/help/evince/nl/figures +@dirrm share/gnome/help/evince/nl +@dirrm share/gnome/help/evince/it/figures +@dirrm share/gnome/help/evince/it +@dirrm share/gnome/help/evince/fr/figures +@dirrm share/gnome/help/evince/fr +@dirrm share/gnome/help/evince/fi/figures +@dirrm share/gnome/help/evince/fi +@dirrm share/gnome/help/evince/es/figures +@dirrm share/gnome/help/evince/es +@dirrm share/gnome/help/evince/el/figures +@dirrm share/gnome/help/evince/el +@dirrm share/gnome/help/evince/bg/figures +@dirrm share/gnome/help/evince/bg +@dirrm share/gnome/help/evince/C/figures +@dirrm share/gnome/help/evince/C +@dirrm share/gnome/help/evince +@dirrm share/gnome/evince +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || true +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/nn/LC_MESSAGES +@dirrmtry share/locale/nn +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be/LC_MESSAGES +@dirrmtry share/locale/be |