debian/0000755000000000000000000000000011767470511007177 5ustar debian/copyright0000644000000000000000000000217711764712174011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: termit Upstream-Contact: Evgeny Ratnikov Source: https://github.com/nonstop/termit License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: * Copyright: Copyright (C) 2007-2012, Evgeny Ratnikov License: GPL-2 Files: debian/* Copyright: Copyright (C) 2011 Tomas Fasth Copyright (C) 2012 Thomas Koch License: GPL-2 debian/docs0000644000000000000000000000005611766435172010056 0ustar doc/README doc/lua_api.txt doc/rc.lua.example debian/source/0000755000000000000000000000000011764712174010500 5ustar debian/source/format0000644000000000000000000000001411764712174011706 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211767454331010377 0ustar 8 debian/changelog0000644000000000000000000000163511767470321011055 0ustar termit (2.9.4-2) unstable; urgency=low * Resolved section disparity between package and override by changing section from misc to x11 in control file. -- Tomas Fasth Mon, 18 Jun 2012 02:04:50 +0200 termit (2.9.4-1) unstable; urgency=low * add watchfile * fix copyright lintian warning * switch from cdbs to debhelper * Do not install upstream's INSTALL * New upstream version 2.9.4 (Closes: #635514) * update policy version to 3.9.3 * Set myself as maintainer * Machine readable copyright * correct VCS-* fields (Closes: #661466) * provide termit as alternative for x-terminal-emulator. Thanks to Nobuhiro Iwamatsu (Closes: #617198) -- Thomas Koch Thu, 14 Jun 2012 20:08:18 +0200 termit (2.6.0-1) unstable; urgency=low * Initial release (Closes: #576409) -- Tomas Fasth Tue, 11 Jan 2011 16:39:12 +0100 debian/postinst0000644000000000000000000000046211764712174011010 0ustar #! /bin/sh set -e if [ "$1" = "configure" ]; then update-alternatives \ --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/termit 20 \ --slave /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz /usr/share/man/man1/termit.1.gz fi #DEBHELPER# exit 0 debian/watch0000644000000000000000000000013611764712174010231 0ustar version=3 https://github.com/nonstop/termit/tags \ /nonstop/termit/tarball/termit-([\d\.]+) debian/clean0000644000000000000000000000011411766442456010206 0ustar config.h utils/termit-2.9.4.ebuild utils/termit.SlackBuild utils/termit.specdebian/prerm0000644000000000000000000000020311764712174010243 0ustar #!/bin/sh set -e if [ "$1" = "remove" ]; then update-alternatives --remove x-terminal-emulator /usr/bin/termit fi #DEBHELPER# debian/control0000644000000000000000000000135311767466522010613 0ustar Source: termit Section: x11 Priority: optional Maintainer: Thomas Koch Uploaders: Tomas fasth Build-Depends: debhelper (>= 8), cmake, libgtk2.0-dev, libvte-dev, liblua5.2-dev Standards-Version: 3.9.3 Homepage: https://github.com/nonstop/termit/wiki Vcs-Git: git://anonscm.debian.org/collab-maint/termit.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/termit.git Package: termit Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Provides: x-terminal-emulator Description: Simple terminal emulator based on vte library, embedded lua Support features like multiple tabs, switching encodings, sessions, configurable keybindings, embedded Lua language and xterm-like dynamic window title debian/rules0000755000000000000000000000021311766435172010256 0ustar #!/usr/bin/make -f DOCDIR=debian/termit/usr/share/doc/termit %: dh $@ override_dh_auto_install: dh_auto_install rm ${DOCDIR}/COPYING debian/patches/0000755000000000000000000000000011766444054010630 5ustar debian/patches/series0000644000000000000000000000002511766444054012042 0ustar fix/build_with_lua52 debian/patches/fix/0000755000000000000000000000000011766444033011413 5ustar debian/patches/fix/build_with_lua520000644000000000000000000000212711766444032014501 0ustar Description: build with lua 5.2 Author: Thomas Koch Forwarded: no Last-Update: 2012-06-14 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bdf8efd..2d58a95 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,15 +23,17 @@ IF(NOT VTE_FOUND) message(FATAL_ERROR "vte library not found") ENDIF(NOT VTE_FOUND) -SET(LUA_INCLUDE_DIR "/usr/include" CACHE STRING "Lua include dir") -SET(LUA_LIBRARIES "/usr/lib/liblua.a" CACHE STRING "Lua libraries") - -IF(NOT LUA_INCLUDE_DIR OR NOT LUA_LIBRARIES) - INCLUDE(FindLua51) - IF(NOT LUA51_FOUND) - message(FATAL_ERROR "lua 5.1 not found") - ENDIF(NOT LUA51_FOUND) -ENDIF(NOT LUA_INCLUDE_DIR OR NOT LUA_LIBRARIES) +SET(LUA_INCLUDE_DIR "/usr/include/lua5.2/" CACHE STRING "Lua include dir") +FIND_LIBRARY(LUA_LIBRARY + NAMES lua5.2 + HINTS + $ENV{LUA_DIR} + PATH_SUFFIXES lib64 lib + PATHS + /usr +) +FIND_LIBRARY(LUA_MATH_LIBRARY m) +SET( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries") INCLUDE(Sources.cmake)