xterm add repo

This commit is contained in:
burakerturk
2015-07-16 01:40:09 +03:00
parent 74c1458458
commit ccf20e0ddb
14 changed files with 524 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure(" \
--disable-full-tgetent \
--with-app-defaults=/usr/share/X11/app-defaults \
--disable-desktop \
--with-utempter \
--with-tty-group=tty \
--enable-256-color \
--enable-exec-xterm \
--enable-freetype \
--enable-luit \
--enable-wide-chars \
--enable-warnings \
")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/pixmaps")
pisitools.dodoc("README.i18n", "xterm.log.html", "ctlseqs.txt", "16colors.txt")
@@ -0,0 +1,27 @@
--- /dev/null 2009-01-25 17:29:16.240001903 +0200
+++ 16colors.txt 2009-01-26 02:07:59.000000000 +0200
@@ -0,0 +1,24 @@
+ANSI-Colors v1.0
+(c)1994 by: Pablo Ariel Kohan
+ |3 9 3 9 3 9 3 9 3 9 3 9 3 9 3 9|
+ |0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7|
+---+-------------------------------+---
+040|X X X X X X X X X X X X X X X X|040
+100|X X X X X X X X X X X X X X X X|100
+041|X X X X X X X X X X X X X X X X|041
+101|X X X X X X X X X X X X X X X X|101
+042|X X X X X X X X X X X X X X X X|042
+102|X X X X X X X X X X X X X X X X|102
+043|X X X X X X X X X X X X X X X X|043
+103|X X X X X X X X X X X X X X X X|103
+044|X X X X X X X X X X X X X X X X|044
+104|X X X X X X X X X X X X X X X X|104
+045|X X X X X X X X X X X X X X X X|045
+105|X X X X X X X X X X X X X X X X|105
+046|X X X X X X X X X X X X X X X X|046
+106|X X X X X X X X X X X X X X X X|106
+047|X X X X X X X X X X X X X X X X|047
+107|X X X X X X X X X X X X X X X X|107
+---+-------------------------------+---
+ |3 9 3 9 3 9 3 9 3 9 3 9 3 9 3 9|
+ |0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7|
+82
View File
@@ -0,0 +1,82 @@
only in patch2:
unchanged:
Index: XTerm.ad
===================================================================
--- XTerm.ad.orig
+++ XTerm.ad
@@ -210,3 +210,13 @@
!*allowTcapOps: false
!*allowTitleOps: false
!*allowWindowOps: false
+
+! Pardus Defaults:
+*backarrowKeyIsErase: true
+*ptyInitialErase: true
+*VT100*eightBitInput: false
+*VT100*metaSendsEscape: true
+*VT100*scrollBar: true
+*VT100*rightScrollBar: true
+*VT100*utf8Title: true
+*VT100*modifyFunctionKeys: 0
Index: XTerm-col.ad
===================================================================
--- XTerm-col.ad.orig
+++ XTerm-col.ad
@@ -7,9 +7,9 @@
*VT100*boldColors: on
*VT100*dynamicColors: on
-! Uncomment this for "white" text on a dark background.
-!*VT100*foreground: gray90
-!*VT100*background: black
+! Set the default text foreground and background colors.
+*VT100*foreground: gray90
+*VT100*background: black
! - OR -
! Uncomment this for black text on a "white" background.
@@ -114,20 +114,32 @@
*Form.background: AntiqueWhite
*form.background: AntiqueWhite
+*mainMenu*background: AntiqueWhite
+*mainMenu*foreground: gray15
+*vtMenu*background: AntiqueWhite
+*vtMenu*foreground: gray15
+*fontMenu*background: AntiqueWhite
+*fontMenu*foreground: gray15
+*tekMenu*background: AntiqueWhite
+*tekMenu*foreground: gray15
+
! The following two sections take advantage of new features in version 7
-! of the Athena widget library. Comment them out if you have a shallow
-! color depth.
+! of the Athena widget library; see Xaw(7x).
+
+! This section is commented out because Xaw has no way to dynamically size
+! the gradient. The dimension parameter may need to be adjusted depending
+! on the font used in the menu.
!*SimpleMenu*backgroundPixmap: gradient:vertical?dimension=350&start=gray90&end=gray60
!*SimpleMenu*foreground: gray15
-!*VT100.scrollbar.thumb: vlines2
-!*VT100.scrollbar.width: 14
-!*VT100.scrollbar.background: gray60
-!*VT100.scrollbar.foreground: rgb:a/5/5
-!*VT100.scrollbar.borderWidth: 0
-!*VT100.scrollbar.displayList:\
-!foreground gray90;\
-!lines 1,-1,-1,-1,-1,1;\
-!foreground gray60;\
-!lines -1,0,0,0,0,-1
+*VT100.scrollbar.thumb: vlines2
+*VT100.scrollbar.width: 14
+*VT100.scrollbar.background: gray60
+*VT100.scrollbar.foreground: rgb:a/5/5
+*VT100.scrollbar.borderWidth: 0
+*VT100.scrollbar.displayList:\
+foreground gray90;\
+lines 1,-1,-1,-1,-1,1;\
+foreground gray60;\
+lines -1,0,0,0,0,-1
#endif
+88
View File
@@ -0,0 +1,88 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xterm</Name>
<Homepage>http://invisible-island.net/xterm</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<Icon>terminal</Icon>
<IsA>app:gui</IsA>
<Summary>Terminal emulator for the X Window System</Summary>
<Description>The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly.</Description>
<Archive sha1sum="c505dcb14abacbeb51f9fed6d95dee1425f73573" type="targz">ftp://invisible-island.net/xterm/xterm-304.tgz</Archive>
<BuildDependencies>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libICE-devel</Dependency>
<Dependency>libXaw-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<Dependency>libXmu-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>utempter-devel</Dependency>
<Dependency>xorg-app</Dependency>
<Dependency>libXpm-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>libx11-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">xterm-226-man-page_paths.patch</Patch> -->
<!-- <Patch level="1">xterm-238-windowfontops.patch</Patch> -->
<!-- ftp://invisible-island.net/xterm/16colors.txt -->
<Patch>16colors.txt.diff</Patch>
<!-- Default resources for Pardus -->
<Patch>defaults.patch</Patch>
</Patches>
</Source>
<Package>
<Name>xterm</Name>
<RuntimeDependencies>
<Dependency>fontconfig</Dependency>
<Dependency>libICE</Dependency>
<Dependency>libXaw</Dependency>
<Dependency>libXft</Dependency>
<Dependency>libXmu</Dependency>
<Dependency>libXt</Dependency>
<Dependency>utempter</Dependency>
<Dependency>xorg-app</Dependency>
<Dependency>libXpm</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>libx11</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/X11</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-13</Date>
<Version>304</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-25</Date>
<Version>287</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-12</Date>
<Version>287</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>xterm</Name>
<Summary xml:lang="tr">X Pencere Sistemi için uçbirim emülatörü</Summary>
<Description xml:lang="tr">xterm programı, X Pencere Sistemi için bir uçbirim emülatörüdür. Pencere sistemini doğrudan kullanamayan programlar için DEC VT102 ve Tektronix 4014 uyumlu uçbirimler sağlar.</Description>
</Source>
</PISI>