Index: deskutils/Makefile =================================================================== --- deskutils/Makefile +++ deskutils/Makefile @@ -20,6 +20,7 @@ SUBDIR += bigyear SUBDIR += bijiben SUBDIR += bitcollider + SUBDIR += bookworm SUBDIR += cairo-dock SUBDIR += cairo-dock-plugins SUBDIR += caja-extensions Index: deskutils/bookworm/Makefile =================================================================== --- /dev/null +++ deskutils/bookworm/Makefile @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= bookworm +DISTVERSION= 1.1.1-52 +DISTVERSIONSUFFIX= -g226ef1b +CATEGORIES= deskutils + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Simple, focused ebook reader + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgranite.so:x11-toolkits/granite \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ + libpoppler-glib.so:graphics/poppler-glib \ + libgee-0.8.so:devel/libgee \ + libsoup-2.4.so:devel/libsoup +BUILD_DEPENDS= html2text>0:textproc/html2text \ + curl>0:ftp/curl \ + valac:lang/vala +RUN_DEPENDS= bash:shells/bash + +USES= desktop-file-utils gettext gnome meson pkgconfig python:run shebangfix sqlite +USE_GITHUB= yes +GH_ACCOUNT= babluboy +USE_GNOME= gdkpixbuf2 glib20 gtk30 libxml2 pango + +GLIB_SCHEMAS= com.github.babluboy.bookworm.gschema.xml +INSTALLS_ICONS= yes +MESON_BUILD_DIR= build +SHEBANG_FILES= data/scripts/com.github.babluboy.bookworm.search.sh \ + data/scripts/mobi_lib/mobi_html.py \ + data/scripts/mobi_lib/mobi_utils.py \ + data/scripts/mobi_lib/mobi_dict.py \ + data/scripts/mobi_lib/mobi_ncx.py \ + data/scripts/mobi_lib/mobi_split.py \ + data/scripts/mobi_lib/mobi_index.py \ + data/scripts/mobi_lib/mobi_opf.py \ + data/scripts/mobi_lib/mobi_unpack.py \ + data/scripts/mobi_lib/mobi_k8proc.py \ + data/scripts/mobi_lib/mobi_uncompress.py + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-configure: + @${MKDIR} ${WRKSRC}/${MESON_BUILD_DIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +do-test: + cd ${WRKSRC}/${MESON_BUILD_DIR} && ninja test + +.include Index: deskutils/bookworm/distinfo =================================================================== --- /dev/null +++ deskutils/bookworm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1550670315 +SHA256 (babluboy-bookworm-1.1.1-52-g226ef1b_GH0.tar.gz) = f7f8e0f5ff63801fb9ad87a6c2f7b11d4c89363a8a07147b8bac8e15832db43b +SIZE (babluboy-bookworm-1.1.1-52-g226ef1b_GH0.tar.gz) = 2065561 Index: deskutils/bookworm/files/patch-meson.build =================================================================== --- /dev/null +++ deskutils/bookworm/files/patch-meson.build @@ -0,0 +1,10 @@ +--- meson.build.orig 2019-02-21 09:38:08 UTC ++++ meson.build +@@ -70,6 +70,6 @@ executable( + install: true + ) + +-meson.add_install_script('meson/post_install.py') ++# meson.add_install_script('meson/post_install.py') + subdir('data') + subdir('po') Index: deskutils/bookworm/pkg-descr =================================================================== --- /dev/null +++ deskutils/bookworm/pkg-descr @@ -0,0 +1,7 @@ +Bookworm is a simple, focused eBook reader. + +Read the books you love without having to worry about the different format +complexities like epub, pdf, mobi, cbr, etc. This version supports EPUB, PDF +and Comics (CBR and CBZ) formats with support for more formats to follow soon. + +WWW: https://babluboy.github.io/bookworm/ Index: deskutils/bookworm/pkg-plist =================================================================== --- /dev/null +++ deskutils/bookworm/pkg-plist @@ -0,0 +1,223 @@ +bin/com.github.babluboy.bookworm +share/applications/com.github.babluboy.bookworm.desktop +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_dict.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_html.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_index.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_k8proc.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_ncx.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_opf.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_split.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_uncompress.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_unpack.py +share/com.github.babluboy.bookworm/scripts/mobi_lib/mobi_utils.py +share/com.github.babluboy.bookworm/scripts/tasks/com.github.babluboy.bookworm.dictionary.sh +share/com.github.babluboy.bookworm/scripts/tasks/com.github.babluboy.bookworm.search.sh +share/icons/hicolor/128x128/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/128x128@2/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/16x16/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/16x16@2/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/24x24/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/24x24@2/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/32x32/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/32x32@2/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/48x48/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/48x48@2/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/64x64/apps/com.github.babluboy.bookworm.svg +share/icons/hicolor/64x64@2/apps/com.github.babluboy.bookworm.svg +share/locale/aa/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ab/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ae/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/af/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ak/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/am/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/an/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ar/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/as/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ast/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/av/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ay/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/az/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ba/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/be/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bh/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bm/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/br/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/bs/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ca/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ce/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ch/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ckb/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/co/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/cr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/cs/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/cu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/cv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/cy/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/da/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/de/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/dv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/dz/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ee/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/el/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/en_AU/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/en_CA/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/en_GB/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/eo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/es/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/es_MX/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/et/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/eu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fa/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ff/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fj/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fr_CA/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/fy/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ga/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/gd/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/gl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/gn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/gu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/gv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ha/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/he/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/hi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ho/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/hr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ht/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/hu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/hy/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/hz/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ia/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/id/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ie/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ig/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ii/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ik/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/io/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/is/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/it/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/iu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ja/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/jv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ka/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ki/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kj/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kk/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/km/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ko/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ks/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ku/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/kw/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ky/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/la/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lb/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/li/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ln/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lt/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/lv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mh/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mk/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ml/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ms/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/mt/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/my/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/na/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nb_NO/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nd/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ne/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ng/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/nv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ny/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/oc/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/oj/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/om/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/or/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/os/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/pa/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/pi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/pl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ps/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/pt/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/pt_BR/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/qu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/rm/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/rn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ro/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ru/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/rue/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/rw/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sa/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sc/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sd/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/se/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/si/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sk/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sm/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sma/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/so/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sq/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ss/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/st/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/su/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sv/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/sw/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ta/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/te/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tg/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/th/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ti/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tk/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tl/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tn/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/to/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tr/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ts/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tt/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/tw/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ty/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ug/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/uk/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ur/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/uz/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/ve/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/vi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/vo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/wa/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/wo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/xh/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/yi/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/yo/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/za/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/zh/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/zh_CN/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/zh_HK/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/zh_TW/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/locale/zu/LC_MESSAGES/com.github.babluboy.bookworm.mo +share/metainfo/com.github.babluboy.bookworm.appdata.xml