Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.13 KB

HACKING

File metadata and controls

47 lines (34 loc) · 1.13 KB

Hacking guile-netpbm

-*- mode: org; coding: utf-8; -*-

Contributing

By far the easiest way to hack on guile-netpbm is to develop using Guix:

# Obtain the source code
cd /path/to/source-code
guix environment -l guix.scm
# In the new shell, run:
hall dist --execute && autoreconf -vif && ./configure && make check

You can now hack this project’s files to your heart’s content, whilst testing them from your `guix environment’ shell.

To try out any scripts in the project you can now use

./pre-inst-env scripts/${script-name}

If you’d like to tidy the project again, but retain the ability to test the project from the commandline, simply run:

./hall clean --skip "scripts/${script-name},pre-inst-env" --execute

Manual Installation

If you do not yet use Guix, you will have to install this project’s dependencies manually:

  • autoconf
  • automake
  • pkg-config
  • texinfo
  • guile-hall

Once those dependencies are installed you can run:

hall dist -x && autoreconf -vif && ./configure && make check