pkgsrc-WIP-changes archive

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

foliate: Import of foliate 1.5.3 as wip/foliate.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Sat Oct 5 04:16:40 2019 -0500
Changeset:	6eb87f25a8469e10248cb9837a713e8f16e2f30e

Added Files:
	foliate/DESCR
	foliate/Makefile
	foliate/PLIST
	foliate/TODO
	foliate/distinfo

Log Message:
foliate: Import of foliate 1.5.3 as wip/foliate.

Foliate is a simple and modern GTK eBook viewer, built with GJS and Epub.js.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6eb87f25a8469e10248cb9837a713e8f16e2f30e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 foliate/DESCR    |  2 ++
 foliate/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 foliate/PLIST    | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 foliate/TODO     |  6 ++++++
 foliate/distinfo |  6 ++++++
 5 files changed, 106 insertions(+)

diffs:
diff --git a/foliate/DESCR b/foliate/DESCR
new file mode 100644
index 0000000000..f2957efbad
--- /dev/null
+++ b/foliate/DESCR
@@ -0,0 +1,2 @@
+Foliate is a simple and modern GTK eBook viewer, built with GJS and
+Epub.js.
diff --git a/foliate/Makefile b/foliate/Makefile
new file mode 100644
index 0000000000..9c57bee507
--- /dev/null
+++ b/foliate/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+DISTNAME=	foliate-1.5.3
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=johnfactotum/}
+EXTRACT_USING=	bsdtar
+
+MAINTAINER=	fox%NetBSD.org@localhost
+COMMENT=	Simple and modern GTK eBook viewer
+HOMEPAGE=	https://johnfactotum.github.io/foliate/
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gettext msgfmt msgmerge
+
+BUILD_DEPENDS+=	${PYPKGPREFIX}-meson-[0-9]*:../../devel/py-meson
+BUILD_DEPENDS+=	gjs>=1.52.0:../../wip/gjs
+BUILD_DEPENDS+=	ninja-build-[0-9]*:../../devel/ninja-build
+
+# XXX fails without GNU msgfmt
+_TOOLS_USE_PKGSRC.msgfmt=	yes
+
+REPLACE_PYTHON+=	${WRKSRC}/build-aux/meson/postinstall.py
+REPLACE_PYTHON+=	${WRKSRC}/src/assets/KindleUnpack/compatibility_utils.py
+REPLACE_PYTHON+=	${WRKSRC}/src/assets/KindleUnpack/mobi_split.py
+REPLACE_PYTHON+=	${WRKSRC}/src/assets/KindleUnpack/mobiml2xhtml.py
+REPLACE_PYTHON+=	${WRKSRC}/src/assets/KindleUnpack/unipath.py
+
+GLIB_SCHEMAS=	com.github.johnfactotum.Foliate.gschema.xml
+
+do-configure:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} meson build --prefix=${PREFIX}
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ninja -C build
+
+do-install:
+	cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ninja -C build install
+
+# Add options once the package is running correctly
+#.include "options.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/glib2/schemas.mk"
+.include "../../lang/python/application.mk"
+BUILDLINK_API_DEPENDS.webkit-gtk+=	webkit-gtk>=2.24.0
+.include "../../www/webkit-gtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/foliate/PLIST b/foliate/PLIST
new file mode 100644
index 0000000000..16944a0415
--- /dev/null
+++ b/foliate/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD$
+bin/com.github.johnfactotum.Foliate
+share/applications/com.github.johnfactotum.Foliate.desktop
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/__init__.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/compatibility_utils.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/kindleunpack.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_cover.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_dict.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_header.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_html.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_index.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_k8proc.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_k8resc.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_nav.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_ncx.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_opf.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_pagemap.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_sectioner.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_split.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_uncompress.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobi_utils.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/mobiml2xhtml.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/unipath.py
+share/com.github.johnfactotum.Foliate/assets/KindleUnpack/unpack_structure.py
+share/com.github.johnfactotum.Foliate/assets/epub.js
+share/com.github.johnfactotum.Foliate/assets/jszip.min.js
+share/com.github.johnfactotum.Foliate/assets/lookup.html
+share/com.github.johnfactotum.Foliate/assets/utils.js
+share/com.github.johnfactotum.Foliate/assets/viewer-nocsp.html
+share/com.github.johnfactotum.Foliate/assets/viewer.css
+share/com.github.johnfactotum.Foliate/assets/viewer.html
+share/com.github.johnfactotum.Foliate/assets/viewer.js
+share/com.github.johnfactotum.Foliate/com.github.johnfactotum.Foliate.src.gresource
+share/glib-2.0/schemas/com.github.johnfactotum.Foliate.gschema.xml
+share/icons/hicolor/scalable/apps/com.github.johnfactotum.Foliate.svg
+share/icons/hicolor/symbolic/apps/com.github.johnfactotum.Foliate-symbolic.svg
+share/locale/cs_CS/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/es/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/fr_FR/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/id_ID/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/it/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/nl_NL/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/pt_BR/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/ru_RU/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/locale/zh_TW/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
+share/metainfo/com.github.johnfactotum.Foliate.appdata.xml
diff --git a/foliate/TODO b/foliate/TODO
new file mode 100644
index 0000000000..c64df65beb
--- /dev/null
+++ b/foliate/TODO
@@ -0,0 +1,6 @@
+- Give a better executable name
+  Probably wrap the current bin/ entry with a shell script
+- Add the optional components via options.mk
+- Fix crash when starting the application
+  /usr/pkg/lib/libgdk-3.so.0: Undefined PLT symbol "epoxy_has_glx" (symnum = 63)
+- Fix the deprecate schema warning
diff --git a/foliate/distinfo b/foliate/distinfo
new file mode 100644
index 0000000000..ff2ad5fdf8
--- /dev/null
+++ b/foliate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (foliate-1.5.3.tar.gz) = 04303d725550409259417ba563f2e363a13c8b3f
+RMD160 (foliate-1.5.3.tar.gz) = 77c0e8bfb0f641bb2ca90b5b06278ebd66d61579
+SHA512 (foliate-1.5.3.tar.gz) = 806640ab78794208d344145bad22c668cf17454194707f06caacc368d7f440bfdce6b3801cf8a9320d10b2a441fe4ad43e87a869107c3ed5c0af48e958638c7b
+Size (foliate-1.5.3.tar.gz) = 1486573 bytes


Home | Main Index | Thread Index | Old Index