Giter Site home page Giter Site logo

Comments (5)

sp1ritCS avatar sp1ritCS commented on May 17, 2024 2

I gave it a shot. The hard thing will be to compile gtksourceviewmm. This is what I came up with, but it fails with

Package 'configure: error: Package requirements (atk >= 1.18 glibmm-2.64 >= 2.63.1) were not met:

Package 'glibmm-2.64', required by 'virtual:world', not found

during the compilation of atkmm, even though glibmm v. 2.64.2 is built.

com.github.blackhole89.notekit.yaml (less important atm, will not work anyways as it does not install the data & sourceview dirs):

app-id: com.github.blackhole89.notekit
command: notekit
runtime: org.gnome.Platform
runtime-version: '3.38'
sdk: org.gnome.Sdk
finish-args:
  - --socket=x11,
  - --device=dri
modules:
  - name: jsoncpp
    buildsystem: meson
    sources:
      - type: git
        url: https://github.com/open-source-parsers/jsoncpp
  - gtksourceviewmm.yaml 
  - name: notekit
    sources: 
      - type: git
        url: https://github.com/blackhole89/notekit.git
    buildsystem: cmake

gtksourceviewmm.yaml (If this works, the rest should be easy):

modules:
  - name: mm-common
    sources: 
      - type: archive
        url: http://ftp.gnome.org/pub/GNOME/sources/mm-common/1.0/mm-common-1.0.2.tar.xz
        sha256: a2a99f3fa943cf662f189163ed39a2cfc19a428d906dd4f92b387d3659d1641d
    buildsystem: meson
  - name: graphviz
    sources:
      - type: git
        url: https://gitlab.com/graphviz/graphviz.git
    buildsystem: autotools

  - name: sigc++
    sources:
      - type: git
        url: https://github.com/libsigcplusplus/libsigcplusplus.git
        tag: 2.10.4
    buildsystem: meson
  - name: glibmm
    sources:
      - type: git
        url: https://gitlab.gnome.org/GNOME/glibmm.git
        tag: 2.64.2
    buildsystem: meson
  - name: cairomm
    sources: 
      - type: git
        url: git://git.cairographics.org/git/cairomm
        tag: 1.14.2
    buildsystem: autotools 
  - name: pangomm
    sources: 
      - type: git
        url: https://gitlab.gnome.org/GNOME/pangomm.git
        tag: 2.42.1
    buildsystem: meson
  - name: atkmm
    sources:
      - type: git
        url: https://gitlab.gnome.org/GNOME/atkmm.git
        commit: 5a420b4c62158e7f71796cb4a73532f91f1ebb5a
    buildsystem: autotools
  - name: gtkmm
    sources:
      - type: git
        url: https://gitlab.gnome.org/GNOME/gtkmm.git
        tag: 3.24.1
    buildsystem: autotools
name: gtksourceviewmm
sources: 
  - type: git
    url : https://gitlab.gnome.org/GNOME/gtksourceviewmm.git
    tag: 3.21.3
buildsystem: autotools

@bilelmoussaoui you offered to help in #42 . Could you take I look at this?

from notekit.

bilelmoussaoui avatar bilelmoussaoui commented on May 17, 2024 2

Definitely, I will have a look today

from notekit.

blackhole89 avatar blackhole89 commented on May 17, 2024

Thanks!

Flatpak has been suggested before (#42), but my last attempt to create a package ended in more than a day sunk into reading documentation with nothing to show for it, so at this point I'm kind of reluctant to spend more time on it myself, especially considering that there are multiple different systems of the kind (AppImage, Snap...) which all have been requested and all seem to be fraught with their own difficulties. (With Flatpak, I vaguely remember struggling with packaging up all Gtk+ dependencies, and with making it be able to read/write from the host file system.)

I'd still be very grateful for any pull requests with the appropriate build scripts.

from notekit.

folknor avatar folknor commented on May 17, 2024

I've never understood why anyone would prefer flatpaks or snaps compared to AppImage.

I realise that now that gnome-software and other stores publish flatpaks it makes the application more discoverable to more users when you publish on flathub. But that wasn't true a few years ago, and the merits of either system hasn't changed since then. Why did flatpaks and snaps "win"? The porn industry hasn't adopted any, as far as I know. They usually decide this sort of thing.

AppImages you just download, optionally chmod +x, and run. Flatpak and snaps require the system to have additional software installed. Makes zero sense to me. AppImages seem to me to be infinitely better.

I just wanted to voice my opinion for posterity, especially in light of #54 (comment). But perhaps I'm just spamming/ranting needlessly.

from notekit.

sp1ritCS avatar sp1ritCS commented on May 17, 2024

I've never understood why anyone would prefer flatpaks or snaps compared to AppImage.

I realise that now that gnome-software and other stores publish flatpaks it makes the application more discoverable to more users when you publish on flathub. But that wasn't true a few years ago, and the merits of either system hasn't changed since then. Why did flatpaks and snaps "win"? The porn industry hasn't adopted any, as far as I know. They usually decide this sort of thing.

AppImages you just download, optionally chmod +x, and run. Flatpak and snaps require the system to have additional software installed. Makes zero sense to me. AppImages seem to me to be infinitely better.

I just wanted to voice my opinion for posterity, especially in light of #54 (comment). But perhaps I'm just spamming/ranting needlessly.

Well, Flatpaks integrate a lot better with the system than AppImages. With AppImages you put the program in charge of updating, adding desktop entries, etc. similar to applications on M$ windows have to install themselves.

AppImages are fine if you just want to try an application without committing to it (or for nightly builds) but I wouldn't use them for any application I want to actively use. I prefer local packages for anything that is available for it, and flatpaks for anything that is not, and for sandboxing non-free software.

Nonetheless, it is your choice what you want to use, and I actually built appimages for notekit, here. But keep in mind that this AppImages doesn't self-update nor adds an desktop entry.

from notekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.