{"id":34634733,"url":"https://github.com/xuthus5/fedora-packager","last_synced_at":"2025-12-24T17:00:01.840Z","repository":{"id":37727323,"uuid":"433281119","full_name":"xuthus5/fedora-packager","owner":"xuthus5","description":"fedora下安装微信和企业微信。install wechat on fedora.","archived":false,"fork":false,"pushed_at":"2023-03-02T15:28:30.000Z","size":67,"stargazers_count":55,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-03-05T17:44:39.637Z","etag":null,"topics":["189cloud","deepin-wine","fedora","iqiyi","kugou","pvz","tim","wechat","wework"],"latest_commit_sha":null,"homepage":"https://build.opensuse.org/project/show/home:xuthus5","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuthus5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-30T03:35:18.000Z","updated_at":"2023-03-05T04:13:56.000Z","dependencies_parsed_at":"2023-01-31T21:01:42.724Z","dependency_job_id":null,"html_url":"https://github.com/xuthus5/fedora-packager","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/xuthus5/fedora-packager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuthus5%2Ffedora-packager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuthus5%2Ffedora-packager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuthus5%2Ffedora-packager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuthus5%2Ffedora-packager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuthus5","download_url":"https://codeload.github.com/xuthus5/fedora-packager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuthus5%2Ffedora-packager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["189cloud","deepin-wine","fedora","iqiyi","kugou","pvz","tim","wechat","wework"],"created_at":"2025-12-24T17:00:00.713Z","updated_at":"2025-12-24T17:00:01.835Z","avatar_url":"https://github.com/xuthus5.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# fedora-packager\n\n\u003e 目前维护了 fedora 下的 wechat, wxwork, deepin-wine6-stable, deepin-wine-helper 等.\n\n## 添加软件源\n\n```bash\nsudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:xuthus5/Fedora_$(rpm -E %fedora)/home:xuthus5.repo\n```\n\n## 安装说明\n\n**注**: 目前不再维护 `Fedora release version \u003c 35` 的版本.\n\n\u003e `fedora-deepin-wine6` 和 `fedora-deepin-wine-helper` 是必装的依赖\n\n- `fedora-deepin-wine6` 用于驱动原生 `wine`\n- `fedora-deepin-wine-helper` 用于驱动打包好的程序。\n\n### 安装依赖\n\n```bash\nsudo dnf install fedora-deepin-wine6 fedora-deepin-wine-helper -y\n```\n\n## 目前维护的软件列表\n\n```bash\n# 安装 fedora-deepin-wine6 版本的微信\nsudo dnf install fedora-deepin-wechat-wine6 -y\n```\n\n| 包名                     | 描述           | 版本                   | 兼容wine5 | 兼容wine6+ |\n| ---------------------- | ------------ | -------------------- | ------- | -------- |\n| fedora-deepin-wine6    | deepin-wine6 | -                    | 是       | 是        |\n| fedora-deepin-wechat-wine6   | 微信           | 3.9.0 | 是       | 是        |\n| fedora-deepin-wework-wine6   | 企业微信         | 3.1.12.2             | 是       | 是        |\n| fedora-deepin-189cloud | 天翼云盘         | 6.3.8.1              | 是       | 否        |\n| fedora-deepin-iqiyi    | 爱奇艺          | 7.6.114.2            | 是       | 否        |\n| fedora-deepin-pvz      | 植物大战僵尸       | 1.0.0.1              | 是       | 否        |\n| fedora-deepin-kugou    | 酷狗音乐         | 9.1.44.1             | 是       | 否        |\n\n## 移植日记\n\n### wine6+ 的移植说明\n\nfedora35+上对 `libpcap` 以及 `openldap` 进行了更新，导致无法对原生的 `deepin-wine` 进行移植。本仓库的 `fedora-deepin-wine6` 对其中基础库依赖做了部分替换，由于无法对其影响作出正确的评估，所以使用时有一定软件崩坏风险，由此产出的一系列问题，本人概不负责。\n\n## 常见问题\n\n\u003e 对于安装后常规的字体等问题请自行解决。\n\n### 修复字体方块问题\n\n#### 方法一\n\n最简单的方法是下载一份已经处理好了的微软雅黑+宋体融合字体\n\n```bash\nwget https://images.xuthus.cc/images/fake_simsun.ttc\ncp fake_simsun.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/\n# 微信重启之\n/opt/apps/com.qq.weixin.deepin/files/run.sh\n```\n\n#### 方法二\n\n自定义需要配置的字体\n\n下载 微软雅黑 字体 放置到 `~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/` 下\n\n```bash\ncp /path/to/MSYH.TTC ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/msyh.ttc\n```\n\n设置deepin-wine5下的系统默认字体\n\n```bash\nvim ~/.deepinwine/Deepin-WeChat/system.reg\n\n\"MS Shell Dlg\"=\"msyh\"\n\"MS Shell Dlg 2\"=\"msyh\"\n\nvim ~/.deepinwine/Deepin-WeChat/msyh.reg\n\nREGEDIT4\n[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\FontLink\\SystemLink]\n\"Lucida Sans Unicode\"=\"msyh.ttc\"\n\"Microsoft Sans Serif\"=\"msyh.ttc\"\n\"MS Sans Serif\"=\"msyh.ttc\"\n\"Tahoma\"=\"msyh.ttc\"\n\"Tahoma Bold\"=\"msyhbd.ttc\"\n\"msyh\"=\"msyh.ttc\"\n\"Arial\"=\"msyh.ttc\"\n\"Arial Black\"=\"msyh.ttc\"\n```\n\n注册表注册之\n\n```bash\nWINEPREFIX=~/.deepinwine/Deepin-WeChat/ deepin-wine5 regedit ~/.deepinwine/Deepin-WeChat/system.reg\n\nWINEPREFIX=~/.deepinwine/Deepin-WeChat/ deepin-wine5 regedit ~/.deepinwine/Deepin-WeChat/msyh.reg\n```\n\n### WechatWin.dll文件缺失\n\n下载一份额外的依赖包(该包提供低版本的 deepin-wine6 依赖库)\n\nhttps://software.opensuse.org//download.html?project=home%3Axuthus5\u0026package=fedora-deepin-extra-lib\n\n```bash\n# 忽略冲突安装\nsudo rpm -ivh --force fedora-deepin-extra-lib-0.0.1-2.1.x86_64.rpm\n# 你也可以直接线上安装\nsudo rpm -ivh --force https://download.opensuse.org/repositories/home:/xuthus5/Fedora_$(rpm -E %fedora)/x86_64/fedora-deepin-extra-lib-0.0.1-7.1.x86_64.rpm\n\n# 必须按照如下步骤进行软链接\ncd /usr/lib/\nsudo ln -sf liblber-2.4.so.2.10.10 liblber-2.4.so.2\nsudo ln -sf libldap_r-2.4.so.2.10.10 libldap_r-2.4.so.2\nsudo ln -sf libldap_r-2.4.so.2 libldap-2.4.so.2\n\n# 下载wine旧版本的wldap32.dll.so\nwget -O wldap32.dll.so https://images.xuthus.cc/images/akrHXou_wldap32.dll.so\nsudo mv wldap32.dll.so /opt/deepin-wine6-stable/lib/wldap32.dll.so\n```\n\n接下来你可以执行 `/opt/apps/com.qq.weixin.deepin/files/run.sh` 重启微信。\n\n### 我无法运行软件 也无法拿到运行日志？\n\nwine提供 `WINEDEBUG` 环境变量可供你在运行时获取不同通道`channel`的日志信息。\n你只需要在你需要运行的软件前 添加 `WINEDEBUG=${log_level}+${channel}` 即可。\n详见：[WineHQ:Debug Channels](https://wiki.winehq.org/Debug_Channels)\n\n举一个例子：\n\n```bash\n# 打印微信运行时所有通道的error级别信息\n# will turn on WARN messages for all channels, in addition to already enabled ERR and FIXME messages.\nWINEDEBUG=warn+all /opt/apps/com.qq.weixin.deepin/files/run.sh\n```\n\n### 提示 wldap32.dll not found\n\n```bsh\n# 自行下载wine旧版本的wldap32.dll.so \nwget https://images.xuthus.cc/images/akrHXou_wldap32.dll.so\nsudo mv akrHXou_wldap32.dll.so /opt/deepin-wine6-stable/lib/wldap32.dll.so\n```\n\n## 如何打包\n\n参考我的此篇文章: [fedora 打包 wechat RPM 包](https://xuthus.cc/linux/fedora-packaged-wechat-rpm.html)\n\n## 项目地址\n\n项目地址是: [https://build.opensuse.org/project/show/home:xuthus5](https://build.opensuse.org/project/show/home:xuthus5)，构建文件和源代码包都裸露在上面。\n\n## 鸣谢\n\n[OBS](https://build.opensuse.org/) 整个的打包流程依赖 `openSUSE Build Service` 构建服务。\n\n[vufa/deepin-wine-wechat-arch](https://github.com/vufa/deepin-wine-wechat-arch) wechat源包提供者\n\n[deepin-wine-helper](https://aur.archlinux.org/packages/deepin-wine-helper/) deepin-wine-helper源包提供者\n\n[com.qq.weixin.work.deepin](https://aur.archlinux.org/packages/com.qq.weixin.work.deepin/) wework源包提供者\n\n[deepin-wine5](https://aur.archlinux.org/packages/deepin-wine5/) deepin-wine5源包提供者\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuthus5%2Ffedora-packager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuthus5%2Ffedora-packager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuthus5%2Ffedora-packager/lists"}