UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    app Simple Diary

    Scheduled Pinned Locked Moved App Development
    4 Posts 2 Posters 534 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • G Offline
        guru
        last edited by

        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
        • webkit2gtk-4.0
        • md4c and md4c-html

        Can we fullfill them?

        Thanks

        matthias

        Simple Diary

        Simple and lightweight diary app.

        Many features are still missing as this is a work in progress.

        Features

        • Saves entries in markdown
        • Adding images to your entries
        • Works for small form factor devices
        • Flatpak support

        Dependencies

        • GTK+3
        • webkit2gtk-4.0
        • md4c and md4c-html

        Building

        Meson

        First install dependencies listed above

        Secondly run the following: meson build && ninja -C build

        Executable will be built at build/src/simple-diary

        Flatpak

        Build the org.johanbjare.SimpleDiary.yml manifest as with any other flatpak
        manifest with flatpak-builder

        joniusJ 1 Reply Last reply Reply Quote 0
        • joniusJ Offline
          jonius @guru
          last edited by

          @guru it should be possible, but you would probably need to build and ship a build of GTK+3 with the app. Porting a Qt or HTML based app would be much easier.

          1 Reply Last reply Reply Quote 0
          • G Offline
            guru
            last edited by

            On my beloved FreeBSD I had to install 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 needs around 120 shared libs. It starts fine and I have here a screen of my plasma desktop with the app and some text and a photo:

            Screenshot_20210106_112307.png

            1 Reply Last reply Reply Quote 0
            • joniusJ Offline
              jonius
              last edited by

              See Documentation for how to build the click with dependencies. You can check which dependencies can be installed from Ubuntu 16.04 Xenial repos in a version that fits the requirement. Maybe you'll find also PPAs to provide them. Otherwise you need to build them yourself.

              But all of this is mentioned in the documentation linked above.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post