Compare commits

...

9 Commits

Author SHA1 Message Date
c9dac30378 debian files 2025-10-18 00:29:07 +08:00
c65cba538d debian files 2025-10-17 23:52:27 +08:00
4cdf674699 debian files 2025-10-17 23:05:13 +08:00
Simo Piiroinen
5af012a1ac Bump mce-dev version to 1.29.0
Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2021-10-25 18:12:57 +03:00
Simo Piiroinen
11e0cb820a Merge pull request #1 from spiiroin/jb55731_mouse_availability
[mce] Add mouse availability state D-Bus constants. JB#55866
2021-10-25 18:08:17 +03:00
Simo Piiroinen
c537983848 [mce] Add mouse availability state D-Bus constants. JB#55866
Constants related to exposing mouse availablity state on D-Bus.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
2021-10-13 15:39:26 +03:00
Simo Piiroinen
9d2cb2a039 Bump mce-dev version to 1.28.3
[mce-dev] Set rpm build arch to noarch. JB#49548

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
2020-09-01 11:45:32 +03:00
spiiroin
0ffea0bfce Merge branch 'noarch' into 'master'
Set rpm build arch to noarch

See merge request mer-core/mce-dev!15
2020-09-01 08:41:52 +00:00
Rinigus
3a14b1da00 [mce-dev] Set rpm build arch to noarch
Signed-off-by: Rinigus <rinigus.git@gmail.com>
2020-08-31 18:16:06 +03:00
11 changed files with 116 additions and 68 deletions

10
debian/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,10 @@
@Library('ubports-build-tools') _
buildAndProvideDebianPackage()
// Or if the package consists entirely of arch-independent packages:
// (optional optimization, will confuse BlueOcean's live view at build stage)
// buildAndProvideDebianPackage(/* isArchIndependent */ true)
// Optionally, to skip building on some architectures (amd64 is always built):
// buildAndProvideDebianPackage(false, /* ignoredArchs */ ['arm64'])

21
debian/changelog vendored
View File

@@ -1,3 +1,24 @@
mce-dev (1.29.0-1ubports1) focal; urgency=medium
* Port to focal
* Update to dh version 12
* Remove obsolete files
* Install architecture independent mce.pc in /usr/share/pkgconfig
-- Guido Berhoerster <guido+gitlab.com@berhoerster.name> Thu, 09 Dec 2021 11:20:24 +0100
mce-dev (1.29.0) unstable; urgency=low
* [mce] Add mouse availability state D-Bus constants. JB#55866
-- Simo Piiroinen <simo.piiroinen@jolla.com> Mon, 25 Oct 2021 18:09:15 +0300
mce-dev (1.28.3) unstable; urgency=low
* [mce-dev] Set rpm build arch to noarch
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 01 Sep 2020 11:42:42 +0300
mce-dev (1.28.2) unstable; urgency=low mce-dev (1.28.2) unstable; urgency=low
* [aarch64] Specify pcdir with use of libdir. Contributes to JB#49681 * [aarch64] Specify pcdir with use of libdir. Contributes to JB#49681

1
debian/compat vendored
View File

@@ -1 +0,0 @@
5

5
debian/control vendored
View File

@@ -1,9 +1,8 @@
Source: mce-dev Source: mce-dev
Section: devel Section: devel
Priority: optional Priority: optional
Maintainer: Santtu Lakkala <ext-santtu.1.lakkala@nokia.com> Maintainer: UBports developers <devs@ubports.com>
Uploaders: Tuomo Tanskanen <ext-tuomo.1.tanskanen@nokia.com>, Jukka Turunen <ext-jukka.t.turunen@nokia.com> Build-Depends: debhelper-compat (= 12)
Build-Depends: debhelper (>= 5.0.0)
Build-Depends-Indep: doxygen Build-Depends-Indep: doxygen
Standards-Version: 3.7.3 Standards-Version: 3.7.3

View File

