commit 3eda6e443ba8097a825c2cd990dd96ee243bad4074e5e2ae5bc0d72ef25440b9 Author: Jon Nordby Date: Tue Sep 20 15:38:47 2011 +0000 Import maliit-framework OBS-URL: https://build.opensuse.org/package/show/M17N:Maliit/maliit-framework?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 0000000..b9eb42d --- /dev/null +++ b/debian.changelog @@ -0,0 +1,6 @@ +maliit-framework (0.80.5-0) unstable; urgency=low + + * New release + + -- Jon Nordby Tue, 06 Sep 2011 12:41:43 +0300 + diff --git a/debian.control b/debian.control new file mode 100644 index 0000000..0431dfe --- /dev/null +++ b/debian.control @@ -0,0 +1,32 @@ +Source: maliit-framework +Section: libs +Priority: extra +Maintainer: Jon Nordby +Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.6), libxcomposite-dev, libxfixes-dev, libxdamage-dev, libxext-dev, libdbus-glib-1-dev, libgconf2-dev, pkg-config, dpkg-dev, graphviz, doxygen +Standards-Version: 3.7.2 + +Package: maliit-framework +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Maliit Input Method Framework + Maliit Input Method Framework + +Package: maliit-framework-dbg +Architecture: any +Depends: maliit-framework (= ${binary:Version}) +Description: Maliit Input Method Framework Debug symbols + Debug files for Maliit Input Method Framework + +Package: maliit-framework-dev +Section: libdevel +Architecture: all +Depends: maliit-framework (>= ${source:Version}), libqt4-dev (>= 4.7) +Description: Maliit Input Method Framework development files + Development files for Maliit Input Method Framework + +Package: maliit-framework-doc +Section: doc +Architecture: all +Description: Technical documentation of Maliit Input Method Framework + Technical documentation of Maliit Input Method Framework + Includes API reference and internal documentations. diff --git a/debian.rules b/debian.rules new file mode 100644 index 0000000..363fcfe --- /dev/null +++ b/debian.rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +DEBDIR = .. + +comma :=, +empty := +space := $(empty) $(empty) + +# Build options +ENABLE_MULTITOUCH = false +QMAKE_OPTIONS+=CONFIG+=notests + +# shared library versions, option 1 +version=0.1.0 +major=0 + +QT_INSTALL_DATA:=$(shell qmake -query QT_INSTALL_DATA) +QT_INSTALL_PLUGINS:=$(shell qmake -query QT_INSTALL_PLUGINS) + +configure: configure-stamp +configure-stamp: + dh_testdir + qmake -r $(QMAKE_OPTIONS) + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + make $(PARALLEL_MAKEFLAGS) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + rm -f build-stamp configure-stamp + + make $(PARALLEL_MAKEFLAGS) clean || true + rm -f lib/* + rm -rf .obj + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs $(EXCLUSIONS) + + # Then proceed to normal installation + GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 INSTALL_ROOT=$(CURDIR)/debian/tmp make $(PARALLEL_MAKEFLAGS) install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir $(EXCLUSIONS) + dh_testroot $(EXCLUSIONS) + dh_installchangelogs $(EXCLUSIONS) + dh_installdocs $(EXCLUSIONS) + dh_install --sourcedir=debian/tmp $(EXCLUSIONS) -v + dh_gconf $(EXCLUSIONS) +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link $(EXCLUSIONS) + dh_strip --dbg-package=maliit-framework + dh_compress $(EXCLUSIONS) + dh_fixperms $(EXCLUSIONS) +# dh_perl +# dh_python + dh_makeshlibs $(EXCLUSIONS) + dh_installdeb $(EXCLUSIONS) + dh_shlibdeps $(EXCLUSIONS) + dh_gencontrol $(EXCLUSIONS) + dh_md5sums $(EXCLUSIONS) + dh_builddeb --destdir=$(DEBDIR) $(EXCLUSIONS) + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/maliit-framework-0.80.5.tar.gz b/maliit-framework-0.80.5.tar.gz new file mode 100644 index 0000000..4505708 --- /dev/null +++ b/maliit-framework-0.80.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc886796d8f1896ccf8a041f20001dae55f10ff5831ba27a8c0bfd5b9ce39947 +size 197024 diff --git a/maliit-framework.dsc b/maliit-framework.dsc new file mode 100644 index 0000000..b90c17c --- /dev/null +++ b/maliit-framework.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: maliit-framework +Version: 0.80.5-0 +Binary: maliit-framework +Maintainer: Jon Nordby +Architecture: any +Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.6), libxcomposite-dev, libxfixes-dev, libxdamage-dev, libxext-dev, libdbus-glib-1-dev, libgconf2-dev, pkg-config, dpkg-dev, graphviz, doxygen +Files: + d57283ebb8157ae919762c58419353c8 133282 packageName_5.6.orig.tar.gz + 2fecf324a32123b08cefc0f047bca5ee 63176 packageName_5.6-1.diff.tar.gz diff --git a/maliit-framework.spec b/maliit-framework.spec new file mode 100644 index 0000000..e7c3fae --- /dev/null +++ b/maliit-framework.spec @@ -0,0 +1,156 @@ +%if 0%{?suse_version} + %define _qt4_qmake qmake + %define _qt4_datadir %{_datadir}/qt4 + %define _qt4_plugindir %{_libdir}/qt4/plugins + %define _qt4_translationdir %(qmake -query QT_INSTALL_TRANSLATIONS) +%endif + +Name: maliit-framework +Version: 0.80.5 +Release: 0%{?dist} +Summary: Maliit Input Method Framework + +Group: System Environment/Libraries +License: LGPLv2 +URL: https://gitorious.org/maliit/maliit-framework +Source0: %{name}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: pkgconfig(QtCore) >= 4.7.0 +BuildRequires: pkgconfig(QtDeclarative) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gconf-2.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcomposite) +BuildRequires: pkgconfig(xdamage) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xfixes) +BuildRequires: gcc-c++ + +%if 0%{?suse_version} +%gconf_schemas_requires +%else +Requires(pre): /usr/bin/gconftool-2 +Requires(post): /usr/bin/gconftool-2 +Requires(preun): /usr/bin/gconftool-2 +%endif +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Maliit Input Methods Framework + +%package devel +Summary: Maliit Input Method Framework Development Package +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the files necessary to develop +input method plugins for Maliit, and applications using the libmaliit +extension library. + +%prep +%setup -q -n maliit-maliit-framework + +%build +%{_qt4_qmake} -r M_IM_VERSION=%{version} \ + M_IM_PREFIX=%{_prefix} \ + M_IM_INSTALL_BIN=%{_bindir} \ + M_IM_INSTALL_LIBS=%{_libdir} \ + M_IM_INSTALL_HEADERS=%{_includedir} \ + M_IM_INSTALL_SCHEMAS=%{_sysconfdir}/gconf/schemas \ + M_IM_ENABLE_MULTITOUCH=false \ + CONFIG+=notests + +# FIXME: compiling with notests should not install test plugins to maliit-framework-tests + +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install INSTALL="install -p" INSTALL_ROOT=%{buildroot} + +# Make dir for plugins +mkdir -p %{buildroot}%{_libdir}/maliit/plugins-0.80/ + +%if 0%{?suse_version} +%find_gconf_schemas +%endif + +%clean +rm -rf %{buildroot} + +%if 0%{?suse_version} +%pre -f %{name}.schemas_pre + +%preun -f %{name}.schemas_preun + +%posttrans -f %{name}.schemas_posttrans + +%post +/sbin/ldconfig +%else +%pre +%gconf_schema_prepare maliit-framework + +%post +/sbin/ldconfig +%gconf_schema_upgrade maliit-framework + +%preun +%gconf_schema_remove maliit-framework +%endif + +%postun +/sbin/ldconfig + +%if 0%{?suse_version} +%files -f %{name}.schemas_list +%else +%files +%endif + +%defattr(-,root,root,-) +%doc README LICENSE.LGPL NEWS +%{_bindir}/maliit-server +%{_bindir}/maliit-exampleapp-plainqt +%{_libdir}/*.so.* +%dir %{_libdir}/maliit +%dir %{_libdir}/maliit/plugins-0.80 +%{_qt4_plugindir}/inputmethods/*.so +%dir %{_libdir}/maliit-framework-tests +%{_libdir}/maliit-framework-tests/* + +%if 0%{?fedora} +%{_sysconfdir}/gconf/schemas/maliit-framework.schemas +%endif + +%files devel +%defattr(-,root,root,-) +%{_includedir}/maliit/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Tue Sep 06 2011 Jon Nordby - 0.80.5-0 +- Rename to maliit-framework, update to 0.80.5 + +* Sat Jun 04 2011 Jan Arne Petersen - 0.20.17-0 +- Update to 0.20.17 +- Update GConf processing for Fedora and OpenSuse + +* Wed May 25 2011 Jan Arne Petersen - 0.20.16-0 +- Update to 0.20.16 + +* Sat Apr 30 2011 Jan Arne Petersen - 0.20.7-0.2 +- Add meego-inputmethodframework-0.20.7-buildsystem.patch +- Fix build by using configs for qmake +- Install GConf schemas file + +* Thu Apr 28 2011 Jan Arne Petersen - 0.20.7-0.1 +- Add *.prf file to -devel package + +* Tue Apr 26 2011 Jan Arne Petersen - 0.20.7-0 +- Initial packaging