Skip to content

Commit

Permalink
Update server support; remove libcurvecpr-glib.
Browse files Browse the repository at this point in the history
This changeset backports changes to the libcurvecpr core library from
the add-glib-server branch. It further removes libcurvecpr-glib entirely
from the source tree; the GLib-based source code will be made available
in a separate repository (currently
https://github.com/impl/libcurvecpr-glib).
  • Loading branch information
impl committed Oct 6, 2013
1 parent a8b28e8 commit 393d167
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 798 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/depcomp
/install-sh
/libcurvecpr/libcurvecpr.pc
/libcurvecpr-glib/libcurvecpr-glib.pc
/libtool
/ltmain.sh
/m4/libtool.m4
Expand Down
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ before_install:
- popd
- popd
- sudo ldconfig
env:
- USE_LIBGLIB=no
- USE_LIBGLIB=yes
before_script:
- ./autogen.sh
- sh -c 'if [ "$USE_LIBGLIB" = "yes" ]; then ./configure --with-libglib CFLAGS="-Werror"; fi'
- sh -c 'if [ "$USE_LIBGLIB" = "no" ]; then ./configure --without-libglib CFLAGS="-Werror"; fi'
- ./configure CFLAGS="-Werror"
script: make check
compiler:
- clang
Expand Down
4 changes: 0 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = libcurvecpr

if USE_LIBGLIB
SUBDIRS += libcurvecpr-glib
endif
16 changes: 0 additions & 16 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ PKG_CHECK_MODULES([CHECK], [check >= 0.9.8])
AC_SEARCH_LIBS([clock_gettime], [rt posix4])
AC_CHECK_LIB([sodium], [sodium_init], [], [AC_MSG_ERROR([missing libsodium])])

AC_ARG_WITH([libglib],
[AS_HELP_STRING([--with-libglib], [build with glib support @<:@default=check@:>@])],
[], [with_libglib=check]
)
AS_CASE(["$with_glib"],
[yes], [PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.14.0], [HAVE_LIBGLIB=1])],
[no], [],
[PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.14.0], [HAVE_LIBGLIB=1], [HAVE_LIBGLIB=0])]
)
AM_CONDITIONAL([USE_LIBGLIB], [test "$with_libglib" != no -a "$HAVE_LIBGLIB" -eq 1])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([errno.h stdint.h string.h time.h], [], [AC_MSG_ERROR([missing required header file(s)])])
Expand Down Expand Up @@ -85,11 +74,6 @@ AC_CONFIG_FILES([
libcurvecpr/test/Makefile
libcurvecpr/Makefile
libcurvecpr/libcurvecpr.pc
libcurvecpr-glib/include/Makefile
libcurvecpr-glib/lib/Makefile
libcurvecpr-glib/test/Makefile
libcurvecpr-glib/Makefile
libcurvecpr-glib/libcurvecpr-glib.pc
Makefile
])
AC_OUTPUT
4 changes: 0 additions & 4 deletions libcurvecpr-glib/Makefile.am

This file was deleted.

4 changes: 0 additions & 4 deletions libcurvecpr-glib/include/Makefile.am

This file was deleted.

7 changes: 0 additions & 7 deletions libcurvecpr-glib/include/curvecpr_glib.h

This file was deleted.

63 changes: 0 additions & 63 deletions libcurvecpr-glib/include/curvecpr_glib/client_messager_glib.h

This file was deleted.

59 changes: 0 additions & 59 deletions libcurvecpr-glib/include/curvecpr_glib/messager_glib.h

This file was deleted.

8 changes: 0 additions & 8 deletions libcurvecpr-glib/lib/Makefile.am

This file was deleted.

137 changes: 0 additions & 137 deletions libcurvecpr-glib/lib/client_messager_glib.c

This file was deleted.

Loading

0 comments on commit 393d167

Please sign in to comment.