picom X11 compositor.
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
#!/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 mesontools, pisitools
|
||||||
|
|
||||||
|
j = ''.join([
|
||||||
|
'-Ddbus=true ',
|
||||||
|
'-Dopengl=true ',
|
||||||
|
'-Dwith_docs=true ',
|
||||||
|
'-Dconfig_file=true'
|
||||||
|
])
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
mesontools.configure(j)
|
||||||
|
|
||||||
|
def build():
|
||||||
|
mesontools.build()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
mesontools.install()
|
||||||
|
|
||||||
|
pisitools.insinto("/etc/xdg/", "picom.sample.conf", "picom.conf")
|
||||||
|
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
--- a/picom.sample.conf 2022-02-13 17:11:35.000000000 +0300
|
||||||
|
+++ b/picom.sample.conf 2022-03-14 19:29:40.263677565 +0300
|
||||||
|
@@ -7,8 +7,8 @@
|
||||||
|
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
|
||||||
|
# unless explicitly requested using the wintypes option.
|
||||||
|
#
|
||||||
|
-# shadow = false
|
||||||
|
-shadow = true;
|
||||||
|
+shadow = false;
|
||||||
|
+# shadow = true;
|
||||||
|
|
||||||
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
|
# shadow-radius = 12
|
||||||
|
@@ -72,8 +72,8 @@
|
||||||
|
|
||||||
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
|
# unless no-fading-openclose is used.
|
||||||
|
-# fading = false
|
||||||
|
-fading = true;
|
||||||
|
+fading = false;
|
||||||
|
+# fading = true;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
|
# fade-in-step = 0.028
|
||||||
|
@@ -102,12 +102,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
|
-# inactive-opacity = 1
|
||||||
|
-inactive-opacity = 0.8;
|
||||||
|
+inactive-opacity = 1;
|
||||||
|
+# inactive-opacity = 0.8;
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
|
-# frame-opacity = 1.0
|
||||||
|
-frame-opacity = 0.7;
|
||||||
|
+frame-opacity = 1.0;
|
||||||
|
+# frame-opacity = 0.7;
|
||||||
|
|
||||||
|
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
|
||||||
|
# inactive-opacity-override = true
|
||||||
|
@@ -405,9 +405,9 @@
|
||||||
|
#
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
|
+ tooltip = { fade = false; shadow = false; opacity = 0.8; focus = true; full-shadow = false; };
|
||||||
|
dock = { shadow = false; clip-shadow-above = true; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
- popup_menu = { opacity = 0.8; }
|
||||||
|
- dropdown_menu = { opacity = 0.8; }
|
||||||
|
+ popup_menu = { opacity = 1.0; }
|
||||||
|
+ dropdown_menu = { opacity = 1.0; }
|
||||||
|
};
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>picom</Name>
|
||||||
|
<Homepage>https://github.com/yshui/picom/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<License>MPL-2</License>
|
||||||
|
<IsA>app</IsA>
|
||||||
|
<PartOf>desktop.misc</PartOf>
|
||||||
|
<Summary>A compositor for X11.</Summary>
|
||||||
|
<Description>This is forked from the original Compton because it seems to have become unmaintained.</Description>
|
||||||
|
<Archive sha1sum="e73f02753e98d1fd2776d6261e4a929dcafbbd9d" type="targz">
|
||||||
|
https://github.com/yshui/picom/archive/refs/tags/v9.1.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<!-- <Dependency>git</Dependency> -->
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
|
<Dependency>uthash</Dependency>
|
||||||
|
<Dependency>asciidoc</Dependency>
|
||||||
|
<Dependency>dbus-devel</Dependency>
|
||||||
|
<Dependency>mesa-devel</Dependency>
|
||||||
|
<Dependency>libev-devel</Dependency>
|
||||||
|
<Dependency>pixman-devel</Dependency>
|
||||||
|
<Dependency>libxcb-devel</Dependency>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>libpcre-devel</Dependency>
|
||||||
|
<Dependency>libxslt-devel</Dependency>
|
||||||
|
<Dependency>libglvnd-devel</Dependency>
|
||||||
|
<Dependency>libXext-devel</Dependency>
|
||||||
|
<Dependency>libconfig-devel</Dependency>
|
||||||
|
<Dependency>xcb-util-image-devel</Dependency>
|
||||||
|
<Dependency>xcb-util-renderutil-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">config.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>picom</Name>
|
||||||
|
<Conflicts>
|
||||||
|
<!-- <Package>compton</Package> -->
|
||||||
|
<!-- <Package>xcompmgr</Package> -->
|
||||||
|
</Conflicts>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>dbus</Dependency>
|
||||||
|
<Dependency>mesa</Dependency>
|
||||||
|
<Dependency>libev</Dependency>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libxcb</Dependency>
|
||||||
|
<Dependency>pixman</Dependency>
|
||||||
|
<Dependency>libpcre</Dependency>
|
||||||
|
<Dependency>libglvnd</Dependency>
|
||||||
|
<Dependency>libconfig</Dependency>
|
||||||
|
<Dependency>xcb-util-image</Dependency>
|
||||||
|
<Dependency>xcb-util-renderutil</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="config">/etc/xdg</Path>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
<Provides>
|
||||||
|
<!-- <COMAR script="service.py">System.Service</COMAR> -->
|
||||||
|
</Provides>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2021-04-14</Date>
|
||||||
|
<Version>9.1</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user