summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore15
-rw-r--r--ChangeLog0
-rw-r--r--Makefile.am2
-rw-r--r--NEWS0
-rw-r--r--configure.ac46
-rw-r--r--src/Makefile.am93
-rw-r--r--src/wgtpkg.h1
7 files changed, 1 insertions, 156 deletions
diff --git a/.gitignore b/.gitignore
index 3ba4578..95beedb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,18 +4,7 @@ wgtpkg-pack
wgtpkg-sign
wgtpkg-info
*.o
-
-.deps/
-Makefile
-Makefile.in
-aclocal.m4
-autom4te.cache/
-config.*
-stamp-h1
-configure
-depcomp
-install-sh
-missing
+*.a
TODO
a.pem
@@ -28,7 +17,5 @@ schemas/
tests-w3c/
tests/
tizen-certificates/
-truc
-*.wgt
wrt-widgets
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index e69de29..0000000
--- a/ChangeLog
+++ /dev/null
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index f268924..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBDIRS = src
-
diff --git a/NEWS b/NEWS
deleted file mode 100644
index e69de29..0000000
--- a/NEWS
+++ /dev/null
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index adee3da..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,46 +0,0 @@
-# -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([wgtpkg], [1.0], [wgtpkg@iot.bzh])
-AM_INIT_AUTOMAKE
-#AM_INIT_AUTOMAKE([-Wall -Wno-pointer-sign])
-AC_CONFIG_SRCDIR([src/wgtpkg-files.c])
-AC_CONFIG_HEADERS([src/config.h])
-
-# Checks for programs.
-#AC_PROG_CXX
-AC_PROG_CC
-
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lcrypto':
-#AC_CHECK_LIB([crypto], [d2i_X509])
-# FIXME: Replace `main' with a function in `-lxml2':
-#AC_CHECK_LIB([xml2], [xmlSaveFormatFileEnc])
-# FIXME: Replace `main' with a function in `-lzip':
-#AC_CHECK_LIB([zip], [zip_open])
-
-PKG_CHECK_MODULES([ZIP], [libzip >= 0.11])
-PKG_CHECK_MODULES([XML2], [libxml-2.0])
-PKG_CHECK_MODULES([OPENSSL], [openssl])
-PKG_CHECK_MODULES([XMLSEC], [xmlsec1 xmlsec1-openssl])
-PKG_CHECK_MODULES([JSON], [json-c])
-PKG_CHECK_MODULES([DBUS], [dbus-1])
-
-# Checks for header files.
-AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h syslog.h unistd.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_HEADER_STDBOOL
-AC_TYPE_SIZE_T
-AC_TYPE_SSIZE_T
-
-# Checks for library functions.
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
-AC_CHECK_FUNCS([atexit memmove mkdir realpath rmdir stpcpy strrchr strtoul])
-AC_CHECK_FUNCS([strcasecmp strdup strndup])
-
-AC_CONFIG_FILES([Makefile
- src/Makefile])
-AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 94e06df..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,93 +0,0 @@
-bin_PROGRAMS = \
- wgtpkg-installer \
- wgtpkg-pack \
- wgtpkg-sign \
- wgtpkg-info \
- af-usrd
-
-OTHERSRCS = \
- utils-dir.c \
- utils-jbus.c \
- verbose.c
-
-WGTPKGSRCS = \
- wgtpkg-base64.c \
- wgtpkg-certs.c \
- wgtpkg-digsig.c \
- wgtpkg-files.c \
- wgtpkg-install.c \
- wgtpkg-permissions.c \
- wgtpkg-workdir.c \
- wgtpkg-xmlsec.c \
- wgtpkg-zip.c
-
-WGTSRCS = \
- wgt-config.c \
- wgt-info.c \
- wgt.c
-
-SECWRP = \
- secmgr-wrap.c
-
-APPFWK = \
- af-db.c \
- af-launch.c \
- af-run.c
-
-
-AM_CFLAGS = -Wall -Wno-pointer-sign
-AM_CFLAGS += -ffunction-sections -fdata-sections
-
-fwk_name = aglfwk
-fwk_confdir = $(sysconfdir)/$(fwk_name)
-fwk_datadir = $(datadir)/$(fwk_name)
-fwk_appdir = $(fwk_datadir)/applications
-fwk_icondir = $(fwk_datadir)/icons
-fwk_prefix = urn:agl:
-fwk_prefix_permission = $(fwk_prefix)perm:
-fwk_prefix_plugin = $(fwk_prefix)plugin:
-fwk_user_appdir = app-data
-wgtpkg_trusted_cert_dir = $(fwk_confdir)/certs
-
-AM_CFLAGS += -DFWK_CONFIG_DIR=\"$(fwk_confdir)\"
-AM_CFLAGS += -DFWK_PREFIX_PERMISSION=\"$(fwk_prefix_permission)\"
-AM_CFLAGS += -DFWK_PREFIX_PLUGIN=\"$(fwk_prefix_plugin)\"
-AM_CFLAGS += -DFWK_ICON_DIR=\"$(fwk_icondir)\"
-AM_CFLAGS += -DFWK_APP_DIR=\"$(fwk_appdir)\"
-AM_CFLAGS += -DFWK_USER_APP_DIR=\"$(fwk_user_appdir)\"
-
-AM_CFLAGS += -DWGTPKG_TRUSTED_CERT_DIR=\"$(wgtpkg_trusted_cert_dir)\"
-
-AM_LDFLAGS = -Wl,--gc-sections
-
-AM_CFLAGS += \
- ${DBUS_CFLAGS} \
- ${JSON_CFLAGS} \
- ${OPENSSL_CFLAGS} \
- ${XML2_CFLAGS} \
- ${XMLSEC_CFLAGS} \
- ${ZIP_CFLAGS}
-
-LDADD = \
- ${DBUS_LIBS} \
- ${JSON_LIBS} \
- ${OPENSSL_LIBS} \
- ${XML2_LIBS} \
- ${XMLSEC_LIBS} \
- ${ZIP_LIBS}
-
-# remove (or comment) following line to really use simulated components
-AM_CFLAGS += -Isimulation
-
-
-wgtpkg_sign_SOURCES = wgtpkg-sign.c ${WGTPKGSRCS} ${OTHERSRCS}
-
-wgtpkg_pack_SOURCES = wgtpkg-pack.c ${WGTPKGSRCS} ${OTHERSRCS}
-
-wgtpkg_installer_SOURCES = wgtpkg-installer.c ${WGTPKGSRCS} ${WGTSRCS} ${SECWRP} ${OTHERSRCS}
-
-wgtpkg_info_SOURCES = wgtpkg-info.c ${WGTPKGSRCS} ${WGTSRCS} ${OTHERSRCS}
-
-af_usrd_SOURCES = af-usrd.c ${APPFWK} ${WGTSRCS} ${OTHERSRCS} ${SECWRP}
-
-
diff --git a/src/wgtpkg.h b/src/wgtpkg.h
index e786f76..a355b4c 100644
--- a/src/wgtpkg.h
+++ b/src/wgtpkg.h
@@ -18,7 +18,6 @@
#include <libxml/tree.h>
-#include "config.h"
struct filedesc;