libdbusmenu unneeded...
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
import os
|
||||
|
||||
shelltools.export("HAVE_VALGRIND_FALSE", "yes")
|
||||
|
||||
def setup():
|
||||
for (path, dirs, files) in os.walk(get.workDIR()):
|
||||
for file in files:
|
||||
if file.endswith(".c"):
|
||||
with open("%s/%s" % (path, file)) as f:
|
||||
lines = f.readlines()
|
||||
new_file = ""
|
||||
for line in lines:
|
||||
if not line.find("g_type_init()") == -1:
|
||||
new_file = new_file + "#if !GLIB_CHECK_VERSION(2,35,0)\n" + line + "#endif\n"
|
||||
else:
|
||||
new_file = new_file + line
|
||||
open("%s/%s" % (path, file), "w").write(new_file)
|
||||
|
||||
options = "--disable-static \
|
||||
--disable-silent-rules \
|
||||
--disable-scrollkeeper \
|
||||
--disable-dumper \
|
||||
--disable-tests \
|
||||
--enable-introspection=yes"
|
||||
|
||||
shelltools.makedirs("../gtk2-rebuild")
|
||||
shelltools.system("cp -R * ../gtk2-rebuild &>/dev/null")
|
||||
|
||||
autotools.autoreconf("-fvi")
|
||||
autotools.configure("%s --with-gtk=3" % options)
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
shelltools.cd("../gtk2-rebuild")
|
||||
autotools.autoreconf("-fvi")
|
||||
autotools.configure("%s --with-gtk=2" % options)
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
shelltools.cd("../gtk2-rebuild")
|
||||
autotools.make()
|
||||
|
||||
"""
|
||||
#Requires dbus-test-runner (https://launchpad.net/dbus-test-runner)
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
"""
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING*", "README", "NEWS")
|
||||
|
||||
shelltools.cd("../gtk2-rebuild")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.removeDir("/usr/share/gtk-doc")
|
||||
@@ -1,152 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdbusmenu</Name>
|
||||
<Homepage>https://launchpad.net/dbusmenu</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv3</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for applications to pass a menu scructure accross DBus</Summary>
|
||||
<Description>libdbusmenu is a small little library that was created by pulling out some common code out of indicator-applet. It passes a menu structure across DBus so that a program can create a menu simply without worrying about how it is displayed on the other side of the bus.</Description>
|
||||
<Archive sha1sum="067b77564f90633aa58494e54b99d733a21f3142" type="targz">https://launchpad.net/dbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gnome-doc-utils</Dependency>
|
||||
<Dependency>json-glib-devel</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-glib</Name>
|
||||
<Summary>GLIB bindings for libdbusmenu</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdbusmenu-common</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libdbusmenu-glib*</Path>
|
||||
<Path fileType="library">/usr/lib/libdbusmenu-json*</Path>
|
||||
<Path fileType="data">/usr/share/libdbusmenu</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-common</Name>
|
||||
<Summary>Common files for libdbusmenu libraries</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="library">/usr/share/vala/vapi/Dbusmenu-*.vapi</Path>
|
||||
<Path fileType="library">/usr/share/gir-1.0/Dbusmenu-*.gir</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/Dbusmenu-*.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-gtk</Name>
|
||||
<Summary>GTK 2.x libraries for libdbusmenu</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdbusmenu-glib</Dependency>
|
||||
<Dependency>libdbusmenu-common</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libdbusmenu-gtk.so*</Path>
|
||||
<Path fileType="library">/usr/share/vala/vapi/DbusmenuGtk-*.vapi</Path>
|
||||
<Path fileType="library">/usr/share/gir-1.0/DbusmenuGtk-*.gir</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/DbusmenuGtk-*.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-gtk3</Name>
|
||||
<Summary>GTK 3.x libraries for libdbusmenu</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdbusmenu-glib</Dependency>
|
||||
<Dependency>libdbusmenu-common</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libdbusmenu-gtk3.so*</Path>
|
||||
<Path fileType="library">/usr/share/vala/vapi/DbusmenuGtk3-*.vapi</Path>
|
||||
<Path fileType="library">/usr/share/gir-1.0/DbusmenuGtk3-*.gir</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/DbusmenuGtk3-*.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-tools</Name>
|
||||
<Summary>Some examples for testing libdbusmenu</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdbusmenu-glib</Dependency>
|
||||
<Dependency>libdbusmenu-common</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libdbusmenu/*dbusmenu-bench*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-devel</Name>
|
||||
<Summary>Development files for libdbusmenu</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdbusmenu-glib</Dependency>
|
||||
<Dependency release="current">libdbusmenu-gtk</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>dbus-glib-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>12.10.2</Version>
|
||||
<Comment>rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-19</Date>
|
||||
<Version>12.10.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>12.10.2</Version>
|
||||
<Comment>Dep Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-13</Date>
|
||||
<Version>12.10.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdbusmenu</Name>
|
||||
<Summary xml:lang="tr">Uygulamaların DBus üzerinden menü yapılarını gönderebilmelerini sağlayan bir kitaplık</Summary>
|
||||
<Description xml:lang="tr">libdbusmenu, indicator-applet uygulamasında kullanılan bazı genel kodların ayrı bir kitaplık haline getirilmesiyle oluşturulmuş bir kitaplıktır. Bu kitaplık ile uygulamaların menü yapısı DBus ile başka uygulamalara iletilebilir, bu sayede uygulamalar karşı tarafta menünün nasıl gösterileceğini dikkate almadan menüler oluşturabilirler.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-glib</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu için GLIB bağlayıcıları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-gtk</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu için GTK 2.x kitaplıkları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-gtk3</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu için GTK 3.x kitaplıkları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-tools</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu testleri için çeşitli örnekler</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-common</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu kitaplıkları için ortak dosyalar</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdbusmenu-devel</Name>
|
||||
<Summary xml:lang="tr">libdbusmenu için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user