Package Details: kaiteki-bin 2024_02-3

Git Clone URL: https://aur.archlinux.org/kaiteki-bin.git (read-only, click to copy)
Package Base: kaiteki-bin
Description: A comfy Fediverse client for microblogging instances, made with Flutter and Dart. Currently with simple Mastodon, Pleroma, Misskey and Calckey support
Upstream URL: https://kaiteki.app
Keywords: dart fediverse fediverse-client flutter hacktoberfest mastodon misskey pleroma
Licenses: AGPL-3.0-only
Conflicts: kaiteki
Provides: kaiteki
Submitter: CIAvash
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 2
Popularity: 0.012051
First Submitted: 2023-04-10 09:48 (UTC)
Last Updated: 2024-02-28 02:18 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-01-18 10:15 (UTC)

It now works.
Regards!

zxp19821005 commented on 2024-01-18 01:19 (UTC)

@dreieck All right,I've added it.Maybe you can try again.

dreieck commented on 2024-01-17 23:28 (UTC) (edited on 2024-01-17 23:42 (UTC) by dreieck)

I have the same gendesk version as you:

  • gendesk --version: Desktop File Generator 1.0.9,
  • pacman -Qi gendesk | grep -E '^Version: Version : 1.0.9-3.

I don't know where you have the $pkgrel=3.1 variant from; ↗ in the official Arch repo there is only 1.0.9-3.

I already have written a fix, you forgot to pass ${startdir}/PKGBUILD to gendesk.

Note that I have set $SRCDEST and $BUILDDIR in /etc/makepkg.conf which ensures that source download and build are carried out in other directories than where the PKGBUILD resides. Maybe you assume that this are subdirs of ${startdir}, but this assumption must not be made.

zxp19821005 commented on 2024-01-17 23:19 (UTC)

@dreieck Will you please update your gendesk by sudo pacman -Sy gendesk ? My gendesk info:

$ paru -Qi gendesk
名字           : gendesk
版本           : 1.0.9-3.1
描述           : Utility for generating desktop files
架构           : x86_64
URL            : https://gendesk.roboticoverlords.org/
软件许可       : MIT
组             : 无
提供           : 无
依赖于         : 无
可选依赖       : 无
依赖它         : 无
被可选依赖     : 无
与它冲突       : 无
取代           : 无
安装后大小     : 6.59 MiB
打包者         : CachyOS <admin@cachyos.org>
编译日期       : 2023年01月14日 星期六 03时50分23秒
安装日期       : 2023年12月25日 星期一 12时31分32秒
安装原因       : 单独指定安装
安装脚本       : 否
验证者         : 无

dreieck commented on 2024-01-17 19:52 (UTC) (edited on 2024-01-17 19:57 (UTC) by dreieck)

package() still fails for me:

==> Starting package()...
install: cannot stat '/tmp/makepkg/build/kaiteki-bin/src/kaiteki.desktop': No such file or directory
==> ERROR: A failure occurred in package().

gendesk is installed (as build dependency), system has been updated. The generated file is still named PKGBUILD.desktop, not kaiteki.desktop.
You need to pass the PKGBUILD as argument to gendesk:

gendesk -q -f -n --categories "Network" --name "${_pkgname}" --exec "${pkgname%-bin} --no-sandbox %U" "${startdir}/PKGBUILD"

Regards!

zxp19821005 commented on 2024-01-15 02:18 (UTC)

@dreieck About the errors.maybe you can send an issue : https://github.com/Kaiteki-Fedi/Kaiteki/issues.When you packaged faild,I think maybe you have to run sudo pacman -Syy first to upgrade your system,or sudo pacman -Syy gendesk.

# zxp-endeavouros @ 3993EndeavourOS in ~/.cache/paru/clone/kaiteki-bin on git:master o [10:12:53] 
$ updpkgsums && makepkg -f 
==> 获取源代码...
  -> 正在下载 kaiteki-2024_02.zip...
download from https://ghproxy.net/https://github.com/Kaiteki-Fedi/Kaiteki/releases/download/weekly-2024-02/linux.zip\n
正在初始化下载:https://ghproxy.net/https://github.com/Kaiteki-Fedi/Kaiteki/releases/download/weekly-2024-02/linux.zip
File size: 15.9031 兆字节 (16675601 bytes)
正在打开输出文件 kaiteki-2024_02.zip.part
正在开始下载

