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

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

    <bug>
          <bug_id>15889</bug_id>
          
          <creation_ts>2008-06-03 11:37:33 +0400</creation_ts>
          <short_desc>libgtk+2 depends on libcups</short_desc>
          <delta_ts>2008-06-03 12:58:00 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libgtk+2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Alexey Rusakov">ktirf</assigned_to>
          <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71252</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-06-03 11:37:33 +0400</bug_when>
    <thetext># rpm -e libcups
error: removing these packages would break dependencies:
        libcups.so.2   is needed by libgtk+2-common-2.12.8-alt2

Это действительно полезно?

(делаю мини-CD с icewm и wmaker, там cups с вагоном драйверов концептуально
лишний по умолчанию)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71253</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-03 11:45:20 +0400</bug_when>
    <thetext>А libcups имеет какие-то нетривиальные зависимости? А зачем?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71257</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-06-03 12:32:14 +0400</bug_when>
    <thetext>Скажем так -- на вычищаемом нулевом приближении apt-get remove libcups
предположил, что освободится 30M:

[root@localhost ~]# apt-get remove libcups
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  consolehelper libcups libglade libgtk+2 libgtk+2-common libvte synaptic
synaptic-usermode wm-select
  wmfire
0 upgraded, 0 newly installed, 10 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 30.0MB disk space will be freed.
Do you want to continue? [Y/n] 
[root@localhost ~]# rpm -e libcups
error: removing these packages would break dependencies:
        libcups.so.2   is needed by libgtk+2-common-2.12.8-alt2

Почему-то думал, что в основном это libcups, а оказывается -- libgtk+2-common и
synaptic:

$ rpm -q --qf &apos;%{SIZE}\t%{NAME}\n&apos; consolehelper libcups libglade libgtk+2
libgtk+2-common libvte synaptic synaptic-usermode wm-select | sort -n
12458   wm-select
13190   synaptic-usermode
36762   consolehelper
140540  libglade
301292  libcups
1068383 libvte
3894858 synaptic
4733304 libgtk+2
19812245        libgtk+2-common

Наверное, багу проще закрыть как INVALID, а вот получится ли сделать что-то с
libgtk+2-common (или это в основном переводы?) -- думать при надобности/случае
отдельно.

Спасибо, что подтолкнул посмотреть внимательней :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71258</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-03 12:39:40 +0400</bug_when>
    <thetext>Я просто помнил, что libcups - это библиотека в 200k, которой вообще ничего не 
надо :)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71259</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Rusakov">ktirf</who>
    <bug_when>2008-06-03 12:42:41 +0400</bug_when>
    <thetext>libcups нужен для libgtk+2, потому что он через libcups поддерживает
инфраструктуру печати. Можно, конечно, собрать printbackends отдельно, но как
уже было отмечено, овчинка выделки не стоит.
Кстати, ещё один момент. Со всевозможными backend-библиотеками и плагинами есть
одна неприятная особенность: они автоматически не вытягиываются по зависимостям
(как правило). Проблемы с доступом к сетевым ресурсам, решающиеся установкой
GVFS, в рассылках уже попадались.
А libgtk+2-common - это далеко не только переводы, там почти всё что не зависит
от способа вывода данных на экран (X11/DirectFB). То есть по факту почти весь
GTK+ находится в libgtk+2-common.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71260</commentid>
    <comment_count>5</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-03 12:44:38 +0400</bug_when>
    <thetext>Проблемы с вытягиванием бэкенда лучше решать метапакетами.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71262</commentid>
    <comment_count>6</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2008-06-03 12:54:10 +0400</bug_when>
    <thetext>Скажите, а это нормально?

$ rpm -qf /usr/lib/libgdk_pixbuf-2.0.so.0 /usr/lib/libgtk-x11-2.0.so.0
libgtk+2-common-2.12.8-alt2
libgtk+2-common-2.12.8-alt2
libgtk+2-2.12.8-alt2

Багу куда-ньдь повесить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71263</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Rusakov">ktirf</who>
    <bug_when>2008-06-03 12:58:00 +0400</bug_when>
    <thetext>Ага, на libgtk+2-common.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>