Merge pull request #2193 from bferturk/master

xfce default settings
This commit is contained in:
bferturk
2016-09-06 18:33:57 -04:00
committed by GitHub
11 changed files with 99188 additions and 98842 deletions
@@ -0,0 +1,15 @@
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "."
def install():
pythonmodules.install()
pisitools.insinto("/usr/share/","./share/*")
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi import api as pisiapi
import platform
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
fileassociations = open("/usr/share/applications/mimeapps.list","a")
fileassociations.write("application/pdf=evince.desktop;\n")
fileassociations.write("application/zip=file-roller.desktop;\n")
fileassociations.write("application/x-rar=file-roller.desktop;\n")
fileassociations.write("application/x-compressed-tar=file-roller.desktop;\n")
fileassociations.write("application/x-tar=file-roller.desktop;\n")
fileassociations.write("application/x-bzip-compressed-tar=file-roller.desktop;\n")
fileassociations.write("image/jpeg=ristretto.desktop;\n")
fileassociations.write("image/png=ristretto.desktop;\n")
fileassociations.write("image/gif=ristretto.desktop;\n")
fileassociations.write("image/x-ms-bmp=ristretto.desktop;\n")
fileassociations.write("text/plain=medit.desktop;\n")
fileassociations.write("application/x-pisi=package-manager.desktop;\n")
fileassociations.close()
#FIXME:
try:
os.unlink("/usr/share/xsessions/openbox-gnome.desktop")
except:
pass
try:
os.unlink("/usr/share/xsessions/openbox-kde.desktop")
except:
pass
@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pisilinux-default-settings-xfce</Name>
<Homepage>http://www.pisilinux.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>data</IsA>
<Summary>PisiLinux default settings for xfce</Summary>
<Description>This package contains the xfce default settings for Pisilinux.</Description>
<Archive sha1sum="fdcdc8d9a7132a1206b15c67ec9cd688f2e260e9" type="tarxz">https://sourceforge.net/projects/pisi-source/files/PisiLinux-xfce/pisilinux-default-settings-xfce-0.2.1.tar.xz</Archive>
</Source>
<Package>
<Name>pisilinux-default-settings-xfce</Name>
<RuntimeDependencies>
<Dependency>xfce4-settings</Dependency>
<Dependency>polkit-gnome</Dependency>
<Dependency>gvfs</Dependency>
<Dependency>medit</Dependency>
<Dependency>file-roller</Dependency>
<Dependency>network-manager-applet</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/backgrounds/xfce</Path>
<Path fileType="data">/usr/share/icons/*</Path>
<Path fileType="data">/usr/share/themes/*</Path>
<Path fileType="config">/etc/xdg/xfce4/xfconf/xfce-perchannel-xml</Path>
<Path fileType="config">/etc/xdg/xfce4/terminal</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="1">
<Date>2016-09-08</Date>
<Version>0.2.1</Version>
<Comment>First release</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>pisilinux-default-settings-xfce</Name>
<Summary xml:lang="tr">Pisilinux xfce öntanımlı ayarları</Summary>
<Description xml:lang="tr">Bu paket, PisiLinux xfce için öntanımlı ayarları içerir.</Description>
</Source>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--disable-static")
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", "COPYING", "TODO", "AUTHORS", "ChangeLog")
+74
View File
@@ -0,0 +1,74 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libgxps</Name>
<Homepage>https://live.gnome.org/libgxps</Homepage>
<Packager>
<Name>Pisi Gnu/Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>XPS Documents library</Summary>
<Description>libgxps is a GObject based library for handling and rendering XPS documents.</Description>
<BuildDependencies>
<Dependency>cairo-devel</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>glib2-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="8d5a2151aeb631119f0c75e1bb10bbc71a0da78d" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/libgxps/0.2/libgxps-0.2.2.tar.xz</Archive>
</Source>
<Package>
<Name>libgxps</Name>
<RuntimeDependencies>
<Dependency>cairo</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>libarchive</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>tiff</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libgxps-devel</Name>
<Summary>Development files for libgxps</Summary>
<RuntimeDependencies>
<Dependency>cairo-devel</Dependency>
<Dependency release="current">libgxps</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libgxps-doc</Name>
<Summary>Documentation files for libgxps</Summary>
<Files>
<Path fileType="data">/usr/share/gtk-doc/html</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-07-26</Date>
<Version>0.2.2</Version>
<Comment>First Release</Comment>
<Name>Pisi Gnu/Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libgxps</Name>
<Summary xml:lang="tr">libgxps işleme ve render XPS belgeleri için bir gobject tabanlı bir kütüphanedir.</Summary>
<Description xml:lang="tr">XPS dosyaları genellikle Windows ortamlarında "Microsoft XPS Document Writer" kullanılarak oluşturulur. Şimdi açık bir standart belge biçimi olarak standardize edilmiştir.</Description>
</Source>
<Package>
<Name>libgxps-devel</Name>
<Summary xml:lang="tr">libgxps için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libgxps-doc</Name>
<Summary xml:lang="tr">libgxps için belgelendirme dosyaları</Summary>
</Package>
</PISI>
+98966 -98840
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
a8effc1e016d758d42de996fe271cb025ca18e50
6728254fde940568eee5d2cc5d475e8550d71469
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
0db22b61afe32e2590a0e9e9a466c54d77511ae9
3318b4fe0b4f9719d828224d9ac88caa01ecfe77