From 685defa68419654e875a7167a7b09d5398c497a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Wed, 5 Jan 2022 04:42:01 +0100 Subject: [PATCH] Rename the whole project shorter There is no point in claiming speed, it turns out to be a strange focus to have, considering the amount of available innovations to make. The new name does not appear to be taken by anything important. --- README.adoc | 12 ++++++------ fastiv-browse.desktop => fiv-browse.desktop | 8 ++++---- fiv-browser.c | 2 +- fiv-browser.h | 2 +- fiv-view.c | 2 +- fiv-view.h | 2 +- fastiv.c => fiv.c | 4 ++-- fastiv.desktop => fiv.desktop | 8 ++++---- fastiv.svg => fiv.svg | 0 meson.build | 12 ++++++------ 10 files changed, 26 insertions(+), 26 deletions(-) rename fastiv-browse.desktop => fiv-browse.desktop (64%) rename fastiv.c => fiv.c (99%) rename fastiv.desktop => fiv.desktop (57%) rename fastiv.svg => fiv.svg (100%) diff --git a/README.adoc b/README.adoc index e1689f5..34ae714 100644 --- a/README.adoc +++ b/README.adoc @@ -1,8 +1,8 @@ -fastiv -====== +fiv +=== -'fastiv' is a fast image viewer, directly supporting BMP, PNG, GIF, JPEG, WebP, -and optionally raw photos, HEIC, AVIF, SVG, X11 cursors and TIFF, +'fiv' is an image browser and viewer, supporting BMP, PNG, GIF, JPEG, WebP +directly, plus optionally raw photos, HEIC, AVIF, SVG, X11 cursors and TIFF, or whatever gdk-pixbuf loads. Its development status can be summarized as '`beta`'. @@ -29,7 +29,7 @@ libturbojpeg, libwebp, spng>=0.7.0 + Optional dependencies: lcms2, LibRaw, librsvg-2.0, xcursor, libheif, libtiff, gdk-pixbuf-2.0, ExifTool - $ git clone --recursive https://git.janouch.name/p/fastiv.git + $ git clone --recursive https://git.janouch.name/p/fiv.git $ meson builddir $ cd builddir $ meson compile @@ -50,7 +50,7 @@ The GTK+ inspector will be very helpful, should you want to experiment. Contributing and Support ------------------------ -Use https://git.janouch.name/p/fastiv to report any bugs, request features, +Use https://git.janouch.name/p/fiv to report any bugs, request features, or submit pull requests. `git send-email` is tolerated. If you want to discuss the project, feel free to join me at ircs://irc.janouch.name, channel #dev. diff --git a/fastiv-browse.desktop b/fiv-browse.desktop similarity index 64% rename from fastiv-browse.desktop rename to fiv-browse.desktop index fa0df9d..ac717f9 100644 --- a/fastiv-browse.desktop +++ b/fiv-browse.desktop @@ -1,9 +1,9 @@ [Desktop Entry] Type=Application -Name=fastiv -GenericName=File Browser -Icon=fastiv -Exec=fastiv --browse -- %u +Name=fiv +GenericName=Image Browser +Icon=fiv +Exec=fiv --browse -- %u NoDisplay=true Terminal=false StartupNotify=true diff --git a/fiv-browser.c b/fiv-browser.c index 57e9398..25a6719 100644 --- a/fiv-browser.c +++ b/fiv-browser.c @@ -1,5 +1,5 @@ // -// fiv-browser.c: fast image viewer - filesystem browser widget +// fiv-browser.c: filesystem browsing widget // // Copyright (c) 2021 - 2022, Přemysl Eric Janouch
// diff --git a/fiv-browser.h b/fiv-browser.h index 2987916..6a1a5c4 100644 --- a/fiv-browser.h +++ b/fiv-browser.h @@ -1,5 +1,5 @@ // -// fiv-browser.h: fast image viewer - filesystem browser widget +// fiv-browser.h: filesystem browsing widget // // Copyright (c) 2021 - 2022, Přemysl Eric Janouch
// diff --git a/fiv-view.c b/fiv-view.c index 6c47e74..fbac427 100644 --- a/fiv-view.c +++ b/fiv-view.c @@ -1,5 +1,5 @@ // -// fiv-view.c: fast image viewer - view widget +// fiv-view.c: image viewing widget // // Copyright (c) 2021, Přemysl Eric Janouch
// diff --git a/fiv-view.h b/fiv-view.h index c487d91..db3842a 100644 --- a/fiv-view.h +++ b/fiv-view.h @@ -1,5 +1,5 @@ // -// fiv-view.h: fast image viewer - view widget +// fiv-view.h: image viewing widget // // Copyright (c) 2021, Přemysl Eric Janouch
// diff --git a/fastiv.c b/fiv.c similarity index 99% rename from fastiv.c rename to fiv.c index 11c7774..ec113b4 100644 --- a/fastiv.c +++ b/fiv.c @@ -1,5 +1,5 @@ // -// fastiv.c: fast image viewer +// fiv.c: fuck-if-I-know-how-to-name-it image browser and viewer // // Copyright (c) 2021 - 2022, Přemysl Eric Janouch
// @@ -1187,7 +1187,7 @@ main(int argc, char *argv[]) GError *error = NULL; gboolean initialized = gtk_init_with_args( - &argc, &argv, " - fast image viewer", options, NULL, &error); + &argc, &argv, " - Image browser and viewer", options, NULL, &error); if (show_version) { printf(PROJECT_NAME " " PROJECT_VERSION "\n"); return 0; diff --git a/fastiv.desktop b/fiv.desktop similarity index 57% rename from fastiv.desktop rename to fiv.desktop index e1a50a9..315e281 100644 --- a/fastiv.desktop +++ b/fiv.desktop @@ -1,10 +1,10 @@ [Desktop Entry] Type=Application -Name=fastiv +Name=fiv GenericName=Image Viewer -Icon=fastiv -Exec=fastiv -- %u +Icon=fiv +Exec=fiv -- %u Terminal=false StartupNotify=true Categories=Graphics;2DGraphics;Viewer; -MimeType=image/png;image/bmp;image/gif;image/jpeg; +MimeType=image/png;image/bmp;image/gif;image/jpeg;image/webp; diff --git a/fastiv.svg b/fiv.svg similarity index 100% rename from fastiv.svg rename to fiv.svg diff --git a/meson.build b/meson.build index 50ac6f2..d862493 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ # vim: noet ts=4 sts=4 sw=4: -project('fastiv', 'c', +project('fiv', 'c', default_options : ['c_std=gnu99', 'warning_level=2'], version : '0.1.0') add_project_arguments( @@ -70,7 +70,7 @@ resources = gnome.compile_resources('resources', c_name : 'resources', ) -exe = executable('fastiv', 'fastiv.c', 'fiv-view.c', 'fiv-io.c', +exe = executable('fiv', 'fiv.c', 'fiv-view.c', 'fiv-io.c', 'fiv-browser.c', 'fiv-sidebar.c', 'fiv-thumbnail.c', 'xdg.c', resources, install : true, dependencies : [dependencies]) @@ -81,11 +81,11 @@ if gdkpixbuf.found() dependencies : [dependencies, gdkpixbuf]) endif -install_data('fastiv.desktop', +install_data('fiv.desktop', install_dir : get_option('datadir') + '/applications') -install_data('fastiv-browse.desktop', +install_data('fiv-browse.desktop', install_dir : get_option('datadir') + '/applications') -install_data('fastiv.svg', +install_data('fiv.svg', install_dir : get_option('datadir') + '/icons/hicolor/scalable/apps') # TODO(p): Replace this with custom_target(). @@ -96,5 +96,5 @@ MimeType=$($1 --list-supported-media-types | tr "\\012" ";") }" "$MESON_INSTALL_DESTDIR_PREFIX/$2"''', 'sh', exe.full_path(), - get_option('datadir') + '/applications/fastiv.desktop') + get_option('datadir') + '/applications/fiv.desktop') endif