When looking for a recent version of CMake 3.2 for Ubuntu 15.04 I came across this PPA. However, instead of CMake 3.2.1 I'd like to use version 3.2.3. How can I easily build upon the existing work done for that PPA to achieve that? I imagine some workflow like
- copy the packages from the PPA to my own newly created PPA
- somehow download the existing build recipes for version 3.2.1 (Using
dget
?) - increase the version string in some file, adjust the changelog etc.
- push the build recipes back to Launchpad to see if it builds
So far I've only been able to find instructions on how to create new PPAs / packages from upstream sources (involving Bazaar branches and what not), but no easy instructions how to build upon existing PPA packages (preferably without involving Bazaar).
Note that I have no experience whatsoever with building / publishing PPAs, and that I'm starting from scratch.
Download cmake 3.2.3 from here.
Extract the tarball, the path should be
cmake-3.2.3
.Now rename the tarball:
mv cmake-3.2.3.tar.gz cmake_3.2.3.orig.tar.gz
Download the packaging part from the ppa for 15.04.
Extract
cmake_3.2.1-1ppa3~vivid1.debian.tar.xz
intocmake-3.2.3
cmake-3.2.3
├── debian
│ ├── changelog
...Update the debian/changelog as follow (just change the signature):
cmake (3.2.3-1ppa1~vivid1) vivid; urgency=medium
* New upstream release.
-- Sylvain PineauTue, 30 Jun 2015 11:24:26 +0200
cmake (3.2.1-1ppa3~vivid1) vivid; urgency=medium
* Fix path to icons in cmake-qt-gui.
-- Nathan OsmanMon, 30 Mar 2015 17:59:20 -0700 Install the build dependencies:
sudo apt-get build-dep cmake
sudo apt-get install liblzma-devBuild a new source package for
cmake
with:cd cmake-3.2.3
dpkg-buildpackage -SUpload the source package to your ppa with:
cd ..
dput ppa:/ cmake_3.2.3-1ppa1~vivid1_source.changes Monitor the build progress in your ppa homepage
No comments:
Post a Comment