Rename smokekde -> smoketde

pull/1/head
Slávek Banko 12 years ago
parent 0615ff79e9
commit d2dde67b0f

@ -1,10 +1,10 @@
INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS) INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
bin_PROGRAMS = krubyinit bin_PROGRAMS = krubyinit
krubyinit_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 -L$(top_srcdir)/smoke/kde/ -L$(RUBY_LIBDIR) -ltdemdi -lknewstuff krubyinit_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 -L$(top_srcdir)/smoke/tde/ -L$(RUBY_LIBDIR) -ltdemdi -lknewstuff
krubyinit_METASOURCES = AUTO krubyinit_METASOURCES = AUTO
krubyinit_SOURCES = krubyinit.cpp krubyinit_SOURCES = krubyinit.cpp
krubyinit_LDADD = $(LIB_KDE) $(RUBY_LIBRUBYARG) $(top_builddir)/smoke/kde/libsmokekde.la $(top_builddir)/qtruby/rubylib/qtruby/libqtrubyinternal.la krubyinit_LDADD = $(LIB_KDE) $(RUBY_LIBRUBYARG) $(top_builddir)/smoke/tde/libsmoketde.la $(top_builddir)/qtruby/rubylib/qtruby/libqtrubyinternal.la
install-exec-local: install-exec-local:
@-rm -f $(DESTDIR)$(bindir)/rbkdeapi @-rm -f $(DESTDIR)$(bindir)/rbkdeapi

@ -1161,7 +1161,7 @@ Init_korundum()
set_kde_resolve_classname(kde_resolve_classname); set_kde_resolve_classname(kde_resolve_classname);
// The Qt extension is linked against libsmokeqt.so, but Korundum links against // The Qt extension is linked against libsmokeqt.so, but Korundum links against
// libsmokekde.so only. Specifying both a 'require Qt' and a 'require Korundum', // libsmoketde.so only. Specifying both a 'require Qt' and a 'require Korundum',
// would give a link error (see the rb_fatal() error above). // would give a link error (see the rb_fatal() error above).
// So call the Init_qtruby() initialization function explicitely, not via 'require Qt' // So call the Init_qtruby() initialization function explicitely, not via 'require Qt'
// (Qt.o is linked into libqtruby.so, as well as the Qt.so extension). // (Qt.o is linked into libqtruby.so, as well as the Qt.so extension).

@ -5,6 +5,6 @@ rubylib_LTLIBRARIES = korundum.la
korundum_la_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 korundum_la_LDFLAGS = -module $(all_libraries) -version-info 0:0:0
korundum_la_METASOURCES = AUTO korundum_la_METASOURCES = AUTO
korundum_la_SOURCES = Korundum.cpp kdehandlers.cpp korundum_la_SOURCES = Korundum.cpp kdehandlers.cpp
korundum_la_LIBADD = $(LIB_KDE) $(top_builddir)/smoke/kde/libsmokekde.la $(top_builddir)/qtruby/rubylib/qtruby/libqtrubyinternal.la korundum_la_LIBADD = $(LIB_KDE) $(top_builddir)/smoke/tde/libsmoketde.la $(top_builddir)/qtruby/rubylib/qtruby/libqtrubyinternal.la
SUBDIRS = lib SUBDIRS = lib

