Commit c55c175b authored by Maren Hachmann's avatar Maren Hachmann

Update script for using with Ubuntu 18.04

parent 1b9b29b1
## What do you need this for?
If you want to help the Inkscape project by testing feature branches (branches of the Inkscape code that have been created by a developer
If you want to help the Inkscape project by testing feature branches (branches of the Inkscape code that have been created by a developer
to work on a specific feature), or if you would like to install multiple Inkscape versions in parallel on Linux, this script is for you.
When run on the command line with the name of an Inkscape branch, it will build a package of it that it installs into a separate
location for that branch. It will also create a start script file on your desktop, that needs to be run to start the Inkscape program
for that branch. This is necessary to make sure that the different Inkscape versions will not mess up each others' preferences and
When run on the command line with the name of an Inkscape branch, it will build a package of it that it installs into a separate
location for that branch. It will also create a start script file on your desktop, that needs to be run to start the Inkscape program
for that branch. This is necessary to make sure that the different Inkscape versions will not mess up each others' preferences and
will not disturb how extensions work.
The builds created by this script will not interfere with an Inkscape installation that has been installed via package management
(ppa or official repositories) or snap.
The builds created by this script will not interfere with an Inkscape installation that has been installed via package management
(ppa or official repositories) or snap.
This means that you can continue to use your stable Inkscape version, and have other versions available for testing.
......@@ -18,17 +18,17 @@ This means that you can continue to use your stable Inkscape version, and have o
### Step 1: Install required software:
To execute this script, you will need:
`libnotify`, `git`, `checkinstall` and all dependencies for building the main program (find an always up-to-date list
To execute this script, you will need:
`libnotify`, `git`, `checkinstall` and all dependencies for building the main program (find an always up-to-date list
[here](https://gitlab.com/inkscape/inkscape-ci-docker/blob/master/Dockerfile)), and `cmake`.
As of 2017-08-15, this means that you need to execute this installation command on the command line (tested for Ubuntu 16.04 and Ubuntu 17.10):
As of 2018-07-29, this means that you need to execute this installation command on the command line (tested for Ubuntu 16.04, Ubuntu 17.10 and Ubuntu 18.04):
`sudo apt-get install git libnotify-bin checkinstall intltool pkg-config python-dev libtool ccache libart-2.0-dev libaspell-dev libboost-dev libcdr-dev libgc-dev libgdl-3-dev libglib2.0-dev libgnomevfs2-dev libgsl-dev libgtk-3-dev libgtkmm-3.0-dev libgtkspell-dev libgtkspell3-3-dev libjemalloc-dev liblcms2-dev libmagick++-dev libpango1.0-dev libpng-dev libpoppler-glib-dev libpoppler-private-dev libpopt-dev libpotrace-dev librevenge-dev libsigc++-2.0-dev libsoup2.4-dev libvisio-dev libwpg-dev libxml-parser-perl libxml2-dev libxslt1-dev libyaml-dev python-lxml zlib1g-dev cmake`
`sudo apt-get install git libnotify-bin checkinstall intltool pkg-config python-dev libtool ccache libart-2.0-dev libaspell-dev libboost-dev libcdr-dev libgc-dev libgdl-3-dev libglib2.0-dev libgnomevfs2-dev libgsl-dev libgtk-3-dev libgtkmm-3.0-dev libgtkspell-dev libgtkspell3-3-dev libjemalloc-dev liblcms2-dev libmagick++-dev libpango1.0-dev libpng-dev libpoppler-glib-dev libpoppler-private-dev libpopt-dev libpotrace-dev librevenge-dev libsigc++-2.0-dev libsoup2.4-dev libvisio-dev libwpg-dev libxml-parser-perl libxml2-dev libxslt1-dev libyaml-dev python-lxml zlib1g-dev cmake libgtkmm-2.4-dev`
### Step 2: Get the source code:
The script will by default look for the Inkscape source code in your documents directory. To find out where that is type `xdg-user-dir DOCUMENTS`
The script will by default look for the Inkscape source code in your documents directory. To find out where that is type `xdg-user-dir DOCUMENTS`
on the command line. Either in that directory, or in another directory of your choice, clone the git repository for Inkscape:
```
......@@ -41,7 +41,7 @@ git clone https://gitlab.com/inkscape/inkscape.git
### Step 3: Adapt the script:
Adapt the parameters of this script (see line 30+, the comments explain what they will do. Default parameters will work okay, too, for almost all values.
The only really important thing is the location of the git clone you made in step 2.). If you did not use your documents directory for it,
The only really important thing is the location of the git clone you made in step 2.). If you did not use your documents directory for it,
then you need to write the correct path at ~ line 41, by replacing the text inside the quotations of "$DOCUMENTS_DIR/inkscape".
### Step 4: Run the script:
......@@ -70,21 +70,21 @@ Near the end of the process, it will ask you to enter your password once, to be
### Step 5: Start your fresh Inkscape version:
The script will place a new file in your desktop directory, that you **must** use to start the new Inkscape version (if you don't,
you risk messing up preferences and also testing the wrong version).
The script will place a new file in your desktop directory, that you **must** use to start the new Inkscape version (if you don't,
you risk messing up preferences and also testing the wrong version).
If your desktop environment allows files in your Desktop directory to appear on the desktop (on Unity, this does not seem to work,
but on Xfce, it does) just double-click the file on your desktop to execute. Else navigate to the folder and double-click the file, or
If your desktop environment allows files in your Desktop directory to appear on the desktop (on Unity, this does not seem to work,
but on Xfce, it does) just double-click the file on your desktop to execute. Else navigate to the folder and double-click the file, or
run it via terminal.
You can verify the version in the Help > About submenu.
You can verify the version in the Help > About submenu.
And now: have fun playing around with the other versions :) (and please report your findings to the developers).
### Uninstall branch packages again
When a branch has been merged into the official Inkscape development branch, and you do not want and need it anymore, your local
build can be uninstalled (they tend to accumulate ;-)). To get a nice list of all the different Inkscape versions that are installed
When a branch has been merged into the official Inkscape development branch, and you do not want and need it anymore, your local
build can be uninstalled (they tend to accumulate ;-)). To get a nice list of all the different Inkscape versions that are installed
on your system, do:
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment