mirror of
https://gitee.com/openharmony/third_party_cups
synced 2024-11-23 01:49:57 +00:00
update readme Signed-off-by:dongzhengkuan@huawei.com
Signed-off-by: dongzhengkuan <dongzhengkuan@huawei.com>
This commit is contained in:
parent
caa448979e
commit
d4b315d738
50
README.md
50
README.md
@ -1,42 +1,20 @@
|
||||
# cups
|
||||
## cups
|
||||
### Introduction
|
||||
OpenPrinting CUPS is the most current version of CUPS, a standards-based, open source printing system for Linux® and other Unix®-like operating systems. CUPS supports printing to:
|
||||
- AirPrint™ and IPP Everywhere™ printers,
|
||||
- Network and local (USB) printers with Printer Applications, and
|
||||
- Network and local (USB) printers with (legacy) PPD-based printer drivers.
|
||||
|
||||
#### Introduction & Software Architecture
|
||||
- [Refer to the official documentation](ttps://github.com/OpenPrinting/cups)
|
||||
You can also learn more about the Cups project through [the official website](https://github.com/OpenPrinting/cups)
|
||||
|
||||
#### Generates Header File
|
||||
|
||||
The following patches is carried by the openEuler:libnl3 open source library:
|
||||
|
||||
backport-Also-fix-cupsfilter.patch
|
||||
backport-CVE-2022-26691.patch
|
||||
backport-CVE-2023-32324.patch
|
||||
backport-CVE-2023-34241.patch
|
||||
backport-Remove-legacy-code-for-RIP_MAX_CACHE-environment-variable.patch
|
||||
cups-banners.patch
|
||||
cups-direct-usb.patch
|
||||
cups-driverd-timeout.patch
|
||||
cups-freebind.patch
|
||||
cups-ipp-multifile.patch
|
||||
cups-multilib.patch
|
||||
cups-system-auth.patch
|
||||
cups-uri-compat.patch
|
||||
cups-usb-paperout.patch
|
||||
cups-web-devices-timeout.patch
|
||||
fix-httpAddrGetList-test-case-fail.patch
|
||||
|
||||
The following patches are added to solve the compilation problem under the OpenHarmony project:
|
||||
|
||||
cups_single_file.patch
|
||||
pthread_cancel.patch
|
||||
|
||||
#### Contribution
|
||||
|
||||
[How to involve](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)
|
||||
|
||||
[Commit message spec](https://gitee.com/openharmony/device_qemu/wikis/Commit%20message%E8%A7%84%E8%8C%83)
|
||||
### Background Brief
|
||||
In the process of OpenHarmony's southward ecological development, it is necessary to be compatible with printers in the stock market. The use of cups printing system can directly connect with most printers in the market, which also reduces the difficulty for printer manufacturers to adapt to OpenHarmony.
|
||||
|
||||
#### Repositories Involved
|
||||
|
||||
[third_party_cups-filters](https://gitee.com/openharmony/third_party_cups-filters)
|
||||
[print_print_fwk](https://gitee.com/openharmony/print_print_fwk)
|
||||
|
||||
#### Contribution
|
||||
[How to involve](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)
|
||||
[Commit message spec](https://gitee.com/openharmony/device_qemu/wikis/Commit%20message%E8%A7%84%E8%8C%83)
|
||||
|
||||
[print_print_fwk](https://gitee.com/openharmony/print_print_fwk)
|
42
README_ZH.md
42
README_ZH.md
@ -1,42 +0,0 @@
|
||||
# cups
|
||||
|
||||
#### 简介 & 软件架构
|
||||
|
||||
- [参考官方文档](https://github.com/OpenPrinting/cups)
|
||||
|
||||
#### patch包说明
|
||||
|
||||
以下patch包为openEuler:cups开源库本身携带
|
||||
backport-Also-fix-cupsfilter.patch
|
||||
backport-CVE-2022-26691.patch
|
||||
backport-CVE-2023-32324.patch
|
||||
backport-CVE-2023-34241.patch
|
||||
backport-Remove-legacy-code-for-RIP_MAX_CACHE-environment-variable.patch
|
||||
cups-banners.patch
|
||||
cups-direct-usb.patch
|
||||
cups-driverd-timeout.patch
|
||||
cups-freebind.patch
|
||||
cups-ipp-multifile.patch
|
||||
cups-multilib.patch
|
||||
cups-system-auth.patch
|
||||
cups-uri-compat.patch
|
||||
cups-usb-paperout.patch
|
||||
cups-web-devices-timeout.patch
|
||||
fix-httpAddrGetList-test-case-fail.patch
|
||||
|
||||
以下patch包为解决在OpenHarmony工程下编译存在的问题自行添加
|
||||
cups_single_file.patch
|
||||
pthread_cancel.patch
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
[如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)
|
||||
|
||||
[Commit message规范](https://gitee.com/openharmony/device_qemu/wikis/Commit%20message%E8%A7%84%E8%8C%83)
|
||||
|
||||
|
||||
#### 相关仓
|
||||
|
||||
[third_party_cups-filters](https://gitee.com/openharmony/third_party_cups-filters)
|
||||
|
||||
[print_print_fwk](https://gitee.com/openharmony/print_print_fwk)
|
40
README_zh.md
Executable file
40
README_zh.md
Executable file
@ -0,0 +1,40 @@
|
||||
## 三方开源软件cups
|
||||
### cups简介
|
||||
cups(Common Unix Printing System)是一种开源打印系统,现在由OpenPrinting组织维护。cups主要功能包括打印队列管理、打印驱动程序管理、网络打印支持等。cups支持多种打印协议,包括IPP(Internet Printing Protocol) 、LPD(Line Printer Daemon Protocal)、AppSocket等。
|
||||
|
||||
cups支持以下类型的打印机:1、AirPrint和IPP Everywhere认证的打印机;2、带打印机应用程序的网络和USB打印机;3、基于PPD(PostScript Printer Definition)打印驱动程序的网络和本地(USB)打印机。
|
||||
|
||||
您也可以通过[cups官网主页](https://github.com/OpenPrinting/cups)了解更多关于cups项目的信息。
|
||||
|
||||
### 引入背景简述
|
||||
Openharmony南向生态发展过程中,需要对存量市场的打印机进行兼容。使用cups打印系统能直接对接市场上大部分的打印机,也减少了打印机厂商适配OpenHarmony的难度。
|
||||
|
||||
### 目录结构
|
||||
```
|
||||
- LICENSE 版权文件
|
||||
- OAT.xml OAT.xml过滤配置文件
|
||||
- README.OpenSource 项目README.OpenSource文件
|
||||
- README.md 英文说明
|
||||
- README_zh.md 中文说明
|
||||
- backport-CVE-2022-26691.patch CVE修复补丁
|
||||
- backport-CVE-2023-32324.patch CVE修复补丁
|
||||
- backport-CVE-2023-34241.patch CVE修复补丁
|
||||
- cups-2.4.0-source.tar.gz cups2.4.0源码压缩tar包
|
||||
- backport-xxx.patch 上游更新补丁列表
|
||||
- cups-xxx.patch 上游更新补丁列表
|
||||
- cups.spec 上游更新记录说明
|
||||
- cups.yaml 上游yaml文件
|
||||
- cups_single_file.patch 适配OH编译补丁文件
|
||||
- pthread_cancel.patch 适配OH编译补丁文件
|
||||
- install.sh 适配OH编译sh脚本文件
|
||||
- generate_mime_convs.py 适配OH编译python脚本文件
|
||||
```
|
||||
|
||||
#### 相关仓
|
||||
[third_party_cups-filters](https://gitee.com/openharmony/third_party_cups-filters)
|
||||
[print_print_fwk](https://gitee.com/openharmony/print_print_fwk)
|
||||
|
||||
#### 参与贡献
|
||||
[如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)
|
||||
[Commit message规范](https://gitee.com/openharmony/device_qemu/wikis/Commit%20message%E8%A7%84%E8%8C%83)
|
||||
|
@ -17,7 +17,7 @@ import sys
|
||||
import os
|
||||
import shutil
|
||||
|
||||
def copy_file(dir)
|
||||
def copy_file(dir):
|
||||
src_name = '/mime.convs.in'
|
||||
dest_name = '/mime.convs'
|
||||
src_file = dir + src_name
|
||||
|
Loading…
Reference in New Issue
Block a user