summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-04-05 05:46:51 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-04-11 05:30:24 -0700
commit1f6c629385a26a4709096e231b01e6662cd10b93 (patch)
tree6f89620d6959740a2b09094e7e232dc2259ad9f7
parentde3469e088c8b10d41a9a5515512c12587768c6a (diff)
glib: Remove as many unneeded files as possible
We just want to be able to build glib from the within the pkg-config tree. Everything else is just extra weight and is better used from an actual glib checkout. Unnecessary files include: * documentation * translations * tests * ChangeLogs * non-autotools win32 build files * various other build and/or internal files
-rw-r--r--glib-patches/glib-only.patch361
-rw-r--r--glib-patches/patchlist1
-rw-r--r--glib/Makefile.am79
-rw-r--r--glib/configure.ac107
-rw-r--r--glib/glib/Makefile.am30
-rw-r--r--glib/glib/gnulib/Makefile.am3
6 files changed, 370 insertions, 211 deletions
diff --git a/glib-patches/glib-only.patch b/glib-patches/glib-only.patch
new file mode 100644
index 0000000..7adbc09
--- /dev/null
+++ b/glib-patches/glib-only.patch
@@ -0,0 +1,361 @@
+diff --git a/glib/Makefile.am b/glib/Makefile.am
+index f5c510d..95c71de 100644
+--- a/glib/Makefile.am
++++ b/glib/Makefile.am
+@@ -6,10 +6,8 @@ include $(top_srcdir)/Makefile.decl
+
+ ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
+
+-SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs
+-DIST_SUBDIRS = $(SUBDIRS) build
+-
+-bin_SCRIPTS = glib-gettextize
++SUBDIRS = . m4macros glib
++DIST_SUBDIRS = $(SUBDIRS)
+
+ AM_CPPFLAGS = \
+ -DG_LOG_DOMAIN=g_log_domain_glib \
+@@ -18,85 +16,18 @@ AM_CPPFLAGS = \
+ -DGLIB_COMPILATION
+
+ EXTRA_DIST += \
+- ChangeLog.pre-2-20 \
+- ChangeLog.pre-2-18 \
+- ChangeLog.pre-2-16 \
+- ChangeLog.pre-2-14 \
+- ChangeLog.pre-2-12 \
+- ChangeLog.pre-2-10 \
+- ChangeLog.pre-2-8 \
+- ChangeLog.pre-2-6 \
+- ChangeLog.pre-2-4 \
+- ChangeLog.pre-2-2 \
+- ChangeLog.pre-2-0 \
+- ChangeLog.pre-1-2 \
+- glib-zip.in \
+- NEWS.pre-1-3 \
+ acglib.m4 \
+- sanity_check \
+- README.commits \
+ README.in \
+- INSTALL.in \
+- README.win32 \
+- HACKING \
+- autogen.sh \
+ Makefile.decl \
+- mkinstalldirs \
+- makefile.msc \
+- msvc_recommended_pragmas.h \
+- config.h.win32.in \
+- po/po2tbl.sed.in \
+- glib-2.0.pc.in \
+- gobject-2.0.pc.in \
+- gmodule-2.0.pc.in \
+- gmodule-export-2.0.pc.in \
+- gmodule-no-export-2.0.pc.in \
+- gthread-2.0.pc.in \
+- gio-2.0.pc.in \
+- gio-unix-2.0.pc.in \
+- gio-windows-2.0.pc.in
++ mkinstalldirs
+
+
+ # These may be in the builddir too
+ BUILT_EXTRA_DIST = \
+- README \
+- INSTALL \
+- ChangeLog \
+- config.h.win32 \
+- gtk-doc.make
++ README
+
+ CONFIGURE_DEPENDENCIES = acglib.m4
+
+-ChangeLog:
+- $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
+- (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GLIB_2_20_0^^.. --stat) | fmt --split-only > $@.tmp \
+- && mv -f $@.tmp $@ \
+- || ($(RM) $@.tmp; \
+- echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
+- (test -f $@ || echo git-log is required to generate this file >> $@)); \
+- else \
+- test -f $@ || \
+- (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
+- echo A git checkout and git-log is required to generate this file >> $@); \
+- fi
+-
+-pkgconfigdir = $(libdir)/pkgconfig
+-pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc
+-
+-if OS_UNIX
+-pkgconfig_DATA += gio-unix-2.0.pc
+-endif
+-
+-if OS_WIN32
+-pkgconfig_DATA += gio-windows-2.0.pc
+-endif
+-
+-$(pkgconfig_DATA): config.status
+-
+-# install mkinstalldirs for glib-gettextize's benefit
+-gettextdir = $(datadir)/glib-2.0/gettext
+-gettext_SCRIPTS = mkinstalldirs
+-
+ # build documentation when doing distcheck
+ DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
+
+@@ -107,7 +38,7 @@ distclean-local: lcov-clean
+ rm -f $(BUILT_EXTRA_DIST); \
+ fi
+
+-.PHONY: files release sanity snapshot ChangeLog
++.PHONY: files release sanity snapshot
+
+ files:
+ @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
+diff --git a/glib/configure.ac b/glib/configure.ac
+index 48868d2..ca862c5 100644
+--- a/glib/configure.ac
++++ b/glib/configure.ac
+@@ -457,19 +457,6 @@ dnl
+ dnl gettext support
+ dnl
+
+-ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
+-AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
+-GLIB_GNU_GETTEXT
+-
+-if test "$gt_cv_have_gettext" != "yes" ; then
+- AC_MSG_ERROR([
+-*** You must have either have gettext support in your C library, or use the
+-*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
+-])
+-fi
+-
+-LIBS="$INTLLIBS $LIBS"
+-
+ GETTEXT_PACKAGE=glib20
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"],
+@@ -2555,35 +2542,6 @@ if test $cross_compiling = yes; then
+ fi
+ fi
+
+-dnl **************************
+-dnl *** Checks for gtk-doc ***
+-dnl **************************
+-
+-GTK_DOC_CHECK([1.15], [--flavour no-tmpl])
+-
+-AC_ARG_ENABLE(man,
+- [AC_HELP_STRING([--enable-man],
+- [regenerate man pages from Docbook [default=no]])],enable_man=yes,
+- enable_man=no)
+-
+-if test "${enable_man}" != no; then
+-dnl
+-dnl Check for xsltproc
+-dnl
+-AC_PATH_PROG([XSLTPROC], [xsltproc])
+- if test -z "$XSLTPROC"; then
+- enable_man=no
+- fi
+-
+- dnl check for DocBook DTD and stylesheets in the local catalog.
+- JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
+- [DocBook XML DTD V4.1.2],,enable_man=no)
+- JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
+- [DocBook XSL Stylesheets],,enable_man=no)
+-fi
+-
+-AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
+-
+ dnl
+ dnl Tracing
+ dnl
+@@ -3484,87 +3442,22 @@ AC_SUBST(gio_INCLUDES)
+
+
+ AC_CONFIG_FILES([
+-glib-2.0.pc
+-gmodule-2.0.pc
+-gmodule-export-2.0.pc
+-gmodule-no-export-2.0.pc
+-gthread-2.0.pc
+-gobject-2.0.pc
+-gio-2.0.pc
+-gio-unix-2.0.pc
+-gio-windows-2.0.pc
+-glib-zip
+-glib-gettextize
+ Makefile
+-build/Makefile
+-build/win32/Makefile
+-build/win32/dirent/Makefile
+-build/win32/vs9/Makefile
+-build/win32/vs10/Makefile
+ glib/Makefile
+-glib/glib.stp
+ glib/libcharset/Makefile
+ glib/gnulib/Makefile
+ glib/pcre/Makefile
+ glib/update-pcre/Makefile
+-glib/tests/Makefile
+-gmodule/Makefile
+-gmodule/gmoduleconf.h
+-gobject/Makefile
+-gobject/gobject.stp
+-gobject/glib-mkenums
+-gobject/tests/Makefile
+-gthread/Makefile
+-gio/Makefile
+-gio/gdbus-2.0/codegen/Makefile
+-gio/gdbus-2.0/codegen/config.py
+-gio/xdgmime/Makefile
+-gio/inotify/Makefile
+-gio/fen/Makefile
+-gio/fam/Makefile
+-gio/win32/Makefile
+-gio/tests/Makefile
+-gio/tests/gdbus-object-manager-example/Makefile
+-po/Makefile.in
+-docs/Makefile
+-docs/reference/Makefile
+-docs/reference/glib/Makefile
+-docs/reference/glib/version.xml
+-docs/reference/gobject/Makefile
+-docs/reference/gobject/version.xml
+-docs/reference/gio/Makefile
+-docs/reference/gio/gdbus-object-manager-example/Makefile
+-docs/reference/gio/version.xml
+-tests/Makefile
+-tests/gobject/Makefile
+-tests/refcount/Makefile
+ m4macros/Makefile
+ ])
+
+-AC_CONFIG_COMMANDS([chmod-scripts],
+-[chmod 0755 glib-zip
+-chmod 0755 glib-gettextize
+-chmod 0755 gobject/glib-mkenums])
+-
+ # we want to invoke this macro solely so that the config.status script
+ # and automake generated makefiles know about these generated files.
+ # They are only needed to distcheck the package
+ if false; then
+ AC_CONFIG_FILES([
+- INSTALL
+ README
+- config.h.win32
+- glib/glibconfig.h.win32
+- glib/makefile.msc
+ glib/glib.rc
+- gmodule/makefile.msc
+- gmodule/gmodule.rc
+- gobject/makefile.msc
+- gobject/gobject.rc
+- gthread/makefile.msc
+- gthread/gthread.rc
+- gio/gio.rc
+- tests/makefile.msc
+ ])
+ fi
+
+diff --git a/glib/glib/Makefile.am b/glib/glib/Makefile.am
+index ac73a8c..6fb3a34 100644
+--- a/glib/glib/Makefile.am
++++ b/glib/glib/Makefile.am
+@@ -35,9 +35,9 @@ else
+ MAYBE_PCRE = pcre
+ endif
+
+-SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . tests
++SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre .
+
+-DIST_SUBDIRS = libcharset gnulib pcre update-pcre tests
++DIST_SUBDIRS = libcharset gnulib pcre update-pcre
+
+ AM_CPPFLAGS = \
+ $(glib_INCLUDES) \
+@@ -53,7 +53,6 @@ glib.def: glib.symbols
+ if OS_LINUX
+ if HAVE_GNUC_VISIBILITY
+ TESTS_ENVIRONMENT = GLIB_DEBUG_FLAGS="$(GLIB_DEBUG_FLAGS)"
+-TESTS = abicheck.sh
+ endif
+ endif
+
+@@ -66,12 +65,10 @@ MIRRORING_TAB_SOURCE = \
+ # The compilation of GRegex can be disabled, but the source files must
+ # be distributed.
+ EXTRA_DIST += \
+- makefile.msc.in \
+ glib.rc.in \
+ gen-iswide-table.py \
+ gen-unicode-tables.pl \
+ gen-script-table.pl \
+- glibconfig.h.win32.in \
+ abicheck.sh \
+ glib.symbols \
+ gregex.c \
+@@ -86,8 +83,6 @@ CLEANFILES= libglib-gdb.py
+
+ # These may be in the builddir too
+ BUILT_EXTRA_DIST = \
+- makefile.msc \
+- glibconfig.h.win32 \
+ glib.rc
+
+ lib_LTLIBRARIES = libglib-2.0.la
+@@ -116,7 +111,6 @@ deprecated_sources = \
+
+ libglib_2_0_la_SOURCES = \
+ $(deprecated_sources) \
+- glib_probes.d \
+ garray.c \
+ gasyncqueue.c \
+ gasyncqueueprivate.h \
+@@ -382,24 +376,6 @@ libglib_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
+
+ INSTALL_PROGS=
+
+-if ENABLE_DTRACE
+-glib_probes.h: glib_probes.d Makefile
+- $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp
+- @$(SED) -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," < $@.tmp > $@ && rm -f $@.tmp
+-glib_probes.o: glib_probes.d Makefile
+- $(AM_V_GEN) $(DTRACE) -G -s $< -o $@
+-BUILT_SOURCES += glib_probes.h glib_probes.o
+-CLEANFILES += glib_probes.h glib_probes.h.tmp
+-libglib_2_0_la_LIBADD += glib_probes.o
+-endif
+-
+-if ENABLE_SYSTEMTAP
+-tapset_in_files = glib.stp.in
+-tapsetdir = @ABS_TAPSET_DIR@
+-tapset_DATA = $(tapset_in_files:.stp.in=.stp)
+-EXTRA_DIST += $(tapset_in_files)
+-endif
+-
+ gspawn-win32-helper-console.c:
+ echo '#define HELPER_CONSOLE' >$@
+ echo '#include "gspawn-win32-helper.c"' >>$@
+@@ -461,7 +437,7 @@ endif
+ glib-2.0.lib: libglib-2.0.la glib.def
+ lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libglib-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/glib.def -out:$@
+
+-dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs10/glib.vcxproj ../build/win32/vs10/glib.vcxproj.filters
++dist-hook: $(BUILT_EXTRA_DIST)
+ files='$(BUILT_EXTRA_DIST)'; \
+ for f in $$files; do \
+ if test -f $$f; then d=.; else d=$(srcdir); fi; \
+diff --git a/glib/glib/gnulib/Makefile.am b/glib/glib/gnulib/Makefile.am
+index ae8283d..a8666ff 100644
+--- a/glib/glib/gnulib/Makefile.am
++++ b/glib/glib/gnulib/Makefile.am
+@@ -17,6 +17,3 @@ libgnulib_la_SOURCES = \
+ printf.c \
+ printf.h \
+ g-gnulib.h
+-
+-
+-EXTRA_DIST += makefile.msc
diff --git a/glib-patches/patchlist b/glib-patches/patchlist
index e69de29..d188788 100644
--- a/glib-patches/patchlist
+++ b/glib-patches/patchlist
@@ -0,0 +1 @@
+glib-only.patch
diff --git a/glib/Makefile.am b/glib/Makefile.am
index f5c510d..95c71de 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -6,10 +6,8 @@ include $(top_srcdir)/Makefile.decl
ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
-SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs
-DIST_SUBDIRS = $(SUBDIRS) build
-
-bin_SCRIPTS = glib-gettextize
+SUBDIRS = . m4macros glib
+DIST_SUBDIRS = $(SUBDIRS)
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=g_log_domain_glib \
@@ -18,85 +16,18 @@ AM_CPPFLAGS = \
-DGLIB_COMPILATION
EXTRA_DIST += \
- ChangeLog.pre-2-20 \
- ChangeLog.pre-2-18 \
- ChangeLog.pre-2-16 \
- ChangeLog.pre-2-14 \
- ChangeLog.pre-2-12 \
- ChangeLog.pre-2-10 \
- ChangeLog.pre-2-8 \
- ChangeLog.pre-2-6 \
- ChangeLog.pre-2-4 \
- ChangeLog.pre-2-2 \
- ChangeLog.pre-2-0 \
- ChangeLog.pre-1-2 \
- glib-zip.in \
- NEWS.pre-1-3 \
acglib.m4 \
- sanity_check \
- README.commits \
README.in \
- INSTALL.in \
- README.win32 \
- HACKING \
- autogen.sh \
Makefile.decl \
- mkinstalldirs \
- makefile.msc \
- msvc_recommended_pragmas.h \
- config.h.win32.in \
- po/po2tbl.sed.in \
- glib-2.0.pc.in \
- gobject-2.0.pc.in \
- gmodule-2.0.pc.in \
- gmodule-export-2.0.pc.in \
- gmodule-no-export-2.0.pc.in \
- gthread-2.0.pc.in \
- gio-2.0.pc.in \
- gio-unix-2.0.pc.in \
- gio-windows-2.0.pc.in
+ mkinstalldirs
# These may be in the builddir too
BUILT_EXTRA_DIST = \
- README \
- INSTALL \
- ChangeLog \
- config.h.win32 \
- gtk-doc.make
+ README
CONFIGURE_DEPENDENCIES = acglib.m4
-ChangeLog:
- $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
- (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GLIB_2_20_0^^.. --stat) | fmt --split-only > $@.tmp \
- && mv -f $@.tmp $@ \
- || ($(RM) $@.tmp; \
- echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
- (test -f $@ || echo git-log is required to generate this file >> $@)); \
- else \
- test -f $@ || \
- (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
- echo A git checkout and git-log is required to generate this file >> $@); \
- fi
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc
-
-if OS_UNIX
-pkgconfig_DATA += gio-unix-2.0.pc
-endif
-
-if OS_WIN32
-pkgconfig_DATA += gio-windows-2.0.pc
-endif
-
-$(pkgconfig_DATA): config.status
-
-# install mkinstalldirs for glib-gettextize's benefit
-gettextdir = $(datadir)/glib-2.0/gettext
-gettext_SCRIPTS = mkinstalldirs
-
# build documentation when doing distcheck
DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
@@ -107,7 +38,7 @@ distclean-local: lcov-clean
rm -f $(BUILT_EXTRA_DIST); \
fi
-.PHONY: files release sanity snapshot ChangeLog
+.PHONY: files release sanity snapshot
files:
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
diff --git a/glib/configure.ac b/glib/configure.ac
index 48868d2..ca862c5 100644
--- a/glib/configure.ac
+++ b/glib/configure.ac
@@ -457,19 +457,6 @@ dnl
dnl gettext support
dnl
-ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
-AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
-GLIB_GNU_GETTEXT
-
-if test "$gt_cv_have_gettext" != "yes" ; then
- AC_MSG_ERROR([
-*** You must have either have gettext support in your C library, or use the
-*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
-])
-fi
-
-LIBS="$INTLLIBS $LIBS"
-
GETTEXT_PACKAGE=glib20
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"],
@@ -2555,35 +2542,6 @@ if test $cross_compiling = yes; then
fi
fi
-dnl **************************
-dnl *** Checks for gtk-doc ***
-dnl **************************
-
-GTK_DOC_CHECK([1.15], [--flavour no-tmpl])
-
-AC_ARG_ENABLE(man,
- [AC_HELP_STRING([--enable-man],
- [regenerate man pages from Docbook [default=no]])],enable_man=yes,
- enable_man=no)
-
-if test "${enable_man}" != no; then
-dnl
-dnl Check for xsltproc
-dnl
-AC_PATH_PROG([XSLTPROC], [xsltproc])
- if test -z "$XSLTPROC"; then
- enable_man=no
- fi
-
- dnl check for DocBook DTD and stylesheets in the local catalog.
- JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
- [DocBook XML DTD V4.1.2],,enable_man=no)
- JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
- [DocBook XSL Stylesheets],,enable_man=no)
-fi
-
-AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
-
dnl
dnl Tracing
dnl
@@ -3484,87 +3442,22 @@ AC_SUBST(gio_INCLUDES)
AC_CONFIG_FILES([
-glib-2.0.pc
-gmodule-2.0.pc
-gmodule-export-2.0.pc
-gmodule-no-export-2.0.pc
-gthread-2.0.pc
-gobject-2.0.pc
-gio-2.0.pc
-gio-unix-2.0.pc
-gio-windows-2.0.pc
-glib-zip
-glib-gettextize
Makefile
-build/Makefile
-build/win32/Makefile
-build/win32/dirent/Makefile
-build/win32/vs9/Makefile
-build/win32/vs10/Makefile
glib/Makefile
-glib/glib.stp
glib/libcharset/Makefile
glib/gnulib/Makefile
glib/pcre/Makefile
glib/update-pcre/Makefile
-glib/tests/Makefile
-gmodule/Makefile
-gmodule/gmoduleconf.h
-gobject/Makefile
-gobject/gobject.stp
-gobject/glib-mkenums
-gobject/tests/Makefile
-gthread/Makefile
-gio/Makefile
-gio/gdbus-2.0/codegen/Makefile
-gio/gdbus-2.0/codegen/config.py
-gio/xdgmime/Makefile
-gio/inotify/Makefile
-gio/fen/Makefile
-gio/fam/Makefile
-gio/win32/Makefile
-gio/tests/Makefile
-gio/tests/gdbus-object-manager-example/Makefile
-po/Makefile.in
-docs/Makefile
-docs/reference/Makefile
-docs/reference/glib/Makefile
-docs/reference/glib/version.xml
-docs/reference/gobject/Makefile
-docs/reference/gobject/version.xml
-docs/reference/gio/Makefile
-docs/reference/gio/gdbus-object-manager-example/Makefile
-docs/reference/gio/version.xml
-tests/Makefile
-tests/gobject/Makefile
-tests/refcount/Makefile
m4macros/Makefile
])
-AC_CONFIG_COMMANDS([chmod-scripts],
-[chmod 0755 glib-zip
-chmod 0755 glib-gettextize
-chmod 0755 gobject/glib-mkenums])
-
# we want to invoke this macro solely so that the config.status script
# and automake generated makefiles know about these generated files.
# They are only needed to distcheck the package
if false; then
AC_CONFIG_FILES([
- INSTALL
README
- config.h.win32
- glib/glibconfig.h.win32
- glib/makefile.msc
glib/glib.rc
- gmodule/makefile.msc
- gmodule/gmodule.rc
- gobject/makefile.msc
- gobject/gobject.rc
- gthread/makefile.msc
- gthread/gthread.rc
- gio/gio.rc
- tests/makefile.msc
])
fi
diff --git a/glib/glib/Makefile.am b/glib/glib/Makefile.am
index ac73a8c..6fb3a34 100644
--- a/glib/glib/Makefile.am
+++ b/glib/glib/Makefile.am
@@ -35,9 +35,9 @@ else
MAYBE_PCRE = pcre
endif
-SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . tests
+SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre .
-DIST_SUBDIRS = libcharset gnulib pcre update-pcre tests
+DIST_SUBDIRS = libcharset gnulib pcre update-pcre
AM_CPPFLAGS = \
$(glib_INCLUDES) \
@@ -53,7 +53,6 @@ glib.def: glib.symbols
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS_ENVIRONMENT = GLIB_DEBUG_FLAGS="$(GLIB_DEBUG_FLAGS)"
-TESTS = abicheck.sh
endif
endif
@@ -66,12 +65,10 @@ MIRRORING_TAB_SOURCE = \
# The compilation of GRegex can be disabled, but the source files must
# be distributed.
EXTRA_DIST += \
- makefile.msc.in \
glib.rc.in \
gen-iswide-table.py \
gen-unicode-tables.pl \
gen-script-table.pl \
- glibconfig.h.win32.in \
abicheck.sh \
glib.symbols \
gregex.c \
@@ -86,8 +83,6 @@ CLEANFILES= libglib-gdb.py
# These may be in the builddir too
BUILT_EXTRA_DIST = \
- makefile.msc \
- glibconfig.h.win32 \
glib.rc
lib_LTLIBRARIES = libglib-2.0.la
@@ -116,7 +111,6 @@ deprecated_sources = \
libglib_2_0_la_SOURCES = \
$(deprecated_sources) \
- glib_probes.d \
garray.c \
gasyncqueue.c \
gasyncqueueprivate.h \
@@ -382,24 +376,6 @@ libglib_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
INSTALL_PROGS=
-if ENABLE_DTRACE
-glib_probes.h: glib_probes.d Makefile
- $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp
- @$(SED) -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," < $@.tmp > $@ && rm -f $@.tmp
-glib_probes.o: glib_probes.d Makefile
- $(AM_V_GEN) $(DTRACE) -G -s $< -o $@
-BUILT_SOURCES += glib_probes.h glib_probes.o
-CLEANFILES += glib_probes.h glib_probes.h.tmp
-libglib_2_0_la_LIBADD += glib_probes.o
-endif
-
-if ENABLE_SYSTEMTAP
-tapset_in_files = glib.stp.in
-tapsetdir = @ABS_TAPSET_DIR@
-tapset_DATA = $(tapset_in_files:.stp.in=.stp)
-EXTRA_DIST += $(tapset_in_files)
-endif
-
gspawn-win32-helper-console.c:
echo '#define HELPER_CONSOLE' >$@
echo '#include "gspawn-win32-helper.c"' >>$@
@@ -461,7 +437,7 @@ endif
glib-2.0.lib: libglib-2.0.la glib.def
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libglib-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/glib.def -out:$@
-dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs10/glib.vcxproj ../build/win32/vs10/glib.vcxproj.filters
+dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
diff --git a/glib/glib/gnulib/Makefile.am b/glib/glib/gnulib/Makefile.am
index ae8283d..a8666ff 100644
--- a/glib/glib/gnulib/Makefile.am
+++ b/glib/glib/gnulib/Makefile.am
@@ -17,6 +17,3 @@ libgnulib_la_SOURCES = \
printf.c \
printf.h \
g-gnulib.h
-
-
-EXTRA_DIST += makefile.msc