ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] repocop complain
@ 2012-05-19  9:01 Bergman Andrey
  2012-05-19 10:03 ` Michael Shigorin
  2012-05-20 19:00 ` Igor Vlasenko
  0 siblings, 2 replies; 8+ messages in thread
From: Bergman Andrey @ 2012-05-19  9:01 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Други!

Не очень понимаю, на что именно ругается Репокоп - http://sisyphus.ru/ru/srpm/Sisyphus/i3/repocop :

Main Categories consist of those categories that every conforming desktop environment MUST support.(http://standards.freedesktop.org/menu-spec/latest/apa.html). None found in /usr/share/applications/i3.desktop. please, fix. Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/i3.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt). 

Вот содержимое файла /usr/share/applications/i3.desktop:

[Desktop Entry]
Name=i3
Comment=improved dynamic tiling window manager
Exec=i3
Type=Application

Может быть его нужно вообще убрать? Или, хотя бы, где посмотреть, как подобный файл должен выглядеть (Оконный менеджер)?

Заранее спасибо,
    Андрей.


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

* Re: [devel] repocop complain
  2012-05-19  9:01 [devel] repocop complain Bergman Andrey
@ 2012-05-19 10:03 ` Michael Shigorin
  2012-05-19 10:09   ` Bergman Andrey
  2012-05-21 12:20   ` Sergey V Turchin
  2012-05-20 19:00 ` Igor Vlasenko
  1 sibling, 2 replies; 8+ messages in thread
From: Michael Shigorin @ 2012-05-19 10:03 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sat, May 19, 2012 at 01:01:02PM +0400, Bergman Andrey wrote:
> Не очень понимаю, на что именно ругается Репокоп -
> http://sisyphus.ru/ru/srpm/Sisyphus/i3/repocop :

На отсутствие дополнительных категорий; похоже, их там
и не требуется, проверьте при помощи desktop-file-validate

> Может быть его нужно вообще убрать? Или, хотя бы, где
> посмотреть, как подобный файл должен выглядеть (Оконный
> менеджер)?

Заглянул в openbox.desktop и metacity.desktop под рукой,
там категорий не оказалось.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [devel] repocop complain
  2012-05-19 10:03 ` Michael Shigorin
@ 2012-05-19 10:09   ` Bergman Andrey
  2012-05-21 12:20   ` Sergey V Turchin
  1 sibling, 0 replies; 8+ messages in thread
From: Bergman Andrey @ 2012-05-19 10:09 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Спасибо!


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

* Re: [devel] repocop complain
  2012-05-19  9:01 [devel] repocop complain Bergman Andrey
  2012-05-19 10:03 ` Michael Shigorin
@ 2012-05-20 19:00 ` Igor Vlasenko
  1 sibling, 0 replies; 8+ messages in thread
From: Igor Vlasenko @ 2012-05-20 19:00 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sat, May 19, 2012 at 01:01:02PM +0400, Bergman Andrey wrote:
> Други!
> 
> Не очень понимаю, на что именно ругается Репокоп - http://sisyphus.ru/ru/srpm/Sisyphus/i3/repocop :
> Может быть его нужно вообще убрать? Или, хотя бы, где посмотреть, как подобный файл должен выглядеть (Оконный менеджер)?

Этот desktop файл установлен в /usr/share/applications/, 
т.е. для показа в меню. А в меню ему не место, так как 
так как в результате будет запуск одного оконного менеджера 
из-под другого - плохая идея.

Его надо убрать. Этот десктоп файл апстримом предназначен 
для установки в меню GDM.
Нам это не нужно, так как соответствующий desktop файл
автоматом генерируется из /etc/X11/wmsession.d/13i3.

MS > Заглянул в openbox.desktop и metacity.desktop под рукой,
> там категорий не оказалось.

Это же относится и к openbox с metacity.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



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

* Re: [devel] repocop complain
  2012-05-19 10:03 ` Michael Shigorin
  2012-05-19 10:09   ` Bergman Andrey
@ 2012-05-21 12:20   ` Sergey V Turchin
  2012-05-21 12:44     ` Igor Vlasenko
  1 sibling, 1 reply; 8+ messages in thread
From: Sergey V Turchin @ 2012-05-21 12:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On 19 мая 2012 13:03:50 Michael Shigorin wrote:

[...]
> Заглянул в openbox.desktop и metacity.desktop под рукой,
> там категорий не оказалось.
Если это не меню, то в них может быть и не быть что угодно.

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [devel] repocop complain
  2012-05-21 12:20   ` Sergey V Turchin
@ 2012-05-21 12:44     ` Igor Vlasenko
  2012-05-21 13:20       ` Sergey V Turchin
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Vlasenko @ 2012-05-21 12:44 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, May 21, 2012 at 04:20:38PM +0400, Sergey V Turchin wrote:
> On 19 мая 2012 13:03:50 Michael Shigorin wrote:
> 
> [...]
> > Заглянул в openbox.desktop и metacity.desktop под рукой,
> > там категорий не оказалось.
> Если это не меню, то в них может быть и не быть что угодно.

Для этого там должно быть указано
NoDisplay=true.
В openbox.desktop и metacity.desktop это действительно указано;
поэтому и repocop на них не ругается.

А в i3.desktop NoDisplay=true не было, поэтому repocop его и ругал.
Впрочем, IMHO, класть в %_desktopdir .desktop файлы
с NoDisplay=true 
смысла нет - они нигде не используются.



-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



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

* Re: [devel] repocop complain
  2012-05-21 12:44     ` Igor Vlasenko
@ 2012-05-21 13:20       ` Sergey V Turchin
  2012-05-21 14:36         ` Igor Vlasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Sergey V Turchin @ 2012-05-21 13:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On 21 мая 2012 15:44:38 Igor Vlasenko wrote:

[...]
> А в i3.desktop NoDisplay=true не было, поэтому repocop его и ругал.
> Впрочем, IMHO, класть в %_desktopdir .desktop файлы
> с NoDisplay=true
> смысла нет - они нигде не используются.
i3.desktop да, не нужен. А вообще бывает смысл класть несколько desktop-файлов 
с разными опциями Exec для разных MimeType или TryExec.

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [devel] repocop complain
  2012-05-21 13:20       ` Sergey V Turchin
@ 2012-05-21 14:36         ` Igor Vlasenko
  0 siblings, 0 replies; 8+ messages in thread
From: Igor Vlasenko @ 2012-05-21 14:36 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, May 21, 2012 at 05:20:02PM +0400, Sergey V Turchin wrote:
> On 21 мая 2012 15:44:38 Igor Vlasenko wrote:
> 
> [...]
> > А в i3.desktop NoDisplay=true не было, поэтому repocop его и ругал.
> > Впрочем, IMHO, класть в %_desktopdir .desktop файлы
> > с NoDisplay=true
> > смысла нет - они нигде не используются.
> i3.desktop да, не нужен. А вообще бывает смысл класть несколько desktop-файлов 
> с разными опциями Exec для разных MimeType или TryExec.

Конечно. Я по поводу нужности говорил только об .desktop файлах для windowmanager'ов.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



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

end of thread, other threads:[~2012-05-21 14:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-19  9:01 [devel] repocop complain Bergman Andrey
2012-05-19 10:03 ` Michael Shigorin
2012-05-19 10:09   ` Bergman Andrey
2012-05-21 12:20   ` Sergey V Turchin
2012-05-21 12:44     ` Igor Vlasenko
2012-05-21 13:20       ` Sergey V Turchin
2012-05-21 14:36         ` Igor Vlasenko
2012-05-20 19:00 ` Igor Vlasenko

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