pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/gnome-font-viewer fonts/gnome-font-viewer: impor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fb265c4c441
branches:  trunk
changeset: 374004:0fb265c4c441
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Jan 14 03:35:30 2018 +0000

description:
fonts/gnome-font-viewer: import gnome-font-viewer-3.27.0

Font viewer for Gnome 3 desktop environment
This program can preview installed and non-installed fonts.

diffstat:

 fonts/gnome-font-viewer/DESCR                  |    2 +
 fonts/gnome-font-viewer/Makefile               |   24 ++++++
 fonts/gnome-font-viewer/PLIST                  |  100 +++++++++++++++++++++++++
 fonts/gnome-font-viewer/distinfo               |    7 +
 fonts/gnome-font-viewer/patches/patch-Makefile |   75 ++++++++++++++++++
 5 files changed, 208 insertions(+), 0 deletions(-)

diffs (228 lines):

diff -r 9d4741aee9d8 -r 0fb265c4c441 fonts/gnome-font-viewer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gnome-font-viewer/DESCR     Sun Jan 14 03:35:30 2018 +0000
@@ -0,0 +1,2 @@
+Font viewer for Gnome 3 desktop environment
+This program can preview installed and non-installed fonts.
diff -r 9d4741aee9d8 -r 0fb265c4c441 fonts/gnome-font-viewer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gnome-font-viewer/Makefile  Sun Jan 14 03:35:30 2018 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/01/14 03:35:30 ryoon Exp $
+
+DISTNAME=      gnome-font-viewer-3.27.0
+CATEGORIES=    fonts
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=GNOME/}
+GITHUB_PROJECT=        gnome-font-viewer
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/GNOME/gnome-font-viewer
+COMMENT=       Font viewer for GNOME 3 desktop environment
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES+=        c
+USE_TOOLS+=    msgfmt pkg-config
+
+MAKE_ENV+=     WRKSRC=${WRKSRC}
+MAKE_ENV+=     PKGVERSION_NOREV=${PKGVERSION_NOREV}
+MAKE_ENV+=     PKGLOCALEDIR=${PKGLOCALEDIR}
+
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../x11/gnome-desktop3/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9d4741aee9d8 -r 0fb265c4c441 fonts/gnome-font-viewer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gnome-font-viewer/PLIST     Sun Jan 14 03:35:30 2018 +0000
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/14 03:35:30 ryoon Exp $
+bin/gnome-font-viewer
+bin/gnome-thumbnail-font
+share/locale/af/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/am/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/an/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ar/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/as/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ast/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/az/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/be.po/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/be@latin/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/bg/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/bn/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/br/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/bs/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ca/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ca@valencia/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/crh/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/cs/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/cy/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/da/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/de/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/dz/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/el/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/en_CA/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/en_GB/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/eo/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/es/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/et/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/eu/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/fa/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/fi/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/fr/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/fur/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ga/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/gd/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/gl/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/gu/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/he/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/hi/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/hr/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/hu/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/id/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/is/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/it/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ja/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ka/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/kk/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/km/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/kn/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ko/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ku/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ky/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/lt/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/lv/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/mai/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/mg/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/mk/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ml/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/mn/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/mr/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ms/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/nb/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/nds/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ne/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/nl/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/nn/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/oc/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/or/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/pa/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/pl/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ps/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/pt/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ro/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ru/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/rw/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/si/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sk/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sl/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sq/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sr/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sr@latin/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/sv/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ta/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/te/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/tg/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/th/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/tr/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/ug/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/uk/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/uz@cyrillic/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/vi/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/wa/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/xh/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-font-viewer.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-font-viewer.mo
diff -r 9d4741aee9d8 -r 0fb265c4c441 fonts/gnome-font-viewer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gnome-font-viewer/distinfo  Sun Jan 14 03:35:30 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/01/14 03:35:30 ryoon Exp $
+
+SHA1 (gnome-font-viewer-3.27.0.tar.gz) = 26c4a2a354684c5225f7f4eb13970f816b5d16f5
+RMD160 (gnome-font-viewer-3.27.0.tar.gz) = 8dd0cd7cb65c43ea89c514c9c68fde8f869ed8c0
+SHA512 (gnome-font-viewer-3.27.0.tar.gz) = b7cf8a56822485d5ae067cfe832db7ab4f80228448333b2e446c4848a8dcc2283e4635ca9bd256079b686e8dfc26b898afedf0b455a313c2060ea043abf76f1d
+Size (gnome-font-viewer-3.27.0.tar.gz) = 142447 bytes
+SHA1 (patch-Makefile) = 3cee4182694f1ba2daa25a0d3588b66953207a39
diff -r 9d4741aee9d8 -r 0fb265c4c441 fonts/gnome-font-viewer/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gnome-font-viewer/patches/patch-Makefile    Sun Jan 14 03:35:30 2018 +0000
@@ -0,0 +1,75 @@
+$NetBSD: patch-Makefile,v 1.1 2018/01/14 03:35:30 ryoon Exp $
+
+* Do not use meson build mechanism
+
+--- Makefile.orig      2018-01-14 03:12:40.049142772 +0000
++++ Makefile
+@@ -0,0 +1,68 @@
++# Makefile for NetBSD make
++# based on meson build scripts
++
++CFLAGS+=      -I./
++CFLAGS+=      `pkg-config --cflags glib-2.0`
++CFLAGS+=      `pkg-config --cflags gtk+-3.0`
++CFLAGS+=      `pkg-config --cflags gnome-desktop-3.0`
++
++LDFLAGS+=     `pkg-config --libs glib-2.0`
++LDFLAGS+=     `pkg-config --libs gtk+-3.0`
++LDFLAGS+=     `pkg-config --libs gnome-desktop-3.0`
++
++TNOBJS=               src/font-thumbnailer.o src/totem-resources.o \
++              src/sushi-font-loader.o src/sushi-font-widget.o
++
++VWOBJS=               src/font-model.o \
++              src/font-utils.o src/font-view.o \
++              src/sushi-font-loader.o src/sushi-font-widget.o
++
++.SUFFIXES: .c .o
++
++.c.o:
++      ${CC} -c ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
++
++MOS=  po/af.mo po/am.mo po/an.mo po/ar.mo po/as.mo po/ast.mo \
++      po/az.mo po/be.po po/be%latin.mo@localhost po/bg.mo po/bn.mo po/bn_IN.mo \
++      po/br.mo po/bs.mo po/ca.mo po/ca%valencia.mo@localhost po/crh.mo po/cs.mo \
++      po/cy.mo po/da.mo po/de.mo po/dz.mo po/el.mo po/en_CA.mo po/en_GB.mo \
++      po/eo.mo po/es.mo po/et.mo po/eu.mo po/fa.mo po/fi.mo po/fr.mo \
++      po/fur.mo po/ga.mo po/gd.mo po/gl.mo po/gu.mo po/he.mo po/hi.mo \
++      po/hr.mo po/hu.mo po/id.mo po/is.mo po/it.mo po/ja.mo po/ka.mo \
++      po/kk.mo po/km.mo po/kn.mo po/ko.mo po/ku.mo po/ky.mo po/lt.mo \
++      po/lv.mo po/mai.mo po/mg.mo po/mk.mo po/ml.mo po/mn.mo po/mr.mo \
++      po/ms.mo po/nb.mo po/nds.mo po/ne.mo po/nl.mo po/nn.mo po/oc.mo \
++      po/or.mo po/pa.mo po/pl.mo po/ps.mo po/pt.mo po/pt_BR.mo po/ro.mo \
++      po/ru.mo po/rw.mo po/si.mo po/sk.mo po/sl.mo po/sq.mo po/sr.mo \
++      po/sr%latin.mo@localhost po/sv.mo po/ta.mo po/te.mo po/tg.mo po/th.mo \
++      po/tr.mo po/ug.mo po/uk.mo po/uz%cyrillic.mo@localhost po/vi.mo po/wa.mo \
++      po/xh.mo po/zh_CN.mo po/zh_HK.mo po/zh_TW.mo
++
++.SUFFIXES: .po .mo
++
++.po.mo:
++      msgfmt --output-file=${.TARGET} ${.IMPSRC}
++
++all: gnome-font-viewer gnome-thumbnail-font ${MOS}
++
++config.h:
++      echo '#define VERSION "${PKGVERSION_NOREV}"' >> ${WRKSRC}/config.h
++      echo '#define GETTEXT_PACKAGE "gnome-font-viewer"' >> ${WRKSRC}/config.h
++      echo '#define GNOMELOCALEDIR "${PREFIX}/${PKGLOCALEDIR}/locale"' >> ${WRKSRC}/config.h
++
++gnome-font-viewer: config.h ${VWOBJS}
++      ${CC} ${LDFLAGS} -o ${.TARGET} ${VWOBJS}
++
++gnome-thumbnail-font: config.h ${TNOBJS}
++      ${CC} ${LDFLAGS} -o ${.TARGET} ${TNOBJS}
++
++install-locale: ${MOS}
++.for f in ${MOS}
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/locale/${f:S/po\///:S/.mo//}/LC_MESSAGES
++      ${BSD_INSTALL_DATA} ${f} ${DESTDIR}${PREFIX}/share/locale/${f:S/po\///:S/.mo//}/LC_MESSAGES/gnome-font-viewer.mo
++.endfor
++
++install: install-locale all
++      ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
++      ${BSD_INSTALL_PROGRAM} gnome-font-viewer ${DESTDIR}${PREFIX}/bin
++      ${BSD_INSTALL_PROGRAM} gnome-thumbnail-font ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index