summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-09-28 07:59:12 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2021-01-16 11:03:08 +0100
commit6ebd60144aa25e4ec062b1524441360f45688d61 (patch)
tree99d828f961ca1621ef8b34c84fa938cd633c759a /README.md
parent40fa5dd89d2c2686fbc2d5f8f702e84a66f734b7 (diff)
downloadgcr-6ebd60144aa25e4ec062b1524441360f45688d61.tar.gz
Convert README to markdown
Diffstat (limited to 'README.md')
-rw-r--r--README.md60
1 files changed, 60 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..842b217
--- /dev/null
+++ b/README.md
@@ -0,0 +1,60 @@
+GCR
+===
+GCR is a library for displaying certificates and crypto UI, accessing
+key stores. It also provides the viewer for crypto files on the GNOME
+desktop.
+
+GCK is a library for accessing PKCS#11 modules like smart cards, in a
+(G)object oriented way.
+
+Building
+--------
+
+You can build GCR using [Meson] with the following build commands (replace
+`$BUILDDIR` with your chosed build directory).
+
+```
+$ meson $BUILDDIR
+$ meson compile -C $BUILDDIR
+$ meson install -C $BUILDDIR
+```
+
+Contributing
+------------
+The code and issue tracker of GCR can be found at the GNOME GitLab instance at
+https://gitlab.gnome.org/GNOME/gcr.
+
+If you would like to get involved with GNOME projects, please also visit our
+[Newcomers page] on the Wiki.
+
+Debug tracing
+-------------
+The Gcr and Gck libraries contain statements which help debug flow
+and logic. In many cases these help you track down problems.
+
+Use the environment variable `G_MESSAGES_DEBUG='all'` or
+`G_MESSAGES_DEBUG='xxx'` to display either all messages or a specific categories
+of debug messages. You can separate categories in this list with spaces, commas
+or semicolons. Gcr library uses category 'Gcr', while Gck library uses category
+'Gck'.
+
+```
+# Example to display all debug messages:
+$ G_MESSAGES_DEBUG=all gcr-viewer /path/to/certificate.crt
+
+# Example to display debug messages for a specific category:
+$ G_MESSAGES_DEBUG="Gcr" gcr-viewer /path/to/certificate.crt
+```
+
+For the Gck debug messages simply replace 'Gcr' with 'Gck' in the above
+examples.
+
+More information
+----------------
+To discuss issues with developers and other users, you can post to the
+[GNOME Discourse instance](https://discourse.gnome.org).
+
+
+
+[Meson]: https://mesonbuild.com
+[Newcomers page]: https://wiki.gnome.org/TranslationProject/JoiningTranslation