Hello Gustavo,

it sounds like you are using very old sources or source packages. Many
things have changed since then. As far as i remember the package with
the name "python" was removed and replaced by "python2" and "python3"
during the python3 transition.

When you really are interested in compiling the old sources then the
dependency "python" of the package should be changed to "python2"
because the old sources contain scripts for python version 2.

But i strongly recommend to use the newest available version of the core
package available at www.sourceforge.net. During 2021 I modyfied all
python scripts to use python3 and a lot of Bugfixing was done to the c
sourcecode as well.

The drawback is, that currently no build system for debian packages
exists in the repository. This is up to you...

To build the binary files, you can use something like this in a bash script:

#####
TMP_DIR="$(mktemp -d "/tmp/$(basename "$0")_XXXXXX")" || exit 1
SYNCE_CORE_PATH="${TMP_DIR}/synce-core"

# Download sources from SourceForge
svn export "https://svn.code.sf.net/p/synce/code/trunk/core";
"${SYNCE_CORE_PATH}" || exit 1
cd "${SYNCE_CORE_PATH}" || exit 1

# Build sourcecode with non-root user
export PATH="$PATH:/sbin"
export CFLAGS="-O2"
./autogen.sh --prefix=/usr --localstatedir=/var || exit 1
make clean || exit 1
make || exit 1
echo "build successful"
#####

The following debian packages (bullseye) should be installed to compile
the sources:
libglib2.0-dev libdbus-1-dev libgudev-1.0-dev autoconf automake libtool
make g++


Hope this helps.


Cheers, Arndt



Am 03.11.22 um 22:16 schrieb Gustavo:

Good afternoon guys

My name is Gustavo, I am working with the Synce PPA sources to make a
DEB version for the current Debian stable */"Bullseye"/*. I am not a
developer, my specialty is system administration. In the past I've been
encouraged to make minor changes to Synce's Python source to adapt it to
my needs (in Ubuntu 8.04 Hardy). Today, making an updated version for
Debian is a major challenge for me. I am focused on five packages:
/*libmimedir*/, */librra/*, */librtfcomp /*libraries along with
*/synce-core/* and */synce-sync-engine/*.

For this purpose, I am using this post as a guide:
https://www.linuxquestions.org/questions/linux-software-2/connection-linux-pda-windowsce-4175560071/#post5465293
 
<https://www.linuxquestions.org/questions/linux-software-2/connection-linux-pda-windowsce-4175560071/#post5465293>
I prepared the build system with pbuilder, and the result was something
strange, unexpected.
At the end of the operation, the output indicates that there are
unsatisfied dependencies, but these packages are installed in the same
or higher version

$ sudo /usr/sbin/pbuilder build
synce-sync-engine_0.16-0.1~0debian0~bullseye1.dsc
(...)
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 5)
python-setuptools python (>= 2.6.6-3)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
aborting

But, APT says otherwise...

# apt show debhelper
Package: debhelper
Version: 13.3.4

# apt show python-setuptools
Package: python-setuptools
Version: 44.1.1-1

# apt show python
Package: python
State: not a real (virtual) package
N: Cannot select the candidate version of the python package since it
has no candidates
N: Different versions of the "python" package cannot be selected because
it is purely virtual
N: No package found

$ sudo /usr/sbin/pbuilder build synce-core_0.17-0.1~0debian0~bullseye1.dsc
(...)
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 5)
libglib2.0-dev (>= 2.26.0) python (>> 2.6.6) python-all-dev (>> 2.6.6)
python-pyrex (>= 0.9.6) quilt ppp libgudev-1.0-dev udev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
aborting

But...

# apt show debhelper
Package: debhelper
Version: 13.3.4

# apt show libglib2.0-dev
Package: libglib2.0-dev
Version: 2.66.8-1

# apt show python
Package: python
State: not a real (virtual) package
N: Cannot select the candidate version of the python package since it
has no candidates
N: Different versions of the "python" package cannot be selected because
it is purely virtual
N: No package found

# apt show python-all-dev
Package: python-all-dev
Version: 2.7.18-3

# apt show python-pyrex (NOT in Bullseye, download from Debian Buster
repository)
Package: python-pyrex
Version: 0.9.9-1

# apt show quilt
Package: quilt
Version: 0.66-2.1

# apt show ppp
Package: ppp
Version: 2.4.9-1+1

# apt show libgudev-1.0-dev
Package: libgudev-1.0-dev
Version: 234-1

# apt show udev
Package: udev
Version: 247.3-7+deb11u1

Taking a look at the version of Python installed...

# apt list --installed | grep ^python | grep stable | cut -d "/" -f 1
python-all-dev
python-all
python-apt-common
python-dev-is-python2
python-is-python2
python-pkg-resources
python-setuptools
python2-dev
python2-minimal
python2.7-dev
python2.7-minimal
python2.7
python2
python3-apt
python3-brlapi
python3-cairo
python3-certifi
python3-chardet
python3-cups
python3-cupshelpers
python3-dbus
python3-debian
python3-distro-info
python3-distro
python3-distutils
python3-gi-cairo
python3-gi
python3-gpg
python3-ibus-1.0
python3-idna
python3-ldb
python3-lib2to3
python3-libvoikko
python3-louis
python3-magic
python3-mako
python3-markupsafe
python3-minimal
python3-numpy
python3-pkg-resources
python3-pyatspi
python3-pycurl
python3-pyside2.qtcore
python3-pyside2.qtgui
python3-pyside2.qtwidgets
python3-requests
python3-six
python3-smbc
python3-software-properties
python3-speechd
python3-talloc
python3-unidiff
python3-uno
python3-urllib3
python3-xdg
python3.9-minimal
python3.9
python3

/*Any help will be very welcome!!!*/
/*
*/
Best regards to all


_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel


_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to