Re: cmake-3.19.2-1 and related packages

2021-03-27 Thread Lemures Lemniscati via Cygwin-apps
On Sun, 28 Mar 2021 07:02:00 +0900, Lemures Lemniscati
> On Sat, 27 Mar 2021 16:58:48 +0100, Marco Atzeri
> > I used your cygport as base for 3.20.0-1, plus an additional patch
> > https://sourceware.org/pipermail/cygwin-patches/2021q1/011303.html
> > 
> Thank you for fixing and updating.

Is it OK to make a merge-request with this patch [1] to the upstream [2] ?

[1]: 
https://gitlab.kitware.com/lemniscati/kwsys/-/commit/8909121f12a0ee7c448f698d80f15c3f1f370d71
[2]: https://gitlab.kitware.com/utils/kwsys

Regards,
Lem



Re: cmake-3.19.2-1 and related packages

2021-03-27 Thread Lemures Lemniscati via Cygwin-apps
On Sat, 27 Mar 2021 16:58:48 +0100, Marco Atzeri
> I used your cygport as base for 3.20.0-1, plus an additional patch
> https://sourceware.org/pipermail/cygwin-patches/2021q1/011303.html

I've found another confusion between _WIN32 and __CYGWIN__ in 3.20.0 [1].
[1]: 
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.20.0/Source/kwsys/SystemTools.cxx#L3930-3961

A patch attached will resolve it.

Regards,

Lem


3.20.0-kwsys-SystemTools.patch
Description: Binary data


Re: cmake-3.19.2-1 and related packages

2021-03-27 Thread Lemures Lemniscati via Cygwin-apps
On Sat, 27 Mar 2021 16:58:48 +0100, Marco Atzeri
> On 17.12.2020 22:30, Lemures Lemniscati via Cygwin-apps wrote:
> > A new candidate cmake.cygport has been uploaded (and is attached to this 
> > mail):
> >
> > https://github.com/cygwin-lem/cygwin-pkg/blob/cmake_3.19.2-1/cmake/cmake.cygport
> >  .

> I used your cygport as base for 3.20.0-1, plus an additional patch
> https://sourceware.org/pipermail/cygwin-patches/2021q1/011303.html
> 
> The BUILD_REQUIRES needs to be a a single line. "calm" does not like 
> multiline solution but cygport accepts it.
> 
> Thanks
> Marco

Thank you for fixing and updating.

Lem



[ANNOUNCEMENT] Updated: cmake-3.20.0-1

2021-03-27 Thread Marco Atzeri via Cygwin-announce via Cygwin

Version 3.20.0-1 of

  cmake
  cmake-doc
  cmake-gui
  emacs-cmake
  bash-completion-cmake
  vim-cmake

are available in the Cygwin distribution.

CHANGES
Latest upstream release

DESCRIPTION
CMake is an open-source, cross-platform family of tools
designed to build, test and package software


HOMEPAGE
http://www.cmake.org/

Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Updated: cmake-3.20.0-1

2021-03-27 Thread Marco Atzeri via Cygwin-announce

Version 3.20.0-1 of

  cmake
  cmake-doc
  cmake-gui
  emacs-cmake
  bash-completion-cmake
  vim-cmake

are available in the Cygwin distribution.

CHANGES
Latest upstream release

DESCRIPTION
CMake is an open-source, cross-platform family of tools
designed to build, test and package software


HOMEPAGE
http://www.cmake.org/

Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .



Re: cmake-3.19.2-1 and related packages

2021-03-27 Thread Marco Atzeri via Cygwin-apps

On 17.12.2020 22:30, Lemures Lemniscati via Cygwin-apps wrote:

Hi!

Marco and Tony,

CMake 3.19.2 has been released in the upstream.
   https://blog.kitware.com/cmake-3-19-2-available-for-download/


A new candidate cmake.cygport has been uploaded (and is attached to this mail):
   
https://github.com/cygwin-lem/cygwin-pkg/blob/cmake_3.19.2-1/cmake/cmake.cygport
 .

 Former patches have been merged into upstream 3.19.
 Use default src_install(), still cmake-mode.el will be properly installed.
 Add new packages: bash-completion-cmake and vim-cmake.

 Add BUILD_REQUIRES list, but it might be insufficient.

