LinuxForum.Fans
Тема

slack-desc'и и проблемы

Автор: yars 4 сообщений 3689 просмотров
#277862

Доброго времени!
Снова возникла у меня проблема с ними. bormant, вы мне еще когда объясняли, в чем дело, но...
На этот раз затык такой:

text
$ cat slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.  Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in.  You must
# make exactly 11 lines for the formatting to be correct.  It's also
# customary to leave one space after the ':'.

|-----handy-ruler------------------------------------------------------| oxygen-gtk2: oxygen-gtk2 (Oxygen GTK+ engine) oxygen-gtk2: oxygen-gtk2: Oxygen-Gtk2 is a port of the KDE widget theme Oxygen, to GTK+. oxygen-gtk2: It's primary goal is to ensure visual consistency between GTK+ and oxygen-gtk2: qt-based applications running under kde. A secondary objective is oxygen-gtk2: to also have a stand-alone nice looking GTK+ theme that would behave oxygen-gtk2: well on other Desktop Environments. oxygen-gtk2: Unlike other attempts made to port the kde oxygen theme to GTK+, this oxygen-gtk2: attempt does not depend on Qt. oxygen-gtk2: oxygen-gtk2: See: http://projects.kde.org/projects/playground/artwork/oxygen-gtk $ sed -i 's/oxygen-gtk2/oxygen-gtk3/' slack-desc $ cat slack-desc # HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. Line # up the first '|' above the ':' following the base package name, and the '|' # on the right side marks the last column you can put a character in. You must # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'.

|-----handy-ruler------------------------------------------------------| oxygen-gtk3: oxygen-gtk3 (Oxygen GTK+ engine) oxygen-gtk3: oxygen-gtk3: Oxygen-Gtk3 is a port of the KDE widget theme Oxygen, to GTK+. oxygen-gtk3: It's primary goal is to ensure visual consistency between GTK+ and oxygen-gtk3: qt-based applications running under KDE. A secondary objective is oxygen-gtk3: to also have a stand-alone nice looking GTK+ theme that would behave oxygen-gtk3: well on other Desktop Environments. oxygen-gtk3: Unlike other attempts made to port the kde oxygen theme to GTK+, oxygen-gtk3: this attempt does not depend on Qt. oxygen-gtk3: oxygen-gtk3: See: http://download.kde.org/download.php?url=stable/oxygen-gtk3/ $

Собираю, устанавливаю пакет - описание не отображается, хотя вроде бы все правильно... Что не так?

#277864

А, понял. Решено. Очепятка в номер версии закралась. :[

#277870

Ну и, до кучи, выкладываю [url=ftp://linuxru.org/yars/packages/oxygen-gtk3/oxygen-gtk3-1.1.0-i486-3_yars.txz]готовый пакет[/url] - если кому-нибудь пригодится, буду рад.

#277904

Вот и славно.
Принцип простой -- родовое имя пакета (всё, что левее 3-го справа дефиса) должно совпадать с префиксом в slack-desc.

oxygen-gtk3-версия-архитектура-сборка_тэг.txz
oxygen-gtk3:

Проверка:

text

echo oxygen-gtk3-версия-архитектура-сборка_тэг.txz | rev | cut -d- -f4 | rev
Войдите или зарегистрируйтесь, чтобы ответить.