Merge pull request #8797 from blue-devil/master

geda:upgrade
This commit is contained in:
Blue DeviL
2020-10-01 00:35:27 +02:00
committed by GitHub
3 changed files with 57 additions and 29 deletions
+24 -4
View File
@@ -4,20 +4,40 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup(): def setup():
#shelltools.system("./autogen.sh") options = ''.join([
autotools.autoreconf("-vfi") '-Wno-unused-result ',
'-Wno-format-overflow ',
'-Wno-deprecated-declarations'
])
# gamin's optional-ness is overstated
shelltools.system("sed -i 's|^.*<fam.h>|//&|' gschem/src/gschem_change_notification.c")
shelltools.system("sed -i 's| enum FAMCodes | int |' gschem/src/gschem_change_notification.c")
#autotools.autoreconf("-vfi")
# xorn uses python2 instead of python, shebang problems
shelltools.export("PYTHON_CFLAGS", "-I/usr/include/python2.7/")
shelltools.export("PYTHON_LIBS", "-lpython2.7")
# to fix cannot find libguile.h error
shelltools.export("GUILE_CFLAGS", "-I/usr/include/guile/2.2/")
shelltools.export("GUILE_LIBS", "-lguile-2.2")
pisitools.cflags.add("%s" % options)
autotools.configure("--prefix=/usr \ autotools.configure("--prefix=/usr \
--disable-rpath \
--without-libfam \
--docdir=/usr/share/doc \ --docdir=/usr/share/doc \
--localedir=/usr/share/locale \ --localedir=/usr/share/locale \
--disable-update-xdg-database") --disable-update-xdg-database")
# fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
pisitools.dosed("xorn/libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build(): def build():
autotools.make() autotools.make()
@@ -25,4 +45,4 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README") pisitools.dodoc("COPYING*", "README")
+25 -23
View File
@@ -1,69 +1,64 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>geda</Name> <Name>geda</Name>
<Homepage>http://wiki.geda-project.org/geda:download#download</Homepage> <Homepage>http://geda-project.org/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>science.electronics</PartOf>
<License>GPLv2</License> <License>GPLv2</License>
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools.</Summary> <Summary>gEDA contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project.</Summary>
<Description>The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools.</Description> <Description>The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools.</Description>
<Archive sha1sum="c61edc04997fc12398534a346dac32d8fcdabcc1" type="targz">http://ftp.geda-project.org/geda-gaf/stable/v1.8/1.8.2/geda-gaf-1.8.2.tar.gz</Archive> <Archive sha1sum="aa8e3901fc439440e9b5e847734ecdc6e99e5fe8" type="targz">http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.0/geda-gaf-1.10.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cython</Dependency>
<Dependency>flex</Dependency> <Dependency>flex</Dependency>
<Dependency>gawk</Dependency> <Dependency>gawk</Dependency>
<Dependency>groff</Dependency>
<Dependency>doxygen</Dependency> <Dependency>doxygen</Dependency>
<Dependency>pkgconfig</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>guile-devel</Dependency> <Dependency>guile-devel</Dependency>
<Dependency>glib2-devel</Dependency> <Dependency>glib2-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>pkgconfig</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
<Dependency>shared-mime-info</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>python-pygobject-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>geda</Name> <Name>geda</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>gtk2</Dependency> <Dependency>gtk2</Dependency>
<Dependency>cairo</Dependency> <Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>guile</Dependency> <Dependency>guile</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency> <Dependency>pango</Dependency>
<Dependency>gdk-pixbuf</Dependency> <Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/applications</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/gEDA</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/gEDA</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="data">/usr/share/mime</Path> <Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>geda-devel</Name> <Name>geda-devel</Name>
<Summary>Development files for geda</Summary> <Summary>Development files for geda</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency version="current">geda</Dependency>
<Dependency>glib2-devel</Dependency> <Dependency>glib2-devel</Dependency>
<Dependency>guile-devel</Dependency> <Dependency>guile-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency> <Dependency>gdk-pixbuf-devel</Dependency>
<Dependency version="current">geda</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
@@ -72,6 +67,13 @@
</Package> </Package>
<History> <History>
<Update release="3">
<Date>2020-09-29</Date>
<Version>1.10.0</Version>
<Comment>Minor version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="2"> <Update release="2">
<Date>2018-09-16</Date> <Date>2018-09-16</Date>
<Version>1.8.2</Version> <Version>1.8.2</Version>
+8 -2
View File
@@ -2,7 +2,13 @@
<PISI> <PISI>
<Source> <Source>
<Name>geda</Name> <Name>geda</Name>
<Summary xml:lang="tr">The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools.</Summary> <Summary xml:lang="tr">GEDA, GPL Elektronik Tasarım Otomasyon Araçları.</Summary>
<Description xml:lang="tr">The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools.</Description> <Description xml:lang="tr">GEDA projesi, GPL lısansı altında Elektronik Tasarım Otomasyon Araçları ve geliştirme başlıkları içerir.</Description>
</Source> </Source>
<Package>
<Name>geda-devel</Name>
<Summary xml:lang="tr">geda için geliştirme dosyaları</Summary>
<Description xml:lang="tr">geda-devel, geda için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI> </PISI>