diff --git a/Cargo.toml b/Cargo.toml index f62f0ca..f88465f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "neovim-gtk" +name = "nvim-gtk" version = "0.1.1" authors = ["daa84 "] build = "build.rs" diff --git a/Makefile b/Makefile index 608f476..cad57a3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,14 @@ +PREFIX?=/usr/local + test: RUST_BACKTRACE=1 cargo test run: RUST_BACKTRACE=1 cargo run + +install: + cp target/release/nvim-gtk $(PREFIX)/bin/ + cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/ + cp desktop/nvim-gtk.png $(PREFIX)/share/pixmaps/ + cp -n desktop/dejavu_font/*.ttf $(PREFIX)/share/fonts/ + fc-cache -fv diff --git a/desktop/dejavu_font/DejaVu Fonts License.txt b/desktop/dejavu_font/DejaVu Fonts License.txt new file mode 100644 index 0000000..6939980 --- /dev/null +++ b/desktop/dejavu_font/DejaVu Fonts License.txt @@ -0,0 +1,97 @@ +Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. +Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below) + +Bitstream Vera Fonts Copyright +------------------------------ + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is +a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute the +Font Software, including without limitation the rights to use, copy, merge, +publish, distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to the +following conditions: + +The above copyright and trademark notices and this permission notice shall +be included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional glyphs or characters may be added to the Fonts, only if the fonts +are renamed to names not containing either the words "Bitstream" or the word +"Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream +Vera" names. + +The Font Software may be sold as part of a larger software package but no +copy of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING +ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font Software +without prior written authorization from the Gnome Foundation or Bitstream +Inc., respectively. For further information, contact: fonts at gnome dot +org. + +Arev Fonts Copyright +------------------------------ + +Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and +associated documentation files (the "Font Software"), to reproduce +and distribute the modifications to the Bitstream Vera Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to +the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Tavmjong Bah" or the word "Arev". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Tavmjong Bah Arev" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the name of Tavmjong Bah shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Font Software without prior written authorization +from Tavmjong Bah. For further information, contact: tavmjong @ free +. fr. \ No newline at end of file diff --git a/desktop/dejavu_font/DejaVuSansMono-Bold.ttf b/desktop/dejavu_font/DejaVuSansMono-Bold.ttf new file mode 100644 index 0000000..9c71679 Binary files /dev/null and b/desktop/dejavu_font/DejaVuSansMono-Bold.ttf differ diff --git a/desktop/dejavu_font/DejaVuSansMono-BoldOblique.ttf b/desktop/dejavu_font/DejaVuSansMono-BoldOblique.ttf new file mode 100644 index 0000000..d6536a5 Binary files /dev/null and b/desktop/dejavu_font/DejaVuSansMono-BoldOblique.ttf differ diff --git a/desktop/dejavu_font/DejaVuSansMono-Oblique.ttf b/desktop/dejavu_font/DejaVuSansMono-Oblique.ttf new file mode 100644 index 0000000..e1af341 Binary files /dev/null and b/desktop/dejavu_font/DejaVuSansMono-Oblique.ttf differ diff --git a/desktop/dejavu_font/DejaVuSansMono.ttf b/desktop/dejavu_font/DejaVuSansMono.ttf new file mode 100644 index 0000000..8b7bb2a Binary files /dev/null and b/desktop/dejavu_font/DejaVuSansMono.ttf differ diff --git a/desktop/nvim-gtk.desktop b/desktop/nvim-gtk.desktop new file mode 100644 index 0000000..cdb9ecf --- /dev/null +++ b/desktop/nvim-gtk.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=NeovimGtk +Comment=Gtk GUI for Neovim text editor +Exec=nvim-gtk -- %F +Icon=nvim-gtk +Type=Application +Terminal=false +Categories=Utility;TextEditor; diff --git a/desktop/nvim-gtk.png b/desktop/nvim-gtk.png new file mode 100644 index 0000000..1dde98d Binary files /dev/null and b/desktop/nvim-gtk.png differ