连接 13 完成下载
连接 5 完成下载
连接 8 完成下载
连接 17 完成下载
连接 15 完成下载
连接 19 完成下载
连接 7 完成下载
连接 16 完成下载
连接 3 完成下载
连接 0 完成下载
连接 1 完成下载
连接 2 完成下载
连接 11 完成下载
连接 14 完成下载
连接 18 完成下载
连接 6 完成下载
连接 10 完成下载
连接 12 完成下载
连接 4 完成下载
连接 13 完成下载
连接 9 完成下载
连接 17 完成下载
连接 5 完成下载
连接 8 完成下载
连接 15 完成下载
连接 19 完成下载
连接 16 完成下载
连接 14 完成下载
连接 0 完成下载
连接 2 完成下载
连接 7 完成下载
连接 3 完成下载
连接 12 完成下载
连接 6 完成下载
连接 11 完成下载
连接 1 完成下载
连接 10 完成下载
连接 13 完成下载
连接 18 完成下载
连接 17 完成下载
连接 5 完成下载
连接 4 完成下载
连接 9 完成下载
连接 8 完成下载
连接 15 完成下载
连接 7 完成下载
连接 0 完成下载
连接 19 完成下载
连接 16 完成下载
连接 2 完成下载
连接 12 完成下载
连接 14 完成下载
连接 6 完成下载
[100%] [.........................................................................................................................................................................] [ 728.8KB/s] [00:00]

已下载 15.9031 兆字节,用时 22 秒。(728.81 KB/s)
  -> 找到 kaiteki.sh
==> 正在为源代码文件创建完整性检查值...
==> 正在创建软件包:kaiteki-bin 2024_02-1 (2024年01月15日 星期一 10时14分25秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 找到 kaiteki-2024_02.zip
  -> 找到 kaiteki.sh
==> 正在验证 source 文件,使用sha256sums...
    kaiteki-2024_02.zip ... 通过
    kaiteki.sh ... 通过
==> 正在释放源码...
  -> 正在解压缩 kaiteki-2024_02.zip,使用 bsdtar
==> 正在开始 build()...
==> 正在进入 fakeroot 环境...
==> 正在开始 package()...
==> 正在清理安装...
  -> 正在删除 libtool 文件...
  -> 正在清除不打算要的文件...
  -> 正在移除静态库文件...
  -> 正在从二进制文件和库中清除不需要的系统符号...
  -> 正在压缩 man 及 info 文档...
==> 正在检查打包问题...
==> 正在构建软件包"kaiteki-bin"...
  -> 正在生成 .PKGINFO 文件...
  -> 正在生成 .BUILDINFO 文件...
  -> 正在生成 .MTREE 文件...
  -> 正在压缩软件包...
==> 正在离开 fakeroot 环境。
==> 完成创建:kaiteki-bin 2024_02-1 (2024年01月15日 星期一 10时14分28秒)

# zxp-endeavouros @ 3993EndeavourOS in ~/.cache/paru/clone/kaiteki-bin on git:master x [10:14:28] 
$ paru -U kaiteki-bin-2024_02-1-x86_64.pkg.tar.zst 
正在加载软件包...
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1)   新版本     净变化   

kaiteki-bin  2024_02-1  37.74 MiB

全部安装大小:  37.74 MiB

:: 进行安装吗? [Y/n] 
(1/1) 正在检查密钥环里的密钥                                                                                            [------------------------------------------------------------------------] 100%
(1/1) 正在检查软件包完整性                                                                                              [------------------------------------------------------------------------] 100%
(1/1) 正在加载软件包文件                                                                                                [------------------------------------------------------------------------] 100%
(1/1) 正在检查文件冲突                                                                                                  [------------------------------------------------------------------------] 100%
:: 正在处理软件包的变化...
(1/1) 正在安装 kaiteki-bin                                                                                              [------------------------------------------------------------------------] 100%
:: 正在运行事务后钩子函数...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...

# zxp-endeavouros @ 3993EndeavourOS in ~/.cache/paru/clone/kaiteki-bin on git:master x [10:14:42] 
$ /usr/bin/kaiteki --no-sandbox %U
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
#0      Stream.last.<anonymous closure> (dart:async/stream.dart:1618)
#1      _RootZone.runGuarded (dart:async/zone.dart:1582)
#2      _DoneStreamSubscription._onMicrotask (dart:async/stream_impl.dart:751)
#3      _microtaskLoop (dart:async/schedule_microtask.dart:40)
#4      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

dreieck commented on 2024-01-13 14:39 (UTC)

After having installed this, when I launch kaiteki, the following is printed to the terminal:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
#0      Stream.last.<anonymous closure> (dart:async/stream.dart:1618)
#1      _RootZone.runGuarded (dart:async/zone.dart:1582)
#2      _DoneStreamSubscription._onMicrotask (dart:async/stream_impl.dart:751)
#3      _microtaskLoop (dart:async/schedule_microtask.dart:40)
#4      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

Still, the programme launches.

dreieck commented on 2024-01-13 14:29 (UTC)

package() fails:

==> Starting package()...
install: cannot stat '/tmp/makepkg/build/kaiteki-bin/src/kaiteki.desktop': No such file or directory

I find a PKGBUILD.desktop but not a kaiteki.desktop.

Regards!

micwoj92 commented on 2023-10-23 05:09 (UTC)

Needs libhandy in depends.

CIAvash commented on 2023-07-03 14:57 (UTC)

Pushed the new changes.