Rename makekdewidgets

pull/16/head
Timothy Pearson 12 years ago
parent 45f3927b0f
commit 3c54dba434

@ -307,7 +307,7 @@ AC_SUBST(ICE_RLIB, 'ICE/libkICE.la')
AC_SUBST(DCOPIDL, '$(top_builddir)/dcop/dcopidl/dcopidl') AC_SUBST(DCOPIDL, '$(top_builddir)/dcop/dcopidl/dcopidl')
AC_SUBST(DCOPIDLNG, '$(top_srcdir)/dcop/dcopidlng/dcopidlng') AC_SUBST(DCOPIDLNG, '$(top_srcdir)/dcop/dcopidlng/dcopidlng')
AC_SUBST(DCOPIDL2CPP, '$(top_builddir)/dcop/dcopidl2cpp/dcopidl2cpp') AC_SUBST(DCOPIDL2CPP, '$(top_builddir)/dcop/dcopidl2cpp/dcopidl2cpp')
AC_SUBST(MAKEKDEWIDGETS, '$(top_builddir)/kdewidgets/makekdewidgets') AC_SUBST(MAKEKDEWIDGETS, '$(top_builddir)/kdewidgets/maketdewidgets')
AC_SUBST(KCONFIG_COMPILER, '$(top_builddir)/tdecore/tdeconfig_compiler/tdeconfig_compiler') AC_SUBST(KCONFIG_COMPILER, '$(top_builddir)/tdecore/tdeconfig_compiler/tdeconfig_compiler')
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"

@ -32,12 +32,12 @@ link_directories(
) )
##### makekdewidgets ############################ ##### maketdewidgets ############################
set( target makekdewidgets ) set( target maketdewidgets )
set( ${target}_SRCS set( ${target}_SRCS
makekdewidgets.cpp maketdewidgets.cpp
) )
tde_add_executable( ${target} tde_add_executable( ${target}
@ -55,8 +55,8 @@ set( ${target}_SRCS
) )
add_custom_command( OUTPUT kdewidgets.cpp add_custom_command( OUTPUT kdewidgets.cpp
COMMAND ./makekdewidgets -o kdewidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets COMMAND ./maketdewidgets -o kdewidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets
DEPENDS makekdewidgets ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets DEPENDS maketdewidgets ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets
) )
tde_add_kpart( ${target} AUTOMOC tde_add_kpart( ${target} AUTOMOC

@ -23,18 +23,18 @@ AM_CXXFLAGS = -DQT_PLUGIN
INCLUDES = -I$(top_srcdir)/tdefile $(all_includes) INCLUDES = -I$(top_srcdir)/tdefile $(all_includes)
bin_PROGRAMS = makekdewidgets bin_PROGRAMS = maketdewidgets
makekdewidgets_SOURCES = makekdewidgets.cpp maketdewidgets_SOURCES = maketdewidgets.cpp
makekdewidgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor maketdewidgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
makekdewidgets_LDADD = $(LIB_QT) ../tdecore/libtdecore.la maketdewidgets_LDADD = $(LIB_QT) ../tdecore/libtdecore.la
kde_widget_LTLIBRARIES = kdewidgets.la kde_widget_LTLIBRARIES = kdewidgets.la
kdewidgets_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries) kdewidgets_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries)
kdewidgets_la_LIBADD = $(LIB_KIO) $(LIB_TDEABC) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) kdewidgets_la_LIBADD = $(LIB_KIO) $(LIB_TDEABC) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE)
kdewidgets_la_SOURCES = classpreviews.cpp kdewidgets.cpp kdewidgets_la_SOURCES = classpreviews.cpp kdewidgets.cpp
kdewidgets.cpp: $(srcdir)/kde.widgets makekdewidgets kdewidgets.cpp: $(srcdir)/kde.widgets maketdewidgets
./makekdewidgets -o kdewidgets.cpp $(srcdir)/kde.widgets ./maketdewidgets -o kdewidgets.cpp $(srcdir)/kde.widgets
CLEANFILES = kdewidgets.cpp CLEANFILES = kdewidgets.cpp

