From 3c1a822f60e08f2ad2f9920984b5d7f948367101 Mon Sep 17 00:00:00 2001 From: Oscar Benedito Date: Sat, 20 Jun 2020 02:16:34 +0200 Subject: favicon: png to ico --- Makefile | 6 +++--- example_create.sh | 4 ++-- favicon.ico | Bin 0 -> 38078 bytes favicon.png | Bin 505 -> 0 bytes stagit-index.1 | 2 +- stagit-index.c | 2 +- stagit.1 | 2 +- stagit.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 favicon.ico delete mode 100644 favicon.png diff --git a/Makefile b/Makefile index d5f4876..2c8b1f8 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ dist: rm -rf ${NAME}-${VERSION} mkdir -p ${NAME}-${VERSION} cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} \ - Makefile favicon.png logo.png style.css \ + Makefile favicon.ico logo.png style.css \ example_create.sh example_post-receive.sh \ ${NAME}-${VERSION} # make tarball @@ -80,7 +80,7 @@ install: all # installing example files. mkdir -p ${DESTDIR}${DOCPREFIX} cp -f style.css\ - favicon.png\ + favicon.ico\ logo.png\ example_create.sh\ example_post-receive.sh\ @@ -97,7 +97,7 @@ uninstall: # removing example files. rm -f \ ${DESTDIR}${DOCPREFIX}/style.css\ - ${DESTDIR}${DOCPREFIX}/favicon.png\ + ${DESTDIR}${DOCPREFIX}/favicon.ico\ ${DESTDIR}${DOCPREFIX}/logo.png\ ${DESTDIR}${DOCPREFIX}/example_create.sh\ ${DESTDIR}${DOCPREFIX}/example_post-receive.sh\ diff --git a/example_create.sh b/example_create.sh index cf16e1d..e1adbe1 100755 --- a/example_create.sh +++ b/example_create.sh @@ -3,7 +3,7 @@ # - Makes static pages for each repository directory. # # NOTE, things to do manually (once) before running this script: -# - copy style.css, logo.png and favicon.png manually, a style.css example +# - copy style.css, logo.png and favicon.ico manually, a style.css example # is included. # # - write clone url, for example "git://git.codemadness.org/dir" to the "url" @@ -37,7 +37,7 @@ for dir in "${reposdir}/"*/; do ln -sf log.html index.html ln -sf ../style.css style.css ln -sf ../logo.png logo.png - ln -sf ../favicon.png favicon.png + ln -sf ../favicon.ico favicon.ico echo "done" done diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..0fcd76a Binary files /dev/null and b/favicon.ico differ diff --git a/favicon.png b/favicon.png deleted file mode 100644 index a7bc302..0000000 Binary files a/favicon.png and /dev/null differ diff --git a/stagit-index.1 b/stagit-index.1 index b4787a8..44e13e0 100644 --- a/stagit-index.1 +++ b/stagit-index.1 @@ -29,7 +29,7 @@ owner of repository .Pp For changing the style of the page you can use the following files: .Bl -tag -width Ds -.It favicon.png +.It favicon.ico favicon image. .It logo.png 32x32 logo. diff --git a/stagit-index.c b/stagit-index.c index 2b243ec..3e895c5 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -68,7 +68,7 @@ writeheader(FILE *fp) "\n" "", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "\n\n", relpath); + fprintf(fp, "\n\n", relpath); fprintf(fp, "\n", relpath); fputs("\n\n", fp); fprintf(fp, "\n\n" diff --git a/stagit.1 b/stagit.1 index 360f716..ece3608 100644 --- a/stagit.1 +++ b/stagit.1 @@ -94,7 +94,7 @@ exists in HEAD a direct link in the menu is made. .Pp For changing the style of the page you can use the following files: .Bl -tag -width Ds -.It favicon.png +.It favicon.ico favicon image. .It logo.png 32x32 logo. diff --git a/stagit.c b/stagit.c index 7ff036f..6891bd4 100644 --- a/stagit.c +++ b/stagit.c @@ -352,7 +352,7 @@ writeheader(FILE *fp, const char *title) if (description[0]) fputs(" - ", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "\n\n", relpath); + fprintf(fp, "\n\n", relpath); fprintf(fp, "\n", name, relpath); fprintf(fp, "\n", relpath); -- cgit v1.2.3
\"\"