- added spritz icon and artwork
- moved some stuff from yumex naming to spritz git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@992 cd1c1023-2f26-0410-ae45-c471fc1f0318
@@ -18,18 +18,18 @@ clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean ; done
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/share/yumex
|
||||
mkdir -p $(DESTDIR)/usr/share/pixmaps/yumex
|
||||
mkdir -p $(DESTDIR)/usr/lib/entropy/spritz
|
||||
mkdir -p $(DESTDIR)/usr/share/pixmaps/spritz
|
||||
mkdir -p $(DESTDIR)/usr/share/applications
|
||||
mkdir -p $(DESTDIR)/usr/bin
|
||||
mkdir -p $(DESTDIR)/etc
|
||||
mkdir -p $(DESTDIR)/etc/pam.d
|
||||
mkdir -p $(DESTDIR)/etc/security/console.apps
|
||||
install -m644 COPYING $(DESTDIR)/usr/share/yumex/.
|
||||
install -m755 $(MISCDIR)/yumex $(DESTDIR)/usr/share/yumex/.
|
||||
install -m644 $(PIXDIR)/*.png $(DESTDIR)/usr/share/pixmaps/yumex/.
|
||||
install -m644 COPYING $(DESTDIR)/usr/lib/entropy/spritz/.
|
||||
install -m755 $(MISCDIR)/yumex $(DESTDIR)/usr/lib/entropy/spritz/.
|
||||
install -m644 $(PIXDIR)/*.png $(DESTDIR)/usr/share/pixmaps/spritz/.
|
||||
install -m644 $(MISCDIR)/spritz.pam $(DESTDIR)/etc/pam.d/spritz
|
||||
chmod +x $(DESTDIR)/usr/lib/entropy/gui/spritz
|
||||
chmod +x $(DESTDIR)/usr/lib/entropy/spritz
|
||||
install -m644 $(MISCDIR)/spritz.desktop $(DESTDIR)/usr/share/applications/.
|
||||
for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
@@ -1,16 +1,16 @@
|
||||
PKGDIR = /usr/share/yumex
|
||||
PKGDIR = /usr/lib/entropy/spritz
|
||||
|
||||
all:
|
||||
all:
|
||||
@../tools/py-compile *.py
|
||||
|
||||
clean:
|
||||
rm -fv *.pyc *.pyo *~ *.bak *.gladep
|
||||
rm -fv yumex/*.pyc yumex/*.pyo yumex/*~
|
||||
rm -fv yumgui/*.pyc yumgui/*.pyo yumgui/*~
|
||||
rm -fv yumex/*.pyc yumex/*.pyo etpgui/*~
|
||||
rm -fv etpgui/*.pyc etpgui/*.pyo etpgui/*~
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/share/yumex
|
||||
mkdir -p $(DESTDIR)/usr/share/yumex
|
||||
mkdir -p $(DESTDIR)/usr/lib/entropy/spritz
|
||||
mkdir -p $(DESTDIR)/usr/lib/entropy/spritz
|
||||
install -m755 *.pyc $(DESTDIR)/$(PKGDIR)/.
|
||||
install -m755 *.py $(DESTDIR)/$(PKGDIR)/.
|
||||
install -m644 yumex.glade $(DESTDIR)/$(PKGDIR)/.
|
||||
install -m644 spritz.glade $(DESTDIR)/$(PKGDIR)/.
|
||||
|
||||
@@ -22,9 +22,9 @@ import os
|
||||
import sys
|
||||
import yum
|
||||
import logging
|
||||
from yum.constants import *
|
||||
#from yum.constants import *
|
||||
|
||||
from yumgui import doGtkEvents
|
||||
from etpgui import doGtkEvents
|
||||
|
||||
# yum callback handlers
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# Authors:
|
||||
# Tim Lauridsen <tla@rasmil.dk>
|
||||
|
||||
from yumgui import format_number
|
||||
from etpgui import format_number
|
||||
import time
|
||||
import types
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
import gtk.glade
|
||||
import pango
|
||||
import yumgui
|
||||
import etpgui
|
||||
import gobject
|
||||
import types
|
||||
|
||||
@@ -35,8 +35,8 @@ class TextViewConsole:
|
||||
self.style_banner.set_property( "foreground", "saddle brown" )
|
||||
self.style_banner.set_property( "family", "Monospace" )
|
||||
self.style_banner.set_property( "size_points", 8 )
|
||||
|
||||
|
||||
|
||||
|
||||
self.style_ps1 = gtk.TextTag( "ps1" )
|
||||
self.style_ps1.set_property( "editable", False )
|
||||
if color:
|
||||
@@ -17,10 +17,10 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
from yumgui import *
|
||||
from etpgui import *
|
||||
from misc import YumexQueue,YumexConf,const,cleanMarkupSting
|
||||
from views import *
|
||||
from yumgui.widgets import TextViewConsole
|
||||
from etpgui.widgets import TextViewConsole
|
||||
from i18n import _
|
||||
|
||||
|
||||
|
||||
@@ -43,8 +43,8 @@ class const:
|
||||
__spritz_version__ = "0.1"
|
||||
# Paths
|
||||
MAIN_PATH = os.path.abspath( os.path.dirname( sys.argv[0] ) );
|
||||
GLADE_FILE = MAIN_PATH+'/yumex.glade'
|
||||
if MAIN_PATH == '/usr/share/yumex':
|
||||
GLADE_FILE = MAIN_PATH+'/spritz.glade'
|
||||
if MAIN_PATH == '/usr/share/yumex':
|
||||
PIXMAPS_PATH = '/usr/share/pixmaps/yumex'
|
||||
else:
|
||||
PIXMAPS_PATH = MAIN_PATH+'/../gfx'
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
from yumgui.packages import PackageWrapper
|
||||
from etpgui.packages import PackageWrapper
|
||||
import logging
|
||||
import time
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -13,7 +13,7 @@
|
||||
<property name="default_height">600</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
<property name="icon_name">system-installer</property>
|
||||
<property name="icon_name">spritz-icon</property>
|
||||
<property name="decorated">True</property>
|
||||
<property name="skip_taskbar_hint">False</property>
|
||||
<property name="skip_pager_hint">False</property>
|
||||
@@ -36,8 +36,8 @@ import gtk,gobject
|
||||
from threading import Thread,Event
|
||||
import thread
|
||||
import exceptions
|
||||
from yumgui.widgets import UI, Controller
|
||||
from yumgui import *
|
||||
from etpgui.widgets import UI, Controller
|
||||
from etpgui import *
|
||||
|
||||
# yumex imports
|
||||
import filters
|
||||
@@ -367,7 +367,7 @@ class YumexController(Controller):
|
||||
self.settings = self.yumexOptions.settings
|
||||
|
||||
def on_HelpAbout( self, widget ):
|
||||
about = AboutDialog(const.PIXMAPS_PATH+'/yumex-about.png',const.CREDITS,self.settings.branding_title)
|
||||
about = AboutDialog(const.PIXMAPS_PATH+'/spritz-about.png',const.CREDITS,self.settings.branding_title)
|
||||
about.show()
|
||||
|
||||
def on_ProfileSave( self, widget ):
|
||||
@@ -711,7 +711,7 @@ if __name__ == "__main__":
|
||||
try:
|
||||
gtkEventThread = ProcessGtkEventsThread()
|
||||
gtkEventThread.start()
|
||||
gtk.window_set_default_icon_from_file(const.PIXMAPS_PATH+"/yumex-icon.png")
|
||||
gtk.window_set_default_icon_from_file(const.PIXMAPS_PATH+"/spritz-icon.png")
|
||||
mainApp = YumexApplication()
|
||||
gtk.main()
|
||||
except SystemExit, e:
|
||||