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

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

    <bug>
          <bug_id>7660</bug_id>
          
          <creation_ts>2005-08-12 17:40:57 +0400</creation_ts>
          <short_desc>please, adjust libvorbis headers</short_desc>
          <delta_ts>2006-12-06 15:21:28 +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>libvorbis-devel</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>7079</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Grigory Batalov">bga</reporter>
          <assigned_to name="Igor Zubkov">icesik</assigned_to>
          <cc>eugvv</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>placeholder</cc>
    
    <cc>thresh</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28628</commentid>
    <comment_count>0</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2005-08-12 17:40:58 +0400</bug_when>
    <thetext>С апгрейдом libvorbis-devel от 1.0update.1-alt3 до 1.1.1-alt1 их заголовки
переехали из /usr/include/vorbis/ в /usr/include/. Программам, использующим

#include &lt;vorbisenc.h&gt;

при старом расположении ещё можно указать -I /usr/include/vorbis при сборке, а вот
там, где

#include &lt;vorbis/vorbisenc.h&gt;

при новом -- уже нет. Придётся парсить исходники. Предлагается вернуть заголовки
назад, а для успевших съехать на новую схему сделать симлинки со старого места
на новое:

ln -s /usr/include/vorbis/codec.h /usr/include/
ln -s /usr/include/vorbis/vorbisenc.h /usr/include/
ln -s /usr/include/vorbis/vorbisfile.h /usr/include/

Для справки: в SuSE 9.3, Fedora Core 4, Connectiva 10, Mandrake 10, Debian 3.1
заголовки лежат в /usr/include/vorbis.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28636</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-08-12 21:23:12 +0400</bug_when>
    <thetext>упс :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28782</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-08-16 21:03:52 +0400</bug_when>
    <thetext>This is build blocker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28801</commentid>
    <comment_count>3</comment_count>
    <who name="Eugene V. Horohorin">genix</who>
    <bug_when>2005-08-17 12:55:15 +0400</bug_when>
    <thetext>грязный хак будущему майнтейнеру:

в секцию %install спека вставить:

%__mkdir_p %buildroot%_includedir/vorbis
cd %buildroot%_includedir/vorbis
find ../ -name &quot;*.h&quot; -exec ln -s &apos;{}&apos; \;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28805</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-08-17 14:16:15 +0400</bug_when>
    <thetext>ln -s -- это слишком грязный хак.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28857</commentid>
    <comment_count>5</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2005-08-18 11:44:17 +0400</bug_when>
    <thetext>(In reply to comment #4)
&gt; ln -s -- это слишком грязный хак.

Предлагаете вместо этого скопировать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28973</commentid>
    <comment_count>6</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2005-08-23 16:06:54 +0400</bug_when>
    <thetext>Только что смотрел как libvorbis собран в Fedora core 4 -- так там  
действительно заголовки лежат /usr/include/vorbis/. Вот только libvorbis у них 
там 1.1.0! 
 
Так что предлагаю, заголовки оставить в /usr/include/. А в /usr/include/vorbis/ 
положить файлы вида: 
#ifndef _vorbis_codec_h_fake_ 
#define _vorbis_codec_h_fake_ 
 
#include &lt;(codec.h|vorbisenc.h|vorbisfile.h)&gt; 
 
#endif 
 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28974</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-08-23 16:11:26 +0400</bug_when>
    <thetext>Seems to be fixed in libvorbis-1.1.1-alt2, thanks to Grigory Batalov.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42539</commentid>
    <comment_count>8</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-11-27 17:58:14 +0300</bug_when>
    <thetext>Это неправильный был фикс. Правильный скоро будет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42540</commentid>
    <comment_count>9</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-11-27 17:58:46 +0300</bug_when>
    <thetext>ну и на нового маинтейнера</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42786</commentid>
    <comment_count>10</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-12-06 15:21:10 +0300</bug_when>
    <thetext>fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>