2 commits - c++/Makefile.am configure.ac .gitignore libkolabxml.spec.in Makefile.am po/bn_IN.po po/bn.po po/ca.po po/cs.po po/da.po po/de.po po/el.po po/es.po po/fi.po po/fr.po po/gl.po po/gu.po po/hi.po po/hr.po po/hu.po po/is.po po/it.po po/ja.po po/ko.po po/Makefile.in.in po/ml.po po/ms.po po/nb.po po/nl.po po/or.po po/pa.po po/pl.po po/POTFILES po/POTFILES.in po/pt_BR.po po/pt.po po/ru.po po/sk.po po/sl.po po/sr at latin.po po/sr.po po/stamp-it po/sv.po po/ta.po po/tr.po po/uk.po po/zh_CN.po po/zh_TW.po pykolab-format.spec.in
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Fri Feb 17 07:41:31 CET 2012
.gitignore | 3
Makefile.am | 2
c++/Makefile.am | 31 +++++++
configure.ac | 4
libkolabxml.spec.in | 46 +++++++++++
po/Makefile.in.in | 217 ++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 302 insertions(+), 1 deletion(-)
New commits:
commit 242338a0072949ea15984e4e62b7ad19a5d2d7c9
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Fri Feb 17 06:41:14 2012 +0000
Enable a proper make dist
diff --git a/.gitignore b/.gitignore
index 29a4c32..d5c7800 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,6 @@ Makefile.in
ChangeLog
autom4te.cache
aclocal.m4
+libkolabxml-*.tar.gz
+libkolabxml-*.*/
+libkolabxml.spec
diff --git a/Makefile.am b/Makefile.am
index 529e768..e35817b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,8 @@ EXTRA_DIST = \
README
SUBDIRS = \
+ c++ \
+ po \
pykolab
tarball:
diff --git a/c++/Makefile.am b/c++/Makefile.am
new file mode 100644
index 0000000..c769fc9
--- /dev/null
+++ b/c++/Makefile.am
@@ -0,0 +1,31 @@
+EXTRA_DIST = \
+ autogen.sh \
+ CMakeLists.txt \
+ Makefile.am \
+ README \
+ compiled/ \
+ compiled/grammar-input-stream.cxx \
+ compiled/grammar-input-stream.hxx \
+ compiled/README \
+ compiled/XMLParserWrapper.cpp \
+ compiled/XMLParserWrapper.h \
+ compiled/xsdbin.cxx \
+ lib/ \
+ $(wildcard lib/*.cpp) \
+ $(wildcard lib/*.h) \
+ lib/CMakeLists.txt \
+ lib/DEVELOPMENT \
+ lib/kolabcontainers.i \
+ lib/kolabformat.i \
+ lib/php/ \
+ lib/php/CMakeLists.txt \
+ lib/php/test.php \
+ lib/python/ \
+ lib/python/CMakeLists.txt \
+ lib/python/test.py \
+ tests/ \
+ $(wildcard tests/*.cpp) \
+ $(wildcard tests/*.h) \
+ tests/CMakeLists.txt \
+ tests/testfiles/ \
+ $(wildcard tests/testfiles/*.xml)
diff --git a/configure.ac b/configure.ac
index 7fef081..5b1c5de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([pykolab-format], 0.1)
+AC_INIT([libkolabxml], 0.1)
AC_SUBST([RELEASE], 0.1)
AC_CONFIG_SRCDIR(pykolab-format.spec.in)
@@ -19,6 +19,8 @@ AC_SUBST(DATESTAMP,`date +"%a %b %d %Y"`)
AC_CONFIG_FILES([
Makefile
+c++/Makefile
+libkolabxml.spec
po/Makefile.in
pykolab-format.spec
pykolab/format/Makefile
diff --git a/libkolabxml.spec.in b/libkolabxml.spec.in
new file mode 100644
index 0000000..f4da310
--- /dev/null
+++ b/libkolabxml.spec.in
@@ -0,0 +1,46 @@
+Name: libkolabxml
+Version: @VERSION@
+Release: @RELEASE@%{?dist}
+Summary: Kolab XML format collection parser library
+
+Group: System/Libraries
+License: LGPLv3+
+URL: http://www.kolab.org
+Source0: http://git.kolab.org/libkolabxml/snapshot/libkolabxml-0.1.0.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+#BuildRequires:
+#Requires:
+
+%description
+The libkolabxml parsing library interprets Kolab XML formats (xCal, xCard) with
+bindings for Python, PHP and other languages. The language bindings are available
+through sub-packages.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc
+
+
+
+%changelog
+* Tue Feb 14 2012 Jeroen van Meeuwen <vanmeeuwen at kolabsys.com> - 0.1.0-1
+- First package
diff --git a/pykolab-format.spec.in b/pykolab-format.spec.in
deleted file mode 100644
index e69de29..0000000
commit ff2a4b6c87b9f334cb6924c53a4ea71e3d52f6a4
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Fri Feb 17 06:34:42 2012 +0000
Add required localization files
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
new file mode 100644
index 0000000..cc8a222
--- /dev/null
+++ b/po/Makefile.in.in
@@ -0,0 +1,217 @@
+# Makefile for program source directory in GNU NLS utilities package.
+# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper at gnu.ai.mit.edu>
+# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns at gmail.com>
+#
+# This file may be copied and used freely without restrictions. It may
+# be used in projects which are not available under a GNU Public License,
+# but which still want to provide support for the GNU gettext functionality.
+#
+# - Modified by Owen Taylor <otaylor at redhat.com> to use GETTEXT_PACKAGE
+# instead of PACKAGE and to look for po2tbl in ./ not in intl/
+#
+# - Modified by jacob berkman <jacob at ximian.com> to install
+# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
+#
+# - Modified by Rodney Dawes <dobey.pwns at gmail.com> for use with intltool
+#
+# We have the following line for use by intltoolize:
+# INTLTOOL_MAKEFILE
+
+GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+VPATH = @srcdir@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+datadir = @datadir@
+datarootdir = @datarootdir@
+libdir = @libdir@
+DATADIRNAME = @DATADIRNAME@
+itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+subdir = po
+install_sh = @install_sh@
+# Automake >= 1.8 provides @mkdir_p at .
+# Until it can be supposed, use the safe fallback:
+mkdir_p = $(install_sh) -d
+
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+GMSGFMT = @GMSGFMT@
+MSGFMT = @MSGFMT@
+XGETTEXT = @XGETTEXT@
+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
+MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
+GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
+
+ALL_LINGUAS = @ALL_LINGUAS@
+
+PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
+
+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi)
+
+USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
+
+POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
+
+DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
+EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
+
+POTFILES = \
+# This comment gets stripped out
+
+CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
+
+.SUFFIXES:
+.SUFFIXES: .po .pox .gmo .mo .msg .cat
+
+.po.pox:
+ $(MAKE) $(GETTEXT_PACKAGE).pot
+ $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
+
+.po.mo:
+ $(MSGFMT) -o $@ $<
+
+.po.gmo:
+ file=`echo $* | sed 's,.*/,,'`.gmo \
+ && rm -f $$file && $(GMSGFMT) -o $$file $<
+
+.po.cat:
+ sed -f ../intl/po2msg.sed < $< > $*.msg \
+ && rm -f $@ && gencat $@ $*.msg
+
+
+all: all- at USE_NLS@
+
+all-yes: $(CATALOGS)
+all-no:
+
+$(GETTEXT_PACKAGE).pot: $(POTFILES)
+ $(GENPOT)
+
+install: install-data
+install-data: install-data- at USE_NLS@
+install-data-no: all
+install-data-yes: all
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
+ $(mkdir_p) $$dir; \
+ if test -r $$lang.gmo; then \
+ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
+ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
+ else \
+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
+ echo "installing $(srcdir)/$$lang.gmo as" \
+ "$$dir/$(GETTEXT_PACKAGE).mo"; \
+ fi; \
+ if test -r $$lang.gmo.m; then \
+ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
+ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
+ else \
+ if test -r $(srcdir)/$$lang.gmo.m ; then \
+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
+ $$dir/$(GETTEXT_PACKAGE).mo.m; \
+ echo "installing $(srcdir)/$$lang.gmo.m as" \
+ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \
+ else \
+ true; \
+ fi; \
+ fi; \
+ done
+
+# Empty stubs to satisfy archaic automake needs
+dvi info ctags tags CTAGS TAGS ID:
+
+# Define this as empty until I found a useful application.
+install-exec installcheck:
+
+uninstall:
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
+ done
+
+check: all $(GETTEXT_PACKAGE).pot
+ rm -f missing notexist
+ srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
+ if [ -r missing -o -r notexist ]; then \
+ exit 1; \
+ fi
+
+mostlyclean:
+ rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
+ rm -f .intltool-merge-cache
+
+clean: mostlyclean
+
+distclean: clean
+ rm -f Makefile Makefile.in POTFILES stamp-it
+ rm -f *.mo *.msg *.cat *.cat.m *.gmo
+
+maintainer-clean: distclean
+ @echo "This command is intended for maintainers to use;"
+ @echo "it deletes files that may require special tools to rebuild."
+ rm -f Makefile.in.in
+
+distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
+dist distdir: $(DISTFILES)
+ dists="$(DISTFILES)"; \
+ extra_dists="$(EXTRA_DISTFILES)"; \
+ for file in $$extra_dists; do \
+ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
+ done; \
+ for file in $$dists; do \
+ test -f $$file || file="$(srcdir)/$$file"; \
+ ln $$file $(distdir) 2> /dev/null \
+ || cp -p $$file $(distdir); \
+ done
+
+update-po: Makefile
+ $(MAKE) $(GETTEXT_PACKAGE).pot
+ tmpdir=`pwd`; \
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ echo "$$lang:"; \
+ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
+ if $$result; then \
+ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.gmo failed!"; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi; \
+ done
+
+Makefile POTFILES: stamp-it
+ @if test ! -f $@; then \
+ rm -f stamp-it; \
+ $(MAKE) stamp-it; \
+ fi
+
+stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
+ $(SHELL) ./config.status
+
+# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/po/POTFILES b/po/POTFILES
new file mode 100644
index 0000000..e69de29
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..e69de29
diff --git a/po/bn.po b/po/bn.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/bn_IN.po b/po/bn_IN.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ca.po b/po/ca.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/cs.po b/po/cs.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/da.po b/po/da.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/de.po b/po/de.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/el.po b/po/el.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/es.po b/po/es.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/fi.po b/po/fi.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/fr.po b/po/fr.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/gl.po b/po/gl.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/gu.po b/po/gu.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/hi.po b/po/hi.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/hr.po b/po/hr.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/hu.po b/po/hu.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/is.po b/po/is.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/it.po b/po/it.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ja.po b/po/ja.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ko.po b/po/ko.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ml.po b/po/ml.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ms.po b/po/ms.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/nb.po b/po/nb.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/nl.po b/po/nl.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/or.po b/po/or.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/pa.po b/po/pa.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/pl.po b/po/pl.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/pt.po b/po/pt.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ru.po b/po/ru.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/sk.po b/po/sk.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/sl.po b/po/sl.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/sr.po b/po/sr.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/sr at latin.po b/po/sr at latin.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/stamp-it b/po/stamp-it
new file mode 100644
index 0000000..e69de29
diff --git a/po/sv.po b/po/sv.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/ta.po b/po/ta.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/tr.po b/po/tr.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/uk.po b/po/uk.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/zh_CN.po b/po/zh_CN.po
new file mode 100644
index 0000000..e69de29
diff --git a/po/zh_TW.po b/po/zh_TW.po
new file mode 100644
index 0000000..e69de29
More information about the commits
mailing list