GithubHelp home page GithubHelp logo

Dlackware Gnome build system and installer

Build Status License

This is the build system used to build systemd and Dlackware Gnome distribution for Slackware Linux.

This repository doesn't contain any packages, please refer to another repositories in the Dlackware organization if you are looking for packages.

Build and install Dlackware build system

  1. Install Haskell stack:
wget -qO- https://get.haskellstack.org/ | sh
  1. Clone this repository:
git clone https://github.com/Dlackware/dlackware.git
  1. Then switch to the cloned directory:
cd dlackware
  1. Build the build system:
stack build

It will take some time to download the dependencies on first run.

  1. After that you can run the build system with:
stack exec dlackware -- …

Just replace with the arguments that should be passed to the build system. You can get a list of supported commands and command line arguments with:

stack exec dlackware -- --help

Configuration

The configuration is described by a YAML file, that should be in ./etc/dlackware.yaml.

Sample configuratin can be found in ./etc/dlackware.yaml.new. Just copy this file to ./etc/dlackware.yaml and change as appropriate.

The configuration is very simple and all options can be found in the sample configuration file mentioned above.

  • reposRoot specifies the root directory used to find the packages to be built.
  • loggingDirectory is the directory there the build system writes its log files, one file per built package.
  • temporaryDirectory is the directory used to build the actual software. This directory should have enough free space to be able to build large projects, like Gnome.
  • repos is a list of directories (relative to reposRoot) that contain compile-order files, text files with a list of packages in the order these should be built. Dlackware doesn't look into the directory structure to find the packages; only the packages mentioned in compile-orders are built.
  • gnomeVersion is the Gnome version to work with.

Running the tests

stack test --pedantic

stack build hlint
stack exec hlint -- src test

Auto-updater

Dlackware has capabilities to update many Gnome build scripts to newer versions automatically. It relies on information provided by Gnome maintainers to do so. Following information is required:

  • Versions file (text file)
  • BuildStream meta data (.tar-archive)

These can be downloaded from https://download.gnome.org/teams/releng. Extract gnome-GNOME.VERSION.tar.xz, rename the directory inside it into gnome and put it into ./etc. Place versions in ./etc as well.

Now you can execute:

stack exec dlackware -- update-gnome

The updater makes its best effort to recognize the packages that need to be updated and modify the .info files, you still need to check whether the updates are made correctly.

Dlackware's Projects

Dlackware doesn’t have any public repositories yet.

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.