@@ -1,2 +1,2 @@
debian/tmp/usr/lib/pkgconfig/* mce.pc usr/share/pkgconfig/
debian/tmp/usr/include/mce/* usr/include/mce/*

73
debian/rules vendored
View File

@@ -1,64 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# debian/rules for mce-dev using debhelper. # You must remove unused comment lines for the released package.
# Copyright © 2004-2009 Nokia Corporation. All rights reserved. #export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Uncomment this to turn on verbose mode. override_dh_auto_build:
#export DH_VERBOSE=1 dh_auto_build -- doc
# This has to be exported to make some magic below work. override_dh_auto_install:
export DH_OPTIONS dh_auto_install
# mce.pc is installed manually in usr/share/pkgconfig
rm -rf debian/tmp/usr/lib/pkgconfig
pkgdir = $(CURDIR)/debian/tmp %:
dh $@
pcfileversion := $$(grep -m1 '^Version' mce.pc | sed -e 's/Version: *//')
changelogversion := $$(grep -m1 'mce-dev (' debian/changelog | sed -e 's/mce-dev (\(.*\)).*/\1/;s/\(^'$(pcfileversion)'\).*/\1/')
.PHONY: clean
clean:
dh_testdir
dh_testroot
$(MAKE) distclean
dh_clean
.PHONY: check
check:
@if [ x"$(pcfileversion)" != x"$(changelogversion)" ]; then \
printf "error: version-number mismatch\n"; \
printf "changelog version: $(changelogversion)\n"; \
printf ".pc-file version: $(pcfileversion)\n"; \
exit 1; \
fi
.PHONY: build
build: check
dh_testdir
$(MAKE) doc
.PHONY: install
install:
$(MAKE) install DESTDIR="$(pkgdir)"
.PHONY: binary-indep
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_install -i
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
.PHONY: binary-arch
binary-arch: build install
# nothing to see here, move along
.PHONY: binary
binary: binary-indep binary-arch

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (native)

View File

@@ -1153,6 +1153,44 @@
/*@}*/ /*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Hardware Mouse Availability
*
*@{
*/
/** Query HW mouse availability
*
* @since mce 1.109.0
*
* Mouse present
*
* Used for example in evaluating whether mouse pointer
* should be shown or not.
*
* @return string: availability state, one of:
* - #MCE_HARDWARE_MOUSE_UNDEF
* - #MCE_HARDWARE_MOUSE_AVAILABLE
* - #MCE_HARDWARE_MOUSE_NOT_AVAILABLE
*/
# define MCE_HARDWARE_MOUSE_STATE_GET "mouse_available_state_req"
/** Notify changes in HW mouse availability
*
* @since mce 1.109.0
*
* Mouse present
*
* @return string: availability state, one of:
* - #MCE_HARDWARE_MOUSE_UNDEF
* - #MCE_HARDWARE_MOUSE_AVAILABLE
* - #MCE_HARDWARE_MOUSE_NOT_AVAILABLE
*/
# define MCE_HARDWARE_MOUSE_STATE_SIG "mouse_available_state_ind"
/*@}*/
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** @name Sliding Keyboard State /** @name Sliding Keyboard State

View File

@@ -634,6 +634,32 @@
# define MCE_HARDWARE_KEYBOARD_NOT_AVAILABLE "not-available" # define MCE_HARDWARE_KEYBOARD_NOT_AVAILABLE "not-available"
/*@}*/ /*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Hardware Mouse Availability Constants
*
*@{
*/
/** Hardware Mouse availability is not known
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_UNDEF "undef"
/** Hardware Mouse is available
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_AVAILABLE "available"
/** Hardware Mouse is not available
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_NOT_AVAILABLE "not-available"
/*@}*/
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** @name Feedback Event Name Constants /** @name Feedback Event Name Constants

2
mce.pc
View File

@@ -3,7 +3,7 @@ includedir=${prefix}/include
Name: mce Name: mce
Description: Mode Control Entity Description: Mode Control Entity
Version: 1.28.2 Version: 1.29.0
Requires: Requires:
Libs: Libs:
Cflags: -I${includedir} Cflags: -I${includedir}

View File

@@ -1,11 +1,12 @@
Name: mce-headers Name: mce-headers
Summary: Development files for mce Summary: Development files for mce
Version: 1.28.2 Version: 1.29.0
Release: 1 Release: 1
Group: Development/Libraries Group: Development/Libraries
License: LGPLv2 License: LGPLv2
URL: https://git.sailfishos.org/mer-core/mce-dev URL: https://git.sailfishos.org/mer-core/mce-dev
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: doxygen BuildRequires: doxygen
%description %description