jpilot@lists.jpilot.org

General support, questions, patches for J-Pilot.

View all threads

Kubuntu 22.04 install success

J
jpilot@nomad.inbox5.com
Tue, May 31, 2022 9:51 PM

After avoiding sysadmin issues for four years, I upgraded from Kubuntu
18.04 to Kubuntu 22.04.  At first, a big disappointment as there was no
jpilot in the repositories.  It doesn't help that I have a heavily
customized version of Jpilot with vi-bindings that I need to build from
scratch after applying a series of patches. However,  in the end it wasn't
terrifically difficult and I thought I'd relay the steps.

1: Get build dependencies

"apt-get build-dep jpilot" no longer works so I needed to get dependencies
by hand.
Despite being for version 20.04, the .deb packages for libpisock-dev,
libpisock-9, libpysync1 available at https://www.jpilot.org/ubuntu-20.04/
all installed fine.
The full list of dependencies at https://www.jpilot.org/requirements/ was
used to install the remaining required packages ("apt-get install XXX").

2: Get source code

The source code is available at https://github.com/juddmon/jpilot.
I happen to use Mercurial, rather than Git, but the version control tools
can mostly interoperate these days.  No instructions given for how to clone
a repository since that is specific to your VCS.
Because I'm using some patches keyed to old versions of the code base I
found it easiest to update to the tag "release-1.8.x".
Next, I applied my series of custom patches with patch.  I found it useful
to change the AC_INIT line in configure.in to bump the version number to my
own custom 1.8.3 value.

  1. Build code

autogen.sh
./configure --OPTIONS
make

  1. Package code

I found it easiest to modify jpilot.spec with a text editor to customize it
for my machine.
"sudo checkinstall --spec jpilot.spec make install" produces a .deb package
ready for install.

--Rik

After avoiding sysadmin issues for four years, I upgraded from Kubuntu 18.04 to Kubuntu 22.04.  At first, a big disappointment as there was no jpilot in the repositories.  It doesn't help that I have a heavily customized version of Jpilot with vi-bindings that I need to build from scratch after applying a series of patches. However,  in the end it wasn't terrifically difficult and I thought I'd relay the steps. 1: Get build dependencies "apt-get build-dep jpilot" no longer works so I needed to get dependencies by hand. Despite being for version 20.04, the .deb packages for libpisock-dev, libpisock-9, libpysync1 available at https://www.jpilot.org/ubuntu-20.04/ all installed fine. The full list of dependencies at https://www.jpilot.org/requirements/ was used to install the remaining required packages ("apt-get install XXX"). 2: Get source code The source code is available at https://github.com/juddmon/jpilot. I happen to use Mercurial, rather than Git, but the version control tools can mostly interoperate these days.  No instructions given for how to clone a repository since that is specific to your VCS. Because I'm using some patches keyed to old versions of the code base I found it easiest to update to the tag "release-1.8.x". Next, I applied my series of custom patches with patch.  I found it useful to change the AC_INIT line in configure.in to bump the version number to my own custom 1.8.3 value. 3) Build code autogen.sh ./configure --OPTIONS make 4) Package code I found it easiest to modify jpilot.spec with a text editor to customize it for my machine. "sudo checkinstall --spec jpilot.spec make install" produces a .deb package ready for install. --Rik