diff options
author | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
commit | 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch) | |
tree | 016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/libaccounts-glib | |
parent | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff) |
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/libaccounts-glib')
-rw-r--r-- | community/libaccounts-glib/fix-docdir.patch | 12 | ||||
-rw-r--r-- | community/libaccounts-glib/make-tests-optional.patch | 68 |
2 files changed, 0 insertions, 80 deletions
diff --git a/community/libaccounts-glib/fix-docdir.patch b/community/libaccounts-glib/fix-docdir.patch deleted file mode 100644 index a535000ec..000000000 --- a/community/libaccounts-glib/fix-docdir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur -i libaccounts-glib-1.3.orig/Makefile.am libaccounts-glib-1.3/Makefile.am ---- libaccounts-glib-1.3.orig/Makefile.am 2012-03-13 15:18:32.000000000 +0100 -+++ libaccounts-glib-1.3/Makefile.am 2012-10-16 21:38:42.156352344 +0200 -@@ -12,7 +12,7 @@ - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = libaccounts-glib.pc - --libaccountsdocdir = ${prefix}/doc/reference -+libaccountsdocdir = ${docdir} - libaccountsdoc_DATA= README COPYING AUTHORS ChangeLog INSTALL NEWS - - backupconfdir = ${prefix}/share/backup-framework/applications diff --git a/community/libaccounts-glib/make-tests-optional.patch b/community/libaccounts-glib/make-tests-optional.patch deleted file mode 100644 index a5c3d1ba5..000000000 --- a/community/libaccounts-glib/make-tests-optional.patch +++ /dev/null @@ -1,68 +0,0 @@ -commit c34f64423776d214fc5a24b76c7c606119988d7e -Author: David King <david.king@canonical.com> -Date: Mon Oct 22 08:12:40 2012 +0100 - - Make tests optional at configure time - - http://code.google.com/p/accounts-sso/issues/detail?id=124 - -diff --git a/Makefile.am b/Makefile.am -index 97979a6..358a923 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,7 +1,10 @@ --SUBDIRS = libaccounts-glib docs tests tools -+SUBDIRS = libaccounts-glib docs tools - if ENABLE_PYTHON - SUBDIRS += pygobject - endif -+if ENABLE_TESTS -+SUBDIRS += tests -+endif - - ACLOCAL_AMFLAGS = -I m4 - -diff --git a/configure.ac b/configure.ac -index cbaf8d5..50b95ea 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -22,7 +22,25 @@ PKG_CHECK_MODULES( - AC_SUBST(LIBACCOUNTS_CFLAGS) - AC_SUBST(LIBACCOUNTS_LIBS) - --PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) -+# Build tests. -+ -+CHECK_REQUIRED="check >= 0.9.4" -+ -+AC_ARG_ENABLE([tests], -+ [AS_HELP_STRING([--disable-tests], [build with testing support disabled])]) -+ -+AS_IF([test "x$enable_tests" != "xno"], -+ [PKG_CHECK_EXISTS([$CHECK_REQUIRED], [have_check=yes], [have_check=no])], -+ [have_check=no]) -+ -+AS_IF([test "x$have_check" = "xyes"], -+ [PKG_CHECK_MODULES([CHECK], [$CHECK_REQUIRED]) -+ AC_SUBST([CHECK_CFLAGS]) -+ AC_SUBST([CHECK_LIBS])], -+ [AS_IF([test "x$enable_tests" = "xyes"], -+ [AC_MSG_ERROR([tests enabled but required dependencies were not found])])]) -+ -+AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_check" = "xyes"]) - - AC_ISC_POSIX - AC_PROG_CC -diff --git a/tests/Makefile.am b/tests/Makefile.am -index db5aa3f..f6c8dbf 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -7,7 +7,7 @@ dist_check_SCRIPTS = \ - check_SCRIPTS = accounts-glib-test.sh - - accounts_glib_testsuite_SOURCES = check_ag.c --accounts_glib_testsuite_CFLAGS = $(CHECK_FLAGS) -I$(top_srcdir) -+accounts_glib_testsuite_CFLAGS = $(CHECK_CFLAGS) -I$(top_srcdir) - accounts_glib_testsuite_LDADD = \ - $(CHECK_LIBS) \ - $(LIBACCOUNTS_LIBS) \ |