Removing Python

0 views
Skip to first unread message

Kaleb

unread,
Jul 4, 2009, 7:57:39 PM7/4/09
to ul-dev...@googlegroups.com
In trying to get my first alpha of TinyMe 2009 out, the first thing I want to do is remove Python, because it's freakin' huge. However, when I run smart remove python, I get:

Removing packages (44):
  alsaconf                               python-dbus                            
  chkfontpath                            python-gobject                         
  dash                                   python-liblzma                         
  gdm                                    python-notify                          
  gdm-themes-relaxing-water              python-numpy                           
  libcairo-devel                         python-psyco                           
  libice6-devel                          python-rhpl                            
  libsm6-devel                           python-rpm                             
  libx11_6-devel                         smart                                  
  libxau6-devel                          smart-gui                              
  libxcb-devel                           spec-helper                            
  libxdmcp6-devel                        task-x11                               
  libxext6-devel                         x11-driver-video                       
  libxrender1-devel                      x11-driver-video-v4l                   
  libxt6-devel                           x11-proto-devel                        
  newt                                   x11-server-common                      
  pygtk2.0                               x11-server-xorg                        
  pygtk2.0-libglade                      x11-server-xvfb                        
  python                                 xfs                                    
  python-cairo                           xinit                                  
  python-cups                            xinitrc                                
  python-curl                            xorg-x11-xfs

Obviously, there are quite a few things here which are very necessary! Why do these things have dependencies on Python? Can we please look at removing some of these Python dependencies?

Paul Grinberg

unread,
Jul 4, 2009, 8:05:34 PM7/4/09
to ul-dev...@googlegroups.com

Just an FYI - my earlier work on making smart-lite was not as successful as I had hoped. Indeed it works well IF the regular smart and python are installed. However,  if either are missing, then my smart-lite does not work. A while ago I was in contact with the developer of the python packaging app to help me through this, but we didn't get much farther. Apparently Python is a PITA w.r.t. finding dependencies :-)

Anyways, at that time, I stopped working on smart-lite. If we still feel that I need to continue work on it, I shall. However, I would like to see where we get with the python dependencies on the rest of these packages first. If it seems like we can get a distro without Python, then I will definitely make smart-lite work.

Gianvacca

unread,
Jul 5, 2009, 8:59:38 AM7/5/09
to ul-dev...@googlegroups.com
After a short analysis with 

rpm -q --requires packagename
rpm -q --what-requires packagename

I can tall you that one big dependency initiator is dash. Because of it's dependency on python the following packages share the same dependency:

first level: dash
second level: x11-server-common
third level: x11-driver-video-v4l, xinitrc, x11-server-xorg, x11-server-xvfb, xfs
fourth level: x11-driver-video, task-x11, xinit, gdm, chkfontpath, xorg-x11-xfs
fifth level: gdm-themes-relaxing-water

A small dependency initiator is newt

first level: newt/whiptail
second level: alsaconf

Then there is x11-proto-devel

first level: x11-proto-devel
second level: libxrender1-devel, libxt6-devel, libx11_6-devel, libice6-devel, libxau6-devel, libxcb-devel, libsm6-devel, libxdmcp6-devel, libxext6-devel
third level: libcairo-devel

 

Kaleb

unread,
Jul 6, 2009, 6:23:55 PM7/6/09
to ul-dev...@googlegroups.com
Is it possible to rebuild dash without the Python dependencies?
Reply all
Reply to author
Forward
0 new messages