diff --git a/.gitignore b/.gitignore index 109ecfd..b819ae6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,9 @@ # Qt Creator files /CMakeLists.txt.user* -/autistdraw.config -/autistdraw.files -/autistdraw.creator* -/autistdraw.includes -/autistdraw.cflags -/autistdraw.cxxflags +/neetdraw.config +/neetdraw.files +/neetdraw.creator* +/neetdraw.includes +/neetdraw.cflags +/neetdraw.cxxflags diff --git a/CMakeLists.txt b/CMakeLists.txt index bcdf70f..c502b4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 3.0) -project (autistdraw VERSION 0.1.0 LANGUAGES C) +project (neetdraw VERSION 0.1.0 LANGUAGES C) # Moar warnings if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC) diff --git a/README.adoc b/README.adoc index f438ab3..a30ffcf 100644 --- a/README.adoc +++ b/README.adoc @@ -1,9 +1,9 @@ -autistdraw -========== +neetdraw +======== -'autistdraw' is a terminal drawing application with multiplayer support. +'neetdraw' is a terminal drawing application with multiplayer support. -image::autistdraw.png[align="center"] +image::neetdraw.png[align="center"] Packages -------- @@ -15,9 +15,9 @@ Building Build dependencies: CMake, pkg-config, liberty (included), termo (included) + Runtime dependencies: ncursesw, libev - $ git clone --recursive https://git.janouch.name/p/autistdraw.git - $ mkdir autistdraw/build - $ cd autistdraw/build + $ git clone --recursive https://git.janouch.name/p/neetdraw.git + $ mkdir neetdraw/build + $ cd neetdraw/build $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug $ make @@ -28,21 +28,21 @@ To install the application, you can do either the usual: Or you can try telling CMake to make a package for you. For Debian it is: $ cpack -G DEB - # dpkg -i autistdraw-*.deb + # dpkg -i neetdraw-*.deb Usage ----- For standalone mode you can run the program without arguments: - $ autistdraw + $ neetdraw To run as a server for other clients to connect to and draw simultaneously: - $ autistdraw -s :1234 + $ neetdraw -s :1234 To connect to a running server, run: - $ autistdraw -c localhost:1234 + $ neetdraw -c localhost:1234 Once you have the program running, simply select a colour you like from the palette and draw by pressing and dragging the mouse. Use the middle mouse @@ -66,7 +66,7 @@ you flood the communication channel with the terminal. Contributing and Support ------------------------ -Use https://git.janouch.name/p/autistdraw to report any bugs, request features, +Use https://git.janouch.name/p/neetdraw 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/config.h.in b/config.h.in index 0fd8a30..e8af66f 100644 --- a/config.h.in +++ b/config.h.in @@ -1,7 +1,7 @@ #ifndef CONFIG_H #define CONFIG_H -#define PROGRAM_NAME "${CMAKE_PROJECT_NAME}" +#define PROGRAM_NAME "${PROJECT_NAME}" #define PROGRAM_VERSION "${PROJECT_VERSION}" #cmakedefine HAVE_RESIZETERM diff --git a/autistdraw.c b/neetdraw.c similarity index 99% rename from autistdraw.c rename to neetdraw.c index 472f630..ab80477 100644 --- a/autistdraw.c +++ b/neetdraw.c @@ -1,5 +1,5 @@ /* - * autistdraw.c: terminal drawing for NEET autists^Wartists + * neetdraw.c: terminal drawing application with multiplayer support * * Copyright (c) 2014, Přemysl Eric Janouch * @@ -1415,7 +1415,7 @@ parse_program_arguments (struct app_options *options, int argc, char **argv) }; struct opt_handler oh = opt_handler_make (argc, argv, opts, - NULL, "Terminal drawing for NEET autists^Wartists"); + NULL, "Terminal drawing application with multiplayer support"); int c; while ((c = opt_handler_get (&oh)) != -1) diff --git a/autistdraw.png b/neetdraw.png similarity index 100% rename from autistdraw.png rename to neetdraw.png