[Pkg-xfce-commits] r70 - in goodies: . xterminal xterminal/debian
Yves-Alexis Perez
corsac-guest@costa.debian.org
Tue, 26 Apr 2005 19:08:31 +0000
Author: corsac-guest
Date: 2005-04-26 19:08:31 +0000 (Tue, 26 Apr 2005)
New Revision: 70
Added:
goodies/xterminal/
goodies/xterminal/debian/
goodies/xterminal/debian/Terminal.wrapper
goodies/xterminal/debian/changelog
goodies/xterminal/debian/compat
goodies/xterminal/debian/control
goodies/xterminal/debian/copyright
goodies/xterminal/debian/docs
goodies/xterminal/debian/menu
goodies/xterminal/debian/postinst
goodies/xterminal/debian/prerm
goodies/xterminal/debian/rules
Log:
First commit of xterminal, the Xfce terminal emulator
Added: goodies/xterminal/debian/Terminal.wrapper
===================================================================
--- goodies/xterminal/debian/Terminal.wrapper 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/Terminal.wrapper 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,57 @@
+#! /usr/bin/perl -w
+#
+# Terminal.wrapper - Debian terminal wrapper script
+#
+# Copyright (c) 2004-2005 os-cillation
+#
+
+while ($opt = shift(@ARGV))
+{
+ if ($opt eq '-display')
+ {
+ $arg = shift(@ARGV);
+ push(@args, '--default-display', $arg);
+ }
+ elsif ($opt eq '-name')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-n')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-T' || $opt eq '-title')
+ {
+ push(@args, '--title', shift(@ARGV));
+ }
+ elsif ($opt eq '-geometry')
+ {
+ $arg = shift(@ARGV);
+ push(@args, "--geometry=$arg");
+ }
+ elsif ($opt eq '-fn')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-fg')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-bg')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-tn')
+ {
+ $arg = shift(@ARGV);
+ }
+ elsif ($opt eq '-e')
+ {
+ push(@args, '-x', @ARGV);
+ }
+ elsif ($opt eq '-h' || $opt eq '--help')
+ {
+ push(@args, '--help');
+ }
+}
+exec('Terminal',@args);
Added: goodies/xterminal/debian/changelog
===================================================================
--- goodies/xterminal/debian/changelog 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/changelog 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,6 @@
+xterminal (0.2.4-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Yves-Alexis Perez <yaperez@corsac.net> Sat, 23 Apr 2005 00:02:36 +0200
+
Added: goodies/xterminal/debian/compat
===================================================================
--- goodies/xterminal/debian/compat 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/compat 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1 @@
+4
Added: goodies/xterminal/debian/control
===================================================================
--- goodies/xterminal/debian/control 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/control 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,23 @@
+Source: xterminal
+Section: x11
+Priority: optional
+Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
+Uploaders: Emanuele Rocca <ema@debian.org>, Simon Huggins <huggie@earth.li>, Rudy Godoy <rudy@kernel-panik.org>, Martin Loschwitz <madkiss@debian.org>, Yves-Alexis Perez <corsac@corsac.net>
+Build-Depends: debhelper (>= 4.0.0), dbus-glib-1-dev (>= 0.23.2-3), libexo0.3-dev (>= 0.3.0-1), libvte-dev (>= 0.11.11), libxml-perl, libstartup-notification0-dev
+Standards-Version: 3.6.1
+
+Package: xterminal
+Architecture: any
+Conflicts: terminal
+Depends: ${shlibs:Depends}
+Provides: x-terminal-emulator
+Recommends: dbus-1-utils
+Description: The Terminal emulator application
+ This package contains Terminal, which is a lightweight and easy to use
+ terminal emulator for X11. It was created to fit nicely into the Xfce
+ desktop environment, but it also fits nice with other environments.
+ .
+ For people that already know GNOME 2 terminal and are searching for a
+ lighter but comparable replacement, Terminal might be the answer.
+ .
+ Homepage: http://terminal.os-cillation.com/
Added: goodies/xterminal/debian/copyright
===================================================================
--- goodies/xterminal/debian/copyright 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/copyright 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,13 @@
+This package was debianized by Yves-Alexis Perez <yaperez@corsac.net> on
+Sat, 23 Apr 2005 00:02:36 +0200.
+
+It was downloaded from http://terminal.os-cillation.com/
+
+Upstream Author is Benedikt Meurer <benny@xfce.org>
+
+This software is copyright (c) 2004 by Benedikt Meurer, os-cillation.
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
Added: goodies/xterminal/debian/docs
===================================================================
--- goodies/xterminal/debian/docs 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/docs 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,5 @@
+AUTHORS
+HACKING
+NEWS
+README
+THANKS
Added: goodies/xterminal/debian/menu
===================================================================
--- goodies/xterminal/debian/menu 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/menu 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,6 @@
+?package(xterminal):needs="X11"\
+ section="XShells"\
+ command="/usr/bin/Terminal"\
+ title="Terminal"\
+ longtitle="X Terminal Emulator"\
+ icon="/usr/share/pixmaps/terminal.xpm"
Added: goodies/xterminal/debian/postinst
===================================================================
--- goodies/xterminal/debian/postinst 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/postinst 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# install alternatives links
+
+if [ "$1" = "configure" ]; then
+ update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/bin/Terminal.wrapper 40 \
+ --slave /usr/share/man/man1/x-terminal-emulator.1.gz \
+ x-terminal-emulator.1.gz /usr/share/man/man1/Terminal.1.gz
+fi
+
+#DEBHELPER#
+
+exit 0
Added: goodies/xterminal/debian/prerm
===================================================================
--- goodies/xterminal/debian/prerm 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/prerm 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# remove alternatives links
+
+if [ "$1" = "remove" ]; then
+ update-alternatives --remove x-terminal-emulator /usr/bin/Terminal.wrapper
+fi
+
+#DEBHELPER#
+
+exit 0
Added: goodies/xterminal/debian/rules
===================================================================
--- goodies/xterminal/debian/rules 2005-04-26 19:05:33 UTC (rev 69)
+++ goodies/xterminal/debian/rules 2005-04-26 19:08:31 UTC (rev 70)
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --libexecdir=\$${prefix}/sbin --sysconfdir=/etc --enable-dbus --enable-final --enable-startup-notification
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/xterminal.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/xterminal
+
+ install -c -m 0755 $(CURDIR)/debian/Terminal.wrapper $(CURDIR)/debian/xterminal/usr/bin/Terminal.wrapper
+
+ for target in terminal xfce4-terminal xterminal; do \
+ ln -sf Terminal $(CURDIR)/debian/xterminal/usr/bin/$$target; \
+ ln -sf Terminal.1.gz $(CURDIR)/debian/xterminal/usr/share/man/man1/$$target.1.gz; \
+ done
+
+ perl -i -pe 's/for browser in mozilla/for browser in sensible-browser mozilla/' $(CURDIR)/debian/xterminal/usr/sbin/TerminalHelp
+
+
+# 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_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installmenu
+ dh_desktop
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: goodies/xterminal/debian/rules
___________________________________________________________________
Name: svn:executable
+ *