Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37410201
en ru br
Репозитории ALT

Группа :: Графические оболочки/Прочее
Пакет: i3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: i3
Version: 4.22
Release: alt2

Summary: I3 window manager
License: BSD-like
Group: Graphical desktop/Other

URL: http://i3wm.org/
Source: %name-%version.tar
Source1: alt.i3.config
Source2: i3-logo.png
Patch0: %name-4.22-alt-add_xvt.patch

Packager: %packager

# It requires dmenu for launching programs (Ctrl-d keybinding)

Requires: dmenu

# Automatically added by buildreq on Tue Mar 03 2015

BuildRequires: libev-devel libpango-devel libpcre2-devel libstartup-notification-devel libxcbutil-cursor-devel libxcbutil-devel libxcbutil-icccm-devel libxcbutil-keysyms-devel libxkbcommon-x11-devel libyajl-devel libxcbutil-xrm-devel xmlto asciidoc meson ninja-build

# п■п╬п╠п╟п╡п╩п╣п╫п╬ п╡я─я┐я┤п╫я┐я▌ - п╟п╡я┌п╬п╪п╟я┌п╦п╨п╟, я┐п╡я▀, п╫п╣ п╫п╟я┘п╬п╢п╦я┌.

BuildRequires: perl-Pod-Parser perl-AnyEvent-I3

%package devel
Summary: Development file for IPC interface of i3 window manager
Summary(ru_RU.UTF-8): п≈п╟пЁп╬п╩п╬п╡п╬я┤п╫я▀п╧ я└п╟п╧п╩ п╢п╩я▐ п©я─п╬пЁя─п╟п╪п╪, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ IPC п╦п╫я┌п╣я─я└п╣п╧я│ п╪п╣п╫п╣п╢п╤п╣я─п╟ п╬п╨п╬п╫ i3
Group: Development/C
Requires: %name = %version-%release glibc-devel

%description
i3 is a tiling window manager, completely written from scratch. It is
UTF-8 clean, supports more flexible layouts than column-based approach
used by other window managers, implements different modes, like vim.
The IPC interface for other programs is supported. This interface
can be more lightweight than 9P filesystem used in wmii.
Last but not least, i3 uses xcb as far as possible for speed and code
clearness.

%description -l ru_RU.UTF-8
i3 - я█я┌п╬ п╪п╬п╥п╟п╦я┤п╫я▀п╧ п╪п╣п╫п╣п╢п╤п╣я─ п╬п╨п╬п╫, п╫п╟п©п╦я│п╟п╫п╫я▀п╧ я│ я┐я┤я▒я┌п╬п╪ п╠п╬п╩я▄я┬п╬пЁп╬
п╬п©я▀я┌п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╦ п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╦ wmii. i3 п©п╬п╩п╫п╬я│я┌я▄я▌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌
п╨п╬п╢п╦я─п╬п╡п╨я┐ UTF-8. п·п╫ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ п╠п╬п╩п╣п╣ пЁп╦п╠п╨п╬ я─п╟я│п©п╬п╩п╟пЁп╟я┌я▄
п╬п╨п╫п╟, п╫п╣п╤п╣п╩п╦ п╨п╬п╩п╬п╫п╬я┤п╫я▀п╣ п╬п╨п╬п╫п╫я▀п╣ п╪п╣п╫п╣п╢п╤п╣я─я▀; я─п╣п╟п╩п╦п╥я┐п╣я┌ IPC п╦п╫я┌п╣я─я└п╣п╧я│
п╢п╩я▐ п©п╬п╢п╨п╩я▌я┤п╣п╫п╦я▐ п╢я─я┐пЁп╦я┘ п©я─п╬пЁя─п╟п╪п╪; п╦я│п©п╬п╩я▄п╥я┐п╣я┌ xcb п╢п╩я▐ я▐я│п╫п╬я│я┌п╦
п╨п╬п╢п╟ п╦ п╠я▀я│я┌я─п╬п╢п╣п╧я│я┌п╡п╦я▐.

