Skip to content

planck-repl/ubuntu-ppa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

ubuntu-ppa

Create Sources Archive

On Ubuntu, clone and then make a sources archive that includes all necessary JARs.

Note: If upgrading to a newer clj tool version, then debian/source-include-binaries needs to be updated.

If a release has not yet been made for the desired release version, follow these steps:

  1. ssh to Ubuntu build box.
  2. curl -O https://download.clojure.org/install/linux-install-1.10.1.763.sh
  3. chmod +x linux-install-1.10.1.763.sh
  4. sudo ./linux-install-1.10.1.763.sh
  5. git clone https://github.com/planck-repl/planck
  6. git clone https://github.com/planck-repl/ubuntu-ppa
  7. cp -r ubuntu-ppa/debian planck
  8. cd planck
  9. cp /usr/local/bin/clojure planck-cljs/script
  10. cp /usr/local/lib/clojure/deps.edn planck-cljs/script
  11. cp /usr/local/lib/clojure/example-deps.edn planck-cljs/script
  12. cp -r /usr/local/lib/clojure/libexec planck-cljs/script/libexec (make sure files copied are listed in debian/source/include-binaries)
  13. Edit planck-cljs/script/clojure and revise install_dir to be script
  14. script/build-sandbox
  15. BUILD_PPA=1 script/clean
  16. cd ..
  17. tar cvzf planck_2.<x>.<y>.orig.tar.gz planck

To check that there are no problems building in a sandbox, unarchive the above into a new directory in /tmp, export HOME=/sbuild-nonexistent, and try script/build-sandbox.

If a release has already been made for the desired release version, and a release for a new Ubuntu version is desired, use the existing planck_2.<x>.<y>.orig.tar.gz file. (Go onto LaunchPad and download a previous copy if needed.)

If the planck tree is no longer available:

  1. tar xvzf planck_2.24.0.orig.tar.gz

Configure PPA Build Files

  1. For a given Ubuntu release, copy debian/control.<ubuntu-release> and debian/changelog.<ubuntu-release> to unsuffixed versions.
  2. Set the 2.<x>.<y> version number in debian/changelog appropriately.

Create Build

  1. Go into the planck directory
  2. debuild -S -sa

Upload Build

  1. cd to the top
  2. dput ppa:mfikes/planck planck_2.<x>.<y>-1ppa1~<ubuntu-release>1_source.changes

License

Copyright © 2018–2020 Mike Fikes and Contributors

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Releases

No releases published

Packages

No packages published