Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78784 Details for
Bug 106964
app-editors/scribes (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
scribes-0.2.4.patch
scribes-0.2.4.patch (text/plain), 3.23 KB, created by
Mystilleef
on 2006-02-02 21:23:10 UTC
(
hide
)
Description:
scribes-0.2.4.patch
Filename:
MIME Type:
Creator:
Mystilleef
Created:
2006-02-02 21:23:10 UTC
Size:
3.23 KB
patch
obsolete
>--- setup.py 2006-02-03 00:00:10.846448152 -0500 >+++ patch.py 2006-02-03 00:01:03.619425440 -0500 >@@ -1,4 +1,4 @@ >-#!/usr/bin/env python >+#!/usr/bin/env python > # -*- coding: utf-8 -*- > # > # This file is part of Scribes. >@@ -40,94 +40,6 @@ > from distutils.core import setup > from Scribes.info import version > >- >-def check_dependencies(): >- u""" >- Check for Scribes' runtime software dependencies. >- >- The function aborts the installation process if runtime software >- dependencies are not met by the host system. >- >- """ >- >- try: >- >- import pygtk >- pygtk.require("2.0") >- import gtk >- >- if gtk.pygtk_version < (2, 8, 0): >- >- raise ImportError >- >- except ImportError: >- >- print "You need PyGTK version 2.8 or later to run Scribes." >- exit(1) >- >- try: >- >- import pygtk >- pygtk.require("2.0") >- import gnome >- >- if gnome.gnome_python_version < (2, 12, 0): >- >- raise ImportError >- >- except ImportError: >- >- print "You need GNOME Python version 2.12 or later to run Scribes" >- exit(1) >- >- try: >- >- import pygtk >- pygtk.require("2.0") >- import gtksourceview >- >- except ImportError: >- >- print "You need the gtksourceview module in GNOME Python Extras version" >- print " 2.12 or later to run Scribes." >- exit(1) >- >- try: >- >- import pygtk >- pygtk.require("2.0") >- import gtkspell >- >- except ImportError: >- >- print "You need the gtkspell module in GNOME Python Extras version" >- print " 2.12 or later to run Scribes." >- exit(1) >- >- # Check to see if Yelp is installed on the host system >- >- cmd = "which yelp" >- err, out = getstatusoutput(cmd) >- >- if err: >- >- print "You need Yelp version 2.12 or later to run Scribes." >- exit(1) >- >- # Check to see if GConf is installed on the host system >- >- cmd = "which gconftool-2" >- err, out = getstatusoutput(cmd) >- >- if err: >- >- print "You need GConf version 2.12 or later to run Scribes." >- exit(1) >- >- return >- >-check_dependencies() >- > # Trove classification > > classifiers = """ >@@ -168,6 +80,7 @@ > license="GNU GPL v2 and above", > packages=["Scribes"], > data_files=[ >+ ("/etc/gconf/schemas", ["data/scribes.schemas"]), > ("share/applications", ["data/scribes.desktop"]), > ("share/application-registry", ["data/scribes.application"]), > ("share/pixmaps", ["data/scribes.svg"]), >@@ -187,52 +100,3 @@ > ], > scripts=["scribes"],) > >- >-################################################################################ >-# >-# GConf Installation >-# >-################################################################################ >- >-# Get gconf's default source >- >-cmd = "gconftool-2 --get-default-source" >-err, out = getstatusoutput(cmd) >- >-# Set up the gconf environment variable. >- >-putenv('GCONF_CONFIG_SOURCE', out) >- >-# Install gconf to the default source >- >-cmd = "gconftool-2 --makefile-install-rule data/scribes.schemas" >-err, out = getstatusoutput(cmd) >- >-if out: >- >- print "installing GConf schema files" >- >-if err: >- >- print 'Error: installation of gconf schema files failed: %s' % out >- >-# Kill the GConf daemon >- >-cmd = "killall gconfd-2" >-err, out = getstatusoutput(cmd) >- >-if err: >- >- print "Problem shutting down gconf." >- >-# Start the GConf daemon >- >-cmd = "gconftool-2 --spawn" >-err, out = getstatusoutput(cmd) >- >-if err: >- >- print "Problem restarting down gconf." >- >-print "scribes installation complete" >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106964
:
69055
|
69113
|
69115
|
71136
|
71137
|
72488
|
72489
|
72537
|
72538
|
72539
|
72579
|
73939
|
73940
|
74392
|
74393
|
78626
|
78627
|
78783
|
78784
|
81660
|
81661
|
81893
|
81894
|
83200
|
83201
|
89017
|
89018
|
99781
|
100293
|
100528
|
100857
|
101124
|
101234
|
102191
|
102538
|
113560
|
115130
|
116988
|
117473
|
119114
|
119117
|
121157
|
121356
|
132177
|
139360
|
139520