mate:mate-desktop is ready for Pisi Linux
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#! pisitools.remove("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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#Change default xcursor
|
||||
pisitools.dosed("schemas/org.mate.peripherals-mouse.gschema.xml.in", "<default>''</default>", "<default>'mate'</default>")
|
||||
pisitools.dosed("schemas/org.mate.background.gschema.xml.in", "backgrounds/mate/desktop/Stripes.png", "backgrounds/mate/nature/5.jpg")
|
||||
autotools.configure("--prefix=/usr \
|
||||
--with-x \
|
||||
--disable-static \
|
||||
--disable-schemas-compile \
|
||||
--disable-gtk-doc-html \
|
||||
--enable-introspection=yes \
|
||||
--enable-gtk-doc")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
|
||||
pisitools.dodoc("README", "NEWS")
|
||||
@@ -0,0 +1,53 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from pisi import api as pisiapi
|
||||
import platform
|
||||
import os
|
||||
|
||||
fileassociations = open("/usr/share/applications/mimeapps.list","a")
|
||||
fileassociations.write("application/x-pisi=package-manager-helper.desktop;\n")
|
||||
fileassociations.write("x-scheme-handler/http=mozillafirefox.desktop;\n")
|
||||
fileassociations.write("x-scheme-handler/https=mozillafirefox.desktop;\n")
|
||||
fileassociations.write("x-scheme-handler/about=mozillafirefox.desktop;\n")
|
||||
fileassociations.write("x-scheme-handler/mailto=sylpheed.desktop;\n")
|
||||
fileassociations.write("application/x-extension-eml=sylpheed.desktop;\n")
|
||||
fileassociations.write("message/rfc822=sylpheed.desktop;\n")
|
||||
fileassociations.write("inode/directory=caja-folder-handler.desktop;\n")
|
||||
fileassociations.write("text/plain=pluma.desktop;\n")
|
||||
fileassociations.write("audio/mpeg=gnome-mplayer.desktop;\n")
|
||||
fileassociations.write("audio/x-mpegurl=gnome-mplayer.desktop;\n")
|
||||
fileassociations.write("audio/x-scpls=gnome-mplayer.desktop;\n")
|
||||
fileassociations.write("audio/x-vorbis+ogg=gnome-mplayer.desktop;\n")
|
||||
fileassociations.write("audio/x-wav=gnome-mplayer.desktop;\n")
|
||||
fileassociations.write("video/mp4=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/mpeg=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/mp2t=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/msvideo=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/quicktime=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/webm=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/x-avi=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/x-flv=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/x-matroska=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/x-mpeg=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("video/x-ogm+ogg=smplayer_enqueue.desktop;\n")
|
||||
fileassociations.write("image/bmp=eom.desktop;\n")
|
||||
fileassociations.write("image/gif=eom.desktop;\n")
|
||||
fileassociations.write("image/jpeg=eom.desktop;\n")
|
||||
fileassociations.write("image/png=eom.desktop;\n")
|
||||
fileassociations.write("image/tiff=eom.desktop;\n")
|
||||
fileassociations.write("image/x-ms-bmp=eom.desktop;\n")
|
||||
fileassociations.write("text/plain=pluma.desktop;\n")
|
||||
fileassociations.write("text/x-patch=pluma.desktop;\n")
|
||||
fileassociations.write("text/x-patch=pluma.desktop;\n")
|
||||
fileassociations.write("text/x-python=pluma.desktop;\n")
|
||||
fileassociations.write("text/x-python=pluma.desktop;\n")
|
||||
fileassociations.write("application/xml=pluma.desktop;\n")
|
||||
fileassociations.write("application/xml=pluma.desktop;\n")
|
||||
fileassociations.write("application/pdf=atril.desktop;\n")
|
||||
fileassociations.write("application/zip=engrampa.desktop;\n")
|
||||
fileassociations.write("application/x-rar=engrampa.desktop;\n")
|
||||
fileassociations.write("application/x-compressed-tar=engrampa.desktop;\n")
|
||||
fileassociations.write("application/x-tar=engrampa.desktop;\n")
|
||||
fileassociations.write("application/x-bzip-compressed-tar=engrampa.desktop;\n")
|
||||
fileassociations.close()
|
||||
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mate-desktop</Name>
|
||||
<Homepage>http://www.mate-desktop.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>Ayhan Yalçınsoy</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<License>GPLv2+</License>
|
||||
<License>LGPLv2+</License>
|
||||
<Icon>desktop</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Basic Mate libraries and dialogs</Summary>
|
||||
<Description>mate-desktop contains basic Mate libraries and information applications.</Description>
|
||||
<Archive sha1sum="54e7feadc273fdd5ab524b5db6e65bf666340faf" type="tarxz">http://pub.mate-desktop.org/releases/1.22/mate-desktop-1.22.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>dconf-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>iso-codes</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>python-six</Dependency>
|
||||
<Dependency>mate-common</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mate-desktop</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>dconf</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>startup-notification</Dependency>
|
||||
<Dependency>network-manager-applet</Dependency> <!--no remove-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/help</Path>
|
||||
<Path fileType="data">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/mate-about</Path>
|
||||
<Path fileType="data">/usr/share/backgrounds</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/libmate-desktop</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>mate-desktop-devel</Name>
|
||||
<summary>mate-desktop için geliştirme dosyaları</summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>dconf-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
<Dependency release="current">mate-desktop</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>mate-desktop-doc</Name>
|
||||
<Summary>mate-desktop için döküman belgeleri.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">mate-desktop</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-02-13</Date>
|
||||
<Version>1.22.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mate-desktop</Name>
|
||||
<Summary xml:lang="tr">Mate masaüstü</Summary>
|
||||
<Description xml:lang="tr">mate-desktop, Mate kullanıcı ortamının paylaşımlı bileşenlerini içeren temel pakettir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mate-desktop-devel</Name>
|
||||
<summary xml:lang="tr">mate-desktop için geliştirme dosyaları</summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>mate-desktop-doc</Name>
|
||||
<Summary xml:lang="tr">mate-desktop için döküman belgeleri.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user