Hello community, here is the log from the commit of package nautilus-terminal for openSUSE:Factory checked in at Sun Oct 2 10:20:21 CEST 2011.
-------- --- openSUSE:Factory/nautilus-terminal/nautilus-terminal.changes 2011-09-23 02:14:18.000000000 +0200 +++ /mounts/work_src_done/STABLE/nautilus-terminal/nautilus-terminal.changes 2011-09-29 09:16:30.000000000 +0200 @@ -1,0 +2,19 @@ +Wed Sep 28 17:17:45 UTC 2011 - [email protected] + +- Update to a bzr checkout of the GNOME 3 port (revision 9 of the + 1.x branch): + + Rewrite for GNOME 3 technologies. +- Add nautilus-terminal-gi-gobject.patch: finish port to pygobject + 3.0, which has some differences with pygobject 2.x. +- Add python-gobject Requires as introspection-based bindings are + now used. +- Drop python-vte Requires since we don't want the + non-introspection-based bindings. +- Add python-xdg Recommends: this is an optional dependency, to + find the configuration file for this extension. +- Mark package as noarch. +- Add have_lang macro, and make all the lang subpackage handling + depend on its value. Set it to 0 for now, since there is no + translation in the new branch. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- nautilus-terminal_0.7_src.tar.gz New: ---- nautilus-terminal-0.99_bzr9.tar.gz nautilus-terminal-gi-gobject.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nautilus-terminal.spec ++++++ --- /var/tmp/diff_new_pack.xsHX3G/_old 2011-10-02 10:20:18.000000000 +0200 +++ /var/tmp/diff_new_pack.xsHX3G/_new 2011-10-02 10:20:18.000000000 +0200 @@ -16,31 +16,41 @@ # +%define have_lang 0 Name: nautilus-terminal -Version: 0.7 +# This is a checkout of the current version in bzr (revision 9) +Version: 0.99_bzr9 Release: 1 License: GPLv3+ Summary: Integrated Terminal for the Nautilus File Browser Url: http://software.flogisoft.com/nautilus-terminal/ Group: System/GUI/GNOME -Source: http://download.flogisoft.com/files/Software/nautilus-terminal/%{name}_%{version}_src.tar.gz +Source: %{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM nautilus-terminal-gi-gobject.patch lp#841381 [email protected] -- Finish port to pygobject 3.0 +Patch0: nautilus-terminal-gi-gobject.patch # For directory ownership: BuildRequires: python-nautilus Requires: nautilus +Requires: python-gobject Requires: python-nautilus -Requires: python-vte +%if %{have_lang} Recommends: %{name}-lang +%endif +Recommends: python-xdg BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description Nautilus Terminal is an integrated terminal for the Nautilus file browser. +%if %{have_lang} %lang_package +%endif + %prep -%setup -q -# AUTHORS is o+x... -chmod -x AUTHORS +%setup -q -n %{name} +%patch0 -p1 sed -i ' s:/usr/share/doc:%{_docdir}/%{name}: s:/usr/share:%{_datadir}: @@ -51,7 +61,9 @@ %install ./install.sh --package %{buildroot} +%if %{have_lang} %find_lang %{name} +%endif %clean rm -rf %{buildroot} @@ -59,9 +71,11 @@ %files %defattr(-,root,root) %doc %{_docdir}/%{name}/ -%{_libdir}/nautilus/extensions-2.0/python/nautilus-terminal.py -%{_datadir}/nautilus-terminal/ +%{_datadir}/nautilus-python/extensions/nautilus_terminal.py + +%if %{have_lang} %files lang -f %{name}.lang +%endif %changelog ++++++ nautilus-terminal-gi-gobject.patch ++++++ Index: nautilus-terminal/src/nautilus_terminal.py =================================================================== --- nautilus-terminal.orig/src/nautilus_terminal.py +++ nautilus-terminal/src/nautilus_terminal.py @@ -45,8 +45,7 @@ else: from urllib.request import url2pathname from configparser import RawConfigParser -from gobject import GObject -from gi.repository import Nautilus, Gtk, Gdk, Vte, GLib +from gi.repository import GObject, Nautilus, Gtk, Gdk, Vte, GLib class Config(object): @@ -117,7 +116,7 @@ class NautilusTerminal(object): self.term = Vte.Terminal() self.shell_pid = self.term.fork_command_full(Vte.PtyFlags.DEFAULT, self._path, [CONF.get("terminal/shell")], None, - GLib.SpawnFlags.SEARCH_PATH, None, self.shell_pid)[1] + GLib.SpawnFlags.SEARCH_PATH, None, None)[1] self.term.connect_after("child-exited", self._on_term_child_exited) self.term.connect_after("popup-menu", self._on_term_popup_menu) self.term.connect("button-release-event", self._on_term_popup_menu) @@ -240,7 +239,7 @@ class NautilusTerminal(object): if not self._respawn_lock: self.shell_pid = self.term.fork_command_full(Vte.PtyFlags.DEFAULT, self._path, [CONF.get("terminal/shell")], None, - GLib.SpawnFlags.SEARCH_PATH, None, self.shell_pid)[1] + GLib.SpawnFlags.SEARCH_PATH, None, None)[1] class Crowbar(object): @@ -353,7 +352,7 @@ class Crowbar(object): swin.nt.destroy() -class NautilusTerminalProvider(GObject, Nautilus.LocationWidgetProvider): +class NautilusTerminalProvider(GObject.GObject, Nautilus.LocationWidgetProvider): """Provides Nautilus Terminal in Nautilus.""" def __init__(self): continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
