[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebindings/korundum/bin
From: Alexander Kellett <lypanov () kde ! org>
Date: 2004-01-07 22:52:40
Message-ID: 20040107225240.656919398 () office ! kde ! org
[Download RAW message or body]
CVS commit by lypanov:
KRubyInit:
This small program allows use of qtruby/korundum programs on platforms for which
using the --enable-pthread (option to ruby's configure itself) is required to \
avert applications from segmentation faulting on startup.
This is done by embedding the ruby interpreter in c++, rather than vice versa, \
thus the initialisation of the Qt/KDE libraries is performed before ruby is \
initialised. This means you should still be very careful with making use of anything \
in Qt / KDE that may make use of threads.
Usage requires the replacement of ruby in the programs shebang line with the \
following: #!/usr/bin/env krubyinit
CCMAIL:Richard Dale <Richard_Dale@tipitina.demon.co.uk>
A krubyinit.cpp 1.1 [no copyright]
M +8 -0 Makefile.am 1.3
--- kdebindings/korundum/bin/Makefile.am #1.2:1.3
@@ -1,2 +1,10 @@
+INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR)
+
+bin_PROGRAMS = krubyinit
+krubyinit_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 \
-L$(top_srcdir)/smoke/kde/ +krubyinit_METASOURCES = AUTO
+krubyinit_SOURCES = krubyinit.cpp
+krubyinit_LDADD = $(LIB_KDE) -lruby $(top_builddir)/smoke/kde/libsmokekde.la \
$(top_builddir)/qtruby/rubylib/qtruby/libqtrubyinternal.la +
install-exec-local:
@-rm -f $(DESTDIR)$(bindir)/rbkdeapi
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic