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
+151
View File
@@ -34607,6 +34607,75 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>utempter</Name>
<Homepage>http://www.redhat.com/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<PartOf>unknown</PartOf>
<Summary xml:lang="en">Application that allows non-privileged applications to write utmp (login) info</Summary>
<Summary xml:lang="tr">utemper, utmp(oturum açma) bilgilerini yazmak için ayrıcalıksız uygulamalara izin veren bir uygulamadır.</Summary>
<Description xml:lang="en">Utempter is a utility that allows non-privileged applications such as terminal emulators to modify the utmp database without having to setuid root.</Description>
<Description xml:lang="tr">Utempter, terminal emulatörleri gibi, yetkisiz uygulamalara setuid e ihtiyaç duymadan utmp veritabanına yazma hakkı verir.</Description>
<Archive type="tarbz2" sha1sum="1964279755290c4b576f2db0ed518e2b45a9ca53">ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-1.1.6.tar.bz2</Archive>
<Patches>
<Patch level="1">libutempter-pierelro.patch</Patch>
</Patches>
<SourceURI>util/admin/utempter/pspec.xml</SourceURI>
</Source>
<Package>
<Name>utempter</Name>
<Files>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>utempter-devel</Name>
<Summary xml:lang="en">Development files for utempter</Summary>
<Summary xml:lang="tr">utempter için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency release="3">utempter</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>1.1.6</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-01-20</Date>
<Version>1.1.6</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>0.5.5</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gnutls</Name>
@@ -43077,6 +43146,88 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<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>
<IsA>app:gui</IsA>
<PartOf>unknown</PartOf>
<Summary xml:lang="en">Terminal emulator for the X Window System</Summary>
<Summary xml:lang="tr">X Pencere Sistemi için uçbirim emülatörü</Summary>
<Description xml:lang="en">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&apos;t use the window system directly.</Description>
<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>
<Icon>terminal</Icon>
<Archive type="targz" sha1sum="c505dcb14abacbeb51f9fed6d95dee1425f73573">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>16colors.txt.diff</Patch>
<Patch>defaults.patch</Patch>
</Patches>
<SourceURI>x11/terminal/xterm/pspec.xml</SourceURI>
</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>
</SpecFile>
<SpecFile>
<Source>
<Name>font-util</Name>
+1 -1
View File
@@ -1 +1 @@
bf10bd7d2dde02fa7f4658e8d450f83693844f84
b7d135d54083c27e21d04647c893881e5532c789
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
a1f6f71ce02bee394f4b83f465df5860dc7100f6
6e0c6fc60397cec315036df9381dc86ca1383d2c
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def build():
pisitools.dosed("Makefile", "INSTALL.*?STATICLIB", deleteLine=True)
autotools.make('libdir="/usr/lib" libexecdir="/usr/libexec"')
def install():
autotools.rawInstall('DESTDIR="%s" libdir="/usr/lib" libexecdir="/usr/libexec"' % get.installDIR())
pisitools.dodoc("COPYING", "README")
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
ugstr = "root:utmp"
os.spawnvp(os.P_NOWAIT, "/bin/chown", ["/bin/chown", ugstr, "/usr/sbin/utempter"])
os.spawnvp(os.P_NOWAIT, "/bin/chmod", ["/bin/chmod", "2775", "/usr/sbin/utempter"])
for file in ["/var/log/wtmp", "/run/utmp"]:
if os.path.exists(file):
os.spawnvp(os.P_NOWAIT, "/bin/chown", ["/bin/chown", ugstr, file])
os.spawnvp(os.P_NOWAIT, "/bin/chmod", ["/bin/chmod", "664", file])
@@ -0,0 +1,18 @@
diff -up libutempter-1.1.6/Makefile.pierelro libutempter-1.1.6/Makefile
--- libutempter-1.1.6/Makefile.pierelro 2010-11-04 18:14:53.000000000 +0100
+++ libutempter-1.1.6/Makefile 2013-01-24 15:58:06.241865564 +0100
@@ -52,11 +52,12 @@ all: $(TARGETS)
$(COMPILE.c) -fPIC $< $(OUTPUT_OPTION)
$(PROJECT): utempter.c
- $(LINK.c) -Wl,-z,now,-stats $(LDLIBS) $< $(OUTPUT_OPTION)
+ $(LINK.c) -pie -fPIE -Wl,-z,relro,-z,now,-stats $(LDLIBS) \
+ $< $(OUTPUT_OPTION)
$(SHAREDLIB): iface.os $(MAP)
$(LINK.o) -shared \
- -Wl,-soname,$(SONAME),--version-script=$(MAP),-z,defs,-stats \
+ -Wl,-soname,$(SONAME),--version-script=$(MAP),-z,relro,-z,defs,-stats \
-lc $< $(OUTPUT_OPTION)
$(STATICLIB): iface.o
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>utempter</Name>
<Homepage>http://www.redhat.com/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<Summary>Application that allows non-privileged applications to write utmp (login) info</Summary>
<Description>Utempter is a utility that allows non-privileged applications such as terminal emulators to modify the utmp database without having to setuid root.</Description>
<Archive sha1sum="1964279755290c4b576f2db0ed518e2b45a9ca53" type="tarbz2">ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-1.1.6.tar.bz2</Archive>
<Patches>
<Patch level="1">libutempter-pierelro.patch</Patch>
</Patches>
</Source>
<Package>
<Name>utempter</Name>
<Files>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>utempter-devel</Name>
<Summary>Development files for utempter</Summary>
<RuntimeDependencies>
<Dependency release="current">utempter</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>1.1.6</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-01-20</Date>
<Version>1.1.6</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>0.5.5</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>utempter</Name>
<Summary xml:lang="tr">utemper, utmp(oturum açma) bilgilerini yazmak için ayrıcalıksız uygulamalara izin veren bir uygulamadır.</Summary>
<Description xml:lang="tr">Utempter, terminal emulatörleri gibi, yetkisiz uygulamalara setuid e ihtiyaç duymadan utmp veritabanına yazma hakkı verir.</Description>
</Source>
<Package>
<Name>utempter-devel</Name>
<Summary xml:lang="tr">utempter için geliştirme dosyaları</Summary>
</Package>
</PISI>
+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>