forked from pool/maliit-framework
Import maliit-framework
OBS-URL: https://build.opensuse.org/package/show/M17N:Maliit/maliit-framework?expand=0&rev=1
This commit is contained in:
commit
3eda6e443b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
6
debian.changelog
Normal file
6
debian.changelog
Normal file
@ -0,0 +1,6 @@
|
||||
maliit-framework (0.80.5-0) unstable; urgency=low
|
||||
|
||||
* New release
|
||||
|
||||
-- Jon Nordby <jonn@openismus.com> Tue, 06 Sep 2011 12:41:43 +0300
|
||||
|
32
debian.control
Normal file
32
debian.control
Normal file
@ -0,0 +1,32 @@
|
||||
Source: maliit-framework
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Maintainer: Jon Nordby <jonn@openismus.com>
|
||||
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.
|
97
debian.rules
Normal file
97
debian.rules
Normal file
@ -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
|
3
maliit-framework-0.80.5.tar.gz
Normal file
3
maliit-framework-0.80.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc886796d8f1896ccf8a041f20001dae55f10ff5831ba27a8c0bfd5b9ce39947
|
||||
size 197024
|
10
maliit-framework.dsc
Normal file
10
maliit-framework.dsc
Normal file
@ -0,0 +1,10 @@
|
||||
Format: 1.0
|
||||
Source: maliit-framework
|
||||
Version: 0.80.5-0
|
||||
Binary: maliit-framework
|
||||
Maintainer: Jon Nordby <jonn@openismus.com>
|
||||
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
|
156
maliit-framework.spec
Normal file
156
maliit-framework.spec
Normal file
@ -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 <jonn@openismus.com> - 0.80.5-0
|
||||
- Rename to maliit-framework, update to 0.80.5
|
||||
|
||||
* Sat Jun 04 2011 Jan Arne Petersen <jpetersen@openismus.com> - 0.20.17-0
|
||||
- Update to 0.20.17
|
||||
- Update GConf processing for Fedora and OpenSuse
|
||||
|
||||
* Wed May 25 2011 Jan Arne Petersen <jpetersen@openismus.com> - 0.20.16-0
|
||||
- Update to 0.20.16
|
||||
|
||||
* Sat Apr 30 2011 Jan Arne Petersen <jpetersen@openismus.com> - 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 <jpetersen@openismus.com> - 0.20.7-0.1
|
||||
- Add *.prf file to -devel package
|
||||
|
||||
* Tue Apr 26 2011 Jan Arne Petersen <jpetersen@openismus.com> - 0.20.7-0
|
||||
- Initial packaging
|
Loading…
x
Reference in New Issue
Block a user