linux apt repository
Is there any apt repository with the libpaho-mqtt package, so we can install paho-mqtt without having to build it from source? That would be much easier for the user.
What do you think about using OpenSUSE Build Service to build packages for different linux distributions? I have created a demo hello world program which I build on OBS. AFAIK, for OBS, you have to follow the official Debian packaging method and create a debian directory instead of using CPack. git-buildpackage can help to integrate the debian packaging better with git.
I have done all the debian packaging in a fork on a new debian branch. Can you please create a debian branch in your GitHub repository at the current master commit? Then I could provide a pull request.
I also uploaded the source to an OBS repo. It is building packages for the following Linux distributions:
- Debian_11
- Debian_Testing
- Debian_Unstable
- Raspbian_11
- xUbuntu_20.04
- xUbuntu_20.10
- xUbuntu_21.04
- xUbuntu_21.10
The apt repository can be added as follows on xUbuntu_20.04, for example:
curl -s "https://build.opensuse.org/projects/home:elaunch/public_key" | gpg --dearmor | sudo tee /usr/share/keyrings/obs-elaunch.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/obs-elaunch.gpg] https://download.opensuse.org/repositories/home:/elaunch/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/obs-elaunch.list
Then the development package can be installed with:
sudo apt install libpaho-mqtt-c1-dev
Can you please check if everything is okay? Then this information could be added to the readme.
I've created a debian branch as requested. I'll take a look at the PR once you've created it.
Here it is: #1208
Hi,
I'm a maintainer of paho.mqtt.c package in Debian and Ubuntu.
Versions in distribution repositories:
- Debian testing:
1.3.12 - Debian 12
bookworm:1.3.12 - Debian 11
bullseye:1.3.8 - Ubuntu 22.04
Jammy Jellyfish:1.3.9 - Ubuntu 23.04
Lunar Lobster:1.3.9 - Ubuntu 23.10
Mantic Minotaur:1.3.12
The latest packages for Debian, Raspbian and Ubuntu LTS you can find at https://repos.iqrf.org/.
Hi, while I wrote this issue, paho.mqtt.c was not yet in my distribution. Is there a plan to package paho.mqtt.cpp?
paho.mqtt.cpp is packaged in Debian: https://tracker.debian.org/pkg/paho.mqtt.cpp