<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>31330</bug_id>
          
          <creation_ts>2015-10-06 17:20:54 +0300</creation_ts>
          <short_desc>po,mak: Не учитывается ALTERATOR_L10NDIR при формировании PO_DICTIONARY_FILES и PO_LANGUAGES</short_desc>
          <delta_ts>2015-10-13 16:10:39 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>alterator-platform-1.3, alterator-platform-1.4, l10n, patch, relnote</keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="solo">solo</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>imz</cc>
    
    <cc>manowar</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152986</commentid>
    <comment_count>0</comment_count>
    <who name="solo">solo</who>
    <bug_when>2015-10-06 17:20:54 +0300</bug_when>
    <thetext>В предоставляемом /usr/share/alterator/build/po.mak, При формировании PO_DICTIONARY_FILES и PO_LANGUAGES не учитывается ALTERATOR_L10NDIR, но используется её дефолтное значение:

PO_DICTIONARY_FILES= $(wildcard /usr/share/alterator/l10n/*.po)
PO_FILES=$(wildcard po/*.po)
PO_LANGUAGES=$(sort $(PO_FILES:po/%.po=%) $(PO_DICTIONARY_FILES:/usr/share/alterator/l10n/%.po=%))

ALTERATOR_L10NDIR=/usr/share/alterator/l10n

Предлагаю переписать этот кусок так:

ALTERATOR_L10NDIR=/usr/share/alterator/l10n

PO_DICTIONARY_FILES= $(wildcard $(ALTERATOR_L10NDIR)/*.po)
PO_FILES=$(wildcard po/*.po)
PO_LANGUAGES=$(sort $(PO_FILES:po/%.po=%) $(PO_DICTIONARY_FILES:$(ALTERATOR_L10NDIR)/%.po=%))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152994</commentid>
    <comment_count>1</comment_count>
    <who name="solo">solo</who>
    <bug_when>2015-10-06 18:15:38 +0300</bug_when>
    <thetext>Предлагаемый вариант -- см. http://git.altlinux.org/people/solo/packages/alterator.git?p=alterator.git;a=commitdiff;h=cac0db004d3950ff0712595cdfdcdeeb9b529f8d.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153129</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2015-10-13 16:07:38 +0300</bug_when>
    <thetext>installer-scripts-remount-stage2-0.5.2-alt1 -&gt; sisyphus:

* Tue Oct 13 2015 Aleksey Avdeev &lt;solo@altlinux&gt; 0.5.2-alt1
- Add copying the libraries necessary for binaries copied (ALT#31330).
  To copy using a script /usr/share/make-initrd/tools/put-file
  belonging to an installable distribution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153130</commentid>
    <comment_count>3</comment_count>
    <who name="solo">solo</who>
    <bug_when>2015-10-13 16:10:39 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; installer-scripts-remount-stage2-0.5.2-alt1 -&gt; sisyphus:
&gt; 
&gt; * Tue Oct 13 2015 Aleksey Avdeev &lt;solo@altlinux&gt; 0.5.2-alt1
&gt; - Add copying the libraries necessary for binaries copied (ALT#31330).
&gt;   To copy using a script /usr/share/make-initrd/tools/put-file
&gt;   belonging to an installable distribution.

Сорри: Не то закрыл...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>