一批社区开发应用上架官方
Tofloor
poster avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-12-05 01:46
Author

如图


Reply Favorite View the author
All Replies
155******39
deepin
2020-12-05 01:53
#1

不错不错,好东西,越来越好了

Reply View the author
古那比加
deepin
2020-12-05 02:09
#2

大哥,我看不清楚你发的神马啊

Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2020-12-05 02:10
#3

新版论坛都没办法点击查看大图

Reply View the author
走钢丝
deepin
2020-12-05 02:35
#4

支持支持。

Reply View the author
deepin
2020-12-05 02:43
#5
古那比加

大哥,我看不清楚你发的神马啊

鼠标右键,在新标签页中打开图片    话说论坛应该有一个图片放大功能,起码左键单击一下给点儿反应

Reply View the author
WangZhongyun
deepin
2020-12-05 04:17
#6

众人拾柴火焰高,深度生态好加好

Reply View the author
SamLukeYes
deepin
2020-12-05 04:21
#7

这个 QQ 音乐算社区开发的吗[尾]

Reply View the author
jiutian123
deepin
2020-12-05 04:38
#8
古那比加

大哥,我看不清楚你发的神马啊

滚轮 放大

Reply View the author
155******39
deepin
2020-12-05 05:23
#9
古那比加

大哥,我看不清楚你发的神马啊

使用Imagus扩展

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-12-05 06:43
#10
SamLukeYes

这个 QQ 音乐算社区开发的吗[尾]


自动忽略即可

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-12-05 06:43
#11
WangZhongyun

众人拾柴火焰高,深度生态好加好


https://www.spark-app.store/

Reply View the author
lcw0268
deepin
2020-12-06 06:40
#12
Claw龙虾bot

新版论坛都没办法点击查看大图

Ctrl+鼠标滚轮放大缩小网页。Ctrl+0恢复。

Reply View the author
字甲达宾
deepin
2020-12-07 05:39
#13

2020-12-05

关于 spark-store 源里的 osx-icons 软件包存在的几个问题和风险:

1. 图标类的,一般适用所有硬件平台,即
Architecture: all

(现为:Architecture: amd64)

2. DEBIAN/control 内容中,各标签顺序严重混乱。建议 debreate 程序,后期版本升级时,优化自动生成 contorl 的标签排序。

3. DEBIAN/postinst, postrm 及各种安装前/安装后脚本,如果是 shell 或者 bash ,务必添加两行标签头:

#!/bin/sh
set -e

或者

#!/bin/bash
set -e

说明:如果没有 set -e ,在用 lintian 检查生成的 DEB 软件包,会报错 postinst 脚本语法错误。

4. 现包内的 DEBIAN/postrm 内容如下:

sudo rm -rf /usr/share/icons/OSX icons

严重风险警告:
** 1. Linux 下,目录名尽可能不要带空格!!!
** 2. 如果删除带空格的目录名,或者文件,务必用成对的双引号(或者单引号),把路径包起来!
如果某个用户,根目录下正好有个 /icons/ 的文件夹,会被这条指令全部删除的!!!
** 3. 如果是 正常卸载 DEB 包,空目录会被自动删除,即不需要这个 postrm 文件。

5. 图标主题的相关软件包,按规则,一般命名为 osx-icon-theme 之类的;

6. DEB 包,一般还应自带这2个文件:
/usr/share/doc/包名/copyright
/usr/share/doc/包名/changelog.Debian.gz

这两个文件,找其它的 DEB 包,抄个模板,按格式调整一下即可,技术上不难。
注意:使用 gzip 压缩时,应使用 gzip -9 -n 这两个选项。否则 用 lintian 检查生成的 DEB 软件包,会报错压缩格式异常。

7......

总之,强烈推荐打包前,先认真读一遍 《debian 新维护者手册》,了解一些最基本的 DEB 包规则。PDF 版本(共63页)在这里下载:

https://www.debian.org/doc/manuals/maint-guide/
https://www.debian.org/doc/manuals/maint-guide/maint-guide.zh-cn.pdf


Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-12-07 18:18
#14
字甲达宾

2020-12-05

关于 spark-store 源里的 osx-icons 软件包存在的几个问题和风险:

1. 图标类的,一般适用所有硬件平台,即
Architecture: all

(现为:Architecture: amd64)

2. DEBIAN/control 内容中,各标签顺序严重混乱。建议 debreate 程序,后期版本升级时,优化自动生成 contorl 的标签排序。

3. DEBIAN/postinst, postrm 及各种安装前/安装后脚本,如果是 shell 或者 bash ,务必添加两行标签头:

#!/bin/sh
set -e

或者

#!/bin/bash
set -e

说明:如果没有 set -e ,在用 lintian 检查生成的 DEB 软件包,会报错 postinst 脚本语法错误。

4. 现包内的 DEBIAN/postrm 内容如下:

sudo rm -rf /usr/share/icons/OSX icons

严重风险警告:
** 1. Linux 下,目录名尽可能不要带空格!!!
** 2. 如果删除带空格的目录名,或者文件,务必用成对的双引号(或者单引号),把路径包起来!
如果某个用户,根目录下正好有个 /icons/ 的文件夹,会被这条指令全部删除的!!!
** 3. 如果是 正常卸载 DEB 包,空目录会被自动删除,即不需要这个 postrm 文件。

5. 图标主题的相关软件包,按规则,一般命名为 osx-icon-theme 之类的;

6. DEB 包,一般还应自带这2个文件:
/usr/share/doc/包名/copyright
/usr/share/doc/包名/changelog.Debian.gz

这两个文件,找其它的 DEB 包,抄个模板,按格式调整一下即可,技术上不难。
注意:使用 gzip 压缩时,应使用 gzip -9 -n 这两个选项。否则 用 lintian 检查生成的 DEB 软件包,会报错压缩格式异常。

7......

总之,强烈推荐打包前,先认真读一遍 《debian 新维护者手册》,了解一些最基本的 DEB 包规则。PDF 版本(共63页)在这里下载:

https://www.debian.org/doc/manuals/maint-guide/
https://www.debian.org/doc/manuals/maint-guide/maint-guide.zh-cn.pdf


1.有些包之前出现过依赖问题

之前ms-core-font是all,wine应用依赖他,结果dpkg只要i386架构

后来就统一写amd64了,其实swrt包都是all,但是swrt不是,怕出错

2.顺序有什么影响么?

3.收到

4.这个的确,当时太不规范了

5.当时不规范

6.带不带无所谓吧?




Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2020-12-09 05:51
#15
lcw0268

Ctrl+鼠标滚轮放大缩小网页。Ctrl+0恢复。

网页变大了,图片依然是小的,且模糊

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-12-09 06:20
#16
Claw龙虾bot

网页变大了,图片依然是小的,且模糊


右键图片,新标签页打开

Reply View the author