* 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>
* glib/Marshaller.cs : subtract utc_offset when marshaling to time_t.

View file

@ -234,12 +234,8 @@ else
enable_gtkhtml=no
fi
if test "x$enable_gnome" = "xyes"; then
VTE_REQUIRED_VERSION=0.11.10
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(MONODOCER, monodocer, no)

View file

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

View file

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