* Have vte-sharp only depend on gtk-sharp instead of gnome-sharp

* sample/VteTest.cs: use gtk# calls instead of gnome#
* vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp
* configure.in.in: Allow vte to be build if gnome isn't going to be built
[Fixes #77182]


svn path=/trunk/gtk-sharp/; revision=55689
This commit is contained in:
Wade Berrier 2006-01-17 18:49:14 +00:00
parent e1d8403f5d
commit fc339613e6
4 changed files with 19 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2006-01-17 Wade Berrier <wberrier@novell.com>
* Have vte-sharp only depend on gtk-sharp instead of gnome-sharp
* sample/VteTest.cs: use gtk# calls instead of gnome#
* vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp
* configure.in.in: Allow vte to be build if gnome isn't going to be built
[Fixes #77182]
2005-01-13 Mike Kestner <mkestner@novell.com> 2005-01-13 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : subtract utc_offset when marshaling to time_t. * glib/Marshaller.cs : subtract utc_offset when marshaling to time_t.

View File

@ -234,12 +234,8 @@ else
enable_gtkhtml=no enable_gtkhtml=no
fi fi
if test "x$enable_gnome" = "xyes"; then
VTE_REQUIRED_VERSION=0.11.10 VTE_REQUIRED_VERSION=0.11.10
PKG_CHECK_MODULES(VTE_DEPENDENCIES, vte >= $VTE_REQUIRED_VERSION, enable_vte=yes, enable_vte=no) PKG_CHECK_MODULES(VTE_DEPENDENCIES, vte >= $VTE_REQUIRED_VERSION, enable_vte=yes, enable_vte=no)
else
enable_vte=no
fi
AC_PATH_PROG(MDASSEMBLER, mdassembler, no) AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
AC_PATH_PROG(MONODOCER, monodocer, no) AC_PATH_PROG(MONODOCER, monodocer, no)

View File

@ -1,11 +1,12 @@
using System; using System;
using System.Collections; using System.Collections;
using Gtk; using Gtk;
using Gnome;
using Vte; using Vte;
class T class T
{ {
private Gtk.Window window;
static void Main (string[] args) static void Main (string[] args)
{ {
new T (args); new T (args);
@ -13,10 +14,11 @@ class T
T (string[] args) T (string[] args)
{ {
Program program = new Program ("vte-sharp-test", "0.0", Modules.UI, args);
App app = new App ("vte-sharp-test", "Test for vte widget"); Application.Init();
app.SetDefaultSize (600, 450); window = new Gtk.Window("Test for vte widget");
app.DeleteEvent += new DeleteEventHandler (OnAppDelete); window.SetDefaultSize(600, 450);
window.DeleteEvent += new DeleteEventHandler (OnAppDelete);
HBox hbox = new HBox (); HBox hbox = new HBox ();
Terminal term = new Terminal (); Terminal term = new Terminal ();
@ -71,9 +73,9 @@ class T
int pid = term.ForkCommand (Environment.GetEnvironmentVariable ("SHELL"), argv, envv, Environment.CurrentDirectory, false, true, true); int pid = term.ForkCommand (Environment.GetEnvironmentVariable ("SHELL"), argv, envv, Environment.CurrentDirectory, false, true, true);
Console.WriteLine ("Child pid: {0}", pid); Console.WriteLine ("Child pid: {0}", pid);
app.Contents = hbox; window.Add(hbox);
app.ShowAll (); window.ShowAll();
program.Run (); Application.Run();
} }
private void OnTextDeleted (object o, EventArgs args) private void OnTextDeleted (object o, EventArgs args)

View File

@ -7,6 +7,6 @@ gapidir=${prefix}/share/gapi-2.0
Name: Vte# Name: Vte#
Description: Vte# - libvte .NET Binding Description: Vte# - libvte .NET Binding
Version: @VERSION@ Version: @VERSION@
Requires: gnome-sharp-2.0 Requires: gtk-sharp-2.0
Cflags: -I:${gapidir}/vte-api.xml Cflags: -I:${gapidir}/vte-api.xml
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/vte-sharp.dll Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/vte-sharp.dll