From eeae48962f1369332082f6f6f75baae625ce1898 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 19 Feb 2023 12:21:37 +0900 Subject: [PATCH] Drop autotools support. Signed-off-by: Michele Calgaro --- .gitmodules | 3 - ChangeLog | 0 Makefile.am | 23 ---- NEWS | 0 README | 0 admin | 1 - autogen.sh | 23 ---- config.h.in | 274 --------------------------------------------- configure.in.in | 155 ------------------------- rc/Makefile.am | 2 - tdegtk/Makefile.am | 58 ---------- tests/Makefile.am | 39 ------- 12 files changed, 578 deletions(-) delete mode 100644 .gitmodules delete mode 100644 ChangeLog delete mode 100644 Makefile.am delete mode 100644 NEWS delete mode 100644 README delete mode 160000 admin delete mode 100755 autogen.sh delete mode 100644 config.h.in delete mode 100644 configure.in.in delete mode 100644 rc/Makefile.am delete mode 100644 tdegtk/Makefile.am delete mode 100644 tests/Makefile.am diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 934def7..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "admin"] - path = admin - url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e69de29..0000000 diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 48f5153..0000000 --- a/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -SUBDIRS = \ - tdegtk \ - rc \ - tests - -ACLOCAL_AMFLAGS = -I build - -EXTRA_DIST = autogen.sh COPYING - -DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper - -MAINTAINERCLEANFILES = \ - Makefile.in \ - config.h.in \ - configure \ - aclocal.m4 - -release: dist - make $(PACKAGE)-$(VERSION).tar.gz.md5 - make $(PACKAGE)-$(VERSION).tar.bz2.md5 - -%.md5: % - md5sum $< > $@ diff --git a/NEWS b/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/README b/README deleted file mode 100644 index e69de29..0000000 diff --git a/admin b/admin deleted file mode 160000 index 9fdc221..0000000 --- a/admin +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9fdc22134b3f0ed3c0af126ca8b3a63ebbcaf4d7 diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index fdad100..0000000 --- a/autogen.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -PKG_NAME="tdegtk" - -(test -f $srcdir/tdegtk/tdegtk-theme.cpp) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level $PKG_NAME directory" - exit 1 -} - -which gnome-autogen.sh || { - echo "You need to install gnome-common from the GNOME CVS" - exit 1 -} - -REQUIRED_AUTOCONF_VERSION=2.63 -REQUIRED_AUTOMAKE_VERSION=1.9 -REQUIRED_INTLTOOL_VERSION=0.40.0 -REQUIRED_PKG_CONFIG_VERSION=0.16.0 . gnome-autogen.sh diff --git a/config.h.in b/config.h.in deleted file mode 100644 index c3ca294..0000000 --- a/config.h.in +++ /dev/null @@ -1,274 +0,0 @@ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define if building universal (internal helper macro) */ -#undef AC_APPLE_UNIVERSAL_BUILD - -/* Defines if your system has the Cairo library */ -#undef HAVE_CAIRO - -/* Define to 1 if you have the header file. */ -#undef HAVE_CARBON_CARBON_H - -/* Define if you have the CoreAudio API */ -#undef HAVE_COREAUDIO - -/* Define to 1 if you have the header file. */ -#undef HAVE_CRT_EXTERNS_H - -/* Defines if your system has the crypt function */ -#undef HAVE_CRYPT - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Defines if your system has the GTK3 library */ -#undef HAVE_GTK3 - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define if you have libjpeg */ -#undef HAVE_LIBJPEG - -/* Define if you have libpng */ -#undef HAVE_LIBPNG - -/* Define if you have a working libpthread (will enable threaded code) */ -#undef HAVE_LIBPTHREAD - -/* Define if you have libz */ -#undef HAVE_LIBZ - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define if your system needs _NSGetEnviron to set up the environment */ -#undef HAVE_NSGETENVIRON - -/* Defines if your system has the Pango library */ -#undef HAVE_PANGO - -/* Define if you have res_init */ -#undef HAVE_RES_INIT - -/* Define if you have the res_init prototype */ -#undef HAVE_RES_INIT_PROTO - -/* Define if you have a STL implementation by SGI */ -#undef HAVE_SGI_STL - -/* Define to 1 if you have the `snprintf' function. */ -#undef HAVE_SNPRINTF - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define if you have strlcat */ -#undef HAVE_STRLCAT - -/* Define if you have the strlcat prototype */ -#undef HAVE_STRLCAT_PROTO - -/* Define if you have strlcpy */ -#undef HAVE_STRLCPY - -/* Define if you have the strlcpy prototype */ -#undef HAVE_STRLCPY_PROTO - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_BITYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the `vsnprintf' function. */ -#undef HAVE_VSNPRINTF - -/* Suffix for lib directories */ -#undef KDELIBSUFF - -/* Define a safe value for MAXPATHLEN */ -#undef KDEMAXPATHLEN - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -#undef NO_MINUS_C_MINUS_O - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* The size of `char *', as computed by sizeof. */ -#undef SIZEOF_CHAR_P - -/* The size of `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* The size of `size_t', as computed by sizeof. */ -#undef SIZEOF_SIZE_T - -/* The size of `unsigned long', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_LONG - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION - -/* Defined if compiling without arts */ -#undef WITHOUT_ARTS - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -# undef WORDS_BIGENDIAN -# endif -#endif - -/* - * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system - * headers and I'm too lazy to write a configure test as long as only - * unixware is related - */ -#ifdef _UNIXWARE -#define HAVE_BOOLEAN -#endif - - - -/* - * AIX defines FD_SET in terms of bzero, but fails to include - * that defines bzero. - */ - -#if defined(_AIX) -#include -#endif - - - -#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H) -# include -# include -# define environ (*_NSGetEnviron()) -#endif - - - -#if !defined(HAVE_RES_INIT_PROTO) -#ifdef __cplusplus -extern "C" { -#endif -int res_init(void); -#ifdef __cplusplus -} -#endif -#endif - - - -#if !defined(HAVE_STRLCAT_PROTO) -#ifdef __cplusplus -extern "C" { -#endif -unsigned long strlcat(char*, const char*, unsigned long); -#ifdef __cplusplus -} -#endif -#endif - - - -#if !defined(HAVE_STRLCPY_PROTO) -#ifdef __cplusplus -extern "C" { -#endif -unsigned long strlcpy(char*, const char*, unsigned long); -#ifdef __cplusplus -} -#endif -#endif - - - -/* - * On HP-UX, the declaration of vsnprintf() is needed every time ! - */ - -#if !defined(HAVE_VSNPRINTF) || defined(hpux) -#if __STDC__ -#include -#include -#else -#include -#endif -#ifdef __cplusplus -extern "C" -#endif -int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); -#ifdef __cplusplus -extern "C" -#endif -int snprintf(char *str, size_t n, char const *fmt, ...); -#endif - - - -#if defined(__SVR4) && !defined(__svr4__) -#define __svr4__ 1 -#endif - - -/* type to use in place of socklen_t if not defined */ -#undef kde_socklen_t - -/* type to use in place of socklen_t if not defined (deprecated, use - kde_socklen_t) */ -#undef ksize_t diff --git a/configure.in.in b/configure.in.in deleted file mode 100644 index afebcb0..0000000 --- a/configure.in.in +++ /dev/null @@ -1,155 +0,0 @@ -#MIN_CONFIG(3.2.0) - -AM_INIT_AUTOMAKE(tdegtk3, 0.1) -AC_C_BIGENDIAN -AC_CHECK_KDEMAXPATHLEN - -# C support -AM_PROG_CC_C_O - -# --- Cairo check --- - -KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ - AC_MSG_WARN([Could not find pkg-config]) -]) - -AC_MSG_CHECKING([for Cairo]) - -if test -n "$PKGCONFIG"; then - vers=`$PKGCONFIG cairo --modversion 2>/dev/null` - if test -n "$vers" - then - CAIRO_LIBS="`$PKGCONFIG cairo --libs`" - CAIRO_RPATH= - for args in $CAIRO_LIBS; do - case $args in - -L*) - CAIRO_RPATH="$CAIRO_RPATH $args" - ;; - esac - done - CAIRO_RPATH=`echo $CAIRO_RPATH | $SED -e "s/-L/-R/g"` - CAIRO_CFLAGS="`$PKGCONFIG cairo --cflags`" - - AC_DEFINE_UNQUOTED(HAVE_CAIRO, 1, [Defines if your system has the Cairo library]) - fi -fi - -if test ! "$USE_RPATH" = "yes"; then - CAIRO_RPATH= -fi - -if test -n "$CAIRO_LIBS" -then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([not found]) -fi - -AC_SUBST(CAIRO_LIBS) -AC_SUBST(CAIRO_CFLAGS) -AC_SUBST(CAIRO_RPATH) - -AM_CONDITIONAL(have_openexr, test -n "$CAIRO_LIBS") - -# --- End of Cairo check --- - -# --- GTK3 check --- - -KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ - AC_MSG_WARN([Could not find pkg-config]) -]) - -AC_MSG_CHECKING([for GTK3]) - -if test -n "$PKGCONFIG"; then - vers=`$PKGCONFIG gtk+-3.0 --modversion 2>/dev/null` - if test -n "$vers" - then - GTK3_LIBS="`$PKGCONFIG gtk+-3.0 --libs`" - GTK3_RPATH= - for args in $GTK3_LIBS; do - case $args in - -L*) - GTK3_RPATH="$GTK3_RPATH $args" - ;; - esac - done - GTK3_RPATH=`echo $GTK3_RPATH | $SED -e "s/-L/-R/g"` - GTK3_CFLAGS="`$PKGCONFIG gtk+-3.0 --cflags`" - GTK3_PREFIX=`$PKG_CONFIG --variable=prefix gtk+-3.0` - GTK3_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` - GTK3_LIBDIR=`$PKG_CONFIG --variable=libdir gtk+-3.0` - - AC_DEFINE_UNQUOTED(HAVE_GTK3, 1, [Defines if your system has the GTK3 library]) - fi -fi - -if test ! "$USE_RPATH" = "yes"; then - GTK3_RPATH= -fi - -if test -n "$GTK3_LIBS" -then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([not found]) -fi - -AC_SUBST(GTK3_LIBS) -AC_SUBST(GTK3_CFLAGS) -AC_SUBST(GTK3_RPATH) -AC_SUBST(GTK3_PREFIX) -AC_SUBST(GTK3_LIBDIR) -AC_SUBST(GTK3_VERSION) - -AM_CONDITIONAL(have_openexr, test -n "$GTK3_LIBS") - -# --- End of GTK3 check --- - -# --- Pango check --- - -KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ - AC_MSG_WARN([Could not find pkg-config]) -]) - -AC_MSG_CHECKING([for Pango]) - -if test -n "$PKGCONFIG"; then - vers=`$PKGCONFIG pango --modversion 2>/dev/null` - if test -n "$vers" - then - PANGO_LIBS="`$PKGCONFIG pango --libs`" - PANGO_RPATH= - for args in $PANGO_LIBS; do - case $args in - -L*) - PANGO_RPATH="$PANGO_RPATH $args" - ;; - esac - done - PANGO_RPATH=`echo $PANGO_RPATH | $SED -e "s/-L/-R/g"` - PANGO_CFLAGS="`$PKGCONFIG pango --cflags`" - - AC_DEFINE_UNQUOTED(HAVE_PANGO, 1, [Defines if your system has the Pango library]) - fi -fi - -if test ! "$USE_RPATH" = "yes"; then - PANGO_RPATH= -fi - -if test -n "$PANGO_LIBS" -then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([not found]) -fi - -AC_SUBST(PANGO_LIBS) -AC_SUBST(PANGO_CFLAGS) -AC_SUBST(PANGO_RPATH) - -AM_CONDITIONAL(have_openexr, test -n "$PANGO_LIBS") - -# --- End of Pango check --- diff --git a/rc/Makefile.am b/rc/Makefile.am deleted file mode 100644 index 23a4fc3..0000000 --- a/rc/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -styleconfdir=$(GTK3_PREFIX)/share/themes/tdegtk/gtk-3.0 -styleconf_DATA = gtk.css diff --git a/tdegtk/Makefile.am b/tdegtk/Makefile.am deleted file mode 100644 index 477f6ef..0000000 --- a/tdegtk/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde - -source_h = \ - $(srcdir)/tdegtk.h \ - $(srcdir)/exponential-blur.h \ - $(srcdir)/gtkroundedboxprivate.h \ - $(srcdir)/tdegtk-cairo-support.h \ - $(srcdir)/tdegtk-draw.h \ - $(srcdir)/tdegtk-engine.h \ - $(srcdir)/tdegtk-support.h \ - $(srcdir)/tdegtk-hooks.h \ - $(srcdir)/tdegtk-signals.h \ - $(srcdir)/tdegtk-widgetlookup.h \ - $(srcdir)/tdegtk-utils.h \ - $(srcdir)/tdegtk-tabwidgetdata.h \ - $(srcdir)/tdegtk-animations.h \ - $(srcdir)/tdegtk-datamap.h \ - $(srcdir)/tdegtk-baseengine.h \ - $(srcdir)/tdegtk-genericengine.h \ - $(srcdir)/tdegtk-tabwidgetengine.h \ - $(srcdir)/tdegtk-types.h - -source_c = \ - $(srcdir)/exponential-blur.c \ - $(srcdir)/gtkroundedbox.c \ - $(srcdir)/tdegtk-cairo-support.c \ - $(srcdir)/tdegtk-draw.cpp \ - $(srcdir)/tdegtk-engine.c \ - $(srcdir)/tdegtk-support.c \ - $(srcdir)/tdegtk-hooks.cpp \ - $(srcdir)/tdegtk-signals.cpp \ - $(srcdir)/tdegtk-widgetlookup.cpp \ - $(srcdir)/tdegtk-utils.cpp \ - $(srcdir)/tdegtk-tabwidgetdata.cpp \ - $(srcdir)/tdegtk-animations.cpp \ - $(srcdir)/tdegtk-baseengine.cpp \ - $(srcdir)/tdegtk-theme.cpp - -enginedir = $(GTK3_LIBDIR)/gtk-3.0/$(GTK3_VERSION)/theming-engines -engine_LTLIBRARIES = libtdegtk.la - -libtdegtk_la_SOURCES = $(source_h) $(source_c) - -libtdegtk_la_CFLAGS = $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS) -libtdegtk_la_CXXFLAGS = $(KDE_CXXFLAGS) $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS) - -libtdegtk_la_LIBADD = $(KDE_LIBADD) libtqtcairo.la $(CAIRO_LIBS) $(GTK3_LIBS) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -libtdegtk_la_LDFLAGS = $(all_libraries) $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS) - -lib_LTLIBRARIES = libtqtcairo.la - -libtqtcairo_la_SOURCES = tqtcairopainter.h tqtcairopainter.cpp - -libtqtcairo_la_CFLAGS = $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS) -libtqtcairo_la_CXXFLAGS = $(KDE_CXXFLAGS) $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS) - -libtqtcairo_la_LIBADD = $(KDE_LIBADD) $(LIB_TQT) $(LIB_TDEUI) -libtqtcairo_la_LDFLAGS = $(all_libraries) $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS) diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index 5dccd1b..0000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde - -EXTRA_DIST = \ - test-widgets.glade - -noinst_PROGRAMS = \ - test-widgets \ - test-painter - -test_widgets_CFLAGS = \ - -I$(top_srcdir) \ - $(KDE_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GTK3_CFLAGS) - -test_widgets_LDADD = \ - $(KDE_LIBADD) - -test_widgets_LDFLAGS = \ - $(KDE_LDFLAGS) \ - $(CAIRO_LIBS) \ - $(GTK3_LIBS) - -test_painter_SOURCES = test-painter.cpp - -test_painter_CXXFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/tdegtk \ - $(KDE_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GTK3_CFLAGS) - -test_painter_LDADD = \ - $(KDE_LIBADD) ../tdegtk/libtqtcairo.la $(all_libraries) $(CAIRO_LIBS) $(GTK3_LIBS) $(LIB_TQT) $(LIB_TDEUI) - -test_painter_LDFLAGS = \ - $(KDE_LDFLAGS) \ - $(CAIRO_LIBS) \ - $(GTK3_LIBS)