Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebuilt Stable Releases for Ubuntu #1013

Closed
MuTaTeD opened this issue Mar 25, 2019 · 15 comments
Closed

Prebuilt Stable Releases for Ubuntu #1013

MuTaTeD opened this issue Mar 25, 2019 · 15 comments
Assignees
Milestone

Comments

@MuTaTeD
Copy link
Contributor

MuTaTeD commented Mar 25, 2019

Hi,
The pre-built releases for Ubuntu (.deb) are available for the Master channel (as per the installation instructions in the Readme file), Can you provide ppa and or .deb releases for Stable channel for 1.0.8 since only source code is available for Linux versions...

@andreasb242 andreasb242 self-assigned this Mar 25, 2019
@andreasb242
Copy link
Contributor

I have to check this - but it should be relative easy, we only need to think to merge our stable branch if we create a release

@LittleHuba
Copy link
Member

I assume this can be closed as we do provide .deb releases in our nightly pipeline now. As the normal release pipeline will be based on this one it will be fixed for all releases.

@Technius
Copy link
Member

Technius commented Feb 1, 2020

We currently have stable releases for 16.04 but not 18.04 (which most users have already moved to).

@bittner
Copy link

bittner commented Feb 16, 2020

Just a (maybe stupid) question: Please excuse!

There is the xournal Ubuntu package, which is currently version 0.4.8, in other words, hopelessly outdated:

$ dpkg -l xournal
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name         Version              Architecture    Description
+++-============-===============-====================-=================================
ii  xournal      1:0.4.8-1build1      amd64           GTK+ Application for note taking

On flatpack there seem to be two packages, the outdated "xournal" package and the "xournalpp":

$ flatpak search xournal
Application ID                 Version    Branch Remotes Description                                                                
net.sourceforge.xournal        0.4.8.2016 stable flathub Application for notetaking, sketching, and keeping a journal using a stylus
com.github.xournalpp.xournalpp 1.0.16     stable flathub Take handwritten notes

I only found out by accident (two videos on YouTube) that the Xournal project (seems to have evolved, the source code is finally available on GitHub, contributions are easier and actually happening, and) has a "++" version that has new, long-awaited features.

Are there any efforts ongoing or planned to reduce the confusion and update the old package or remove it from the package index?

@Technius
Copy link
Member

Technius commented Feb 16, 2020

Xournal and Xournal++ are different projects maintained by a different set of people. Xournal++ (this project) is a fork and modern C++ port/rewrite of Xournal (the one hosted on SourceForge, written in C) with more features. Xournal++ is not 100% stable and modern yet, as evidenced by our issue tracker, but we're working on it.

@JulianGro
Copy link

Would be cool if the PPA could have a stable version. Kind of annoying to get an update notification every day, just for this one package.

@Technius
Copy link
Member

I agree. @andreasb242 can help set this up.

@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Sep 15, 2020

I have made a stable PPA for Xournal++. https://launchpad.net/~apandada1/+archive/ubuntu/xournalpp-stable

sudo add-apt-repository ppa:apandada1/xournalpp-stable
sudo apt-get update
sudo apt install xournalpp

How to configure such a PPA to build semi-automatically once a new version is released?

  1. I created a new Launchpad packaging recipe from this source.
  2. Then I noted the full git commit address (535d261d364f5925dec1ae3966a067883e53281e) of the latest stable release.
  3. I edited the packaging recipe to the following, to build that specific commit into my PPA.
# git-build-recipe format 0.4 deb-version {debupstream}-0~{revtime}
lp:xournalpp 535d261d364f5925dec1ae3966a067883e53281e
  1. I noticed that the debian/changelog had an old version number (1.0.6), so I manually bumped the version number to 1.0.18 using the packaging recipe. I also removed {revtime} from the version number.
    The new packaging recipe is,
# git-build-recipe format 0.4 deb-version 1.0.18-1
lp:xournalpp 535d261d364f5925dec1ae3966a067883e53281e

Comments:

  • Henceforth, please update the debian/changelog while making a new release. If you are not in a Debian system, you can simply edit the version number in this line. There's no need to edit the other fields, Launchpad can pick up the correct version and ignore other things. Then, one would not have to manually change version numbers in Launchpad.
  • When a new version is released, one only needs to change the git commit address in the Launchpad recipe (and update the version number, if debian/changelog is not updated).
  • I have enabled builds for armhf and arm64 in the PPA. Might come handy for a Raspberry Pi touchscreen or an ARM tablet.
  • If the developers want to maintain their own official stable PPA instead of the PPA I made, I am perfectly fine with that (that's why I wrote how to do it in details). Otherwise, I would be happy to maintain the PPA, and update it when a new stable version is released (I am watching releases).
  • I have tested that the PPA package works in Ubuntu 18.04 64 bit, and Raspberry Pi OS Buster armhf. Please test it further, and consider adding it to the Readme.

Thanks to all the developers for creating this beautiful software.

@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Sep 18, 2020

@andreasb242 Shall I send a pull request with updated Readme, mentioning this PPA?

@Technius
Copy link
Member

@apandada1 Thanks for the help, we would greatly appreciate a PR!

@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Sep 20, 2020

Pull request sent.

By the way, the nightly builds in the PPA are failing to build in Ubuntu 18.04 since August (they build successfully in 20.04). See #506 (comment) for details.

The same issue may arise in the stable PPA when the next version is released (although one can manually copy packages from 20.04). I could not determine why the build failed, while it builds successfully for 20.04.

@Technius
Copy link
Member

It's probably failing because we're using the C++17 filesystem library in 1.1.0. Filesystem is not available on 18.04, so we download a shim library during build time--this is not allowed on Debian-based builds, if I recall.

@PraxTube
Copy link

PraxTube commented Dec 1, 2022

What is the recommended xournal++ version for ubuntu 16? There seem to be known bugs in some xournal versions regarding ubuntu 16, but I don't know which one's the recommended one.

The ones I tested so far seem to crash non stop.
(versions 1.0.20 and 1.1.3)

@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Dec 1, 2022 via email

@PraxTube
Copy link

PraxTube commented Dec 1, 2022

I just did and it seems just fine. Thanks a lot!

I guess the reason was that a lot of dependencies weren't met (i.e. I was installing it wrong) and with the flatpak install it got all the necessary dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants