Page MenuHomeSolus

Update owncloud-client to 2.7.6
Open, NormalPublic

Description

Hi, I'm using owncloud-client on a daily basis and it keeps notifying me that a new version is available.
I see that major improvements are still to come but maybe it's still worth doing an upgrade in between major steps.
https://github.com/owncloud/client/archive/refs/tags/v2.7.6.tar.gz
Thanks for all your work, I'm a very happy Solus (Budgie) user :)

Event Timeline

Hey there,

Personally I've moved onto Nextcloud and use the respective nextcloud-client. So if someone such as yourself happens to use owncloud and wants to start maintaining the package, that is certainly welcome.

That being said, I would appreciate it if you could update your task with the information at https://getsol.us/articles/packaging/request-a-package-update/en/

monbosapin renamed this task from Update owncloud-client to Update owncloud-client to 2.7.6.Mon, May 3, 7:47 AM
monbosapin updated the task description. (Show Details)
monbosapin added a project: Software.
JoshStrobl triaged this task as Normal priority.Mon, May 3, 7:47 AM
JoshStrobl moved this task from Backlog to Update Requested on the Software board.
JoshStrobl removed a project: Package Requests.
JoshStrobl updated the task description. (Show Details)
monbosapin added a comment.EditedMon, May 3, 7:48 AM

Thanks for the quick reply.
I wouldn't know where to start if I were to maintain a package... yet I'd be willing to learn ;)
Updated the task
-edit- you found the tarball

@monbosapin the tldr is:

  1. Install the necessary tooling and dependencies. See https://getsol.us/articles/packaging/building-a-package/en/
  2. Clone the respective source repository. This is done via git. Clone URLs available at https://dev.getsol.us/source/owncloud-client/
  3. Follow https://getsol.us/articles/packaging/updating-an-existing-package/en/ for updating the package
  4. Build it (see 1), install it (just sudo eopkg install file.eopkg), and test it.
  5. Submit the update. See https://getsol.us/articles/packaging/submitting-a-package/en/
monbosapin added a comment.EditedMon, May 3, 9:20 AM

Got it all right until step 3.
Then can't seem to build it..

make build
make[1] : on entre dans le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
sudo solbuild build pspec.xml -p unstable-x86_64;
Failed to load package: open pspec.xml: no such file or directory
make[1] : on quitte le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
make abireport
make[1] : on entre dans le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
"../."/common/Go/yabi/yabi *.eopkg
 ⮞  Scanning '*.eopkg'...
 🕱  Failed to open package '*.eopkg', reason: open *.eopkg: no such file or directory
make[1]: *** [../Makefile.common:15 : abireport] Erreur 1
make[1] : on quitte le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
make: *** [../Makefile.common:12 : complete] Erreur 2

Just fire make without build. It should work.

Yes that's the command I run: make. make build only returns one line Failed to load package: open pspec.xml: no such file or directory

Thanks for the link @algent! I watched it carefully and eventually figured out I was one folder too deep. I cleaned it up and here's what I get now:

$ make
make build
make[1] : on entre dans le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
sudo solbuild build package.yml -p unstable-x86_64;
Mot de passe : 
Profile is not installed: Did you forget to init?
make[1] : on quitte le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
make abireport
make[1] : on entre dans le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
"../."/common/Go/yabi/yabi *.eopkg
 ⮞  Scanning '*.eopkg'...
 🕱  Failed to open package '*.eopkg', reason: open *.eopkg: no such file or directory
make[1]: *** [../Makefile.common:15 : abireport] Erreur 1
make[1] : on quitte le répertoire « /home/pollux/Solus Package Builds Wam/owncloud-client »
make: *** [../Makefile.common:12 : complete] Erreur 2

What Profile should I install? And I made sure I did run sudo solbuild initbeforehand.

@monbosapin From your log I take it you didn't install the solbuild-config-unstable package. When you just run make it runs it against the unstable profile (you can see this in your log). So to fix this do the following:

sudo eopkg it solbuild-config-unstable
sudo solbuild init --profile unstable-x86_64
sudo solbuild update --profile unstable-x86_64

And you should then be able to run make in your package directory.

algent added a comment.EditedTue, May 4, 2:06 AM

Hi @monbosapin!

I assume that you have already created .solus folder with the packager file in your $HOME.

To start correctly you have to follow these commands:

sudo eopkg ar Solus https://mirrors.rit.edu/solus/packages/unstable/eopkg-index.xml.xz
sudo eopkg up
sudo eopkg it -c system.devel
sudo eopkg it solbuild solbuild-config-unstable
sudo solbuild init
sudo solbuild update

Then make the Repository folder in $HOME

cd Repository
git clone https://dev.getsol.us/source/common.git 
ln -sv common/Makefile.common .
ln -sv common/Makefile.toplevel Makefile
ln -sv common/Makefile.iso .

Then test building a package (make sure you are in ~/Repository)

make nano.clone
cd nano
make bump
make