Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ sudo curl -sSL https://raw.githubusercontent.com/PRASSamin/prasmoid/main/install
#### Debian/Ubuntu (.deb)

- **Best for**: `Debian`, `(K)Ubuntu`, and other Debian derivatives.
- **_Tested on_**: 'Debian testing' (nightly snapshot 2025-08-05), 'Kubuntu 25.04'
- [Debian package](https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3/prasmoid_0.0.3-1_amd64.deb)
- **_Tested on_**: 'Debian testing' (nightly snapshot 2025-10-04), 'Kubuntu 25.04'
- [Debian package](https://launchpad.net/~northern-lights/+archive/ubuntu/prasmoid/+files/prasmoid_0.1.0-1_amd64.deb)
- [PPA repository](https://launchpad.net/~northern-lights/+archive/ubuntu/prasmoid)
- Pre-requisite - add repo:
```bash
Expand All @@ -131,7 +131,7 @@ sudo curl -sSL https://raw.githubusercontent.com/PRASSamin/prasmoid/main/install

- **Best for**: `Fedora`, `RHEL`, `CentOS` and other Fedora derivatives.
- **_Tested on_**: 'Fedora 42'
- [x86_64 Fedora package](https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3/prasmoid-0.0.3-2.fc42.x86_64.rpm) | [source Fedora package](https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3/prasmoid-0.0.3-2.fc42.src.rpm)
- [x86_64 Fedora package](https://download.copr.fedorainfracloud.org/results/northernlights/prasmoid/fedora-42-x86_64/09645218-prasmoid/prasmoid-0.1.0-1.fc42.x86_64.rpm)
- [COPR repository](https://copr.fedorainfracloud.org/coprs/northernlights/prasmoid/)
- Pre-requisite - add repo:
```bash
Expand All @@ -151,16 +151,6 @@ sudo curl -sSL https://raw.githubusercontent.com/PRASSamin/prasmoid/main/install
snap install prasmoid
```

#### Flatpak

- **Best for**: Anywhere with flatpaks available.
- **_Tested on_**: 'Arch Linux' (fully up-to-date as of 2025-08-10)
- [Flatpak package](https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3/prasmoid-v0.0.3.flatpak)

```bash
wget https://github.com/PRASSamin/prasmoid/releases/download/v0.0.3/prasmoid-v0.0.3.flatpak && flatpak install --user prasmoid-v0.0.3.flatpak
```

#### Installation via Go

- **Best for**: `Any system with Go installed`.
Expand Down
15 changes: 15 additions & 0 deletions pkg/aur/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pkgbase = prasmoid
pkgdesc = The All in One Development Toolkit for KDE Plasmoids. Build, test, and manage your plasmoids with unparalleled ease and efficiency.
pkgver = 0.1.0
pkgrel = 1
url = https://github.com/PRASSamin/prasmoid
arch = x86_64
license = MIT
makedepends = go>=1.23
makedepends = git
depends = plasma-sdk
depends = qt6-declarative
source = prasmoid-0.1.0::git+https://github.com/PRASSamin/prasmoid.git#tag=v0.1.0
sha256sums = 7eb93c4ca078b8bff03eb3517490c55d5a1c91740b187bf02b828865124666ee

pkgname = prasmoid
1 change: 1 addition & 0 deletions pkg/aur/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.pkg.tar.zst
prasmoid-*/
3 changes: 3 additions & 0 deletions pkg/aur/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# update sha256 sums automatically
updpkgsums

# check PKGBUILD
namcap PKGBUILD

Expand Down
10 changes: 4 additions & 6 deletions pkg/aur/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Clem Lorteau <spam at lorteau dot fr>
pkgname=prasmoid
pkgver=0.0.4
pkgrel=2
pkgver=0.1.0
pkgrel=1
pkgdesc="The All in One Development Toolkit for KDE Plasmoids. Build, test, and manage your plasmoids with unparalleled ease and efficiency."
arch=("x86_64")
url='https://github.com/PRASSamin/prasmoid'
Expand All @@ -16,12 +16,10 @@ makedepends=(
)

source=(
"${pkgname}-${pkgver}::git+https://github.com/PRASSamin/prasmoid.git#tag=v0.0.4"
"${pkgname}-${pkgver}::git+https://github.com/PRASSamin/prasmoid.git#tag=v0.1.0"
)

sha256sums=(
'2a4d67734ede4275377e4896916b366d7dbc5d8886d1bcb980f9713ef767c4a2'
)
sha256sums=('7eb93c4ca078b8bff03eb3517490c55d5a1c91740b187bf02b828865124666ee')

build() {
cd "$pkgname-$pkgver"
Expand Down
2 changes: 1 addition & 1 deletion pkg/deb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -e
DIST=plucky

# build in chroot
sudo cowbuilder build --logfile build.log --distribution $DIST --hookdir $(pwd)/prasmoid/debian/pbuilderhook.d prasmoid_0.0.4-1.dsc
sudo cowbuilder build --logfile build.log --distribution $DIST --hookdir $(pwd)/prasmoid/debian/pbuilderhook.d prasmoid_0.1.0-1.dsc

# check
lintian /var/cache/pbuilder/result/*source.changes
Expand Down
13 changes: 13 additions & 0 deletions pkg/deb/prasmoid/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
prasmoid (0.1.0-1) plucky; urgency=medium

* Commands with missing binary dependencies (e.g., qmlformat, curl) are now gracefully disabled and marked with an (disabled) tag in the help text.
* Running a disabled command now prints a clear, user-friendly message explaining which dependency is missing.
* The previous behavior of auto-installing dependencies has been removed to avoid crashes in different distributions. Similar to this issue
* Added a new prasmoid fix command that runs a script to install all required dependencies for your distribution.
* The setup command has been dropped in favor of the fix command.
* The update checking mechanism has been completely rewritten to use SHA256 checksums for verification instead of version tags, ensuring notifications are always accurate.
* The CLI's help message has been reorganized with a new "Maintenance Commands" group for better readability.
* The main install and update shell scripts have been rewritten to be more robust, POSIX-compliant, and no longer depend on jq.

-- Clem Lorteau <clem@lorteau.fr> Thu, 2 Oct 2025 18:01:12 -0700

prasmoid (0.0.4-1) plucky; urgency=medium

* Prasmoid update me has been renamed to prasmoid upgrade (shorter and clearer).
Expand Down
Binary file removed pkg/deb/prasmoid_0.0.4-1.debian.tar.xz
Binary file not shown.
Binary file removed pkg/deb/prasmoid_0.0.4.orig.tar.gz
Binary file not shown.
Binary file added pkg/deb/prasmoid_0.1.0-1.debian.tar.xz
Binary file not shown.
14 changes: 7 additions & 7 deletions pkg/deb/prasmoid_0.0.4-1.dsc → pkg/deb/prasmoid_0.1.0-1.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Format: 3.0 (quilt)
Source: prasmoid
Binary: prasmoid
Architecture: any
Version: 0.0.4-1
Version: 0.1.0-1
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Clem Lorteau <clem@lorteau.fr>,
Homepage: https://github.com/PRASSamin/prasmoid
Expand All @@ -14,13 +14,13 @@ Build-Depends: debhelper-compat (= 13), dh-sequence-golang, golang-any, golang-g
Package-List:
prasmoid deb golang optional arch=any
Checksums-Sha1:
9f4a3b9d3d90b26993e0208c8bd18739d961f4c5 1851675 prasmoid_0.0.4.orig.tar.gz
76c2663cf7666ff1210ba124775168b2cc8a0509 3476 prasmoid_0.0.4-1.debian.tar.xz
4583fcd05d037b4d08a8d0360e88a8d91cebad7f 967268 prasmoid_0.1.0.orig.tar.gz
04725dbecef7da189a90e467fe9fb3f05952d18b 3448 prasmoid_0.1.0-1.debian.tar.xz
Checksums-Sha256:
2ddd45a8f177e20e2d368dc6a2e5729fd9b8acbba9dfba7f9829cb01315713e3 1851675 prasmoid_0.0.4.orig.tar.gz
46f9d106dacaf0c479a9c1d9962590918cf3c9df0f33a0bd6597c2062c885776 3476 prasmoid_0.0.4-1.debian.tar.xz
c7ac4530feb0b6ae96a60fc9ed3ce5a534e191214b1aaf046b891e3f2ff14d54 967268 prasmoid_0.1.0.orig.tar.gz
ecb3bf4b55ede0da8cdb656926e5b44db20540fb711c2279fcad3f5ac92bf022 3448 prasmoid_0.1.0-1.debian.tar.xz
Files:
c6f85260379265d11dbe215608fb4569 1851675 prasmoid_0.0.4.orig.tar.gz
828a57840a61ce7bb7689b49ad1f254a 3476 prasmoid_0.0.4-1.debian.tar.xz
0487c1f48a06177716ff87589f4423c8 967268 prasmoid_0.1.0.orig.tar.gz
4aa4b67261e6f03169cc70b907c2f4e0 3448 prasmoid_0.1.0-1.debian.tar.xz
Go-Import-Path: github.com/PRASSamin/prasmoid

Binary file added pkg/deb/prasmoid_0.1.0.orig.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pkg/rpm/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.tar.gz
results_prasmoid/*
results_prasmoid/
*.rpm
4 changes: 2 additions & 2 deletions pkg/rpm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ spectool -g prasmoid.spec
fedpkg --release f42 mockbuild

# check
# rpm --query --package --list results_prasmoid/0.0.4/1.fc42/prasmoid-0.0.4-1.fc42.x86_64.rpm
# rpm --query --package --list results_prasmoid/0.1.0/1.fc42/prasmoid-0.1.0-1.fc42.x86_64.rpm
# fedpkg --release f42 lint

# upload
#copr-cli build prasmoid prasmoid-0.0.4-1.fc42.src.rpm
#copr-cli build prasmoid prasmoid-0.1.0-1.fc42.src.rpm

Binary file removed pkg/rpm/prasmoid-0.0.4-vendor.tar.bz2
Binary file not shown.
Binary file added pkg/rpm/prasmoid-0.1.0-vendor.tar.bz2
Binary file not shown.
12 changes: 3 additions & 9 deletions pkg/rpm/prasmoid.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%bcond check 1

%global goipath github.com/PRASSamin/prasmoid
Version: 0.0.4
Version: 0.1.0

%gometa -L -f

Expand All @@ -21,18 +21,17 @@ BuildRequires: dnf
BuildRequires: sudo
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: plasma-sdk
BuildRequires: git

Requires: git
Requires: plasma-sdk
Requires: qt5-qtdeclarative-devel

%description
The All in One Development Toolkit for KDE Plasmoids.

%prep
%goprep -A
%setup -q -T -D -a1 %{forgesetupargs}
# %autopatch -p1

%generate_buildrequires
%go_vendor_license_buildrequires -c %{S:2}
Expand All @@ -41,17 +40,12 @@ The All in One Development Toolkit for KDE Plasmoids.
%global gomodulesmode GO111MODULE=on
export PATH=$PATH:
%gobuild -o %{gobuilddir}/bin/prasmoid %{goipath}
# for cmd in prasmoid/*; do
# %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
# done
# rm %{gobuilddir}/bin/prasmoid
# mv %{gobuilddir}/bin/src %{gobuilddir}/bin/prasmoid

%install
%go_vendor_license_install -c %{S:2}
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/prasmoid %{buildroot}%{_bindir}/
# rm %{buildroot}/lib/debug/usr/bin/*.debug


%check
%go_vendor_license_check -c %{S:2}
Expand Down
2 changes: 1 addition & 1 deletion pkg/snap/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -e
snapcraft pack

#upload
#snapcraft upload --release=stable prasmoid_v0.0.4_amd64.snap
#snapcraft upload --release=stable prasmoid_v0.1.0_amd64.snap
3 changes: 3 additions & 0 deletions pkg/snap/io.github.prassamin.prasmoid.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
</provides>

<releases>
<release version="v0.1.0" date="2025-10-01">
<url type="details">https://github.com/PRASSamin/prasmoid/releases/download/v0.1.0</url>
</release>
<release version="v0.0.4" date="2025-09-12">
<url type="details">https://github.com/PRASSamin/prasmoid/releases/download/v0.0.4</url>
</release>
Expand Down
21 changes: 15 additions & 6 deletions pkg/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
name: prasmoid
adopt-info: metadata
base: core22
version: 'v0.0.4'
version: 'v0.1.0'
license: 'MIT'
contact:
- clem@lorteau.fr
- https://github.com/PRASSamin/prasmoid
website:
- https://github.com/PRASSamin/prasmoid
issues:
- https://github.com/PRASSamin/prasmoid/issues
source-code:
- https://github.com/PRASSamin/prasmoid/archive/refs/tags/v0.1.0.tar.gz

summary: The All in One Development Toolkit for KDE Plasmoids

Expand All @@ -17,24 +26,24 @@ apps:
parts:
repo:
source: https://github.com/PRASSamin/prasmoid.git
source-tag: v0.0.4
source-tag: v0.1.0
plugin: dump
override-build: |
mv logo.svg io.github.prassamin.prasmoid.svg
craftctl default

binary:
source: https://github.com/PRASSamin/prasmoid/releases/download/v0.0.4/prasmoid
source-checksum: sha256/90b0db543e27c82aa32ad1b67410a37b375a82638b48a3301e774be10e44af93
source: https://github.com/PRASSamin/prasmoid/releases/download/v0.1.0/prasmoid
source-checksum: sha256/be4cf0af3d1ca42e2a0355b8b7c5e68a835bcc59a9ffcdbff143d7df3b5a1b97
source-type: file
plugin: dump
override-build: |
chmod +x prasmoid
craftctl default
prime:
- prasmoid
build-attributes:
- enable-patchelf
# build-attributes:
# - enable-patchelf

metadata:
plugin: dump
Expand Down