diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 40 | ||||
-rw-r--r-- | config.def.h | 2 | ||||
-rw-r--r-- | cqrlogo.c | 2 | ||||
-rw-r--r-- | cqrlogo.h | 2 | ||||
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/libcqrlogo.c | 2 | ||||
-rw-r--r-- | lib/libcqrlogo.h | 4 |
8 files changed, 41 insertions, 15 deletions
@@ -21,7 +21,7 @@ ZBARIMG := zbarimg # flags CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror CFLAGSSTATIC = $(CFLAGS) -CFLAGSSTATIC += -liniparser +CFLAGSSTATIC += $(shell pkg-config --cflags --libs iniparser) CFLAGSSTATIC += $(shell pkg-config --cflags --libs libpng) CFLAGSSTATIC += $(shell pkg-config --cflags --libs zlib) CFLAGSSTATIC += $(shell pkg-config --cflags --libs libqrencode) @@ -1,6 +1,10 @@ cqrlogo ======= +[](https://github.com/eworm-de/cqrlogo/stargazers) +[](https://github.com/eworm-de/cqrlogo/network) +[](https://github.com/eworm-de/cqrlogo/watchers) + **CGI QR-Code logo** The resulting QR-Code should look something like this: @@ -9,17 +13,21 @@ The resulting QR-Code should look something like this: It is generated dynamically from referer URL sent by the user agent. +*Use at your own risk*, pay attention to +[license and warranty](#license-and-warranty), and +[disclaimer on external links](#disclaimer-on-external-links)! + Requirements ------------ To compile and run `cqrlogo` you need: -* [iniparser](https://github.com/ndevilla/iniparser) -* [libpng](http://www.libpng.org/pub/png/libpng.html) -* [zlib](https://www.zlib.net/) (which is a dependency for libpng) -* [qrencode](https://fukuchi.org/works/qrencode/) -* [fcgi](http://www.fastcgi.com/) (for FastCGI support) -* [markdown](https://daringfireball.net/projects/markdown/) (HTML documentation) +* [iniparser ↗️](https://github.com/ndevilla/iniparser) +* [libpng ↗️](https://www.libpng.org/pub/png/libpng.html) +* [zlib ↗️](https://www.zlib.net/) (which is a dependency for libpng) +* [qrencode ↗️](https://fukuchi.org/works/qrencode/) +* [fcgi ↗️](https://github.com/FastCGI-Archives/fcgi2) (for FastCGI support) +* [markdown ↗️](https://daringfireball.net/projects/markdown/) (HTML documentation) Additionally it is expected to have `make` and `pkg-config` around to successfully compile. @@ -28,7 +36,7 @@ Some systems may require additional development packages for the libraries. Look for `libpng-dev`, `libz-dev` and `libqrencode-dev` or similar. For `make check` to work you have to install optional dependency -[zbar](http://zbar.sourceforge.net/). +[zbar ↗️](https://zbar.sourceforge.net/). Build and install ----------------- @@ -137,6 +145,21 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](COPYING.md) for more details. +Disclaimer on external links +---------------------------- + +Our website contains links to the websites of third parties ("external +links"). As the content of these websites is not under our control, we +cannot assume any liability for such external content. In all cases, the +provider of information of the linked websites is liable for the content +and accuracy of the information provided. At the point in time when the +links were placed, no infringements of the law were recognisable to us. +As soon as an infringement of the law becomes known to us, we will +immediately remove the link in question. + +> 💡️ **Hint**: All external links are marked with an arrow pointing +> diagonally in an up-right (or north-east) direction (↗️). + ### Upstream URL: @@ -145,3 +168,6 @@ URL: Mirror: [eworm.de](https://git.eworm.de/cgit.cgi/cqrlogo/) [GitHub.com](https://github.com/eworm-de/cqrlogo#cqrlogo) + +--- +[⬆️ Go back to top](#top) diff --git a/config.def.h b/config.def.h index c78a282..7250e22 100644 --- a/config.def.h +++ b/config.def.h @@ -1,5 +1,5 @@ /* - * (C) 2013-2024 by Christian Hesse <mail@eworm.de> + * (C) 2013-2025 by Christian Hesse <mail@eworm.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1,5 +1,5 @@ /* - * (C) 2013-2024 by Christian Hesse <mail@eworm.de> + * (C) 2013-2025 by Christian Hesse <mail@eworm.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1,5 +1,5 @@ /* - * (C) 2013-2024 by Christian Hesse <mail@eworm.de> + * (C) 2013-2025 by Christian Hesse <mail@eworm.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/Makefile b/lib/Makefile index 068a482..952bdb4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -6,7 +6,7 @@ LN := ln # flags CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror -CFLAGS += -liniparser +CFLAGS += $(shell pkg-config --cflags --libs iniparser) CFLAGS += $(shell pkg-config --cflags --libs libpng) CFLAGS += $(shell pkg-config --cflags --libs zlib) CFLAGS += $(shell pkg-config --cflags --libs libqrencode) diff --git a/lib/libcqrlogo.c b/lib/libcqrlogo.c index d7a7a1b..5716c73 100644 --- a/lib/libcqrlogo.c +++ b/lib/libcqrlogo.c @@ -1,5 +1,5 @@ /* - * (C) 2013-2024 by Christian Hesse <mail@eworm.de> + * (C) 2013-2025 by Christian Hesse <mail@eworm.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h index 102975b..ba6cc97 100644 --- a/lib/libcqrlogo.h +++ b/lib/libcqrlogo.h @@ -1,5 +1,5 @@ /* - * (C) 2013-2024 by Christian Hesse <mail@eworm.de> + * (C) 2013-2025 by Christian Hesse <mail@eworm.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ #include <png.h> #include <zlib.h> #include <qrencode.h> -#include <iniparser.h> +#include <iniparser/iniparser.h> /* a bitmap */ struct cqr_bitmap { |