From b97da166affaef470090199ab97f9ce6529f7092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sun, 5 Jul 2015 02:22:36 +0300 Subject: [PATCH] works for fix deps gtk2 --- desktop/toolkit/gtk/atk/actions.py | 26 +++ desktop/toolkit/gtk/atk/pspec.xml | 127 ++++++++++++ desktop/toolkit/gtk/atk/translations.xml | 19 ++ desktop/toolkit/gtk/gdk-pixbuf/actions.py | 41 ++++ .../gtk/gdk-pixbuf/comar/pakhandler-32.py | 23 +++ .../gtk/gdk-pixbuf/comar/pakhandler.py | 23 +++ desktop/toolkit/gtk/gdk-pixbuf/pspec.xml | 189 ++++++++++++++++++ .../toolkit/gtk/gdk-pixbuf/translations.xml | 23 +++ x11/library/libXcomposite/pspec.xml | 9 +- x11/library/libXinerama/actions.py | 20 ++ x11/library/libXinerama/pspec.xml | 115 +++++++++++ x11/library/libXinerama/translations.xml | 19 ++ 12 files changed, 633 insertions(+), 1 deletion(-) create mode 100644 desktop/toolkit/gtk/atk/actions.py create mode 100644 desktop/toolkit/gtk/atk/pspec.xml create mode 100644 desktop/toolkit/gtk/atk/translations.xml create mode 100644 desktop/toolkit/gtk/gdk-pixbuf/actions.py create mode 100644 desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler-32.py create mode 100644 desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler.py create mode 100644 desktop/toolkit/gtk/gdk-pixbuf/pspec.xml create mode 100644 desktop/toolkit/gtk/gdk-pixbuf/translations.xml create mode 100644 x11/library/libXinerama/actions.py create mode 100644 x11/library/libXinerama/pspec.xml create mode 100644 x11/library/libXinerama/translations.xml diff --git a/desktop/toolkit/gtk/atk/actions.py b/desktop/toolkit/gtk/atk/actions.py new file mode 100644 index 0000000000..ec9ba2d284 --- /dev/null +++ b/desktop/toolkit/gtk/atk/actions.py @@ -0,0 +1,26 @@ +#!/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 get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + pisitools.dosed(".", "^(SUBDIRS =.*)tests(.*)$", "\\1\\2", filePattern="^Makefile.(am|in)", level=0) + autotools.autoreconf("-fiv") + autotools.configure("\ + --disable-static \ + --enable-introspection=%s \ + " % ("no" if get.buildTYPE() == "emul32" else "yes")) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.removeDir("/usr/share/gtk-doc") + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README") diff --git a/desktop/toolkit/gtk/atk/pspec.xml b/desktop/toolkit/gtk/atk/pspec.xml new file mode 100644 index 0000000000..973d771be0 --- /dev/null +++ b/desktop/toolkit/gtk/atk/pspec.xml @@ -0,0 +1,127 @@ + + + + + atk + http://developer.gnome.org/atk + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + GTK+ and GNOME Accessibility Toolkit + These libraries provide tools for making software for people with disabilities. + mirrors://gnome/atk/2.16/atk-2.16.0.tar.xz + + gobject-introspection-devel + glib2-devel + gtk-doc + + + + + atk + + glib2 + + + /usr/lib/libatk* + /usr/lib/girepository-1.0 + /usr/share/gir-1.0 + /usr/share/locale + /usr/share/doc + + + + + atk-devel + Development files for atk + + atk + + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + atk-32bit + emul32 + 32-bit shared libraries for atk + emul32 + + glib2-32bit + glibc-32bit + + + atk + glib2-32bit + glibc-32bit + + + /usr/lib32 + + + + + + 2015-04-17 + 2.16.0 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-17 + 2.12.0 + Release bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-30 + 2.12.0 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-10 + 2.10.0 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-08-21 + 2.8.0 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-04-07 + 2.8.0 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-02-24 + 2.7.91 + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2012-10-22 + 2.7.2 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/desktop/toolkit/gtk/atk/translations.xml b/desktop/toolkit/gtk/atk/translations.xml new file mode 100644 index 0000000000..1c5014a9a5 --- /dev/null +++ b/desktop/toolkit/gtk/atk/translations.xml @@ -0,0 +1,19 @@ + + + + atk + GTK+ ve GNOME erişilebilirlik kitaplığı + Bu kitaplıklar engelli insanlar için yapılan programlarda kullanılabilecek araçları içerir. + Ces librairies fournissent des outils pour faire des logiciels pour personnes handicapées. + + + + atk-devel + atk için geliştirme dosyaları + + + + atk-32bit + atk için 32-bit paylaşımlı kitaplıklar + + diff --git a/desktop/toolkit/gtk/gdk-pixbuf/actions.py b/desktop/toolkit/gtk/gdk-pixbuf/actions.py new file mode 100644 index 0000000000..018d4ee23b --- /dev/null +++ b/desktop/toolkit/gtk/gdk-pixbuf/actions.py @@ -0,0 +1,41 @@ +#!/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 get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + options = "\ + --disable-static \ + --disable-silent-rules \ + --with-libjasper \ + --with-x11 \ + --with-included-loaders=png \ + " + + options += "\ + --bindir=/_emul32/bin \ + --disable-introspection \ + " if get.buildTYPE() == "emul32" else \ + "\ + --enable-introspection \ + " + autotools.configure(options) + + pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + if get.buildTYPE() == "emul32": + pisitools.domove("/_emul32/bin/gdk-pixbuf-query-loaders", "/usr/bin", "gdk-pixbuf-query-loaders-32") + pisitools.removeDir("/_emul32") + return + pisitools.dosym("/usr/bin/gdk-pixbuf-query-loaders", "/usr/bin/gdk-pixbuf-query-loaders-64") + pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README") diff --git a/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler-32.py b/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler-32.py new file mode 100644 index 0000000000..6edaa81706 --- /dev/null +++ b/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler-32.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import piksemel +import os + +def updateData(filepath): + parse = piksemel.parse(filepath) + + for icon in parse.tags("File"): + path = icon.getTagData("Path") + if path.startswith("usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders"): + os.system("/usr/bin/gdk-pixbuf-query-loaders-32 --update-cache") + return + +def setupPackage(metapath, filepath): + updateData(filepath) + +def cleanupPackage(metapath, filepath): + pass + +def postCleanupPackage(metapath, filepath): + updateData(filepath) diff --git a/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler.py b/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler.py new file mode 100644 index 0000000000..0e2637d6b0 --- /dev/null +++ b/desktop/toolkit/gtk/gdk-pixbuf/comar/pakhandler.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import piksemel +import os + +def updateData(filepath): + parse = piksemel.parse(filepath) + + for icon in parse.tags("File"): + path = icon.getTagData("Path") + if path.startswith("usr/lib/gdk-pixbuf-2.0/2.10.0/loaders"): + os.system("/usr/bin/gdk-pixbuf-query-loaders --update-cache") + return + +def setupPackage(metapath, filepath): + updateData(filepath) + +def cleanupPackage(metapath, filepath): + pass + +def postCleanupPackage(metapath, filepath): + updateData(filepath) diff --git a/desktop/toolkit/gtk/gdk-pixbuf/pspec.xml b/desktop/toolkit/gtk/gdk-pixbuf/pspec.xml new file mode 100644 index 0000000000..988b9fe6a2 --- /dev/null +++ b/desktop/toolkit/gtk/gdk-pixbuf/pspec.xml @@ -0,0 +1,189 @@ + + + + + gdk-pixbuf + http://www.gnome.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + GDK pixbuf library + gdk-pixbuf is a library that provides image loading and scaling support for gtk+ applications + mirrors://gnome/gdk-pixbuf/2.31/gdk-pixbuf-2.31.4.tar.xz + + gtk-doc + glib2-devel + libX11-devel + tiff-devel + libjpeg-turbo-devel + libpng-devel + jasper-devel + gobject-introspection-devel + + + + + gdk-pixbuf + + glib2 + libpng + libX11 + tiff + jasper + libjpeg-turbo + > + + /etc + /usr/bin + /usr/lib + /usr/share/locale + /usr/share/man + /usr/share/doc + /usr/share + + + System.PackageHandler + + + + + gdk-pixbuf-devel + Development files for gdk-pixbuf + + gdk-pixbuf + glib2 + + + /usr/bin/gdk-pixbuf-csource + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + /usr/share/gir-1.0 + + + + + gdk-pixbuf-docs + Reference documents for gdk-pixbuf + + /usr/share/gtk-doc + + + + + gdk-pixbuf-32bit + emul32 + 32-bit shared libraries for gdk-pixbuf + emul32 + + tiff-32bit + libjpeg-turbo-32bit + glibc-32bit + glib2-32bit + libX11-32bit + libpng-32bit + jasper-32bit + libX11-32bit + + + gdk-pixbuf + glibc-32bit + tiff-32bit + glib2-32bit + libpng-32bit + libX11-32bit + jasper-32bit + libjpeg-turbo-32bit + + + /usr/bin/gdk-pixbuf-query-loaders-32 + /usr/lib32 + + + System.PackageHandler + + + + + + 2015-07-05 + 2.31.4 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-27 + 2.31.3 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-17 + 2.30.7 + Release bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-30 + 2.30.7 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-10 + 2.30.0 + Add missing method and fix pakhandler.py + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-09-05 + 2.28.2 + Add missing method and fix pakhandler.py + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-20 + 2.28.2 + Fix build emul32. + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-11 + 2.28.2 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-04-07 + 2.28.0 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-02-24 + 2.27.1 + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2012-11-25 + 2.26.5 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/desktop/toolkit/gtk/gdk-pixbuf/translations.xml b/desktop/toolkit/gtk/gdk-pixbuf/translations.xml new file mode 100644 index 0000000000..b2815ba5ad --- /dev/null +++ b/desktop/toolkit/gtk/gdk-pixbuf/translations.xml @@ -0,0 +1,23 @@ + + + + gdk-pixbuf + GDK pixbuf kitaplığı + gdk-pixbuf, gtk+ uygulamalarına resim açma ve ölçeklendirme desteği sağlayan bir kitaplıktır. + + + + gdk-pixbuf-devel + gdk-pixbuf için geliştirme dosyaları + + + + gdk-pixbuf-docs + gdk-pixbuf için başvuru belgeleri + + + + gdk-pixbuf-32bit + gdk-pixbuf için 32-bit paylaşımlı kitaplıklar + + diff --git a/x11/library/libXcomposite/pspec.xml b/x11/library/libXcomposite/pspec.xml index ac64c422a5..65714aa544 100644 --- a/x11/library/libXcomposite/pspec.xml +++ b/x11/library/libXcomposite/pspec.xml @@ -14,12 +14,17 @@ libXcomposite is the X Composite library. Compositing allows modification of the window system's base elements like window borders, window buttons and window titlebars. mirrors://xorg/individual/lib/libXcomposite-0.4.4.tar.bz2 - libXfixes-devel + libX11-devel + libXfixes-devel + util-macros libXcomposite + + libX11 + /usr/lib /usr/share/doc @@ -48,10 +53,12 @@ emul32 libX11-32bit + glibc-32bit libXcomposite libX11-32bit + glibc-32bit /usr/lib32 diff --git a/x11/library/libXinerama/actions.py b/x11/library/libXinerama/actions.py new file mode 100644 index 0000000000..c2c1791cce --- /dev/null +++ b/x11/library/libXinerama/actions.py @@ -0,0 +1,20 @@ +# -*- 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 get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + autotools.autoreconf("-vif") + autotools.configure("--disable-static") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("ChangeLog", "COPYING", "README") diff --git a/x11/library/libXinerama/pspec.xml b/x11/library/libXinerama/pspec.xml new file mode 100644 index 0000000000..e01f98adac --- /dev/null +++ b/x11/library/libXinerama/pspec.xml @@ -0,0 +1,115 @@ + + + + + libXinerama + http://www.x.org/ + + PisiLinux Community + admins@pisilinux.org + + MIT + library + X.Org Xinerama library + Xorg Xinerama library. Xinerama is an extension to the X Window System which enables applications and window managers to use two (or more) physical displays as one large virtual display. + mirrors://xorg/individual/lib/libXinerama-1.1.3.tar.bz2 + + libXext-devel + libX11-devel + util-macros + + + + + libXinerama + + libXext + libX11 + + + /usr/lib + /usr/share/doc + + + + + libXinerama-devel + Development files for libXinerama + + libXinerama + libXext-devel + + + /usr/include/X11 + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + /usr/share/man + + + + + libXinerama-32bit + emul32 + 32-bit shared libraries for libXinerama + emul32 + + libXext-32bit + libX11-32bit + glibc-32bit + + + libXinerama + libX11-32bit + libXext-32bit + glibc-32bit + + + /usr/lib32 + + + + + + 2014-05-16 + 1.1.3 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-07 + 1.1.3 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-25 + 1.1.3 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-30 + 1.1.3 + Rebuild + PisiLinux Community + admins@pisilinux.org + + + 2013-06-21 + 1.1.3 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-11-22 + 1.1.2 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/x11/library/libXinerama/translations.xml b/x11/library/libXinerama/translations.xml new file mode 100644 index 0000000000..2dada37817 --- /dev/null +++ b/x11/library/libXinerama/translations.xml @@ -0,0 +1,19 @@ + + + + libXinerama + X.Org Xinerama kitaplığı + librairie Xinerama de X.Org + X.Org Xinerama Bibliothek + + + + libXinerama-devel + libXinerama için geliştirme dosyaları + + + + libXinerama-32bit + libXinerama için 32-bit paylaşımlı kitaplıklar + +