manually merged with ARM version

This commit is contained in:
2025-11-13 17:43:55 +03:00
parent 77005d7863
commit b7ba42765b
463 changed files with 119514 additions and 45 deletions

View File

@ -0,0 +1,5 @@
x502api (1.1.34) stable; urgency=low
* Initial Release.
-- Borisov Alexey <borisov@lcard.ru> Sat, 31 Mar 2012 12:25:54 +0400

View File

@ -0,0 +1,5 @@
@PACKAGE_NAME@ (@PACKAGE_VERSION@) stable; urgency=low
* Initial Release.
-- Borisov Alexey <borisov@lcard.ru> Sat, 31 Mar 2012 12:25:54 +0400

View File

@ -0,0 +1 @@
8

View File

@ -0,0 +1,54 @@
Source: x502api
Priority: optional
Maintainer: Borisov Alexey <borisov@lcard.ru>
Build-Depends: debhelper (>= 8.0.0), cmake, libusb-1.0-0-dev, libavahi-common-dev, libavahi-client-dev
Standards-Version: 3.9.3
Section: libs
Homepage: "http://www.lcard.ru"
Replaces: l502api
Package: libx502api1-dev
Section: libdevel
Architecture: any
Depends: libx502api1 (= ${binary:Version}),
libe502api1 (= ${binary:Version}),
libl502api1 (= ${binary:Version}),
${misc:Depends}
Replaces: libl502api1-dev
Description:Library for control L-Card L502/E502 devices
Library that allow you control L-Card L502 and E502 data acquisition devices.
.
This package contains the development files.
.
You need these files if you writing your own software. Non-developers likely
have little use for this package.
Package: libx502api1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description:Library with general function for L-Card L502/E502 devices
Library that allow you control L-Card L502 and E502 data acquisition devices.
.
This package contains the shared object files.
Package: libe502api1
Section: libs
Architecture: any
Suggests: avahi-daemon
Depends: ${shlibs:Depends}, ${misc:Depends}, udev
Description:Library for control L-Card E502 device
Library that allow you control L-Card E502 data acquisition devices.
.
This package contains the shared object files.
Package: libl502api1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description:Library for control L-Card L502 device
Library that allow you control L-Card L502 data acquisition devices.
.
This package contains the shared object files.

View File

@ -0,0 +1,54 @@
Source: @PACKAGE_NAME@
Priority: optional
Maintainer: Borisov Alexey <borisov@lcard.ru>
Build-Depends: debhelper (>= 8.0.0), cmake, libusb-1.0-0-dev, libavahi-common-dev, libavahi-client-dev
Standards-Version: 3.9.3
Section: libs
Homepage: "http://www.lcard.ru"
Replaces: l502api
Package: libx502api1-dev
Section: libdevel
Architecture: any
Depends: libx502api1 (= ${binary:Version}),
libe502api1 (= ${binary:Version}),
libl502api1 (= ${binary:Version}),
${misc:Depends}
Replaces: libl502api1-dev
Description:Library for control L-Card L502/E502 devices
Library that allow you control L-Card L502 and E502 data acquisition devices.
.
This package contains the development files.
.
You need these files if you writing your own software. Non-developers likely
have little use for this package.
Package: libx502api1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description:Library with general function for L-Card L502/E502 devices
Library that allow you control L-Card L502 and E502 data acquisition devices.
.
This package contains the shared object files.
Package: libe502api1
Section: libs
Architecture: any
Suggests: avahi-daemon
Depends: ${shlibs:Depends}, ${misc:Depends}, udev
Description:Library for control L-Card E502 device
Library that allow you control L-Card E502 data acquisition devices.
.
This package contains the shared object files.
Package: libl502api1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description:Library for control L-Card L502 device
Library that allow you control L-Card L502 data acquisition devices.
.
This package contains the shared object files.

View File

@ -0,0 +1,25 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: x502api
Source: <https://bitbucket.org/lcard/ltrapi>
Files: *
Copyright: 2025 L-Card <lcard@lcard.ru>
License: LGPL-3.0+
License: LGPL-3.0+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".

View File

@ -0,0 +1,25 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: @PACKAGE_NAME@
Source: <https://bitbucket.org/lcard/ltrapi>
Files: *
Copyright: @PACKAGE_BUILD_YEAR@ L-Card <lcard@lcard.ru>
License: LGPL-3.0+
License: LGPL-3.0+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".

View File

@ -0,0 +1,2 @@
usr/lib
lib/udev/rules.d

View File

@ -0,0 +1,3 @@
usr/lib/libe502api.so.*
lib/udev/rules.d/e502.rules
lib/udev/rules.d/e16.rules

View File

@ -0,0 +1,35 @@
#!/bin/sh
# postinst script for ldaemon
#set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
# обновляем правила udev, чтобы разрешить доступ к крейтам по USB
if [ -x /sbin/udevadm ]; then
/sbin/udevadm control --reload-rules
/sbin/udevadm trigger --subsystem-match=usb --attr-match=idVendor=2a52 --attr-match=idProduct=e502
/sbin/udevadm trigger --subsystem-match=usb --attr-match=idVendor=2a52 --attr-match=idProduct=0e16
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

View File

@ -0,0 +1 @@
usr/lib

View File

@ -0,0 +1 @@
usr/lib/libl502api.so.*

View File

@ -0,0 +1,2 @@
usr/lib
usr/include

View File

@ -0,0 +1,2 @@
usr/include/*
usr/lib/lib*.so

View File

@ -0,0 +1 @@
usr/lib

View File

@ -0,0 +1 @@
usr/lib/libx502api.so.*

16
x502api-1.1.34/debian/rules Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DUDEV_RULES_DIR=/lib/udev/rules.d -DCMAKE_BUILD_TYPE=Release

View File

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