@ -15,7 +15,7 @@
static const char description[] = I18N_NOOP( "Builds Qt widget plugins from an ini style description file." ); static const char description[] = I18N_NOOP( "Builds Qt widget plugins from an ini style description file." );
static const char version[] = "0.2"; static const char version[] = "0.2";
static const char classHeader[] = "/**\n" static const char classHeader[] = "/**\n"
"* This file was autogenerated by makekdewidgets. Any changes will be lost!\n" "* This file was autogenerated by maketdewidgets. Any changes will be lost!\n"
"* The generated code in this file is licensed under the same license that the\n" "* The generated code in this file is licensed under the same license that the\n"
"* input file.\n" "* input file.\n"
"*/\n" "*/\n"
@ -124,9 +124,9 @@ static void buildFile( TQTextStream &stream, const TQString& group, const TQStri
static TQString buildPixmap( const TQString &name, TDEConfig &input, const TQString &iconPath ); static TQString buildPixmap( const TQString &name, TDEConfig &input, const TQString &iconPath );
int main( int argc, char **argv ) { int main( int argc, char **argv ) {
new TDEInstance( "makekdewidgets" ); new TDEInstance( "maketdewidgets" );
TDEAboutData about( "makekdewidgets", I18N_NOOP( "makekdewidgets" ), version, description, TDEAboutData::License_GPL, "(C) 2004-2005 ian reinhart geiser", 0, 0, "geiseri@kde.org" ); TDEAboutData about( "maketdewidgets", I18N_NOOP( "maketdewidgets" ), version, description, TDEAboutData::License_GPL, "(C) 2004-2005 ian reinhart geiser", 0, 0, "geiseri@kde.org" );
about.addAuthor( "ian reinhart geiser", 0, "geiseri@kde.org" ); about.addAuthor( "ian reinhart geiser", 0, "geiseri@kde.org" );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -23,9 +23,9 @@ check-local: testwithpixmaps.cpp testkde.cpp
# md5sum -c $(srcdir)/sums # md5sum -c $(srcdir)/sums
testwithpixmaps.cpp: $(srcdir)/test.widgets testwithpixmaps.cpp: $(srcdir)/test.widgets
../makekdewidgets -o testwithpixmaps.cpp -p $(top_srcdir)/kdewidgets/pics $(srcdir)/test.widgets ../maketdewidgets -o testwithpixmaps.cpp -p $(top_srcdir)/kdewidgets/pics $(srcdir)/test.widgets
testkde.cpp: $(srcdir)/test.widgets testkde.cpp: $(srcdir)/test.widgets
../makekdewidgets -o testkde.cpp $(srcdir)/test.widgets ../maketdewidgets -o testkde.cpp $(srcdir)/test.widgets
CLEANFILES = testwithpixmaps.cpp testkde.cpp CLEANFILES = testwithpixmaps.cpp testkde.cpp

@ -1,4 +1,4 @@
These are the tests for the current makekdewidgets. These are the tests for the current maketdewidgets.
Currently there are two modes generated, and the checksums checked. Currently there are two modes generated, and the checksums checked.
These files are correct and build plugins that are functionally These files are correct and build plugins that are functionally

@ -3,7 +3,7 @@ CONFIG += trinitylib #this is a dynamic kde library
include( $(KDELIBS)/win/common.pro ) include( $(KDELIBS)/win/common.pro )
system( makekdewidgets -o kdewidgets.cpp kde.widgets ) system( maketdewidgets -o kdewidgets.cpp kde.widgets )
#no _d because it's a special case #no _d because it's a special case

@ -3,7 +3,7 @@ TEMPLATE = app
include( $(KDELIBS)/win/common.pro ) include( $(KDELIBS)/win/common.pro )
TARGET = makekdewidgets TARGET = maketdewidgets
DESTDIR = . DESTDIR = .
win32 { win32 {
@ -11,7 +11,7 @@ win32 {
#CONFIG += windows #CONFIG += windows
} }
SOURCES = makekdewidgets.cpp SOURCES = maketdewidgets.cpp
HEADERS = HEADERS =

@ -69,7 +69,7 @@ kate/part \
done done
cd kdewidgets cd kdewidgets
qmake makekdewidgets.pro && $make clean && $make || exit 1 qmake maketdewidgets.pro && $make clean && $make || exit 1
qmake && $make clean && $make || exit 1 qmake && $make clean && $make || exit 1
# copy kdewidgets plugin for Qt Designer # copy kdewidgets plugin for Qt Designer

Loading…
Cancel
Save