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: mission-center #6383

Closed
wants to merge 3 commits into from
Closed

Conversation

AozoraDev
Copy link
Contributor

i don't want to use flatpak anymore.
so here's the native one.

@github-actions github-actions bot added the Package Add Use this to request a package to be added label Sep 3, 2024
@AozoraDev
Copy link
Contributor Author

Tested on Debian Trixie.
For Ubuntu, idk.

@AozoraDev
Copy link
Contributor Author

related issue about failed tests
pacstall#1233

@Xdavius
Copy link
Contributor

Xdavius commented Sep 3, 2024

related issue about failed tests pacstall#1233

add :

external_connection=true

https://github.com/pacstall/pacstall/wiki/Pacscript-101
external_connection=true # Allow internet access during compilation process

checkdepends=("libappstream-glib8") is wrong
checkdepends=("appstream-util")

also on Debian 12 :

error: package `ash v0.38.0+1.3.281` cannot be built because it requires rustc 1.69.0 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.69.0 or newer, or use
cargo update -p [email protected]+1.3.281 --precise ver
where `ver` is the latest version of `ash` supporting rustc 1.63.0

If you don't want to fix, use :
incompatible=("debian:bookworm")

@AozoraDev
Copy link
Contributor Author

related issue about failed tests pacstall#1233

add :

external_connection=true

https://github.com/pacstall/pacstall/wiki/Pacscript-101 external_connection=true # Allow internet access during compilation process

checkdepends=("libappstream-glib8") is wrong checkdepends=("appstream-util")

also on Debian 12 :

error: package `ash v0.38.0+1.3.281` cannot be built because it requires rustc 1.69.0 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.69.0 or newer, or use
cargo update -p [email protected]+1.3.281 --precise ver
where `ver` is the latest version of `ash` supporting rustc 1.63.0

If you don't want to fix, use : incompatible=("debian:bookworm")

appstream-util only avaible for stable, so.....

Also lemme see if i can fix for Debian Stable...

@AozoraDev
Copy link
Contributor Author

aight. for now, i'll just make it incompatible with stable distro until i can make the patch for it.

@AozoraDev
Copy link
Contributor Author

@vigress8
Guess everything's good now.
I'll see if i can support stable distro in the future.

Also the rest failed tests was... internet connection problem(?)

Copy link
Collaborator

@vigress8 vigress8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the future:

  1. Run pre-commit install in your clone of the repo, to enable the pre-commit hooks
  2. Squash your commits, just for cleanliness

@AozoraDev
Copy link
Contributor Author

For the future:

  1. Run pre-commit install in your clone of the repo, to enable the pre-commit hooks
  2. Squash your commits, just for cleanliness

image

@Elsie19
Copy link
Member

Elsie19 commented Sep 3, 2024 via email

@oklopfer
Copy link
Member

oklopfer commented Sep 3, 2024

this shouldn’t have been changed. @Elsie19 was being stupid. This is standard practice. It doesn’t matter if she “doesn’t like it.”

@Xdavius
Copy link
Contributor

Xdavius commented Sep 4, 2024

Also lemme see if i can fix for Debian Stable...

I need to pacscript rust-bin and test if it build and work with new version of rust.

In this case, it will be possible to add something like :

if [[ ${DISTRO} = "bookworm" ]]; then
  pacdeps=(rust-bin)
else
  makedepends+=("rustc" "cargo")
fi 

@AozoraDev
Copy link
Contributor Author

AozoraDev commented Sep 4, 2024

@Xdavius
Nah i was thinking to just create another pacscript of old version of mission-center since stable distros using old packages too...

@Xdavius
Copy link
Contributor

Xdavius commented Sep 4, 2024

@Xdavius Nah i was thinking to just create another pacscript of old version of mission-center since stable distros using old packages too...

hummm...

I have tested with latest 1.80.1 Rust version but still an error :

