summaryrefslogtreecommitdiff
path: root/extra/libnotify
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-02 00:29:16 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-02 00:29:16 +0000
commit3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch)
treeade247e1b6c47fbd7362273f59d3ae4f955587a7 /extra/libnotify
parent40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff)
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'extra/libnotify')
-rw-r--r--extra/libnotify/libnotify-0.7.1-gtk3-tests.patch110
1 files changed, 0 insertions, 110 deletions
diff --git a/extra/libnotify/libnotify-0.7.1-gtk3-tests.patch b/extra/libnotify/libnotify-0.7.1-gtk3-tests.patch
deleted file mode 100644
index 7d1230520..000000000
--- a/extra/libnotify/libnotify-0.7.1-gtk3-tests.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From 92983cacd36fa9b050f911bc4de09b8c4fb9f3b2 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Thu, 16 Dec 2010 00:01:13 +0100
-Subject: [PATCH] gentoo: do not build gtk+:3 tests if not required
-
----
- configure.ac | 5 +++++
- tests/Makefile.am | 30 +++++++++++++++++-------------
- 2 files changed, 22 insertions(+), 13 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 71609ed..7767c5b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -97,10 +97,15 @@ AC_SUBST(PACKAGE_LIBS)
- AC_SUBST(PACKAGE_CFLAGS)
- AC_SUBST(pkg_modules)
-
-+AC_ARG_ENABLE([tests],
-+ AS_HELP_STRING([--enable-tests], [Check for extra dependencies to build all tests]))
-+AS_IF([test $enable_tests = yes], [
- tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"
- PKG_CHECK_MODULES(TESTS, [$tests_modules])
-+])
- AC_SUBST(TESTS_LIBS)
- AC_SUBST(TESTS_CFLAGS)
-+AM_CONDITIONAL([MORE_TESTS], [test $enable_tests = yes])
-
- GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
- AC_SUBST(GLIB_GENMARSHAL)
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 7acf9a3..2856a82 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -2,18 +2,15 @@ INCLUDES = \
- -I$(top_srcdir) \
- $(TESTS_CFLAGS)
-
--noinst_PROGRAMS = \
-+check_PROGRAMS = \
- test-replace \
-- test-replace-widget \
- test-server-info \
- test-default-action \
- test-multi-actions \
- test-action-icons \
-- test-image \
- test-basic \
- test-error \
- test-markup \
-- test-persistence \
- test-resident \
- test-rtl \
- test-size-changes \
-@@ -23,6 +20,22 @@ noinst_PROGRAMS = \
- test-xy-actions \
- test-xy-stress
-
-+#if MORE_TESTS
-+check_PROGRAMS += \
-+ test-image \
-+ test-replace-widget \
-+ test-persistence
-+
-+test_replace_widget_SOURCES = test-replace-widget.c
-+test_replace_widget_LDADD = $(common_ldflags)
-+
-+test_image_SOURCES = test-image.c
-+test_image_LDADD = $(common_ldflags)
-+
-+test_persistence_SOURCES = test-persistence.c
-+test_persistence_LDADD = $(common_ldflags)
-+#endif
-+
- common_ldflags = \
- $(top_builddir)/libnotify/libnotify.la \
- $(TESTS_LIBS)
-@@ -30,9 +43,6 @@ common_ldflags = \
- test_replace_SOURCES = test-replace.c
- test_replace_LDADD = $(common_ldflags)
-
--test_replace_widget_SOURCES = test-replace-widget.c
--test_replace_widget_LDADD = $(common_ldflags)
--
- test_server_info_SOURCES = test-server-info.c
- test_server_info_LDADD = $(common_ldflags)
-
-@@ -48,9 +58,6 @@ test_multi_actions_LDADD = $(common_ldflags)
- test_action_icons_SOURCES = test-action-icons.c
- test_action_icons_LDADD = $(common_ldflags)
-
--test_image_SOURCES = test-image.c
--test_image_LDADD = $(common_ldflags)
--
- test_basic_SOURCES = test-basic.c
- test_basic_LDADD = $(common_ldflags)
-
-@@ -75,9 +82,6 @@ test_xy_stress_LDADD = $(common_ldflags)
- test_rtl_SOURCES = test-rtl.c
- test_rtl_LDADD = $(common_ldflags)
-
--test_persistence_SOURCES = test-persistence.c
--test_persistence_LDADD = $(common_ldflags)
--
- test_resident_SOURCES = test-resident.c
- test_resident_LDADD = $(common_ldflags)
-
---
-1.7.4.rc2
-