Added various packages required for Pantheon development

This commit is contained in:
friberk
2021-04-23 23:34:29 +03:00
parent 61ecfe444f
commit 50978d2467
23 changed files with 1215 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = ''.join([
'--disable-r ',
'--disable-io ',
'--disable-lua ',
'--disable-php ',
'--disable-rpath ',
'--disable-sharp ',
'--disable-ocaml ',
'--disable-static ',
'--disable-dependency-tracking ',
'--with-libgd ',
'--with-fontconfig ',
'--with-pangocairo ',
'--without-devil ',
])
def setup():
shelltools.export("CONFIG_SHELL", "/bin/bash")
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
autotools.configure(j)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dohtml(".")
pisitools.dodoc("AUTHORS", "CHANGELOG.md", "DEVELOPERS.md", "INSTALL", "LICENSE", "README.md")
pisitools.removeDir("/usr/share/graphviz/doc")
@@ -0,0 +1,7 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
# write layout's config
os.system("/usr/bin/dot -c")
+96
View File
@@ -0,0 +1,96 @@
<PISI>
<Source>
<Name>graphviz</Name>
<Homepage>https://www.graphviz.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Packager>
<License>CPL-1.0</License>
<IsA>app:console</IsA>
<IsA>app:gui</IsA>
<Summary>Open source graph drawing software.</Summary>
<Description>Graphviz is open source graph visualization software which has web and interactive graphical interfaces, and auxiliary tools and libraries. Graphviz has many useful features for diagrams, such as options for colors, fonts, tabular node layouts, line styles, and custom shapes.</Description>
<BuildDependencies>
<Dependency>freeglut-devel</Dependency>
<Dependency>gd-devel</Dependency>
<Dependency>ghostscript-devel</Dependency>
<Dependency>libXaw-devel</Dependency>
<Dependency>librsvg-devel</Dependency>
<Dependency>libtool</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>perl</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>tcl-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="af16cbc07c746b760260eedcbfc14673aea17672" type="binary">
https://gitlab.com/graphviz/graphviz/-/archive/2.46.1/graphviz-2.46.1.tar.bz2
</Archive>
</Source>
<Package>
<Name>graphviz</Name>
<Summary>Development files for graphviz</Summary>
<RuntimeDependencies>
<Dependency>cairo</Dependency>
<Dependency>expat</Dependency>
<Dependency>gd</Dependency>
<Dependency>ghostscript</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXaw</Dependency>
<Dependency>libXmu</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>librsvg</Dependency>
<Dependency>libtool-ltdl</Dependency>
<Dependency>pango</Dependency>
<Dependency>python</Dependency>
<Dependency>python3</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib64</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/graphviz</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>graphviz-docs</Name>
<Summary>Development files for graphviz</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/graphviz/html</Path>
</Files>
</Package>
<Package>
<Name>graphviz-devel</Name>
<Summary>Development files for graphviz</Summary>
<RuntimeDependencies>
<Dependency release="current">graphviz</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2021-02-24</Date>
<Version>2.46.1</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="1">
<Date>2017-01-18</Date>
<Version>2.40.1</Version>
<Comment>First release.</Comment>
<Name>Ali Algul</Name>
<Email>aligulle3801@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<PISI>
<Source>
<Name>graphviz</Name>
<Summary xml:lang="tr">Açık kaynak bir grafik çizim programıdır</Summary>
<Description xml:lang="tr">Graphviz web ve etkileşimli grafik arayüzüne, yardımcı araç ve kütüphanelere sahip açık kaynak bir grafik canlandırma yazılımıdır. Graphviz renk, font, çizelge planı, çizgi stili ayarları ve özel şekiller gibi diyagramlara yönelik bir çok kullanışlı özelliğe sahiptir.</Description>
</Source>
<Package>
<Name>graphviz-docs</Name>
</Package>
<Package>
<Name>graphviz-devel</Name>
<Summary xml:lang="tr">graphviz için geliştirme dosyaları</Summary>
</Package>
</PISI>