[32/37] Generating resources/blueprints with a custom command
FAILED: resources 
/usr/bin/blueprint-compiler batch-compile resources/. ../resources ../resources/ui/apps_page/column_header.blp ../resources/ui/apps_page/list_item.blp ../resources/ui/apps_page/page.blp ../resources/ui/apps_page/pid_column.blp ../resources/ui/apps_page/stat_column.blp ../resources/ui/performance_page/cpu.blp ../resources/ui/performance_page/cpu_details.blp ../resources/ui/performance_page/disk.blp ../resources/ui/performance_page/disk_details.blp ../resources/ui/performance_page/gpu.blp ../resources/ui/performance_page/gpu_details.blp ../resources/ui/performance_page/memory.blp ../resources/ui/performance_page/memory_details.blp ../resources/ui/performance_page/network.blp ../resources/ui/performance_page/network_details.blp ../resources/ui/performance_page/page.blp ../resources/ui/performance_page/summary_graph.blp ../resources/ui/preferences/page.blp ../resources/ui/preferences/window.blp ../resources/ui/services_page/page.blp ../resources/ui/services_page/context_menu_button.blp ../resources/ui/services_page/details_dialog.blp ../resources/ui/window.blp ../resources/ui/gtk/help-overlay.blp
error: Could not determine what kind of syntax is meant here
at ../resources/ui/apps_page/column_header.blp line 23 column 10:
  23 |template $ColumnHeader: Box {
     |         ^

[34/37] Generating data/hwdb/hwdb with a custom command
ninja: build stopped: subcommand failed.

@AozoraDev
Copy link
Contributor Author

@Xdavius Nah i was thinking to just create another pacscript of old version of mission-center since stable distros using old packages too...

hummm...

I have tested with latest 1.80.1 Rust version but still an error :

[32/37] Generating resources/blueprints with a custom command
FAILED: resources 
/usr/bin/blueprint-compiler batch-compile resources/. ../resources ../resources/ui/apps_page/column_header.blp ../resources/ui/apps_page/list_item.blp ../resources/ui/apps_page/page.blp ../resources/ui/apps_page/pid_column.blp ../resources/ui/apps_page/stat_column.blp ../resources/ui/performance_page/cpu.blp ../resources/ui/performance_page/cpu_details.blp ../resources/ui/performance_page/disk.blp ../resources/ui/performance_page/disk_details.blp ../resources/ui/performance_page/gpu.blp ../resources/ui/performance_page/gpu_details.blp ../resources/ui/performance_page/memory.blp ../resources/ui/performance_page/memory_details.blp ../resources/ui/performance_page/network.blp ../resources/ui/performance_page/network_details.blp ../resources/ui/performance_page/page.blp ../resources/ui/performance_page/summary_graph.blp ../resources/ui/preferences/page.blp ../resources/ui/preferences/window.blp ../resources/ui/services_page/page.blp ../resources/ui/services_page/context_menu_button.blp ../resources/ui/services_page/details_dialog.blp ../resources/ui/window.blp ../resources/ui/gtk/help-overlay.blp
error: Could not determine what kind of syntax is meant here
at ../resources/ui/apps_page/column_header.blp line 23 column 10:
  23 |template $ColumnHeader: Box {
     |         ^

[34/37] Generating data/hwdb/hwdb with a custom command
ninja: build stopped: subcommand failed.

Skill issue

lol jk. i have no idea too. i can't read rust.

@Xdavius
Copy link
Contributor

Xdavius commented Sep 4, 2024

Skill issue

In fact it was ^^

lol jk. i have no idea too. i can't read rust.

It's blueprint-compiler error...
and building blueprint compiler gives weird with missing sphinx theme.
Still error with libadwaita or gtk4 too old if I understand.

It's dead for Debian 12

@Xdavius Xdavius mentioned this pull request Sep 5, 2024
@AozoraDev
Copy link
Contributor Author

Yep it takes too long. Gotta maintain it by myself then.

@AozoraDev AozoraDev closed this Sep 9, 2024
@AozoraDev AozoraDev deleted the mission-center branch September 9, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package Add Use this to request a package to be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants