eboard: version bump to 1.1.3

This commit is contained in:
suvari
2023-01-07 21:27:58 +03:00
parent 1d8f0ebda3
commit 0d149fc4a3
4 changed files with 32 additions and 48 deletions
+10 -3
View File
@@ -9,17 +9,24 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import libtools
import os
datadir = "/usr/share/eboard"
def setup():
libtools.libtoolize("--copy --force")
autotools.configure("--man-prefix=/usr/share/man --extra-libs=dl --prefix=/usr")
autotools.configure("--prefix=/usr --man-prefix=/usr/share/man --extra-libs=dl")
autotools.configure("-with-data-dir=%s" % datadir)
def build():
autotools.make()
def install():
pisitools.dodir(datadir)
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/man", "/usr/share")
pisitools.insinto("/usr/share/pixmaps", "icon-eboard.xpm")
# pisitools.insinto("/usr/share/pixmaps", "icon-eboard.xpm")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "TODO")
pisitools.dodoc("AUTHORS", "COPYING", "README")
@@ -1,22 +0,0 @@
--- 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 $@
@@ -1,16 +0,0 @@
--- 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);
}
+22 -7
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>eboard</Name>
@@ -13,29 +13,43 @@
<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="eab20a134f842cde4f79f5397e266ad3e5023fa4" type="tarbz2">mirrors://sourceforge/eboard/eboard-1.1.3.tar.bz2</Archive>
<Archive sha1sum="eab20a134f842cde4f79f5397e266ad3e5023fa4" type="targz">https://github.com/fbergo/eboard/archive/refs/tags/v1.1.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>atk-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>eboard-1.1.3-as-needed.patch</Patch>
<Patch>eboard-1.1.3-gcc44.patch</Patch>
<Patch>eboard-1.1.3-ovflfix.patch</Patch>
<Patch>eboard-1.1.3-libpng15.patch</Patch>
<Patch>eboard-1.1.1-gcc44.patch</Patch>
<Patch>eboard-1.1.1-ovflfix.patch</Patch>
</Patches>
</Source>
<Package>
<Name>eboard</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>zlib</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>freetype</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>gstreamer</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -56,7 +70,8 @@
<Version>1.1.3</Version>
<Comment>Rebuild New T.</Comment>
<Name>Ümit Solmaz</Name>
b</Update>
<Email>us@mynetiz.com</Email>
</Update>
<Update release="3">
<Date>2018-09-14</Date>
<Version>1.1.1</Version>