Skip to content

Commit c4875c0

Browse files
committed
chore: add website and issues URL to metadata and version info
Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com>
1 parent 4f539d7 commit c4875c0

6 files changed

Lines changed: 39 additions & 0 deletions

File tree

README-zh.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ meson install -C builddir
213213
Usage:
214214
live-photo-make [OPTION…] - Make Live Photos from image and video files
215215
216+
WebSite: https://github.com/wszqkzqk/live-photo-conv
217+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
218+
216219
Help Options:
217220
-h, --help Show help options
218221
@@ -252,6 +255,9 @@ live-photo-make --video /path/to/video.mp4 --output /path/to/output.jpg
252255
Usage:
253256
live-photo-extract [OPTION…] - Extract images and videos from Live Photos
254257
258+
WebSite: https://github.com/wszqkzqk/live-photo-conv
259+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
260+
255261
Help Options:
256262
-h, --help Show help options
257263
@@ -303,6 +309,9 @@ live-photo-extract --live-photo /path/to/live_photo.jpg --long-exposure /path/to
303309
Usage:
304310
live-photo-repair [OPTION…] - Repair Live Photos with missing or corrupted metadata
305311
312+
WebSite: https://github.com/wszqkzqk/live-photo-conv
313+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
314+
306315
Help Options:
307316
-h, --help Show help options
308317
@@ -332,6 +341,9 @@ live-photo-repair -p /path/to/live_photo.jpg
332341
Usage:
333342
live-photo-conv [OPTION…] - Extract, Repair or Make Live Photos
334343
344+
WebSite: https://github.com/wszqkzqk/live-photo-conv
345+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
346+
335347
Help Options:
336348
-h, --help Show help options
337349
@@ -396,6 +408,9 @@ live-photo-conv --repair --live-photo /path/to/live_photo.jpg
396408
Usage:
397409
copy-img-meta [OPTION…] <source-img> <dest-img> - Copy the metadata from one image to another
398410
411+
WebSite: https://github.com/wszqkzqk/live-photo-conv
412+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
413+
399414
Help Options:
400415
-h, --help Show help options
401416

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ Create live photos from images and videos.
213213
Usage:
214214
live-photo-make [OPTION…] - Make Live Photos from image and video files
215215
216+
WebSite: https://github.com/wszqkzqk/live-photo-conv
217+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
218+
216219
Help Options:
217220
-h, --help Show help options
218221
@@ -252,6 +255,9 @@ Extract images, videos, and video frames from live photos.
252255
Usage:
253256
live-photo-extract [OPTION…] - Extract images and videos from Live Photos
254257
258+
WebSite: https://github.com/wszqkzqk/live-photo-conv
259+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
260+
255261
Help Options:
256262
-h, --help Show help options
257263
@@ -303,6 +309,9 @@ Repair corrupted live photos.
303309
Usage:
304310
live-photo-repair [OPTION…] - Repair Live Photos with missing or corrupted metadata
305311
312+
WebSite: https://github.com/wszqkzqk/live-photo-conv
313+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
314+
306315
Help Options:
307316
-h, --help Show help options
308317
@@ -332,6 +341,9 @@ live-photo-repair --live-photo /path/to/live_photo.jpg
332341
Usage:
333342
live-photo-conv [OPTION…] - Extract, Repair or Make Live Photos
334343
344+
WebSite: https://github.com/wszqkzqk/live-photo-conv
345+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
346+
335347
Help Options:
336348
-h, --help Show help options
337349
@@ -396,6 +408,9 @@ live-photo-conv --repair --live-photo /path/to/live_photo.jpg
396408
Usage:
397409
copy-img-meta [OPTION…] <source-img> <dest-img> - Copy the metadata from one image to another
398410
411+
WebSite: https://github.com/wszqkzqk/live-photo-conv
412+
Report Bugs: https://github.com/wszqkzqk/live-photo-conv/issues
413+
399414
Help Options:
400415
-h, --help Show help options
401416

src/copyimgmeta.vala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class LivePhotoConv.CopyImgMeta {
4747
var args = strdupv (original_args);
4848
#endif
4949
var opt_context = new OptionContext ("<source-img> <dest-img> - Copy the metadata from one image to another");
50+
opt_context.set_summary ("WebSite: " + WEBSITE + "\nReport Bugs: " + ISSUES_URL);
5051
opt_context.add_main_entries (options, null);
5152
try {
5253
opt_context.parse_strv (ref args);
@@ -74,6 +75,8 @@ class LivePhotoConv.CopyImgMeta {
7475

7576
if (show_version) {
7677
Reporter.info_puts ("Image Metadata Copying Tool", VERSION);
78+
Reporter.info_puts ("WebSite", WEBSITE);
79+
Reporter.info_puts ("Report Bugs", ISSUES_URL);
7780
return 0;
7881
}
7982

src/main.vala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ class LivePhotoConv.Main {
153153
}
154154

155155
var opt_context = new OptionContext (help_description);
156+
opt_context.set_summary ("WebSite: " + WEBSITE + "\nReport Bugs: " + ISSUES_URL);
156157
opt_context.add_main_entries (options, null);
157158
try {
158159
opt_context.parse_strv (ref args);
@@ -180,6 +181,8 @@ class LivePhotoConv.Main {
180181

181182
if (show_version) {
182183
Reporter.info_puts ("Live Photo Converter", VERSION);
184+
Reporter.info_puts ("WebSite", WEBSITE);
185+
Reporter.info_puts ("Report Bugs", ISSUES_URL);
183186
return 0;
184187
}
185188

src/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ pkg.generate(
6262
name: 'LivePhotoTools',
6363
filebase: 'livephototools',
6464
description: 'A library for live photo conversion',
65+
url: 'https://github.com/wszqkzqk/live-photo-conv',
6566
libraries: liblivephototools,
6667
version: meson.project_version(),
6768
subdirs: 'livephototools',

src/version.vala.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919

2020
namespace LivePhotoConv {
2121
public const string VERSION = "@VCS_TAG@";
22+
public const string WEBSITE = "https://github.com/wszqkzqk/live-photo-conv";
23+
public const string ISSUES_URL = "https://github.com/wszqkzqk/live-photo-conv/issues";
2224
}

0 commit comments

Comments
 (0)