2024.8.17 版本在 Debian gcc14 中编译报错 


编译日志，临时放在：

https://xjphwy.atzlinux.com/tmp/stardict_3.0.7.2024.8.17%2Bdfsg-1_amd64.build

请协助修改代码，谢谢！


Debian 社区中，有人在尝试帮忙解决该问题，替换旧函数，修复 64 位时间问题，相关代码在：

https://salsa.debian.org/EiPiFun/stardict/-/tree/debian-eipifun/debian/patches?ref_type=heads

欢迎一起协作！

salsa EiPiFun前来认领。除了GTimeVal是依据代码逻辑主动修改的，其他的替换是基于编译器的建议，需要上游作者依据依据代码逻辑进行审查，谢谢。仅机械替换会导致编译Error

联系方式，me@eipi.fun



在 Debian 11.5 下，星际译王在 Xfce 桌面，会同时出现多个主窗口
 待办的
#I5VF4B
atzlinux
创建于  
2022-10-13 08:34
在点击星际译王的桌面图标，或者菜单栏图标时，星际译王会出现多个实例，多个窗口。
而且点击关闭，有一个实例的主窗口，长时间无法退出。


huzheng
拥有者
刚刚
是xfce的问题，你报告给xfce！
xfce-gtk4应该能解决这个问题！

atzlinux
回复
huzheng
拥有者
2年前

请问知道具体是 xfce 哪个软件包或者程序的问题吗？是否方便提供下定位问题的过程？



stardict-gtk: cannot look up the same word twice
 待办的
#I5LS1Q
atzlinux
创建于  
2022-08-11 12:09
编辑
删除
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490238

使用取词修饰键取词，不能够对同一个单词高亮重复取词两次。





NULL pointer Debian bug report #405482
 待办的
#I5HA3C
atzlinux
创建于  
2022-07-15 14:38
编辑
删除
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405482#50

Is this bug already fixed in the new version?

+1 0-1 0 
5349448 atzlinux 1586501537
atzlinux创建了任务 2个月前
huzheng-huzheng
huzheng
拥有者
2个月前
atzlinux，你能提供补丁不？

表态
回复
5349448 atzlinux 1586501537
atzlinux
回复
huzheng
拥有者
2个月前
这个 bug 的报告者没有提供补丁，我也无法提供。
但提供的信息应该对修复问题，很有帮助。

目前是发现星际译王新版本，时不时会出现奔溃情况。




Debian 10 下，最新版本编译 deb 包，点击退出，程序报错，进程任然存在
 待办的
#I54253
atzlinux
创建于  
2022-04-22 12:33
编辑
删除
命令行执行 stardict 启动程序：

在终端看到的信息：

stardict 

(stardict:8914): Gtk-WARNING **: 12:20:10.042: Failed to parse /home/atzlinux/.config/gtk-3.0/settings.ini: Key file does not have group “Settings”
WordNet词典渲染插件[加载成功]。
XDXF数据解析插件[加载成功]。
Load /usr/lib/x86_64-linux-gnu/stardict/plugins/stardict_festival.so failed!
WordNet数据解析插件[加载成功]。
QQWry插件[加载成功]。
HTML数据解析插件[加载成功]。
PowerWord数据解析插件[加载成功]。
Man虚拟词典插件[加载成功]。
Wiki数据解析插件[加载成功]。
更新信息插件[加载成功]。
YouDao.com网络词典插件[加载成功]。
Gucharmap插件[加载成功]。
用户词典插件[加载成功]。
Espeak-ng插件[加载成功]。
找到 en_US 拼写词典！
拼写检查插件[加载成功]。
Cal虚拟词典插件[加载成功]。
Info虚拟词典插件[加载成功]。
Fortune虚拟词典插件[加载成功]。
bookname: StarDict dictionary, wordcount 9
bookname: 21世纪英汉汉英双向词典, wordcount 224820
bookname: 朗道英汉字典5.0, wordcount 435468
bookname: 简明汉英词典, wordcount 113261
bookname: 牛津现代英汉双解词典, wordcount 39429
bookname: 朗道汉英字典5.0, wordcount 405719
bookname: 简明英汉词典, wordcount 68875
(GLib) [critical] Source ID 114 was not found when attempting to remove it
(GLib) [critical] Source ID 131 was not found when attempting to remove it
Load /usr/lib/x86_64-linux-gnu/stardict/plugins/stardict_festival.so failed!
Espeak插件[加载成功]。
Flite TTS插件[加载成功]。
Dict.cn网络词典插件[加载成功]。
(GLib) [critical] Source ID 3268 was not found when attempting to remove it
(GLib-GObject) [warning] instance with invalid (NULL) class pointer
(GLib-GObject) [critical] g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(GLib-GObject) [warning] instance with invalid (NULL) class pointer
(GLib-GObject) [critical] g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(GLib-GObject) [warning] instance with invalid (NULL) class pointer
(GLib-GObject) [critical] g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(GLib-GObject) [warning] instance with invalid (NULL) class pointer
(GLib-GObject) [critical] g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(GLib-GObject) [warning] instance with invalid (NULL) class pointer
(GLib-GObject) [critical] g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(GLib-GObject) [critical] g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(Gtk) [critical] gtk_main_quit: assertion 'main_loops != NULL' failed

在界面点击退出，就会看到这个错误提示，程序界面消失后，操作系统的程序进程还在

+1 0-1 0 
5349448 atzlinux 1586501537
atzlinux创建了任务 5个月前
5349448 atzlinux 1586501537
atzlinux 修改了描述 5个月前
展开全部操作日志 
huzheng-huzheng
huzheng
拥有者
5个月前
这个应该是gtk3的bug！你也查一下！！问gtk社区的高手！发到bugzilla.gnome.org！





stardict-dictdotcn-plugin use https
 进行中
#I5ED1N
atzlinux
创建于  
2022-06-27 18:53
编辑
删除
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806960

please use https to https://www.dict.cn

+1 0-1 0 
5349448 atzlinux 1586501537
atzlinux创建了任务 3个月前
5349448 atzlinux 1586501537
atzlinux
3个月前
please also disable stardict-dictdotcn-plugin default.

表态
回复
huzheng-huzheng
huzheng
拥有者
2个月前
使用https不现实，要涉及到加密！
stardict-dictdotcn-plugin 已经过时，因为服务端不提供服务了！

你看 INSTALL 文档：
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --disable-dictdotcn --disable-gnome-support --disable-scrollkeeper

你制作debian文件夹时加--disable-dictdotcn哈！

表态
回复
huzheng-huzheng
huzheng 将任务状态从 待办的 修改为已完成 2个月前
5349448 atzlinux 1586501537
atzlinux 将任务状态从 已完成 修改为进行中 2个月前
5349448 atzlinux 1586501537
atzlinux
2个月前
https://dict.cn/, 目前已经支持 https 。

我刚才在这个网站上试了下，还是可以进行翻译查询的，你确认 它们 的 API 接口，无法使用了吗？
