Last video in my mini series on creating a Debian package file (.deb) for Snippet Expander.
Snippet Expander: Packaging for Debian – Part 7 – .deb done! 🎉 | Always Developing #234
Always developing
Last video in my mini series on creating a Debian package file (.deb) for Snippet Expander.
Snippet Expander: Packaging for Debian – Part 7 – .deb done! 🎉 | Always Developing #234
In this session I finish with packaging Snippet Expander for Debian and Ubuntu by showing how debuild has been cleaned up, CI/CD now creates .deb attached to release, and then do the same for .tgz to round things out.
The .deb and .tgz are tested to make sure they’re looking good for use on Debian.
We’re done with packaging for Debian! 🎉
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I continue with packaging Snippet Expander for Debian and Ubuntu by suppressing some of the lintian warnings.
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I continue with packaging Snippet Expander for Debian and Ubuntu by fixing up the X11 dependent tests that run when making a .deb, and fixing up some of the lintian warnings.
Things get a little unstuck when I try and automatically suppress some warnings that I don’t care about though.
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I switch the Snippet Expander project from using multiple go.mod files to a single top level one.
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I continue with packaging Snippet Expander for Debian and Ubuntu by trying to get the debuild CLI tool to build a .deb file, and eventually succeed! 🎉
By the end I have a .deb file that has the correct contents, and installs.
There’s still a bunch of clean up to do, and probably something needs to be done about Snippet Expander’s icon not showing in Budgie desktop’s menu, but we finally got it to work.
00:00:00 make site
00:01:20 make install
00:31:00 debuild
00:34:40 debuild –rootcmd
00:37:15 debian/rules $(prefix)
00:41:30 make deb fails!
01:10:10 debuild works!
01:13:25 .deb looks good
01:18:51 .deb works
01:22:48 fixup config
01:28:03 fixup make deb
01:34:05 commit all the things!
01:44:04 outro
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I continue with packaging Snippet Expander for Debian and Ubuntu by trying to get the debuild CLI tool to build a .deb file.
By the end I have a .deb file, but it is clearly not ready for use yet.
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
First video in a new mini series of live coding videos:-
Snippet Expander: Packaging for Debian – Part 1 | Always Developing #227
In this session I continue with packaging Snippet Expander for Debian and Ubuntu by making sure my Debian VM has the required packages for building a .deb file, create rudimentary package control files, and take a 1st stab at running the build, with predictable results (not gonna work).
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org
In this session I get started with packaging Snippet Expander for Debian and Ubuntu by making sure I have a working Debian virtual machine that successfully runs the binaries built by CI/CD. I then ensure I can build the project on my Debian VM, and they work, and check over the Debian packing quick start that I’ll use as a guide in following sessions.
—
Live coding an app with Go and SvelteJS.
Snippet Expander:- https://snippetexpander.org
Source Code: https://git.sr.ht/~ianmjones/snippetexpander
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
Tech Used:
Go:- https://golang.org
Svelte:- https://svelte.dev
Wails:- https://wails.io
NixOS/Nixpkgs:- https://nixos.org
Debian:- https://www.debian.org