Git Product home page Git Product logo

flathub's Introduction

HOW TO BUILD MIKUTTER FLATPAK

PREREQUISITE

flatpak-builder

Quick setup guide

Update version number in config

Edit 2 files.

  1. net.hachune.mikutter.git-source.json
    Update "tag" field.
  2. net.hachune.mikutter.appdata.xml
    Prepend new <release/> element to <releases>. See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases . To test appstream file, run appstream-util validate-strict net.hachune.mikutter.appdata.xml.

Update RubyGems dependencies

# pwd is mikutter repository root
git checkout X.Y.Z # checkout correct revision
rm -rf vendor/cache
bundle install
bundle package # cache gems in vendor/cache
# update rubygems-module.json
ruby flatpak-builder-tools/rubygems/flatpak_rubygems_generator.rb \
  --source net.hachune.mikutter.git-source.json \
  -o net.hachune.mikutter.rubygems-module.json

See also

BUILD

# pwd is flatpak repository root
flatpak install flathub org.gnome.Platform//3.28 org.gnome.Sdk//3.28
flatpak-builder build-dir net.hachune.mikutter.yaml
# to rebuild
flatpak-builder --force-clean build-dir net.hachune.mikutter.yaml

TEST

flatpak-builder --run build-dir net.hachune.mikutter.yaml mikutter
# setting up repo and run in **production environment**
flatpak-builder --repo=local-repo-dir --force-clean build-dir net.hachune.mikutter.yaml
flatpak --user remote-add --no-gpg-verify local-repo local-repo-dir
flatpak --user install local-repo net.hachune.mikutter
flatpak run net.hachune.mikutter

flathub's People

Contributors

yuntan avatar

Watchers

 avatar  avatar

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.