Index: head/deskutils/Makefile =================================================================== --- head/deskutils/Makefile (revision 514534) +++ head/deskutils/Makefile (revision 514535) @@ -1,286 +1,287 @@ # $FreeBSD$ # COMMENT = Things that used to be on the desktop before computers were invented SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard SUBDIR += akonadiconsole SUBDIR += akregator SUBDIR += alarm-clock-applet SUBDIR += anamnesis SUBDIR += anydesk SUBDIR += appwrapper SUBDIR += aspostit SUBDIR += autocutsel SUBDIR += baobab SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear SUBDIR += bijiben SUBDIR += bitcollider SUBDIR += cairo-dock SUBDIR += cairo-dock-plugins SUBDIR += caja-extensions SUBDIR += cal SUBDIR += calcurse SUBDIR += calibre SUBDIR += cartotheque SUBDIR += cfiles SUBDIR += charmtimetracker SUBDIR += chart SUBDIR += cherrytree SUBDIR += clipit SUBDIR += conduit SUBDIR += conkyemail SUBDIR += conkyforecast SUBDIR += copyq SUBDIR += countdown SUBDIR += cycle SUBDIR += dailystrips SUBDIR += deforaos-todo SUBDIR += devd-notifier SUBDIR += dfshow SUBDIR += dlume SUBDIR += docear SUBDIR += dosage SUBDIR += easystroke SUBDIR += egroupware SUBDIR += everygui SUBDIR += fasd SUBDIR += fbreader SUBDIR += fet SUBDIR += flameshot + SUBDIR += foliate SUBDIR += freemind SUBDIR += freeplane SUBDIR += ganttproject SUBDIR += ganyremote SUBDIR += gbirthday SUBDIR += gcal SUBDIR += gcalcli SUBDIR += genius SUBDIR += gkrellm-reminder2 SUBDIR += glabels SUBDIR += gnome-calendar SUBDIR += gnome-characters SUBDIR += gnome-clocks SUBDIR += gnome-contacts SUBDIR += gnome-dictionary SUBDIR += gnome-documents SUBDIR += gnome-font-viewer SUBDIR += gnome-initial-setup SUBDIR += gnome-maps SUBDIR += gnome-photos SUBDIR += gnome-screenshot SUBDIR += gnome-search-tool SUBDIR += gnome-shell-extension-audio-output-switcher SUBDIR += gnome-shell-extension-coverflow SUBDIR += gnome-shell-extension-dashtodock SUBDIR += gnome-shell-extension-filesmenu SUBDIR += gnome-shell-extension-hidetopbar SUBDIR += gnome-shell-extension-lockkeys SUBDIR += gnome-shell-extension-mediaplayer SUBDIR += gnome-shell-extension-openweather SUBDIR += gnome-shell-extension-panel-osd SUBDIR += gnome-shell-extension-recent-items SUBDIR += gnome-shell-extension-trash SUBDIR += gnome-shell-extension-weather SUBDIR += gnome-shell-extension-windowoverlay-icons SUBDIR += gnome-shell-extra-extensions SUBDIR += gnome-sound-recorder SUBDIR += gnome-system-log SUBDIR += gnome-todo SUBDIR += gnome-tweaks SUBDIR += gnome-utils SUBDIR += gnome-weather SUBDIR += gnote SUBDIR += gnustep-wrapper SUBDIR += go-for-it SUBDIR += goesimage SUBDIR += gourmet SUBDIR += gpicker SUBDIR += grantlee-editor SUBDIR += grantleetheme SUBDIR += griffith SUBDIR += growl-for-linux SUBDIR += gsimplecal SUBDIR += gtg SUBDIR += gtimer SUBDIR += gucharmap SUBDIR += gworkspace SUBDIR += gworkspace-gwmetadata SUBDIR += gxmessage SUBDIR += gxneur SUBDIR += hebcal SUBDIR += helpviewer SUBDIR += horde-groupware SUBDIR += horde-kronolith SUBDIR += horde-mnemo SUBDIR += horde-nag SUBDIR += hot-babe SUBDIR += howm SUBDIR += ical SUBDIR += jjclient SUBDIR += jlj SUBDIR += kaddressbook SUBDIR += kalarm SUBDIR += kcharselect SUBDIR += kchmviewer SUBDIR += kdeconnect-kde SUBDIR += kdepim SUBDIR += kdepim-addons SUBDIR += kdepim-apps-libs SUBDIR += kdepim-runtime SUBDIR += keditbookmarks SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard SUBDIR += knotes SUBDIR += kontact SUBDIR += korganizer SUBDIR += kruler SUBDIR += latte-dock SUBDIR += libkdepim SUBDIR += libopensync-plugin-vformat-devel SUBDIR += ljcharm SUBDIR += ljclive SUBDIR += ljit SUBDIR += logjam SUBDIR += lookbook SUBDIR += lumina-archiver SUBDIR += lumina-calculator SUBDIR += lumina-fileinfo SUBDIR += lumina-fm SUBDIR += lumina-mediaplayer SUBDIR += lumina-pdf SUBDIR += lumina-photo SUBDIR += lumina-screenshot SUBDIR += lumina-textedit SUBDIR += lxqt-notificationd SUBDIR += mat SUBDIR += mate-notification-daemon SUBDIR += mate-utils SUBDIR += mbox-importer SUBDIR += mdh SUBDIR += mencal SUBDIR += menumaker SUBDIR += meteo SUBDIR += moregroupware SUBDIR += mozo SUBDIR += myitcrm SUBDIR += nautilus-actions SUBDIR += nautilus-sendto SUBDIR += nemo-extensions SUBDIR += nextcloudclient SUBDIR += note SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd SUBDIR += orage SUBDIR += osmo SUBDIR += osynctool SUBDIR += owncloudclient SUBDIR += p5-Data-ICal SUBDIR += p5-Data-ICal-DateTime SUBDIR += p5-Goo SUBDIR += pal SUBDIR += parcellite SUBDIR += pet SUBDIR += phpicalendar SUBDIR += pim-data-exporter SUBDIR += pim-sieve-editor SUBDIR += pinot SUBDIR += plan SUBDIR += plans SUBDIR += plasma5-milou SUBDIR += plasma5-sddm-kcm SUBDIR += plopfolio SUBDIR += preferences SUBDIR += projectlibre SUBDIR += puush SUBDIR += py-autokey SUBDIR += py-bugwarrior SUBDIR += py-khal SUBDIR += py-khard SUBDIR += py-paperless SUBDIR += py-py3status SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw SUBDIR += py-todoman SUBDIR += py-vdirsyncer SUBDIR += py-vobject SUBDIR += pybookreader SUBDIR += pypanel SUBDIR += qlipper SUBDIR += qownnotes SUBDIR += recoll SUBDIR += remind SUBDIR += rolo SUBDIR += rox-memo SUBDIR += rubrica SUBDIR += rubygem-shellplay SUBDIR += rubygem-taskjuggler SUBDIR += semantik SUBDIR += showdown SUBDIR += shutter SUBDIR += simpleagenda SUBDIR += sliderule SUBDIR += spice-gtk SUBDIR += sugarcrm SUBDIR += synapse SUBDIR += syncthing-gtk SUBDIR += syncthingtray SUBDIR += sysctlview SUBDIR += systempreferences SUBDIR += taskcoach SUBDIR += taskd SUBDIR += tasksh SUBDIR += taskwarrior SUBDIR += teapot SUBDIR += tel SUBDIR += thinkingrock SUBDIR += timewarrior SUBDIR += tine20 SUBDIR += tnote SUBDIR += todo SUBDIR += tomboy SUBDIR += tomboy-plugin-latex SUBDIR += tomboy-plugin-reminder SUBDIR += tomboy-plugin-todo SUBDIR += toolboxkit SUBDIR += tpb SUBDIR += treeline SUBDIR += treesheets SUBDIR += virt-manager SUBDIR += vit SUBDIR += vnc2flv SUBDIR += wammu SUBDIR += when SUBDIR += wmpinboard SUBDIR += wyrd SUBDIR += x026 SUBDIR += xcalendar SUBDIR += xchm SUBDIR += xfce4-generic-slider SUBDIR += xfce4-notes-plugin SUBDIR += xfce4-notifyd SUBDIR += xfce4-tumbler SUBDIR += xfce4-volumed SUBDIR += xfce4-volumed-pulse SUBDIR += xfce4-xkb-plugin SUBDIR += xmdiary SUBDIR += xneur SUBDIR += xpad SUBDIR += xpad3 SUBDIR += xpostit SUBDIR += xpostitPlus SUBDIR += xrolo SUBDIR += xwrits SUBDIR += zanshin SUBDIR += zim SUBDIR += znotes SUBDIR += zorro .include Index: head/deskutils/foliate/Makefile =================================================================== --- head/deskutils/foliate/Makefile (nonexistent) +++ head/deskutils/foliate/Makefile (revision 514535) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= foliate +PORTVERSION= 1.5.3 +CATEGORIES= deskutils + +MAINTAINER= fox@FreeBSD.org +COMMENT= Simple and modern GTK eBook viewer + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= appstream-util:devel/appstream-glib \ + gjs-console:lang/gjs +LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 +RUN_DEPENDS= gjs-console:lang/gjs + +USES= desktop-file-utils gnome localbase meson python:3.6+ shebangfix +USE_GNOME= cairo gtk30 introspection + +INSTALLS_ICONS= yes + +SHEBANG_FILES= ${WRKSRC}/build-aux/meson/postinstall.py \ + ${WRKSRC}/src/assets/KindleUnpack/*.py + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext + +USE_GITHUB= yes +GH_ACCOUNT= johnfactotum + +GLIB_SCHEMAS= com.github.johnfactotum.Foliate.gschema.xml + +INSTALLATION_DIRS+= libexec/foliate + +post-patch: + @${REINPLACE_CMD} -e 's/@PYTHON_VERSION@/${PYTHON_VERSION}/g' \ + ${WRKSRC}/src/main.js + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/foliate + @${MV} ${STAGEDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \ + ${STAGEDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate + @${RLN} ${STAGEDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate \ + ${STAGEDIR}${PREFIX}/bin/foliate + +.include Property changes on: head/deskutils/foliate/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/foliate/distinfo =================================================================== --- head/deskutils/foliate/distinfo (nonexistent) +++ head/deskutils/foliate/distinfo (revision 514535) @@ -0,0 +1,3 @@ +TIMESTAMP = 1570210540 +SHA256 (johnfactotum-foliate-1.5.3_GH0.tar.gz) = 95f45c0511493a3c732f9a199ddc2b5851a220d74d93e6d14976f29f243ee2d7 +SIZE (johnfactotum-foliate-1.5.3_GH0.tar.gz) = 1486573 Property changes on: head/deskutils/foliate/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py =================================================================== --- head/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py (nonexistent) +++ head/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py (revision 514535) @@ -0,0 +1,16 @@ +Fixes unicode display correctly, this prevents crashing on opening +(kindle format files). + +--- src/assets/KindleUnpack/kindleunpack.py.orig 2019-10-07 19:55:37 UTC ++++ src/assets/KindleUnpack/kindleunpack.py +@@ -952,8 +952,8 @@ def main(argv=unicode_argv()): + global SPLIT_COMBO_MOBIS + + print("KindleUnpack v0.82") +- print(" Based on initial mobipocket version Copyright © 2009 Charles M. Hannum ") +- print(" Extensive Extensions and Improvements Copyright © 2009-2014 ") ++ print(" Based on initial mobipocket version Copyright © 2009 Charles M. Hannum ".encode("utf-8")) ++ print(" Extensive Extensions and Improvements Copyright © 2009-2014 ".encode("utf-8")) + print(" by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo.") + print(" This program is free software: you can redistribute it and/or modify") + print(" it under the terms of the GNU General Public License as published by") Property changes on: head/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/foliate/files/patch-src_main.js =================================================================== --- head/deskutils/foliate/files/patch-src_main.js (nonexistent) +++ head/deskutils/foliate/files/patch-src_main.js (revision 514535) @@ -0,0 +1,13 @@ +Adds variable to help substitute the correct python version suffix. + +--- src/main.js.orig 2019-10-07 20:11:48 UTC ++++ src/main.js +@@ -1796,7 +1796,7 @@ class BookViewerWindow { + } + open(fileName, realFileName, inputType = 'epub') { + if (kindleExts.some(x => fileName.endsWith(x))) { +- const python = GLib.find_program_in_path('python') || GLib.find_program_in_path('python3') ++ const python = GLib.find_program_in_path('@PYTHON_VERSION@') + const kindleUnpack = pkg.pkgdatadir + '/assets/KindleUnpack/kindleunpack.py' + + const dir = GLib.dir_make_tmp(null) Property changes on: head/deskutils/foliate/files/patch-src_main.js ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/foliate/pkg-descr =================================================================== --- head/deskutils/foliate/pkg-descr (nonexistent) +++ head/deskutils/foliate/pkg-descr (revision 514535) @@ -0,0 +1,4 @@ +Foliate is a simple and modern GTK eBook viewer, built with GJS and +Epub.js. + +WWW: https://johnfactotum.github.io/foliate/ Property changes on: head/deskutils/foliate/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/foliate/pkg-plist =================================================================== --- head/deskutils/foliate/pkg-plist (nonexistent) +++ head/deskutils/foliate/pkg-plist (revision 514535) @@ -0,0 +1,46 @@ +bin/foliate +libexec/foliate/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 Property changes on: head/deskutils/foliate/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property