Hello everybody, I was wondering why cgit does not ship a favicon by default. Could not find any discussions about that, so I hope I do not raise a discussion that has already been decided.
I would like to include a default favicon in cgit. The one I created includes
icons in 16x16 and 32x32 pixels. The file is optimized for size by using just
16 colors. Patch is attached.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
From b156bd6789e46503306a0ec663aee6a6d6f731b5 Mon Sep 17 00:00:00 2001 From: Christian Hesse <[email protected]> Date: Wed, 29 May 2013 10:16:06 +0200 Subject: [PATCH] add favicon This adds a favicon to cgit. It is not enabled by default, though. The file contains two icons, 16x16 and 32x32 pixels, optimized for size. --- Makefile | 2 ++ favicon.ico | Bin 0 -> 1078 bytes 2 files changed, 2 insertions(+) create mode 100644 favicon.ico diff --git a/Makefile b/Makefile index 1127961..e2beb15 100644 --- a/Makefile +++ b/Makefile @@ -189,6 +189,7 @@ install: all $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png + $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) $(INSTALL) -m 0755 filters/* $(DESTDIR)$(filterdir) @@ -210,6 +211,7 @@ uninstall: rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png + rm -f $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico uninstall-doc: uninstall-man uninstall-html uninstall-pdf diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..56ff59384f2ce308996d0027bb928c18e2c61785 GIT binary patch literal 1078 zcmZQzU}RuoP*4zH0D%`w3=C>OT0j88*I;B|;A3WB&;W`l0I>rQGcvFMNd|@npjvF; z|Ns9C0RhJtR<C{xRJ(?ux%nEyg^M2;v~_keq@|u^5EI|T@aD}Ah8Z*NGwk2@lEKDy zAH%~3Ul=S+_A&?pfz*kgE-rJ!7J}FyVCez|*C0GW83@<K6UrBH@!yk{cC^H$5h7sX zQUzixckzPoTU-o53>g<^2w%koLc6#^Xc+0@0b{MP-o1OzLl-9~e-YS1Ul?BuYCnv> z#KonkqvMJTjNjt&3#2gw%9kpEI8*}4mzx5yR}9J*bMb-L1Lymp@uB{Jhzg3q{6#aq z8`OSCc*w!R4H`aDQy}3Y<Khibr{a<bVyt(8y4%FX0~jBsUtAO+@<Ooqf<<TxL;x0_ zf^tSBE-sV8z^bvOCwhv3(m5#QD*!PpogV<Qu>nvz4-Gxez`(qOVcN923<nOpVo+Au z#!ygjf#KHePYkwp2N=XeH!-+-9%AV4y~*(X$3I|BTf^Y&co3M*qu;$!1$tT3PQCgu zFy%@<6%>pEhL}vDprG(XphWx5PkxC&dE;ey?|`(_3qip;AboEmP##EM2C5T32%&+h j!F(8fQ5MKogs78y2r*au9mF0%&v&mh1O>7AhZHdY^--`s literal 0 HcmV?d00001 -- 1.8.3
signature.asc
Description: PGP signature
_______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
