--- terminal.app-0.9.4+cvs20051125.orig/TerminalView.m +++ terminal.app-0.9.4+cvs20051125/TerminalView.m @@ -2057,11 +2057,8 @@ fx=s.width; fy=s.height; /* TODO: clear up font metrics issues with xlib/backart */ - fx0=fabs(r.origin.x); - if (r.origin.y<0) - fy0=fy+r.origin.y; - else - fy0=r.origin.y; + fx0=-r.origin.x; + fy0=-r.origin.y; NSDebugLLog(@"term",@"Bounding (%g %g)+(%g %g)",fx0,fy0,fx,fy); font_encoding=[font mostCompatibleStringEncoding]; boldFont_encoding=[boldFont mostCompatibleStringEncoding]; --- terminal.app-0.9.4+cvs20051125.orig/TerminalParser_LinuxPrefs.m +++ terminal.app-0.9.4+cvs20051125/TerminalParser_LinuxPrefs.m @@ -7,10 +7,7 @@ of the License. See COPYING or main.m for more information. */ -#include -#include -#include -#include +#include #include #include #include "Label.h" --- terminal.app-0.9.4+cvs20051125.orig/GNUmakefile +++ terminal.app-0.9.4+cvs20051125/GNUmakefile @@ -44,7 +44,7 @@ \ Label.m -Terminal_LDFLAGS = -lutil +Terminal_TOOL_LIBS = -lutil Terminal_LOCALIZED_RESOURCE_FILES = Localizable.strings Terminal_LANGUAGES = English Swedish German French Spanish Hungarian Turkish \ --- terminal.app-0.9.4+cvs20051125.orig/ServicesPrefs.m +++ terminal.app-0.9.4+cvs20051125/ServicesPrefs.m @@ -7,20 +7,9 @@ of the License. See COPYING or main.m for more information. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include -#include -#include #include "Label.h" #include "ServicesPrefs.h" --- terminal.app-0.9.4+cvs20051125.orig/TerminalViewPrefs.m +++ terminal.app-0.9.4+cvs20051125/TerminalViewPrefs.m @@ -7,17 +7,7 @@ of the License. See COPYING or main.m for more information. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include "Label.h" --- terminal.app-0.9.4+cvs20051125.orig/debian/changelog +++ terminal.app-0.9.4+cvs20051125/debian/changelog @@ -0,0 +1,214 @@ +terminal.app (0.9.4+cvs20051125-6ubuntu1) oneiric; urgency=low + + * Move -lutil from Terminal_LDFLAGS to Terminal_TOOL_LIBS (LP: #831221). + + -- Colin Watson Tue, 23 Aug 2011 21:18:39 +0100 + +terminal.app (0.9.4+cvs20051125-6build2) oneiric; urgency=low + + * Rebuild for gnustep-base 0.22 and gnustep-gui 0.20. + + -- Colin Watson Mon, 11 Jul 2011 11:41:06 +0100 + +terminal.app (0.9.4+cvs20051125-6build1) natty; urgency=low + + * Rebuild for the GNUstep transition. + + -- Luca Falavigna Fri, 29 Oct 2010 21:28:22 +0200 + +terminal.app (0.9.4+cvs20051125-6) unstable; urgency=low + + * Patch to fix rendering bug with new GNUstep version. (Closes: #595764) + + -- Gürkan Sengün Tue, 07 Sep 2010 16:17:35 +0200 + +terminal.app (0.9.4+cvs20051125-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Use AppKit/AppKit.h instead of particular .h files (Closes: #581985). + + -- Luk Claes Tue, 24 Aug 2010 12:35:34 +0000 + +terminal.app (0.9.4+cvs20051125-5) unstable; urgency=low + + * Upload to unstable. + + -- Gürkan Sengün Wed, 02 Jul 2008 11:25:15 -0400 + +terminal.app (0.9.4+cvs20051125-4) experimental; urgency=low + + * GNUstep transition. + * Update my email address. + * Moved homepage field. + + -- Gürkan Sengün Wed, 09 Apr 2008 19:05:56 +0200 + +terminal.app (0.9.4+cvs20051125-3) unstable; urgency=low + + * GNUstep transition. + + Updated debian/rules. + + Updated debian/dirs. + * Menu transition: Moved from XShells to Applications/Terminal Emulators. + * Added a desktop file. + + -- Gürkan Sengün Thu, 04 Oct 2007 12:00:33 +0200 + +terminal.app (0.9.4+cvs20051125-2) unstable; urgency=low + + * Recompile with libgnustep-gui-dev. + * Bump standards version. + * Update FSF address. + + -- Gürkan Sengün Thu, 14 Sep 2006 20:14:24 +0200 + +terminal.app (0.9.4+cvs20051125-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Recompile with libgnustep-gui0.10. + + -- Christoph Berg Thu, 29 Dec 2005 17:29:26 +0100 + +terminal.app (0.9.4+cvs20051125-1) unstable; urgency=low + + * New maintainer. (Closes: #296626) + * Add conflicts/replaces. + * Rename package to terminal.app. (Closes: #241614) + * Bump standards version. + * Add co-maintainers. + * Update manual page. + * Update README.Debian. + * Add support for the alternatives system. + + -- Gürkan Sengün Fri, 25 Nov 2005 15:35:20 +0100 + +terminal (0.9.4+cvs20041218-0.2) unstable; urgency=low + + * Non-maintainer upload. + * Fixes FTBFS on amd64/gcc-4.0, thanks to Andreas Jochens. (Closes: #288595) + + -- Philipp Kern Wed, 11 May 2005 20:01:59 +0200 + +terminal (0.9.4+cvs20041218-0.1) unstable; urgency=low + + * Non maintainer upload. + * New upstream release -- taken from the backbone project + as advised by Gürkan Sengün: + http://savannah.nongnu.org/projects/backbone. + * Added man page. + * README.Debian: capitalised wrapper script '/usr/bin/Terminal' to match + what is actually installed. + + -- Jonathan Shipley Sun, 19 Dec 2004 13:45:28 +0000 + +terminal (0.9.4-2.2) unstable; urgency=low + + * NMU, adding app wrapper and menu. (Closes: #245248) + * Updated debian/control. (Closes: #241880) + + -- Gürkan Sengün Tue, 10 Aug 2004 01:32:56 +0200 + +terminal (0.9.4-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Recompile using new gnustep layout. + + -- Eric Heintzmann Thu, 25 Sep 2003 03:08:43 +0200 + +terminal (0.9.4-2) unstable; urgency=low + + * Changed all the Build-Depends: stuff to be exactly what I have on + my machine. Apparently I mucked this up somehow. (closes: Bug#199728) + * Updated the Standards-Version to make lintian shut up, and to look all + cool + + -- Evan Prodromou Wed, 2 Jul 2003 17:14:49 -0400 + +terminal (0.9.4-1) unstable; urgency=low + + * New upstream release + * removed the watch file, since the project moved and the new download + directory doesn't map well to the watchfile format. + * Updated copyright file to show new release location. + + -- Evan Prodromou Fri, 16 May 2003 10:36:49 -0700 + +terminal (0.9.3-3) unstable; urgency=low + + * Rebuild for new GNUstep libraries in Debian. + + -- Evan Prodromou Sat, 5 Apr 2003 13:16:57 +0100 + +terminal (0.9.3-2) unstable; urgency=low + + * Removed wrapper script and updated menu file to execute Terminal.app + directly. + * Removed dh_undocumented call. + * Fixed copyright file to make lintian stop squawking. + + -- Evan Prodromou Mon, 17 Mar 2003 14:05:34 +0000 + +terminal (0.9.3-1) unstable; urgency=low + + * New upstream release + * Updated Build-Depends for new GNUstep libs. + + -- Evan Prodromou Thu, 12 Dec 2002 17:04:35 +0100 + +terminal (0.9.2-1) unstable; urgency=low + + * New upstream release + * Updated build depends for new GNUstep versions + + -- Evan Prodromou Mon, 23 Sep 2002 13:49:29 +0200 + +terminal (0.9.1b-1) unstable; urgency=low + + * New upstream release + + -- Evan Prodromou Sun, 8 Sep 2002 13:40:14 -0700 + +terminal (0.9.1-4) unstable; urgency=low + + * Rebuild for new version of GNUstep gui, base, and make. + * Removed build dependency on the compiler, per gnustep-make changelog + entry. + + -- Evan Prodromou Mon, 5 Aug 2002 11:17:17 -0400 + +terminal (0.9.1-3) unstable; urgency=low + + * Rebuild for new version of GNUstep gui and base. + + -- Evan Prodromou Wed, 24 Jul 2002 16:44:05 -0400 + +terminal (0.9.1-2) unstable; urgency=low + + * dh_strip problems fixed in debhelper 4.0.7. So, changed build + dependencies and removed my_strip hack. + + -- Evan Prodromou Sat, 29 Jun 2002 21:08:20 -0400 + +terminal (0.9.1-1) unstable; urgency=low + + * Some meager documentation now in the README file. + * New upstream release + + -- Evan Prodromou Fri, 28 Jun 2002 09:35:24 -0400 + +terminal (0.3.21-1) unstable; urgency=low + + * New upstream release + + -- Evan Prodromou Fri, 21 Jun 2002 22:34:43 -0400 + +terminal (0.3.19-2) unstable; urgency=low + + * Updated Build-Depends. + + -- Evan Prodromou Mon, 17 Jun 2002 18:33:48 -0400 + +terminal (0.3.19-1) unstable; urgency=low + + * Initial Release (closes: Bug#150181). + + -- Evan Prodromou Sun, 16 Jun 2002 13:23:59 -0400 --- terminal.app-0.9.4+cvs20051125.orig/debian/rules +++ terminal.app-0.9.4+cvs20051125/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) + +build: build-stamp + +build-stamp: + dh_testdir + gs_make + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make clean distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_clean $(CURDIR)/Terminal.app/stamp.make + dh_installdirs + gs_make install DESTDIR=$(CURDIR)/debian/terminal.app GNUSTEP_INSTALLATION_DOMAIN=SYSTEM + # Overrides lintian warnings + dh_installdirs usr/share/lintian/overrides + cp debian/overrides debian/terminal.app/usr/share/lintian/overrides/terminal.app + dh_install debian/Terminal.desktop usr/share/applications/ + rm $(CURDIR)/debian/terminal.app/usr/lib/GNUstep/Applications/Terminal.app/Resources/Terminal.desktop + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installman -pterminal.app debian/Terminal.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps -l$(DEB_GNUSTEP_DIR)/Library/Libraries + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- terminal.app-0.9.4+cvs20051125.orig/debian/menu +++ terminal.app-0.9.4+cvs20051125/debian/menu @@ -0,0 +1,10 @@ +?package(terminal.app):needs="X11"\ + section="Applications/Terminal Emulators"\ + title="Terminal"\ + hints="GNUstep"\ + longtitle="Terminal, a Terminal Emulator for GNUstep"\ + description="Terminal.app provides terminal emulation in a GNUstep\ + environment. It gives colorized terminals with configurable\ + fonts, and also allows users to configure shell utilities\ + as GNUstep services."\ + command="/usr/bin/Terminal" --- terminal.app-0.9.4+cvs20051125.orig/debian/compat +++ terminal.app-0.9.4+cvs20051125/debian/compat @@ -0,0 +1 @@ +5 --- terminal.app-0.9.4+cvs20051125.orig/debian/prerm +++ terminal.app-0.9.4+cvs20051125/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +case "$1" in + remove|deconfigure) + update-alternatives --quiet --remove x-terminal-emulator /usr/bin/Terminal + ;; + *) +esac + +#DEBHELPER# --- terminal.app-0.9.4+cvs20051125.orig/debian/control +++ terminal.app-0.9.4+cvs20051125/debian/control @@ -0,0 +1,20 @@ +Source: terminal.app +Section: x11 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Gürkan Sengün +Uploaders: Debian GNUstep maintainers +Build-Depends: debhelper (>> 5), libgnustep-gui-dev (>= 0.13.2), gnustep-make +Homepage: http://www.nongnu.org/backbone/ +Standards-Version: 3.7.3 + +Package: terminal.app +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: terminal +Replaces: terminal +Provides: x-terminal-emulator +Description: Terminal Emulator for GNUstep + This provides terminal emulation in a GNUstep environment. It gives + colorized terminals with configurable fonts, and also allows users to + configure shell utilities as GNUstep services. --- terminal.app-0.9.4+cvs20051125.orig/debian/copyright +++ terminal.app-0.9.4+cvs20051125/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Evan Prodromou on +Sun, 16 Jun 2002 13:23:59 -0400. + +It was downloaded from http://www.nongnu.org/terminal/ + +Upstream Author: Alexander Malmberg + +Copyright: + + Copyright 2002 Alexander Malmberg . + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- terminal.app-0.9.4+cvs20051125.orig/debian/postinst +++ terminal.app-0.9.4+cvs20051125/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ] ; then + update-alternatives --quiet --install /usr/bin/x-terminal-emulator x-terminal-emulator \ + /usr/bin/Terminal 20 \ + --slave /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \ + /usr/share/man/man1/Terminal.1.gz +fi + +#DEBHELPER# --- terminal.app-0.9.4+cvs20051125.orig/debian/docs +++ terminal.app-0.9.4+cvs20051125/debian/docs @@ -0,0 +1 @@ +README --- terminal.app-0.9.4+cvs20051125.orig/debian/Terminal.desktop +++ terminal.app-0.9.4+cvs20051125/debian/Terminal.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=0.94 +Categories=System;TerminalEmulator; +Name=Terminal +Comment=A terminal emulator +Icon=/usr/lib/GNUstep/Applications/Terminal.app/Resources/Terminal.tiff +Exec=Terminal --- terminal.app-0.9.4+cvs20051125.orig/debian/overrides +++ terminal.app-0.9.4+cvs20051125/debian/overrides @@ -0,0 +1 @@ +terminal.app: image-file-in-usr-lib --- terminal.app-0.9.4+cvs20051125.orig/debian/Terminal.1 +++ terminal.app-0.9.4+cvs20051125/debian/Terminal.1 @@ -0,0 +1,163 @@ +.TH TERMINAL 1 "December 17, 2004" +.SH NAME +Terminal \- GNUstep Terminal Emulator +.SH SYNOPSIS +.B openapp Terminal [program [arguments ...]] +.SH DESCRIPTION +This manual page documents briefly the +.B Terminal +GNUstep application. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBTerminal\fP provides terminal emulation in a GNUstep environment. +It gives colorized terminals with configurable fonts, and also allows +users to configure shell utilities as GNUstep services. +.SS Fonts +You can change the fonts used for normal and bold text in the preferences +panel. Terminal will get the metrics for the character cells from the +normal font, so this font really should be a fixed pitch font or things +will look messed up. The bold font should closely match the normal +font. +.PP +Terminal assumes that all characters, bold and normal, stay inside +the normal font's bounding box. If they don't, there will be visual +glitches. However, it is more common that a non-fixed pitch font's +bounding box is very large (since it needs to enclose \fIall\fP +characters in the font), so that the terminal window will be very +wide. +.SS Keys +By default, the command key is used to access key equivalents for menu +entries, and thus can't be used as a meta key in the terminal. If you +have command mapped to the key you want to use as meta, you can enable +'Treat the command key as meta' in the preferences panel. However, this +will disable all key equivalents in Terminal. The 'proper' solution +to this problem is to remap the command key (and possibly alternate key). +The alternate key will always be treated as meta. +.PP +Often, the escape key can be used to emulate a meta key. This means that +in some programs, you might have to press escape twice to get a 'real' +escape, or there will be a delay before it is handled. The 'Send a double +escape...' option causes Terminal to send a double escape when you hit +the escape key (ie. "\\e\\e"), which should work better (but you can no +longer use the escape key as meta). +.SS Terminal services +Terminal can provide services for other applications by piping the +selection through arbitrary commands. Services are configured in one +of the preferences panel's tabs. The first time you open this tab, a +default set of services will be loaded. To save these where +make_services will actually find them, press 'Apply and save'. This +will also run make_services to update the services list, but it may +take up to 30 seconds for running applications to notice the change. +.PP +The 'Add' and 'Remove' buttons add and remove services. Using the +'Export' button it is possible to save a set of services to a file. +These files can be imported using the 'Import' button, so it is +possible for users to share terminal services definitions. The +extension of the file should be '.svcs'. The default set of services +is such a file located in the application wrapper's resource +directory. If you import a service with the same name as an existing +service, and they aren't identical, the new one will be renamed to +avoid a conflict. +.TP 8 +.SS Name +This is the name of the service as it appears in the services menu. +By default, terminal services will be placed in a 'Terminal' submenu +of the Services menu, but you can override this by giving the name a +leading '/'. In this case, you can also use a second '/' to create +your own submenus. (gnustep-gui doesn't support submenus of submenus, +though.) Names must be unique. +.TP 8 +.SS Key +The key equivalent for this command, if any. Note that if an +application uses this key for some other menu entry, the key will +activate that menu entry, not the service. +.TP 8 +.SS Command line +The command line. It is passed to /bin/sh, so any shell commands will +work, and arguments may have to be quoted. A '%p' in the command line +will cause a prompt to be brought up when the service is run. If +input is to be placed on the command line, you can mark the place to +put it at with '%s' (otherwise it will be appended to the command +line). You can use '%%' to get a real '%'. +.TP 8 +.SS Run in background/new window/idle window +If a service is set to run in the background, the command will have to +complete before the service will return, and the service can return +output. Otherwise, the command's output will appear in a window. +``new window'' causes a completely new window to be opened (and it will +close automatically when the command is completed if that option is +set). +``idle window'' causes Terminal to try to reuse an existing idle +window. If there is no such window it will open a new window (and that +window won't close automatically). +.TP 8 +.SS Ignore/return output (only applies to background services) +If set to ignore, the output of the command will be discarded. +Otherwise, it will be parsed to a string or a bunch of filenames, +depending on the acceptable types. The output is assumed to be utf8 +encoded. +.TP 8 +.SS No input/Input in stdin/Input on command line +If set to 'No input', the service won't accept any input. Otherwise +it is necessary to select something to run it, and the selection will +be either piped to the command ('in stdin') or placed on the service's +command line (either at the '%s' or at the end, see above). Input will +be sent to the command utf8 encoded. +.TP 8 +.SS Accept types +Plain text will be sent verbatim to the command. A list of filenames +(possibly just one) will be sent separated by ' ':s (if on the command +line), or newlines (if in stdin). +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +Commands can be given on the command line which will be run in the +newly opened shell window. +.SH EMULATION +The terminal emulation code is based on Linux's console code, and nearly +all parts of it are handled. Thus, the TERM environment variable is set +to 'linux'. Additionally, 'vt100', 'vt220', 'xterm', and others similar +to these should mostly work. To distinguish Terminal from a 'real' +linux console, the environment variable \fBTERM_PROGRAM\fP is set to +GNUstep_Terminal. +.PP +The xterm extensions for setting the window's title are also supported. +You set the title using: +.TP '\033]'+0, 1, or 2+';'+the title+'\007' +1 sets the miniwindow title, 2 sets the window title, and 0 sets both. +.PP +Example (from Jeff Teunissen): +.PP +export PROMPT_COMMAND='echo\ \-ne\ "\\033]2;Terminal\ \-\ ${HOSTNAME}:${PWD}\\007"' +.SH ENVIRONMENT +.B Terminal +sets the following environment variables: +.TP 5 +.B TERM +Will be set to \fBlinux\fP. +. +.TP 5 +.B TERM_PROGRAM +Will be set to \fBGNUstep_Terminal\fP. +. +.SH LANGUAGES +\fBTerminal\fP speaks English, French, German, Hungarian, Norwegian, +Russian, Spanish, Swedish and Turkish. +.SH NOTES +The content of this manual page is taken from the packages README +file and was converted into a manual page for Debian. +.SH SEE ALSO +.BR http://www.nongnu.org/backbone/ +.br +.BR http://www.gnustep.org/ +.br +.BR GNUstep (7) +.br +.BR openapp (1) +.br +.BR open (1) +.br +.BR make_services (1)