%description devel
This package includes file that is required for creating C programs
that can interact with i3 window manager via it's IPC.

%description -l ru_RU.UTF-8 devel
п╜я┌п╬я┌ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╥п╟пЁп╬п╩п╬п╡п╬я┤п╫я▀п╧ я└п╟п╧п╩ п╡ п╨п╬я┌п╬я─п╬п╪ п╬п©п╦я│п╟п╫ п╦п╫я┌п╣я─я└п╣п╧я│
п╢п╩я▐ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ п╪п╣п╫п╣п╢п╤п╣я─п╬п╪ п╬п╨п╬п╫ i3 п╦п╥ п©я─п╬пЁя─п╟п╪п╪ п╫п╟ C.


%prep
%setup -n %name-%version
%patch0 -p1

%build

mkdir build
cd build
meson --buildtype release -Ddocs=True -Dmans=True --prefix /usr ..
ninja

# п║п╤п╦п╪п╟п╣п╪ я│я┌я─п╟п╫п╦я├я▀ я─я┐п╨п╬п╡п╬п╢я│я┌п╡

cd ../man
bzip -9 *.1

%install

mkdir -p %buildroot%_bindir

cd build
meson install --destdir %buildroot
cd ..

%define i3dir /etc/i3

# п п╬п©п╦я─я┐п╣п╪ п©п╦п╨я┌п╬пЁя─п╟п╪п╪я┐ я│ я│п╟п╧я┌п╟ i3.

install -pm644 -D %SOURCE2 %buildroot%_niconsdir/i3.png

# п■п╬п╠п╟п╡п╩я▐п╣п╪ п╥п╟п©п╦я│я▄ п╡ WMsession.d

mkdir -p %buildroot/etc/X11/wmsession.d
cat >%buildroot/etc/X11/wmsession.d/13i3 <<EOF
NAME=i3
ICON=%_niconsdir/i3.png
DESC=%summary
EXEC=%_bindir/i3
SCRIPT:
exec %_bindir/i3
EOF

# п╓п╟п╧п╩ .desktop п╢п╩я▐ п╪п╣п╫п╣п╢п╤п╣я─п╟ п╬п╨п╬п╫ п╫п╣ п╫я┐п╤п╣п╫, п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╥п╟п©я┐я│п╨п╟я┌я▄ п╬п╨п╬п╫п╫я▀п╧ п╪п╣п╫п╣п╢п╤п╣я─

# п╦п╥ п╪п╣п╫я▌ п╢я─я┐пЁп╬пЁп╬ п╬п╨п╬п╫п╫п╬пЁп╬ п╪п╣п╫п╣п╢п╤п╣я─п╟ п╫п╣я│п╨п╬п╩я▄п╨п╬ я│я┌я─п╟п╫п╫п╬.
# install -pm644 -D %name.xsession.desktop %buildroot%_desktopdir/%name.desktop

# п═п╟я│п╨п╩п╟п╢я▀п╡п╟п╣п╪ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▌ п©п╬ п╨п╟я┌п╟п╩п╬пЁп╟п╪.

# п▓я│я▒, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ *.dia п╦ Makefile.
%define docdir %_docdir/%name

# пёя│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣п╪ я│я┌я─п╟п╫п╦я├я▀ я─я┐п╨п╬п╡п╬п╢я│я┌п╡.

mkdir -p %buildroot%_man1dir
install -pm644 man/i3*.1.bz2 %buildroot%_man1dir/

# п п╬п©п╦я─я┐п╣п╪ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я┐я▌ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦я▌ п╡ п╨п╟я┌п╟п╩п╬пЁ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦.

install -pm644 -D %SOURCE1 %buildroot%docdir/

%files

%doc %docdir
%%config %i3dir/
%_bindir/*
%_man1dir/*
%config /etc/X11/wmsession.d/13i3
%_niconsdir/i3.png
%_datadir/xsessions/i3.desktop

%files devel
%_includedir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin