Skip to content

Commit

Permalink
add instructions how to develop on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Feb 12, 2021
1 parent 14defd6 commit eec239c
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,44 @@ For other Copyrights and Licenses see also
share/icons/padre/README.txt
share/icons/gnome218/README.txt

## Development

In order to develop Padre on Ubuntu we will use the system-perl.
Install the available packages using

```
./install_on_ubuntu
```

Then install the remaining missing packages that are not distributed by Ubuntu:

```
curl -L https://cpanmin.us | perl - App::cpanminus
~/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
```

Add the following line to ~/.bashrc (or similar file that is loaded when you open a terminal)

```
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
```

Then open a new terminal and type in

```
perl Makefile.PL
```

Install the missing modules:

```
cpanm Parse::Functions Debug::Client
```

```
perl Makefile.PL
make
./dev
```


29 changes: 29 additions & 0 deletions install_on_ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo apt-get install -y \
libalien-wxwidgets-perl \
libclass-adapter-perl \
libdevel-dumpvar-perl \
libdevel-refactor-perl \
libwx-scintilla-perl \
libwx-perl-processstream-perl \
libtext-patch-perl \
libtext-findindent-perl \
liborlite-migrate-perl \
libmodule-starter-perl \
libparse-errorstring-perl-perl \
libpod-abstract-perl \
libpod2-base-perl \
liblocale-msgfmt-perl \
libmodule-build-perl \
libmodule-manifest-perl \
libppix-editortools-perl \
libppix-regexp-perl \
libparse-exuberantctags-perl \
libtest-mockobject-perl \
libsort-versions-perl

# For Debug::Client:
sudo apt-get install -y \
libtest-class-perl \
libtest-requires-perl \
libtest-checkdeps-perl \
libcpan-meta-check-perl

0 comments on commit eec239c

Please sign in to comment.