Autofooize

private/hcvcastro/forking
Tor Lillqvist 2015-03-09 11:11:15 +02:00
parent ce438007b2
commit 6b121b2fa6
10 changed files with 174 additions and 8 deletions

25
loolwsd/.gitignore vendored 100644
View File

@ -0,0 +1,25 @@
# Editor backup files etc
*~
\#*
# Autofoo
/.deps
/Makefile
/Makefile.in
/aclocal.m4
/autom4te.cache
/config.h
/config.log
/config.status
/configure
/depcomp
/install-sh
/missing
/stamp-h1
*.o
loolwsd
# Debug output
/FOO*.png

1
loolwsd/AUTHORS 100644
View File

@ -0,0 +1 @@
Tor Lillqvist <tml@iki.fi> <tml@collabora.com>

5
loolwsd/COPYING 100644
View File

@ -0,0 +1,5 @@
This file is part of the LibreOffice project.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

View File

@ -0,0 +1 @@
Nothing here. See git log.

1
loolwsd/INSTALL 100644
View File

@ -0,0 +1 @@
Left as an exercise to the reader.

View File

@ -1,8 +0,0 @@
CXXFLAGS = -std=c++11 -I/home/tml/lo/master-suse/include -I/opt/poco/include -g -Wall
LIBS = -L/opt/poco/lib -lPocoNetd -lPocoUtild -lPocoXMLd -lPocoJSONd -lPocoFoundationd -lpng -ldl
SRCS = LOOLWS.cpp LOOLSession.cpp
loolwsd : $(SRCS) Makefile
$(CXX) $(CXXFLAGS) -o $@ $(SRCS) $(LIBS)

View File

@ -0,0 +1,3 @@
bin_PROGRAMS = loolwsd
loolwsd_SOURCES = LOOLWS.cpp LOOLSession.cpp

1
loolwsd/NEWS 100644
View File

@ -0,0 +1 @@
No news is good news.

View File

@ -0,0 +1,62 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <LibreOfficeKit/LibreOfficeKit.h> header file.
*/
#undef HAVE_LIBREOFFICEKIT_LIBREOFFICEKIT_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <Poco/Net/WebSocket.h> header file. */
#undef HAVE_POCO_NET_WEBSOCKET_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* 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
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION

View File

@ -0,0 +1,75 @@
# -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([loolwsd], [1.0], [libreoffice@collabora.com])
AM_INIT_AUTOMAKE([1.11 silent-rules])
AC_CONFIG_SRCDIR([LOOLWS.cpp])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CXX
# Declare options
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug],
[Enable debugging, link with debugging version of Poco libraries]))
AC_ARG_WITH([lokit-path],
AS_HELP_STRING([--with-lokit-path=<path>],
[Path the "include" directory with the LibreOfficeKit headers]))
AC_ARG_WITH([poco-includes],
AS_HELP_STRING([--with-poco-includes=<path>],
[Path the "include" directory with the Poco headers]))
AC_ARG_WITH([poco-libs],
AS_HELP_STRING([--with-poco-libs=<path>],
[Path the "lib" directory with the Poco libraries]))
# Handle options
AS_IF([test "$enable_debug" = yes],
[POCO_DEBUG_SUFFIX=d],
[POCO_DEBUG_SUFFIX=])
# Test for build environment
CXXFLAGS="$CXXFLAGS -std=c++11"
AS_IF([test -n "$with_lokit_path"],
[CPPFLAGS="$CPPFLAGS -I${with_lokit_path}"])
AS_IF([test -n "$with_poco_includes"],
[CPPFLAGS="$CPPFLAGS -I${with_poco_includes}"])
AS_IF([test -n "$with_poco_libs"],
[LDFLAGS="$LDFLAGS -L${with_poco_libs}"])
AC_SEARCH_LIBS([dlopen],
[dl dld])
AC_SEARCH_LIBS([png_create_write_struct],
[png])
LIBS="$LIBS -lPocoNet${POCO_DEBUG_SUFFIX} -lPocoUtil${POCO_DEBUG_SUFFIX} -lPocoXML${POCO_DEBUG_SUFFIX} -lPocoJSON${POCO_DEBUG_SUFFIX} -lPocoFoundation${POCO_DEBUG_SUFFIX}"
AC_LANG_PUSH([C++])
AC_CHECK_HEADERS([LibreOfficeKit/LibreOfficeKit.h],
[],
[AC_MSG_ERROR([header LibreOfficeKit/LibreOfficeKit.h not found, perhaps you want to use --with-lokit-path])])
AC_CHECK_HEADERS([Poco/Net/WebSocket.h],
[],
[AC_MSG_ERROR([header Poco/Net/WebSocket.h not found, perhaps you want to use --with-poco-includes])])
# How to check for C++ libraries? AC_CHECK_LIB works only for C. Let's
# not bother, garbage in--garbage out. We will find out when
# makeing...
AC_LANG_POP
AC_CONFIG_FILES([Makefile])
AC_OUTPUT