Generated packages except debuginfo files (300MB+) have been uploaded to
   https://app.box.com/s/8q5mpv4kv080jxsyc5tbongrerwfzbuz

Regards,
Lem



Hi Lem,

I used your cygport as base for 3.20.0-1, plus an additional patch
https://sourceware.org/pipermail/cygwin-patches/2021q1/011303.html

The BUILD_REQUIRES needs to be a a single line. "calm" does not like 
multiline solution but cygport accepts it.


Thanks
Marco



Re: Building the python swig tutorial

2021-03-27 Thread Marco Atzeri via Cygwin

On 27.03.2021 13:58, Brad Bell wrote:

I am trying to build the swig tutorial on cygwin
http://www.swig.org/tutorial.html 

I changed the version of python to python3.8 (the version on my cygwin 
system) and that solved the include file error.


have you installed the last swig package ?


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Building the python swig tutorial

2021-03-27 Thread Hans-Bernhard Bröker

Am 27.03.2021 um 13:58 schrieb Brad Bell:

It appeard that I need to add an non-standard location to a path so that 
the linker can find these files ?


Read those error messages again.  It's failing to find things _in_ any 
of those files, which means it did in fact find all files it was looking 
for just fine.


So no, this is almost certainly no issue with locations of files.  It's 
an issue of not telling the linker that it's supposed to be looking for 
certain libraries in the first place.


But it's virtually impossible to diagnose this sensibly, as you opted 
not to show any of the actual command(s) you used.


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] emacs 27.2-1

2021-03-27 Thread Ken Brown via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution:

* emacs-27.2-1
* emacs-common-27.2-1
* emacs-X11-27.2-1
* emacs-w32-27.2-1
* emacs-lucid-27.2-1

Emacs is a powerful, customizable, self-documenting, modeless text
editor.  Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news, and more
without leaving the editor.

This is an update to the latest upstream release.  It is a bugfix
release.  Browse the NEWS file ('C-h n' within emacs) for changes
since the last release.

CYGWIN NOTES


1. The emacs, emacs-w32, emacs-X11, and emacs-lucid packages each
   provide an emacs binary.  These are emacs-nox.exe, emacs-w32.exe,
   emacs-X11.exe, and emacs-lucid.exe, respectively, in order of
   increasing priority.  The postinstall scripts create a symlink
   /usr/bin/emacs that resolves to the highest-priority binary that
   you have installed.  Thus the command 'emacs' will start
   emacs-lucid.exe if you've installed the emacs-lucid package;
   otherwise, it will start emacs-X11.exe if you've installed
   emacs-X11; otherwise, it will start emacs-w32.exe if you've
   installed emacs-w32; otherwise, it will start emacs-nox.exe if
   you've installed emacs.  Similar remarks apply to emacsclient.

   You only need to install one of these four packages, but you can
   install more if you want.  If you have installed more than one and
   don't like the default resolution of /usr/bin/emacs, you can run
   one of the /usr/bin/set-emacs-default-*.sh scripts to change it.
   For example,

 /usr/bin/set-emacs-default-w32.sh

   will make /usr/bin/emacs resolve to /usr/bin/emacs-w32.exe,
   regardless of which packages you've installed.

2. The emacs-common package contains the files that are needed by all
   four of the binary packages mentioned above.  It also contains the
   elisp source files, which used to be in a separate (now obsolete)
   emacs-el package.

3. Install emacs-X11 if you want to use the X11 GUI with the GTK+
   toolkit.  (This is the default toolkit.)  You can then type
   'emacs&' in an xterm window, and emacs-X11.exe will start in a new
   window.  If you prefer the Lucid toolkit, install emacs-lucid
   instead.

4. Install emacs-w32 if you want to use the native Windows GUI instead
   of X11.

5. If you use the Emacs MH-E library for email, consider installing
   Cygwin's mailutils-mh package.  To use it, put the line

 (load "mailutils-mh")

   in your site-start.el or ~/.emacs file.

6. If you have sshd running and want to be able to run emacs-X11 from
   a remote machine, you need to enable X11 forwarding by adding the
   following line to /etc/sshd_config:

 X11Forwarding yes

   You might also need to have the cygserver service running.

7. The script /usr/bin/make-emacs-shortcut can be used to create a
   shortcut for starting emacs.  See
   /usr/share/doc/emacs/README.Cygwin for details.

