Commit e3704ac0 authored by Sergio Costas's avatar Sergio Costas

Removed .sh from terminus_showhide. Added set -e to the install scripts.

As sugested by "barak", removed the .sh extension from the script for showing and hiding the guake-like terminal.

Added "set -e" to the postinst and postrm files to manage a lintian problem
parent 3de1bfd4
......@@ -2,8 +2,7 @@
A new terminal for XWindows (and Wayland)
## What is it? ##
## What is it ##
There are plenty of graphic terminals for linux, so what makes this one different?
......@@ -22,7 +21,6 @@ of the new characteristics available and to use less resources (both guake and t
are written in python 2, which needs more memory, and uses Gtk2, which can be considered
obsolete).
## Compiling it ##
Just follow the classic cmake instructions:
......@@ -48,7 +46,6 @@ older than Gtk 3.22. You can do it this way:
make
sudo make install
## Using it ##
By default, using Shift+F12 will show the Quake-like terminal, but you can change
......@@ -60,7 +57,6 @@ to have it. You can also launch it from a terminal.
Currently the number of options modificable is small, but more will become available.
## Creating new palettes ##
It is very easy to add new palettes to Terminus. Just edit a file with *.color_scheme*
......@@ -71,7 +67,6 @@ depending where you installed the binaries) to have it globally available, or at
The format is very simple. Here is an example that defines a foreground/background
color scheme:
name: Orange on black
name[es]: Naranja sobre negro
text_fg: #FECE12
......@@ -113,7 +108,6 @@ foreground/background colors; and you also will find a palette scheme called
MYGREATFULLSCHEME in the palette scheme list, and it will change only the palette
itself, but not the foreground/background colors.
## FAQ ##
**Q:** I use Gnome-Shell and when I show the Quake terminal, it doesn't get the focus.
......@@ -127,11 +121,11 @@ Fortunately, Terminus includes a Gnome Shell extension that allows to show the Q
terminal. If you have installed Terminus, just exit your session, enter again, and enable
the extension with gnome-tweak-tool.
Another way is using the desktop keybindings to launch the script "terminus_showhide.sh",
Another way is using the desktop keybindings to launch the script "terminus_showhide",
which makes use of the DBus remote control to show and hide the Quake-like terminal.
In Gnome Shell it is as easy as opening the Settings window, choose the "Keyboard" icon,
and add there the desired hotkey, associating it with "terminus_showhide.sh" program.
and add there the desired hotkey, associating it with "terminus_showhide" program.
**Q:** I translated Terminus, but the color and palette schemes aren't translated. Why?
**A:** You have to also translate the ".color_scheme" files located at data/local.
......
......@@ -14,7 +14,7 @@ ADD_CUSTOM_COMMAND (
add_custom_target(extras_gresource_xml DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/extras.gresource.xml.c)
SET (extras_gresource_xml_C_FILE ${CMAKE_CURRENT_BINARY_DIR}/extras.gresource.xml.c PARENT_SCOPE)
SET (extras_gresource_xml_H_FILE ${CMAKE_CURRENT_BINARY_DIR}/extras.gresource.xml.h PARENT_SCOPE)
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/terminus_showhide.sh DESTINATION ${CMAKE_INSTALL_BINDIR})
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/terminus_showhide DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/terminus.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/ )
if( NOT ( ${CMAKE_INSTALL_PREFIX} MATCHES "^/home/" ) )
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/terminus_autorun.desktop DESTINATION /etc/xdg/autostart/ )
......
......@@ -2,16 +2,18 @@ Source: terminus
Maintainer: Sergio Costas <rastersoft@gmail.com>
Priority: optional
Section: misc
Build-Depends: build-essential, po-debconf, valac, libc6-dev, libgtk-3-dev, libgee-0.8-dev, libglib2.0-dev, libkeybinder-3.0-dev, libvte-2.91-dev, cmake, gettext, pkg-config, gcc, g++, make, intltool
Standards-Version: 4.1.3
Homepage: https://github.com/rastersoft/terminus
Build-Depends: build-essential, po-debconf, valac (>=0.30), libc6-dev, libgee-0.8-dev, libkeybinder-3.0-dev, libvte-2.91-dev, cmake, intltool
Package: terminus
Architecture: any
Version: 0.10.0
Depends: libgtk-3-0, libpangocairo-1.0-0, libpango-1.0-0, libgdk-pixbuf2.0-0, libcairo-gobject2, libcairo2, libglib2.0-0, libatk1.0-0, libgee-0.8-2, libkeybinder-3.0-0, libvte-2.91-0, zlib1g, libpcre2-8-0, libgnutls30
Depends: libgee-0.8-2, libkeybinder-3.0-0, libvte-2.91-0
Description: A new terminal for X11 and Wayland both for classic,
in-window terminal, and Guake-like (hot-key drop-down mode)
terminal. It also allows to split the window both in horizontal
and vertical, like Terminator, all in one program. Other features
include a scroll-back buffer, tabs, and the usual compatibility
features.
.
#!/bin/sh
set -e
glib-compile-schemas /usr/share/glib-2.0/schemas
#!/bin/sh
set -e
glib-compile-schemas /usr/share/glib-2.0/schemas
terminus (0.10.0-Debian1) sid; urgency=low
* Now guake mode works better under Wayland
-- Sergio Costas Rodriguez <raster@rastersoft.com> Sun, 03 Dec 2017 23:55:00 +0200
terminus (0.9.1-Debian1) sid; urgency=low
* Now doesn't lock gnome shell under wayland for 20 seconds when there are no instances of terminus running and the user presses the key to show the guake terminal
-- Sergio Costas Rodriguez <raster@rastersoft.com> Fry, 13 Oct 2017 23:55:00 +0200
terminus (0.9.0-Debian1) sid; urgency=low
* Now the guake-style window won't get stuck in maximized mode when resized too big
* Now the guake mode works fine if all terminus sessions are killed and is relaunched via D-Bus
* Now, when closing the terminal in an split window, the other terminal will receive the focus
-- Sergio Costas Rodriguez <raster@rastersoft.com> Thu, 12 Oct 2017 23:55:00 +0200
terminus (0.8.1-Debian1) sid; urgency=low
* Fixed the install path when creating packages
* Fixed the gnome shell extension, now it works on gnome shell 3.24 and 3.26
* Forced GTK version to 3, to avoid compiling with GTK 4
-- Sergio Costas Rodriguez <raster@rastersoft.com> Mon, 18 Sep 2017 23:55:00 +0200
terminus (0.8.0-Debian1) sid; urgency=low
* Fixed some startup bugs
-- Sergio Costas Rodriguez <raster@rastersoft.com> Tue, 01 Aug 2017 23:55:00 +0200
terminus (0.7.0-Debian1) sid; urgency=low
* Added full palette support
* Added all palette styles from gnome-terminal
* Added Solarized palette
* Allows to set the preferred shell
* Allows to configure more details (cursor shape, using bolds, rewrap on resize, and terminal bell)
-- Sergio Costas Rodriguez <raster@rastersoft.com> Sat, 24 Dec 2016 23:55:00 +0200
terminus (0.6.0-Debian1) sid; urgency=low
* Added a Gnome Shell extension, to allow to use the quake-terminal mode under Wayland with Gnome Shell
* Fixed the top bar (sometimes it didn't show the focus)
* Removed several deprecated functions
-- Sergio Costas Rodriguez <raster@rastersoft.com> Sat, 17 Dec 2016 23:55:00 +0200
terminus (0.5.0-Debian1) sid; urgency=low
* Added Wayland support
* Added DBus remote control
-- Sergio Costas Rodriguez <raster@rastersoft.com> Mon, 12 Dec 2016 23:55:00 +0200
terminus (0.4.0-Debian1) sid; urgency=low
* Fixed the window size during startup
* Fixed resize bug when moving the mouse too fast
* Fixed the "Copy" function. Now it copies the text to the clipboard
-- Sergio Costas Rodriguez <raster@rastersoft.com> Sat, 17 Sep 2016 23:55:00 +0200
terminus (0.3.0-Debian1) sid; urgency=low
* Fixed compilation paths
* Now can be compiled with valac-0.30
* Added package files
-- Sergio Costas Rodriguez <raster@rastersoft.com> Wed, 24 Aug 2016 23:55:00 +0200
terminus (0.2.0-Debian1) sid; urgency=low
* Fixed resizing
* Cyclic jump from tab to tab using Page Down and Page Up
* Added note in the README to fix the focus problem in Gnome Shell
-- Sergio Costas Rodriguez <raster@rastersoft.com> Wed, 24 Aug 2016 23:50:00 +0200
terminus (0.1.0-Debian1) sid; urgency=low
* First public version
-- Sergio Costas Rodriguez <raster@rastersoft.com> Tue, 23 Aug 2016 23:55:00 +0200
Source: terminus
Maintainer: Sergio Costas <rastersoft@gmail.com>
Priority: optional
Section: misc
Build-Depends: build-essential, po-debconf, valac, libc6-dev, libatk1.0-dev, libcairo2-dev, libgtk-3-dev, libgdk-pixbuf2.0-dev, libgee-0.8-dev, libglib2.0-dev, libkeybinder-3.0-dev, libpango1.0-dev, libvte-2.91-dev, libx11-dev, cmake, gettext, pkg-config, gcc, g++, make, intltool
Package: terminus
Architecture: any
Version: 0.10.0
Depends: libatk1.0-0, libglib2.0-0, libcairo2, libgtk-3-0, libpangocairo-1.0-0, libpango-1.0-0, libgdk-pixbuf2.0-0, libcairo-gobject2, libgee-0.8-2, libkeybinder-3.0-0, libvte-2.91-0, libgnutls30, libx11-6, libglib2.0-bin
Description: A new terminal for XWindows
.
#!/bin/sh
glib-compile-schemas /usr/share/glib-2.0/schemas
#!/bin/sh
glib-compile-schemas /usr/share/glib-2.0/schemas
#!/usr/bin/make -f
BUILDDIR = build_dir
# secondly called by launchpad
build:
mkdir $(BUILDDIR);
cd $(BUILDDIR); cmake -DCMAKE_INSTALL_PREFIX=/usr -DGSETTINGS_COMPILE=OFF -DICON_UPDATE=OFF ..
make -C $(BUILDDIR)
# thirdly called by launchpad
binary: binary-indep binary-arch
binary-indep:
# nothing to be done
binary-arch:
make install -C $(BUILDDIR) DESTDIR=./debian/tmp
mkdir -p ./debian/tmp/DEBIAN
mv $(BUILDDIR)/debian/tmp/* ./debian/tmp
dpkg-gencontrol -pterminus;
dpkg --build debian/tmp ..
# firstly called by launchpad
clean:
rm -f build
rm -rf $(BUILDDIR)
.PHONY: binary binary-arch binary-indep clean
......@@ -28,7 +28,7 @@ meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','
meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),join_paths(get_option('prefix'),get_option('datadir'),'doc','terminus'),join_paths(meson.current_source_dir(),'doc','','*'))
installfile_1 = files('data/terminus_showhide.sh')
installfile_1 = files('data/terminus_showhide')
install_data(installfile_1, install_dir: get_option('bindir'))
install_data('data/terminus.desktop',install_dir:join_paths(get_option('prefix'),get_option('datadir'),'applications'))
if (get_option('prefix').startswith('/home/'))
......
......@@ -55,7 +55,7 @@ vala_check_package: gtk+-3.0
*doc: doc
*binary: data/terminus_showhide.sh
binary: data/terminus_showhide
*desktop: data/terminus.desktop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment