From: "Damir Shayhutdinov" <damir@altlinux.org> To: "ALT Linux Team development discussions" <devel@lists.altlinux.org> Subject: Re: [devel] Новые rpm macros. Куда? Date: Tue, 23 Oct 2007 11:27:05 +0400 Message-ID: <679044850710230027q3e0c9892t667685dd86055154@mail.gmail.com> (raw) In-Reply-To: <200710231111.21331.ivanov@cg.ru> > В том то и дело, что в самом spec десктоп файла как такового не будет. Будет > запись типа %create_desktop <bin> [<name>,<category>,<icon>] и всё. > единственное поле где могут быть русские буквы Name и проблему с его > кодировкой можно решить точно также, как сейчас делается в Summary > и %description Я не понял, вы макрос делаете или новый rpm? ;) Summary и %description зашиты внутрь rpm-а. Теперь давайте посмотрим, что за проблема, и какими методами вы ее пытаетесь решить. 1) Проблема - лень создавать .desktop и добавлять новый Source. 2) Решение - доработать rpm, чтобы он позволял в специфическом макросе указывать кодировку, протестировать что ничего другого не отвалилось, перевести все пакеты на эту схему. Вам не кажется, что вы стреляете из пушки по воробьям? Если уж так не хочется создавать .desktop-файлы самому, напишите лучше программку для генерирования .desktop-файлов. Которой вы передадите <bin> [<name> <category> <icon> ], а результат ее работы положите в Source или отошлете апстриму. Я даже название для такой программки подскажу - desktop-file-create ;)
next prev parent reply other threads:[~2007-10-23 7:27 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-10-23 5:34 Максим Иванов 2007-10-23 5:51 ` Motsyo Gennadi aka Drool 2007-10-23 6:01 ` [devel] [SPAM] - Re: Новые rpm macros. Куда? - Email found in subject Максим Иванов 2007-10-23 6:09 ` Motsyo Gennadi aka Drool 2007-10-23 6:12 ` Slava Semushin 2007-10-23 6:16 ` Motsyo Gennadi aka Drool 2007-10-25 22:23 ` Alexey Rusakov 2007-10-23 5:58 ` [devel] Новые rpm macros. Куда? Slava Semushin 2007-10-23 6:10 ` [devel] [SPAM] - Re: Новые rpm macros. Куда? - Email found in subject Максим Иванов 2007-10-23 6:13 ` Motsyo Gennadi aka Drool 2007-10-25 22:26 ` [devel] [JT] " Alexey Rusakov 2007-10-23 6:10 ` [devel] Новые rpm macros. Куда? Motsyo Gennadi aka Drool 2007-10-25 22:28 ` Alexey Rusakov 2007-10-23 6:14 ` Andrey Rahmatullin 2007-10-23 7:19 ` Максим Иванов 2007-10-23 6:47 ` Damir Shayhutdinov 2007-10-23 7:11 ` Максим Иванов 2007-10-23 7:27 ` Damir Shayhutdinov [this message] 2007-10-23 7:53 ` Максим Иванов 2007-10-23 8:22 ` Peter V. Saveliev 2007-10-23 8:31 ` Damir Shayhutdinov 2007-10-23 8:56 ` Egor Vyscrebentsov 2007-10-23 9:00 ` Victor Forsyuk 2007-11-01 14:46 ` Michael Shigorin 2007-10-25 15:53 ` Денис Смирнов 2007-10-23 10:18 ` led 2007-10-23 10:16 ` led 2007-10-23 10:25 ` Damir Shayhutdinov 2007-10-23 10:32 ` led 2007-10-23 11:45 ` Damir Shayhutdinov 2007-10-23 12:20 ` Led 2007-10-25 15:51 ` Денис Смирнов 2007-10-23 10:08 ` Sergey V Turchin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=679044850710230027q3e0c9892t667685dd86055154@mail.gmail.com \ --to=damir@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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