Ken Brown
Cygwin's Emacs maintainer
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


emacs 27.2-1

2021-03-27 Thread Ken Brown via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution:

* emacs-27.2-1
* emacs-common-27.2-1
* emacs-X11-27.2-1
* emacs-w32-27.2-1
* emacs-lucid-27.2-1

Emacs is a powerful, customizable, self-documenting, modeless text
editor.  Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news, and more
without leaving the editor.

This is an update to the latest upstream release.  It is a bugfix
release.  Browse the NEWS file ('C-h n' within emacs) for changes
since the last release.

CYGWIN NOTES


1. The emacs, emacs-w32, emacs-X11, and emacs-lucid packages each
   provide an emacs binary.  These are emacs-nox.exe, emacs-w32.exe,
   emacs-X11.exe, and emacs-lucid.exe, respectively, in order of
   increasing priority.  The postinstall scripts create a symlink
   /usr/bin/emacs that resolves to the highest-priority binary that
   you have installed.  Thus the command 'emacs' will start
   emacs-lucid.exe if you've installed the emacs-lucid package;
   otherwise, it will start emacs-X11.exe if you've installed
   emacs-X11; otherwise, it will start emacs-w32.exe if you've
   installed emacs-w32; otherwise, it will start emacs-nox.exe if
   you've installed emacs.  Similar remarks apply to emacsclient.

   You only need to install one of these four packages, but you can
   install more if you want.  If you have installed more than one and
   don't like the default resolution of /usr/bin/emacs, you can run
   one of the /usr/bin/set-emacs-default-*.sh scripts to change it.
   For example,

 /usr/bin/set-emacs-default-w32.sh

   will make /usr/bin/emacs resolve to /usr/bin/emacs-w32.exe,
   regardless of which packages you've installed.

2. The emacs-common package contains the files that are needed by all
   four of the binary packages mentioned above.  It also contains the
   elisp source files, which used to be in a separate (now obsolete)
   emacs-el package.

3. Install emacs-X11 if you want to use the X11 GUI with the GTK+
   toolkit.  (This is the default toolkit.)  You can then type
   'emacs&' in an xterm window, and emacs-X11.exe will start in a new
   window.  If you prefer the Lucid toolkit, install emacs-lucid
   instead.

4. Install emacs-w32 if you want to use the native Windows GUI instead
   of X11.

5. If you use the Emacs MH-E library for email, consider installing
   Cygwin's mailutils-mh package.  To use it, put the line

 (load "mailutils-mh")

   in your site-start.el or ~/.emacs file.

6. If you have sshd running and want to be able to run emacs-X11 from
   a remote machine, you need to enable X11 forwarding by adding the
   following line to /etc/sshd_config:

 X11Forwarding yes

   You might also need to have the cygserver service running.

7. The script /usr/bin/make-emacs-shortcut can be used to create a
   shortcut for starting emacs.  See
   /usr/share/doc/emacs/README.Cygwin for details.

Ken Brown
Cygwin's Emacs maintainer


Building the python swig tutorial

2021-03-27 Thread Brad Bell

I am trying to build the swig tutorial on cygwin
http://www.swig.org/tutorial.html 

I changed the version of python to python3.8 (the version on my cygwin system) and that solved the 
include file error.


Now I am getting the following error during the ld command:

ld: example.o:example.c:(.text+0x54): undefined reference to `time'
example.o:example.c:(.text+0x54): relocation truncated to fit: R_X86_64_PC32 against undefined 
symbol `time'

ld: example.o:example.c:(.text+0x60): undefined reference to `ctime'
example.o:example.c:(.text+0x60): relocation truncated to fit: R_X86_64_PC32 against undefined 
symbol `ctime'


... snip ...

ld: example_wrap.o:example_wrap.c:(.rdata+0x750): undefined reference to 
`PyObject_GenericGetAttr'
ld: example_wrap.o:example_wrap.c:(.rdata+0x8f0): undefined reference to 
`PyObject_GenericGetAttr'
ld: 
example_wrap.o:example_wrap.c:(.rdata$.refptr.PyObject_GenericGetAttr[.refptr.PyObject_GenericGetAttr]+0x0): 
undefined reference to `PyObject_GenericGetAttr'



It appeard that I need to add an non-standard location to a path so that the linker can find these 
files ?


Does someone know where these files are on cygwin ?

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple