Initial import (#1780570).

This commit is contained in:
Artem Polishchuk 2019-12-06 20:38:11 +02:00
parent 8a305e38ed
commit c0f2b8d724
3 changed files with 109 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/picom-7.5.tar.gz

107
picom.spec Normal file
View File

@ -0,0 +1,107 @@
### Note: compton fork renamed to 'picom' since version 7.5
### Enable LTO
%global optflags %{optflags} -flto
%global build_ldflags %{build_ldflags} -flto
%global oldname compton-ng
Name: picom
Version: 7.5
Release: 2%{?dist}
Summary: Lightweight compositor for X11 (previously a compton fork)
License: MPLv2.0 and MIT
URL: https://github.com/yshui/picom
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: asciidoc
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: libev-devel
BuildRequires: meson
BuildRequires: uthash-devel
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(libconfig)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(libxdg-basedir)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-damage)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-present)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-render)
BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xcb-shape)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcb-xinerama)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xproto)
Requires: hicolor-icon-theme
Conflicts: compton%{?_isa}
Provides: %{oldname}%{?_isa} = %{version}-%{release}
Obsoletes: %{oldname} =< 7.5-1
%description
This is forked from the original Compton because that seems to have become
unmaintained.
The current battle plan of this fork is to refactor it to make the code
possible to maintain, so potential contributors won't be scared away when they
take a look at the code.
We also try to fix bugs.
%prep
%autosetup -p1
%build
%meson -Dbuild_docs=true
%meson_build
%install
%meson_install
%check
%meson_test
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files
%license COPYING LICENSES/MPL-2.0 LICENSES/MIT
%doc README.md CONTRIBUTORS picom.sample.conf
%{_bindir}/%{name}*
%{_bindir}/compton*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{_mandir}/man1/*
%changelog
* Fri Dec 06 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 7.5-2
- Renamed to 'picom'
* Mon Nov 25 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 7.5-1
- Update to 7.5
* Sat Sep 21 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 7.4-1
- Update to 7.4
- Drop git submodule, now vendored with release tarball
* Tue Aug 13 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 7.2-2
- Update to 7.2
- Packaging fixes
- Disable LTO
* Tue Aug 06 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 7.1-5
- Initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (picom-7.5.tar.gz) = 6535e5eab1a243bbee62448bc48830b7ea3566f94b2c45d9ca76fd8b8056e1f00e55f0e4b58110364d2c4f56652cc005622d644c1db1db41d2811ecc19e6d44a