add new packages bleachbit,eboard,gnuchess,gnuchess-book.gweled,pogo
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import libtools
|
||||
|
||||
def setup():
|
||||
libtools.libtoolize("--copy --force")
|
||||
|
||||
autotools.configure("--man-prefix=/usr/share/man --extra-libs=dl --prefix=/usr")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.insinto("/usr/share/pixmaps", "icon-eboard.xpm")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "TODO")
|
||||
@@ -0,0 +1,22 @@
|
||||
--- configure.old 2009-02-03 14:46:21.000000000 +0100
|
||||
+++ configure 2009-02-03 14:48:13.000000000 +0100
|
||||
@@ -638,7 +638,7 @@
|
||||
|
||||
print CONFIGMAKE "CXX = $cxx\n";
|
||||
print CONFIGMAKE "CXXFLAGS = @cxxflags\n";
|
||||
-print CONFIGMAKE "LDFLAGS = @ldflags\n";
|
||||
+print CONFIGMAKE "LDLIBS = @ldflags\n";
|
||||
|
||||
print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n";
|
||||
print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n";
|
||||
--- elifekam.old 2009-02-03 14:48:43.000000000 +0100
|
||||
+++ elifekam 2009-02-03 14:48:58.000000000 +0100
|
||||
@@ -24,7 +24,7 @@
|
||||
all: eboard nls-dicts
|
||||
|
||||
eboard: $(OBJS)
|
||||
- $(CXX) $(LDFLAGS) -o eboard $(OBJS)
|
||||
+ $(CXX) $(LDFLAGS) -o eboard $(OBJS) $(LDLIBS)
|
||||
|
||||
.cc.o: $< $(HEADERS) $(XPMS)
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
@@ -0,0 +1,11 @@
|
||||
--- ntext.cc
|
||||
+++ ntext.cc
|
||||
@@ -244,7 +244,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- p = strchr(text, '\n');
|
||||
+ p = strchr((char *)text, '\n');
|
||||
if (p!=NULL) {
|
||||
*p = 0;
|
||||
i = strlen(text);
|
||||
@@ -0,0 +1,16 @@
|
||||
--- cimg.cc
|
||||
+++ cimg.cc
|
||||
@@ -94,11 +95,11 @@
|
||||
ct == PNG_COLOR_TYPE_GRAY_ALPHA)
|
||||
png_set_gray_to_rgb(pngp);
|
||||
|
||||
- alloc(pngp->width,pngp->height);
|
||||
+ alloc(width,height);
|
||||
if (!ok) { fclose(f); return; }
|
||||
ok = 0;
|
||||
|
||||
- for(i=0;i<pngp->height;i++) {
|
||||
+ for(i=0;i<height;i++) {
|
||||
png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
--- proto_xboard.cc.old 2010-11-03 16:42:15.000000000 +0100
|
||||
+++ proto_xboard.cc 2010-11-03 16:43:14.000000000 +0100
|
||||
@@ -1084,7 +1084,7 @@
|
||||
snprintf(EngineCommandLine,512,"crafty bookpath=%s logpath=%s tbpath=%s",
|
||||
BookPath,LogPath,LogPath);
|
||||
if (!global.env.Home.empty())
|
||||
- snprintf(EngineRunDir,512,"%s/.eboard/craftylog",global.env.Home.c_str());
|
||||
+ snprintf(EngineRunDir, sizeof(EngineRunDir), "%s/.eboard/craftylog", global.env.Home.c_str());
|
||||
else
|
||||
strcpy(EngineRunDir,"/tmp");
|
||||
|
||||
--- util.cc.old 2010-11-03 16:42:24.000000000 +0100
|
||||
+++ util.cc 2010-11-03 16:43:42.000000000 +0100
|
||||
@@ -783,7 +783,7 @@
|
||||
int i,n;
|
||||
char cmd[1024];
|
||||
|
||||
- n = snprintf(tmpfile,1024,"/tmp/eb%d-%s",(int) getpid(), origfile);
|
||||
+ n = snprintf(tmpfile, sizeof(tmpfile), "/tmp/eb%d-%s", (int) getpid(), origfile);
|
||||
|
||||
if (n >= 1024) {
|
||||
failure = 1;
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=eboard
|
||||
Comment="Chess Game"
|
||||
Comment[tr]="Satranç Oyunu"
|
||||
GenericName=Chess Game
|
||||
GenericName[tr]=Satranç Oyunu
|
||||
Exec=eboard
|
||||
Icon=icon-eboard
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;BoardGame;
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>eboard</Name>
|
||||
<Homepage>http://www.bergo.eng.br/eboard/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>eboard</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>A GTK+ chess board</Summary>
|
||||
<Description>eboard is a chess interface for Unix-like systems based on the GTK+ GUI toolkit.</Description>
|
||||
<Archive sha1sum="029cf1e7503fc2a862b9880da9ea6ab91e5614cd" type="tarbz2">mirrors://sourceforge/eboard/eboard-1.1.1.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>eboard-1.1.1-as-needed.patch</Patch>
|
||||
<Patch>eboard-1.1.1-gcc44.patch</Patch>
|
||||
<Patch>eboard-1.1.1-ovflfix.patch</Patch>
|
||||
<Patch>eboard-1.1.1-libpng15.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>eboard</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/eboard</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/eboard.desktop">eboard.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-12-04</Date>
|
||||
<Version>1.1.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>eboard</Name>
|
||||
<Summary xml:lang="tr">Gtk tabanlı satranç arayüzü</Summary>
|
||||
<Description xml:lang="tr">eboard; unix sistemleri için, gtk+ araç takımı kullanılarak yazılmış bir satranç arayüzüdür. </Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user