好像还是不行: xdg-icon-resource: No writable system icon directory found. ==> 错误: 在 package() 中发生一个错误。 正在放弃...
Search Criteria
Package Details: bilibili-bin 5:1.15.2_1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/bilibili-bin.git (read-only, click to copy) |
---|---|
Package Base: | bilibili-bin |
Description: | Bilibili official desktop client.(Prebuilt version.Use system-wide electron)哔哩哔哩官方客户端linux移植版。 |
Upstream URL: | https://github.com/msojocs/bilibili-linux |
Keywords: | bilibili bilibili-desktop |
Licenses: | MIT |
Conflicts: | bilibili |
Provides: | bilibili |
Submitter: | chiyuki0325 |
Maintainer: | bilibili_xiaok (little_sheepycn, ngdngdc, zxp19821005) |
Last Packager: | zxp19821005 |
Votes: | 27 |
Popularity: | 0.050124 |
First Submitted: | 2022-05-11 10:36 (UTC) |
Last Updated: | 2024-11-07 17:16 (UTC) |
Dependencies (3)
- electron33 (electron33-binAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- libappindicator-gtk3
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 Next › Last »
hangyi commented on 2023-01-19 14:36 (UTC)
ngdngdc commented on 2023-01-19 12:34 (UTC)
实测使用绝对路径可以解决问题xdg-icon-resource install --noupdate --context apps --novendor --size 256 /usr/share/icons/hicolor/512x512/apps/bilibili.png "bilibili"
或xdg-icon-resource install --noupdate --context apps --novendor --size 256 "/usr/share/icons/hicolor/512x512/apps/bilibili.png" "bilibili"
WSdlly02 commented on 2023-01-19 11:29 (UTC)
我也遇到同样的错误,就是因为这一行,之前安装时我都是手动删去该行。无论是arch,manjaro,garuda都会有这个问题
bilibili_xiaok commented on 2023-01-19 10:08 (UTC)
我这里是没有问题的,不知道为何 WSL2,基于arch的官方rootfs安装,x环境齐全 <img alt="" src="https://s2.loli.net/2023/01/19/xtqnFcPVG7Q4YZv.png" /> [img]https://s2.loli.net/2023/01/19/xtqnFcPVG7Q4YZv.png[\img]
ngdngdc commented on 2023-01-19 07:04 (UTC)
行37xdg-icon-resource install --noupdate --context apps --novendor --size 256 "bilibili.png" "bilibili"
存在灾难性错误,请进行适当修改或考虑直接将其删除.
kreamyu commented on 2023-01-18 16:09 (UTC)
您好,我在安装这个包时遇见问题:
xdg-icon-resource: No writable system icon directory found.
==> 错误: 在 package() 中发生一个错误。 正在放弃...
-> 生成时出错: bilibili-bin
我搜索通常的解决方法都是sudo mkdir /usr/share/desktop-directories/
,但是我有这个文件夹,请问有什么其他的解决办法吗?
bilibili_xiaok commented on 2022-12-27 05:38 (UTC)
芜湖,我的wsl2的arch环境搭建好了,以后可以继续维护了
bilibili_xiaok commented on 2022-10-16 09:12 (UTC)
这里先说一下,目前我初二,难以碰到电脑,包括手机。所以更新会非常慢。落后上游十几个版本号很正常,如果谁有责任心,能够维护这个包,我会把你加入合作维护者。望周知
ngdngdc commented on 2022-10-15 05:11 (UTC) (edited on 2022-10-15 05:12 (UTC) by ngdngdc)
改改版本号,勉强能用.
pkgname=bilibili-bin
_pkgname=bilibili
pkgver=1.6.1
pkgrel=3
pkgdesc='哔哩哔哩官方客户端linux移植版。Bilibili official desktop client'
license=('custom')
depends=('ffmpeg' 'electron17' 'libappindicator-gtk3')
arch=('x86_64')
url='https://github.com/msojocs/bilibili-linux'
install="${pkgname}.install"
source=("https://github.com/msojocs/bilibili-linux/releases/download/v${pkgver}-${pkgrel}/bilibili-v${pkgver}-${pkgrel}-${arch}.tar.gz"
"${_pkgname}"
"${_pkgname}.png"
"${_pkgname}.desktop")
sha256sums=('7617189b6433129e021b93ee29e6d3a9d1c6b382b92891a0b0738b2dfe52cc34'
'cd7961420bae8fb54b8523bb8b3190ce1cfb584b73f391bad52ca7a354b1b76f'
'33cba5d0271d5783f353e60dacc01d2edc6629ca760d35427189e316a48f911f'
'e8b7502721d837ee056eeb47fe38cbe23d6a9d6fff8228b976543e33d74ea2e5')
prepare(){
cd ${srcdir}
rm -rf bin
rm -rf electron
}
package() {
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
install -Dm644 "${_pkgname}.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png"
install -Dm644 "${srcdir}/app/app.asar" "${pkgdir}/usr/share/${_pkgname}/${_pkgname}.asar"
install -Dm644 "${srcdir}/app/app-update.yml" "${pkgdir}/usr/share/${_pkgname}/app-update.yml"
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
cp -r "${srcdir}/app/extensions" "${pkgdir}/usr/share/${_pkgname}/extensions"
#xdg-icon-resource install --noupdate --context apps --size 256 "bilibili.png" "bilibili"
}
Pinned Comments
zxp19821005 commented on 2024-09-29 20:38 (UTC) (edited on 2024-09-29 20:41 (UTC) by zxp19821005)
$ strings src/opt/apps/io.github.msojocs.bilibili/files/bin/electron/electron | grep '^Chrome/[0-9.]* Electron/[0-9]'
上游作者打包时使用的是electron21
,为避免出现不可预知的问题,目前已经回滚到此版本。如果需要更换electron
版本,请自行修改/usr/bin/bilibili
中的electron**
,或者联系上游作者进行更新。同时,建议安装electron21-bin
,避免自己花几个小时下载几十G的文件来编译electron21
。