OpenSource app Simple Diary

Matthias Apitz guru at unixarea.de
Wed Jan 6 10:37:42 UTC 2021


El día domingo, enero 03, 2021 a las 03:07:55p. m. +0100, Henrik Rosenke escribió:

> 
> Am 03.01.21 um 11:27 schrieb Jan Beich:
> > Henrik Rosenke <rosenke at dssgmbh.de> writes:
> > 
> > > Hello,
> > > 
> > > Am 03.01.21 um 11:12 schrieb Chris:
> > > > On 2021-01-03 01:57, Matthias Apitz wrote:
> > > > > Hello,
> > > > > 
> > > > > In the forum about the mobile Purism L5 someone announced some app
> > > > > to write a
> > > > > diary:
> > > > > 
> > > > > https://forums.puri.sm/t/app-simple-diary/11508
> > > > > https://github.com/johan-bjareholt/simple-diary-gtk
> > > > > 
> > > > > I have below its README file.  Its dependencies are:
> > > > > 
> > > > > - GTK+3
> > > > x11-toolkits/gtk30/ ?
> > > > 
> > > > > - webkit2gtk-4.0
> > > > www/webkit2-gtk3/
> > > > 
> > > > > - md4c and md4c-html - Not quite sure what these might translate to.
> > See https://repology.org/project/md4c/information
> > 
> > > md4c could be contained in qt:
> > > https://doc.qt.io/qt-5/qtgui-attribution-md4c.html
> > > 
> > > but i dont know if our qt is build with this or if another qt port
> > > with this feature exists.
> >  From x11-toolkits/qt5-gui build log:
> > 
> >    Checking for libmd4c... no
> >    [...]
> >    Qt Gui:
> >      Text formats:
> >        MarkdownReader ....................... yes
> >          Using system libmd4c ............... no
> > 
> > http://beefy6.nyi.freebsd.org/data/121amd64-default/559329/logs/qt5-gui-5.15.2_2.log
> 
> I created a new port for md4c and md2html with the sources from
> https://github.com/mity/md4c
> 
> Maybe could a Commiter take a look on
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252383

Thank you all for the comments and esp. Hendrik for the port. I fetched
it from PR 252383 at bugs.freebsd.org and it built fine. I had to install in addition
the following ports (all from a very recent ports tree, November 30):

# pkg info | egrep 'gtk3|webki|md4|meson|ninja'
gtk3-3.24.23_2                 Gimp Toolkit for X11 GUI (current stable version)
kf5-kdewebkit-5.76.0           KF5 library providing integration of QtWebKit
libcanberra-gtk3-0.30_5        Implementation of the Freedesktop sound theme spec
md4c-0.4.7                     Markdown Parser written in C
meson-0.56.0                   High performance build system
ninja-1.10.1,2                 Small build system closest in spirit to Make
qt5-webkit-5.212.0.a4_4        QtWebKit with a more modern WebKit code base
webkit2-gtk3-2.30.1_2          Opensource browser engine using the GTK+ 3 toolkit

With this the build of the app was just as simple as written in its
README.md:

$ meson build && ninja -C build

The app starts fine and I have here a screen of my plasma desktop with
the app and some text and a photo:

http://www.unixarea.de/Screenshot_20210106_112307.png

Next challenge is how to get this onto my Ubuntu based mobile...
But this is not FreeBSD land anymore :-)

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20210106/ec1c6b9a/attachment.sig>


More information about the freebsd-ports mailing list