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

Add lightly-qt5 #1073

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Add lightly-qt5 #1073

merged 5 commits into from
Apr 5, 2024

Conversation

hazel-bunny
Copy link
Contributor

This package was orphaned in Fedora recently. The fedora maintainers used to build this package using unmaintained sources from upstream. I have switched to a maintained fork.
Note that packaging has been done with plasma 6 in mind, so don't build it for fedora < 40. Also, merge this after I have submitted lightly-qt6.
An update script has been intentionally omitted because this is the last commit that builds against KF5. The package, however, should be rebuilt (with sources at this very commit) against every new minor version of Qt, like how breeze is rebuilt in Fedora.

@hazel-bunny hazel-bunny mentioned this pull request Apr 5, 2024
korewaChino
korewaChino previously approved these changes Apr 5, 2024
@madonuko madonuko added new This adds a new package sync-f40 labels Apr 5, 2024
@madonuko
Copy link
Member

madonuko commented Apr 5, 2024

update.rhai:

let repos = get("https://repology.org/api/v1/project/qt").json_arr();
let branch = sh("git rev-parse --abbrev-ref HEAD", #{"stdout": "piped"}).ctx.stdout;
branch.crop(1);
branch.trim();
let vers = repos.filter(|r| r.repo == `fedora_${branch}`).map(|r| [find("^(\\d+)\\.(\\d+)\\..+$", r.version, 1), find("^(\\d+)\\.(\\d+)\\..+$", r.version, 2)]);
let ver = vers.find(|v| v[0] == "5")[1]; // assume there is only 1 package for v5.x
open_file("anda/themes/lightly-qt5/VER5.txt").write(`${ver}`); // will trig rebuild when changed

create a VER5.txt file with:

echo -n 15 > VER5.txt

Signed-off-by: Dipta Biswas <[email protected]>
Signed-off-by: Dipta Biswas <[email protected]>
@madonuko
Copy link
Member

madonuko commented Apr 5, 2024

VER5.txt should have no newline

@madonuko
Copy link
Member

madonuko commented Apr 5, 2024

actually it'll be fine, it'll cause 1 more useless rebuild, not the end of the world…

@madonuko madonuko merged commit f31987f into terrapkg:frawhide Apr 5, 2024
4 checks passed
raboneko pushed a commit that referenced this pull request Apr 5, 2024
* Create lightly-qt5. spec

Signed-off-by: Dipta Biswas <[email protected]>

* Fix filename & location of lightly-qt5

Signed-off-by: Dipta Biswas <[email protected]>

* Create anda.hcl for lightly-qt5

Signed-off-by: Dipta Biswas <[email protected]>

* Create update.rhai

Signed-off-by: Dipta Biswas <[email protected]>

* Create VER5.txt

Signed-off-by: Dipta Biswas <[email protected]>

---------

Signed-off-by: Dipta Biswas <[email protected]>
(cherry picked from commit f31987f)
@raboneko
Copy link
Member

raboneko commented Apr 5, 2024

💚 All backports created successfully

Status Branch Result
f40

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

madonuko pushed a commit that referenced this pull request Apr 5, 2024
* Create lightly-qt5. spec

Signed-off-by: Dipta Biswas <[email protected]>

* Fix filename & location of lightly-qt5

Signed-off-by: Dipta Biswas <[email protected]>

* Create anda.hcl for lightly-qt5

Signed-off-by: Dipta Biswas <[email protected]>

* Create update.rhai

Signed-off-by: Dipta Biswas <[email protected]>

* Create VER5.txt

Signed-off-by: Dipta Biswas <[email protected]>

---------

Signed-off-by: Dipta Biswas <[email protected]>
(cherry picked from commit f31987f)

Co-authored-by: Dipta Biswas <[email protected]>
@hazel-bunny hazel-bunny deleted the patch-4 branch April 6, 2024 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new This adds a new package sync-f40
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants