Changeset 575

Show
Ignore:
Timestamp:
02/27/07 22:05:25 (2 years ago)
Author:
nicfit
Message:

Worked around ebuild sandbox violations by not calling gst-inspect (--enable-sandbox)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configure.ac

    r573 r575  
    5050PKG_CHECK_MODULES([librsvg], [librsvg-2.0 >= 2.14.0]) 
    5151 
     52sandbox_stub() 
     53{ 
     54    return 0 
     55} 
     56GST_INSPECT=gst-inspect-0.10 
     57AC_ARG_ENABLE([sandbox], 
     58              AC_HELP_STRING([--enable-sandbox], 
     59                             [Use this option when running within a sandbox, it will disable gst-inspect tests since they access ${HOME}/.gconfd]), 
     60              if test "$enableval" = "yes"; then 
     61                  echo "YES" 
     62                  GST_INSPECT="sandbox_stub" 
     63              fi 
     64              ) 
     65echo "GST_INSPECT: $GST_INSPECT" 
     66 
    5267PKG_CHECK_MODULES([gstpython], [gst-python-0.10 >= 0.10.3]) 
    5368PKG_CHECK_MODULES([gstpython], [gst-python-0.10 >= 0.10.3]) 
    54 GST_INSPECT=gst-inspect-0.10 
    5569# Check for gstreamer must haves 
    5670for element in playbin; do 
  • trunk/etc/mesk-0.3.0.ebuild

    r573 r575  
    4242 
    4343src_compile() { 
    44         econf
     44        econf --enable-sandbox
    4545        $(use_enable mad mp3) \ 
    4646        $(use_enable vorbis oggvorbis) \ 
     
    4949        || die "Error: econf failed!" 
    5050        distutils_src_compile || die 
     51 
     52        make DESTDIR=${D} all || die 
    5153} 
    5254 
     
    5658 
    5759pkg_postinst() { 
     60        python_version 
     61        python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages/mesk 
     62 
    5863        fdo-mime_mime_database_update 
    5964        fdo-mime_desktop_database_update 
    60 # FIXME 
    61 #       python_version 
    62 #       python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages/gst-0.10 
    6365} 
    6466 
    6567pkg_postrm() { 
    66         : 
    67 # FIXME 
    68         #python_version 
    69         #python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages/gst-0.10 
     68        python_version 
     69        python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages/mesk 
    7070} 
  • trunk/src/data/glade/main_window.glade

    r570 r575  
    15481548</widget> 
    15491549 
    1550 <widget class="GtkWindow" id="splash_window"> 
    1551   <property name="visible">True</property> 
    1552   <property name="title" translatable="yes"></property> 
    1553   <property name="type">GTK_WINDOW_POPUP</property> 
    1554   <property name="window_position">GTK_WIN_POS_CENTER</property> 
    1555   <property name="modal">False</property> 
    1556   <property name="resizable">True</property> 
    1557   <property name="destroy_with_parent">False</property> 
    1558   <property name="decorated">False</property> 
    1559   <property name="skip_taskbar_hint">True</property> 
    1560   <property name="skip_pager_hint">True</property> 
    1561   <property name="type_hint">GDK_WINDOW_TYPE_HINT_SPLASHSCREEN</property> 
    1562   <property name="gravity">GDK_GRAVITY_CENTER</property> 
    1563   <property name="focus_on_map">False</property> 
    1564   <property name="urgency_hint">False</property> 
    1565  
    1566   <child> 
    1567     <widget class="GtkVBox" id="vbox1"> 
    1568       <property name="visible">True</property> 
    1569       <property name="homogeneous">False</property> 
    1570       <property name="spacing">0</property> 
    1571  
    1572       <child> 
    1573         <widget class="GtkImage" id="splash_image"> 
    1574           <property name="visible">True</property> 
    1575           <property name="xalign">0.5</property> 
    1576           <property name="yalign">0.5</property> 
    1577           <property name="xpad">0</property> 
    1578           <property name="ypad">0</property> 
    1579         </widget> 
    1580         <packing> 
    1581           <property name="padding">0</property> 
    1582           <property name="expand">True</property> 
    1583           <property name="fill">True</property> 
    1584         </packing> 
    1585       </child> 
    1586  
    1587       <child> 
    1588         <widget class="GtkLabel" id="splash_label"> 
    1589           <property name="visible">True</property> 
    1590           <property name="label" translatable="yes"></property> 
    1591           <property name="use_underline">False</property> 
    1592           <property name="use_markup">False</property> 
    1593           <property name="justify">GTK_JUSTIFY_LEFT</property> 
    1594           <property name="wrap">False</property> 
    1595           <property name="selectable">False</property> 
    1596           <property name="xalign">0.5</property> 
    1597           <property name="yalign">0.5</property> 
    1598           <property name="xpad">0</property> 
    1599           <property name="ypad">0</property> 
    1600           <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> 
    1601           <property name="width_chars">-1</property> 
    1602           <property name="single_line_mode">False</property> 
    1603           <property name="angle">0</property> 
    1604         </widget> 
    1605         <packing> 
    1606           <property name="padding">0</property> 
    1607           <property name="expand">False</property> 
    1608           <property name="fill">False</property> 
    1609         </packing> 
    1610       </child> 
    1611     </widget> 
    1612   </child> 
    1613 </widget> 
    1614  
    16151550<widget class="GtkWindow" id="log_window"> 
    16161551  <property name="visible">True</property>