ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anatoly Bashmakov <anatoly.bashmakov@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] подскажите какой rpm-macros мне нужен
Date: Sat, 17 Sep 2011 20:14:38 +0400
Message-ID: <20110917161436.GA10554@otherland.localdomain> (raw)
In-Reply-To: <59909.195.230.140.18.1316259427.metamail@webmail.meta.ua>

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

Olexander Chernetskyy wrote:
> 
> Теперь заканчивается так:
> 
> file=./`echo id | sed 's,.*/,,'`.gmo \
>           && rm -f $file && /usr/bin/msgfmt -c -o $file id.po
> id.po:1361: number of format specifications in 'msgid' and 'msgstr' does
> not match

Да, там похоже ошибочка. У меня собирается с несколькими мелкими
патчиками: include кое-где пропущен и поправил id.po (если индонезийский
Вам не нужен, то повлиять ни на что не должен).

Рабочий спек прикладываю, может Вам поможет. Сам спек просто рабочий,
чистить там надо много чего. Пакеты ставятся, но работоспособность
проверить не могу, нет такого девайса.

Удачи.

-- 
Anatoly

[-- Attachment #2: cnijfilter-common.spec.gz --]
[-- Type: application/octet-stream, Size: 2429 bytes --]

[-- Attachment #3: cnijfilter-3.40-p6-id_po_fix.patch --]
[-- Type: text/plain, Size: 554 bytes --]

--- printui/po/id.po.orig	2011-09-17 19:03:22.350833842 +0400
+++ printui/po/id.po	2011-09-17 19:03:07.002757734 +0400
@@ -1359,8 +1359,8 @@
 "Paper Source: %s is not available for the selected Media Type.\n"
 "Paper Source setting has been changed to %s."
 msgstr ""
-"Setelan Sumber Kertas saat ini tidak tersedia untuk Tipe Media yang dipilih.\n"
-"Setelan Sumber Kertas telah diubah."
+"Setelan Sumber Kertas saat ini tidak tersedia untuk Tipe Media yang dipilih: %s.\n"
+"Setelan Sumber Kertas telah diubah: %s."
 
 #. bkenh_enh
 #: po/keystr.h:312

[-- Attachment #4: cnijfilter-3.40-p6-cnij_backend_common_include_ppd_fix.patch --]
[-- Type: text/plain, Size: 287 bytes --]

--- backend/src/cnij_backend_common.c.orig	2011-09-17 17:13:47.258229719 +0400
+++ backend/src/cnij_backend_common.c	2011-09-17 17:13:04.398017178 +0400
@@ -37,6 +37,7 @@
 
 // CUPS Header
 #include <cups/cups.h>
+#include <cups/ppd.h>
 #include <cups/ipp.h>
 
 // Header file for CANON

[-- Attachment #5: cnijfilter-3.40-p6-bjcupsmon_cups_c_include_ppd_fix.patch --]
[-- Type: text/plain, Size: 323 bytes --]

--- cngpijmon/src/bjcupsmon_cups.c.orig	2011-09-17 16:43:11.921128764 +0400
+++ cngpijmon/src/bjcupsmon_cups.c	2011-09-17 16:43:24.293190114 +0400
@@ -20,6 +20,7 @@
 /*** Includes ***/
 #include <cups/cups.h>
 #include <cups/language.h>
+#include <cups/ppd.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <pwd.h>

  reply	other threads:[~2011-09-17 16:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  9:09 Olexander Chernetskyy
2011-09-15 10:00 ` Igor Vlasenko
2011-09-15 20:23       ` Olexander Chernetskyy
2011-09-16  5:24         ` Andrew Borodin
2011-09-16  9:22           ` Olexander Chernetskyy
2011-09-16 10:05             ` REAL
2011-09-16 11:17               ` [Comm] подскажите_какой_rpm-macros_мне_нужен Olexander Chernetskyy
2011-09-17  2:14                 ` REAL
2011-09-17 11:42                   ` Olexander Chernetskyy
2011-09-16 10:24             ` [Comm] подскажите какой rpm-macros мне нужен Andrew Borodin
2011-09-17 11:37               ` Olexander Chernetskyy
2011-09-17 16:14                 ` Anatoly Bashmakov [this message]
2011-09-17 17:19                   ` Olexander Chernetskyy
2011-09-17 17:43                     ` Anatoly Bashmakov
2011-09-15 10:47 ` Michael Shigorin

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=20110917161436.GA10554@otherland.localdomain \
    --to=anatoly.bashmakov@gmail.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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