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

zellij: Housekeeping #3303

Merged
merged 1 commit into from
Jul 14, 2024
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
3 changes: 1 addition & 2 deletions packages/z/zellij/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ libc.so.6:__assert_fail
libc.so.6:__ctype_b_loc
libc.so.6:__ctype_tolower_loc
libc.so.6:__cxa_atexit
libc.so.6:__environ
libc.so.6:__errno_location
libc.so.6:__fdelt_chk
libc.so.6:__fprintf_chk
Expand Down Expand Up @@ -82,6 +81,7 @@ libc.so.6:ftruncate64
libc.so.6:fwrite
libc.so.6:gai_strerror
libc.so.6:getaddrinfo
libc.so.6:getauxval
libc.so.6:getcontext
libc.so.6:getcwd
libc.so.6:getenv
Expand Down Expand Up @@ -119,7 +119,6 @@ libc.so.6:memchr
libc.so.6:memcmp
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memrchr
libc.so.6:memset
libc.so.6:mkdir
libc.so.6:mmap
Expand Down
29 changes: 29 additions & 0 deletions packages/z/zellij/files/dev.zellij.Zellij.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
Copy link
Member

Choose a reason for hiding this comment

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

zellij is a terminal application; is this the right component?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, I thought it was more like kitty. Now that i tried it, it is more like helix. Yeah, this is not the right component. But then again, it provides desktop file which console application are not required to. For console application, this the template for it.

Copy link
Member Author

@malfisya malfisya Jul 14, 2024

Choose a reason for hiding this comment

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

I think the component can be changed to <component type="console-application"> and will still be valid. Let me try in a sec.

<id>dev.zellij.Zellij</id>

<name>Zellij</name>
<summary>A terminal workspace with batteries included</summary>

<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>

<description>
<p>
Zellij is a terminal workspace. It has the base functionality of a terminal multiplexer (similar to tmux or screen) but includes many built-in features that would allow users to extend it and create their own personalized environment.
</p>
</description>

<launchable type="desktop-id">zellij.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://zellij.dev/img/tutorial-1-preview.png</image>
</screenshot>
<screenshot>
<image>https://zellij.dev/img/tutorial-2-preview.png</image>
</screenshot>
<screenshot>
<image>https://zellij.dev/img/tutorial-3-preview.png</image>
</screenshot>
</screenshots>
</component>
Binary file added packages/z/zellij/files/zellij.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions packages/z/zellij/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : zellij
version : 0.40.1
release : 6
release : 7
source :
- https://github.com/zellij-org/zellij/archive/refs/tags/v0.40.1.tar.gz : 1f0bfa13f2dbe657d76341a196f98a3b4caa47ac63abee06b39883a11ca220a8
homepage : https://zellij.dev
Expand All @@ -14,9 +14,9 @@ builddeps :
- mandown
- rust
setup : |
cargo fetch --locked --target "x86_64-unknown-linux-gnu"
%cargo_fetch --target "x86_64-unknown-linux-gnu"
build : |
cargo build --release --frozen
%cargo_build

# Build completions
./target/release/zellij setup --generate-completion bash > target/zellij.bash
Expand All @@ -26,7 +26,7 @@ build : |
# Build manpage
mandown docs/MANPAGE.md > assets/zellij.1
install : |
install -Dm755 target/release/zellij -t "$installdir/usr/bin"
%cargo_install

# Install completions
install -Dm644 target/zellij.bash "$installdir/usr/share/bash-completion/completions/zellij"
Expand All @@ -38,3 +38,9 @@ install : |

# Install desktop file
install -Dm644 assets/zellij.desktop "$installdir/usr/share/applications/zellij.desktop"

# Install app icon
install -Dm644 $pkgfiles/zellij.png "$installdir/usr/share/icons/hicolor/256x256/apps/zellij.png"

# Install AppStream Metainfo
install -Dm644 $pkgfiles/dev.zellij.Zellij.metainfo.xml "$installdir/usr/share/metainfo/dev.zellij.Zellij.metainfo.xml"
14 changes: 8 additions & 6 deletions packages/z/zellij/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>zellij</Name>
<Homepage>https://zellij.dev</Homepage>
<Packager>
<Name>Evan Maddock</Name>
<Email>[email protected]</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Packager>
<License>MIT</License>
<PartOf>system.utils</PartOf>
Expand All @@ -24,17 +24,19 @@
<Path fileType="data">/usr/share/applications/zellij.desktop</Path>
<Path fileType="data">/usr/share/bash-completion/completions/zellij</Path>
<Path fileType="data">/usr/share/fish/vendor_completions.d/zellij.fish</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256/apps/zellij.png</Path>
<Path fileType="man">/usr/share/man/man1/zellij.1</Path>
<Path fileType="data">/usr/share/metainfo/dev.zellij.Zellij.metainfo.xml</Path>
<Path fileType="data">/usr/share/zsh/site-functions/_zellij</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2024-05-02</Date>
<Update release="7">
<Date>2024-07-14</Date>
<Version>0.40.1</Version>
<Comment>Packaging update</Comment>
<Name>Evan Maddock</Name>
<Email>[email protected]</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>