ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: new xscreensaver
@ 2003-04-15  6:16 Alexey I. Froloff
  2003-04-15  8:31 ` Stanislav Ievlev
  0 siblings, 1 reply; 17+ messages in thread
From: Alexey I. Froloff @ 2003-04-15  6:16 UTC (permalink / raw)
  To: ALTLinux devel, ALTLinux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 1910 bytes --]

Итак, по поводу новой сборки xscreensaver.

Не так давно Александр Боковой собрал Realy Slick Screensavers,
которые могут использоваться в качестве хаков для xscreensaver,
и возникла необходимость как-то рулить содержимым XScreenSaver
app-defaults. Сжема следующая:

В пакете xscreensaver остался только "движок", который хочет
(виртуальный) пакет xscreensaver-hack. Все хаки переехали в
xscreensaver-hacks и xscreensaver-hacks-gl (бывший
xscreensaver-gl) и провайдят xscreensaver-hack.

!!! Внимание !!!
При обновлении, если был установлен пакет xscreensaver-gl, он
будет заменён (по Obsoletes) на xscreensaver-hacks-gl, а пакет
xscreensaver-hacks автоматически установлен _не будет_. Будьте
внимательны!

Каждый пакет с хаками содержит собсно хак, конфиг для
xscreensaver-demo, manpage (если есть) и строчки для ресурса
.programs: из XScreenSaver app-defaults. Эти строчки лежат в
/etc/X11/xscreensaver/hack.d/*.xss и скриптом update-xscreensaver
из них собирается файл /etc/X11/app-defaults/XScreenSaver. Также
есть файлы xscreensaver.top и xscreensaver.bottom в
/etc/X11/xscreensaver, там находятся "верх" и "низ" XScreenSaver
app-defaults.

Появился пакет xscreensaver-devel в котором находится только файл
/etc/rpm/macros.d/xscreensaver с макросами:

%xss_hack_dir - каталог с хаками (%_x11libdir/xscreensaver)
%xss_conf_dir - каталог с xml'ными конфигами (%xss_hack_dir/config)
%xss_ad_dir - каталог со строчками для ресурса .programs:

%update_xscreensaver
%clean_xscreensaver

Два макроса, которые должны быть вызваны из %post/%postun
скрипта пакета, который содержит файлы в %xss_ad_dir.

С зависимостями у таких пакетов всё просто:

Requires: xscreensaver
Provides: xscreensaver-hack

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
------------------------------------------
  Inform-Mobil, Ltd. System Adminitrator
       http://www.inform-mobil.ru/
Tel: +7(095)504-4709, Fax: +7(095)513-1006

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2003-04-17 15:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-15  6:16 [devel] I: new xscreensaver Alexey I. Froloff
2003-04-15  8:31 ` Stanislav Ievlev
2003-04-15 16:10   ` Alexey I. Froloff
2003-04-16  7:33     ` Stanislav Ievlev
2003-04-16 10:09       ` Alexey I. Froloff
2003-04-16 10:50         ` Stanislav Ievlev
2003-04-16 11:15           ` Alexey I. Froloff
2003-04-16 22:10             ` Dmitry V. Levin
2003-04-17  5:57               ` vserge
2003-04-17  7:44                 ` Alexey I. Froloff
2003-04-17  7:49                   ` Dmitry V. Levin
2003-04-17  8:06                     ` Alexey I. Froloff
2003-04-17  7:42               ` Alexey I. Froloff
2003-04-17  7:54                 ` Dmitry V. Levin
2003-04-17 13:41                 ` [devel] " Michael Shigorin
2003-04-17 15:34                   ` Alexey I. Froloff
2003-04-17  5:56           ` [devel] " vserge

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git