Skip to content

Commit 81898ad

Browse files
committed
doc(all): sync to the latest status
1 parent 26467a4 commit 81898ad

File tree

15 files changed

+44
-20
lines changed

15 files changed

+44
-20
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.12...4.1.1)
22
if (POLICY CMP0048)
33
cmake_policy(SET CMP0048 NEW)
44
endif (POLICY CMP0048)
5-
project(base16384 VERSION 2.3.1)
5+
project(base16384 VERSION 2.3.2)
66

77
add_definitions(-DBASE16384_VERSION="${PROJECT_VERSION}")
8-
add_definitions(-DBASE16384_VERSION_DATE="April 7th 2024")
8+
add_definitions(-DBASE16384_VERSION_DATE="Sep 4th 2025")
99

1010
message(STATUS "Testing endian...")
1111
include(TestBigEndian)

README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Save more space and since the code 0x0000 is encoded to "一", finding zero spac
3232
sudo apt install base16384
3333
```
3434

35-
### Install from Homebrew
36-
> 从 Homebrew 安装
35+
### Install from Homebrew (MacOS, etc.)
36+
> 从 Homebrew 安装 (如 MacOS 等系统)
3737
```bash
3838
brew install base16384
3939
```
@@ -46,6 +46,18 @@ sudo apt-get update
4646
sudo apt-get install base16384
4747
```
4848

49+
### Install from OpenWrt packages
50+
> OpenWrt 下安装 packages
51+
```bash
52+
opkg install base16384
53+
```
54+
55+
### Install from Arch Linux AUR
56+
> Arch Linux 上从 AUR 仓库安装
57+
```
58+
yay -S base16384
59+
```
60+
4961
### Build from source code
5062
> 编译
5163
@@ -86,6 +98,18 @@ base16384 -[ed][t][n][cC] [inputfile] [outputfile]
8698
outputfile pass - to write to stdout
8799
```
88100

101+
You can also run functional tests by
102+
103+
也可执行以下命令以测试功能
104+
105+
```bash
106+
mkdir build
107+
cd build
108+
cmake -DBUILD=test ..
109+
cmake --build . --config Release --target all --
110+
ctest
111+
```
112+
89113
## Examples
90114
> 用例
91115
1. Encode simple text
@@ -96,7 +120,7 @@ base16384 -[ed][t][n][cC] [inputfile] [outputfile]
96120
婌焳廔萷
97121
```
98122

99-
3. Decode simple text
123+
2. Decode simple text
100124
> 简单文本解码
101125

102126
```bash

base1432.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* base1432.c
22
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
3-
* Copyright (c) 2022-2024 Fumiama Minamoto.
3+
* Copyright (c) 2022-2025 Fumiama Minamoto.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

base1464.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* base1464.c
22
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
3-
* Copyright (c) 2022-2024 Fumiama Minamoto.
3+
* Copyright (c) 2022-2025 Fumiama Minamoto.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

base16384.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH BASE16384 1 "7 April 2024" "GNU" "User Commands"
1+
.TH BASE16384 1 "4 Sep 2025" "GNU" "User Commands"
22
.SH NAME
33
base16384 \- Encode binary files to printable utf16be
44
.SH SYNOPSIS
@@ -104,7 +104,7 @@ on github.
104104
.SH AUTHOR
105105
This manual page contributed by Fumiama Minamoto.
106106
.SH "COPYRIGHT"
107-
Copyright \(co 2022-2024, Fumiama Minamoto
107+
Copyright \(co 2022-2025, Fumiama Minamoto
108108
This file is part of
109109
.IR "base16384" .
110110
.LP

base16384.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* base16384.c
22
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
3-
* Copyright (c) 2022-2024 Fumiama Minamoto.
3+
* Copyright (c) 2022-2025 Fumiama Minamoto.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by
@@ -46,7 +46,7 @@ static base16384_err_t print_usage() {
4646
#define BASE16384_VERSION_DATE "unknown date"
4747
#endif
4848
fputs(
49-
"Copyright (c) 2022-2024 Fumiama Minamoto.\nBase16384 "
49+
"Copyright (c) 2022-2025 Fumiama Minamoto.\nBase16384 "
5050
BASE16384_VERSION
5151
" ("
5252
BASE16384_VERSION_DATE

base16384.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/* base16384.h
55
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
6-
* Copyright (c) 2022-2024 Fumiama Minamoto.
6+
* Copyright (c) 2022-2025 Fumiama Minamoto.
77
*
88
* This program is free software: you can redistribute it and/or modify
99
* it under the terms of the GNU General Public License as published by

binary.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/* binary.h
55
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
6-
* Copyright (c) 2022-2024 Fumiama Minamoto.
6+
* Copyright (c) 2022-2025 Fumiama Minamoto.
77
*
88
* This program is free software: you can redistribute it and/or modify
99
* it under the terms of the GNU General Public License as published by

file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* file.c
22
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
3-
* Copyright (c) 2022-2024 Fumiama Minamoto.
3+
* Copyright (c) 2022-2025 Fumiama Minamoto.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 2.8.12...4.1.1)
22
if (POLICY CMP0048)
33
cmake_policy(SET CMP0048 NEW)
44
endif (POLICY CMP0048)

0 commit comments

Comments
 (0)