@ -1,6 +1,6 @@
SMOKE stands for "Scripting Meta Object Kompiler Engine" - for instance ;) SMOKE stands for "Scripting Meta Object Kompiler Engine" - for instance ;)
This directory compiles a smokeqt (and later a smokekde) library, which This directory compiles a smokeqt (and later a smoketde) library, which
contain interfaces to (almost) all Qt and KDE classes. contain interfaces to (almost) all Qt and KDE classes.
The next PerlQt/PerlKDE will be based on SMOKE. The next PerlQt/PerlKDE will be based on SMOKE.
However SMOKE is language-independent enough for other bindings (e.g. to However SMOKE is language-independent enough for other bindings (e.g. to

@ -1,8 +1,8 @@
AC_ARG_WITH( AC_ARG_WITH(
smoke, smoke,
[ --with-smoke@<:@=qt|kde@:>@ Smoke: build Smoke for qt+kde or qt only @<:@default:qt kde@:>@], [ --with-smoke@<:@=qt|kde@:>@ Smoke: build Smoke for qt+tde or qt only @<:@default:qt tde@:>@],
[ kde_build_libsmoke="$withval" ], [ kde_build_libsmoke="$withval" ],
[ kde_build_libsmoke="qt kde" ] [ kde_build_libsmoke="qt tde" ]
) )
AC_SUBST(kde_build_libsmoke) AC_SUBST(kde_build_libsmoke)

@ -15,7 +15,7 @@ AC_ARG_WITH(
) )
AC_SUBST(qt_test_threshold) AC_SUBST(qt_test_threshold)
if test "X$kde_build_libsmoke" = "Xqt" -o "X$kde_build_libsmoke" = "Xqt kde"; then if test "X$kde_build_libsmoke" = "Xqt" -o "X$kde_build_libsmoke" = "Xqt tde"; then
AC_CONFIG_FILES([ smoke/qt/qtguess.pl ], [ AC_CONFIG_FILES([ smoke/qt/qtguess.pl ], [
cd smoke/qt cd smoke/qt

@ -1,4 +1,4 @@
lib_LTLIBRARIES = libsmokekde.la lib_LTLIBRARIES = libsmoketde.la
# set the include path for X, qt and KDE # set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/.. $(all_includes) INCLUDES = -I$(srcdir)/.. $(all_includes)
@ -6,19 +6,19 @@ INCLUDES = -I$(srcdir)/.. $(all_includes)
EXTRA_DIST=generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am EXTRA_DIST=generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am
# the library search path. # the library search path.
libsmokekde_la_LDFLAGS = -version-info 3:2:2 -no-undefined $(all_libraries) $(GLINC) $(KDE_RPATH) libsmoketde_la_LDFLAGS = -version-info 3:2:2 -no-undefined $(all_libraries) $(GLINC) $(KDE_RPATH)
# the libraries to link against. # the libraries to link against.
libsmokekde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx libsmoketde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx
x_sources = x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ x_sources = x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \
x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \
x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp
# which sources should be compiled for perlqtkde # which sources should be compiled for perlqtkde
libsmokekde_la_SOURCES = $(x_sources) smokedata.cpp libsmoketde_la_SOURCES = $(x_sources) smokedata.cpp
$(x_sources) smokedata.cpp: $(x_sources) smokedata.cpp:
perl generate.pl perl generate.pl
CLEANFILES = $(libsmokekde_la_SOURCES) CLEANFILES = $(libsmoketde_la_SOURCES)

@ -10,14 +10,14 @@ AC_SUBST(KDE_HAVE_GL)
KDE_PREFIX=`$KDECONFIG --prefix --expandvars` KDE_PREFIX=`$KDECONFIG --prefix --expandvars`
AC_SUBST(KDE_PREFIX) AC_SUBST(KDE_PREFIX)
if test "X$kde_build_libsmoke" = "Xkde" -o "X$kde_build_libsmoke" = "Xqt kde"; then if test "X$kde_build_libsmoke" = "Xtde" -o "X$kde_build_libsmoke" = "Xqt tde"; then
AC_CONFIG_FILES([ smoke/kde/qtguess.pl ], [ AC_CONFIG_FILES([ smoke/tde/qtguess.pl ], [
cd smoke/kde cd smoke/tde
perl qtguess.pl perl qtguess.pl
cd ../.. cd ../..
]) ])
AC_CONFIG_FILES([ smoke/kde/generate.pl ], [ AC_CONFIG_FILES([ smoke/tde/generate.pl ], [
]) ])
fi fi
Loading…
Cancel
Save