adding
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/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 pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
shelltools.chmod("etc/xdg/additional-logout", mode = 0755)
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
pisitools.insinto("/etc/skel/.config", "./etc/skel/xfce4", "xfce4")
|
||||
@@ -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=geany.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,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pisilinux-default-settings-xfce</Name>
|
||||
<Homepage>https://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="ca61367fe2bbc92a90900f502d6e9d824e5d19e0" type="targz">
|
||||
https://github.com/4fury/pisilinux-default-settings-xfce/archive/2.0.3.tar.gz
|
||||
</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pisilinux-default-settings-xfce</Name>
|
||||
<RuntimeDependencies>
|
||||
<!--
|
||||
<Dependency>pisilinux-theme-maia</Dependency>
|
||||
-->
|
||||
<Dependency>xfce4-settings</Dependency>
|
||||
<Dependency>xfce4-session</Dependency>
|
||||
<Dependency>xfce4-panel</Dependency>
|
||||
<Dependency>xfdesktop</Dependency>
|
||||
<Dependency>xfwm4</Dependency>
|
||||
<Dependency>orage</Dependency>
|
||||
<Dependency>mpv-player</Dependency>
|
||||
<Dependency>nocsd</Dependency>
|
||||
<Dependency>evince</Dependency>
|
||||
<Dependency>file-roller</Dependency>
|
||||
<Dependency>xfce4-notifyd</Dependency>
|
||||
<Dependency>xfce4-xkb-plugin</Dependency>
|
||||
<Dependency>xfce4-clipman-plugin</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/skel/.config</Path>
|
||||
<Path fileType="config">/etc/env.d/80xfce_specific</Path>
|
||||
<Path fileType="config">/etc/xdg/autostart/additional-logout.desktop</Path>
|
||||
<Path fileType="config">/etc/xdg/xfce4/scripts/additional-logout</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<!--
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
-->
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2019-12-10</Date>
|
||||
<Version>2.0.3</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<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>
|
||||
Reference in New Issue
Block a user