dexc-desktop: Snap package#2580
Conversation
JoeGruffins
left a comment
There was a problem hiding this comment.
Getting an error when running ./pkg/pkg-debian.sh:
dpkg-deb: error: parsing file './build/dexc_bf46fe348fb83893408e875408499761a3df5ea4-0_amd64/DEBIAN/control' near line 2 package 'dexc':
'Version' field value 'bf46fe348fb83893408e875408499761a3df5ea4': version number does not start with digit
It pulls the version number from the If you |
So the commit needs a tag to work? I did not know. Maybe add that to the readme there at least if it is a requirement? |
JoeGruffins
left a comment
There was a problem hiding this comment.
After adding a bogus tag was able to build and install with snap.
buck54321
left a comment
There was a problem hiding this comment.
I'm not seeing the benefit of the github actions deployment. What does it do for us over just running the script ourselves?
Icons: added SVG icon for hicolor and symbolic variations, fixed 128px PNG to match official version
Can you say more about the new files and what they do for us? Or point me to some documentation?
I don't care about the official logo version. I changed it because the official color was too dark and looked bad in my panel. None of this matters much, of course, because we're rebranding anyway, but prefer to use the lighter color that has margins.
It does the same thing but makes life a tad easier. The binary it packages into a snap comes from the .deb package.
dexc.png is scaled to 128px which is one of the default icon sizes, the 100px version was scaled up and rendered blurry
The tray icon should really match the other icons (menu, dock, task switcher), if it's different it looks odd. How about using the monochrome version? That's the most distinctly recognizable in the tray visually. |
|
The icon client/cmd/bisonw-desktop/src/bisonw.svg looks outdated. Should be one of these top two maybe? https://github.com/decred/dcrdex/tree/master/docs/branding |
|
Trying to build on a clean ubuntu 24.04 but stuck at these dependencies. |
| # on Ubuntu: | ||
| sudo apt-get install snap | ||
| # on Debian: | ||
| sudo apt-get install snapd | ||
| sudo snap install --classic snapcraft | ||
| sudo adduser $USER lxd | ||
| newgrp lxd | ||
| lxd init --auto | ||
| sudo ufw disable # if ufw is installed on the host, this is neccessary for lxd to have network access |
There was a problem hiding this comment.
on Ubuntu 24.04 I had to do the things labeled Debian
There was a problem hiding this comment.
Yeah some things have changed since this was written 2 years ago... I wonder if it's worth warming up this PR at all, considering it wasn't merged for so long.
Apparently, We have 2 options - wait for that above PR to be merged, or fork cc @buck54321 |
|
I guess this should be good to go after rebase? |
Yes, rebase is done and the README updated as well. |
|
@peterzen sorry, I merged your other pr first and it created a conflict |
|
I was able to build on newest Ubuntu. |
This PR adds configuration, build scripts and Github workflow to build the Snap package and publishing it in the Snap Store.
The snap build uses the .deb package. The PR also contains a few fixes/improvements in the deb build: