Re: Update of packages by non-maintainer

2020-06-02 Thread Yasuhiro KIMURA
From: Achim Gratz 
Subject: Re: Update of packages by non-maintainer
Date: Fri, 29 May 2020 11:59:01 +0200

>> In my case following line should be put as override.hint. Right?
>>
> --
>> curr: 0.4-1
>>
> --
> 
> You would probably also need a "replace-versions:" line.  I'd tend to
> use the "version:" line to override the upstream version number to
> something that sorts correctly with the previous version number in
> this case, though.  Something as simple as "deb+0.4" might already do
> that.

I put this override.hint to my overlay package server directory and
ran mksetupini. But it resulted in error that mksetupini don't know
"cur:". So I changed override.hint as following.

--
replace-versions: 9100h-2
--

Then again I put it to the direcotry and ran mksetupini. This time it
succeeded without any error. But when I run setup-x86_64, anthy
packages didn't appear in Pending view.

So I gave up to use override.hint and decided to change version number
to "9100h+0.4". It works fine with all of cygport, mksetupini and
setup-x86_64.

---
Yasuhiro KIMURA


Re: Help needed with gobject-introspection

2020-06-02 Thread Jon Turney

On 02/06/2020 15:31, Ken Brown via Cygwin-apps wrote:

On 6/2/2020 10:26 AM, Jon Turney wrote:

On 01/06/2020 12:30, Jon Turney wrote:

On 01/06/2020 00:58, Ken Brown via Cygwin-apps wrote:


Thanks!  That gets me much further in the glib build.  I still have 
a problem with the docs, but I have no reason to think it's a meson 
bug. When running 'ninja install' I get the following:


Building documentation for gio
ERROR: Error in gtkdoc helper script:

ERROR: ['/usr/bin/gtkdoc-scangobj', 
'--types=/home/kbrown/src/glib/cygbuild/docs/reference/gio/gio.types', 
'--module=gio', '--run=', 
'--cflags=-I/home/kbrown/src/glib/cygbuild/gio 
-I/home/kbrown/src/glib/gio -pthread 
-I/home/kbrown/src/glib/cygbuild/gmodule 
-I/home/kbrown/src/glib/gmodule -I/home/kbrown/src/glib/cygbuild/. 
-I/home/kbrown/src/glib/. -I/home/kbrown/src/glib/cygbuild/glib 
-I/home/kbrown/src/glib/glib 
-I/home/kbrown/src/glib/cygbuild/gobject 
-I/home/kbrown/src/glib/gobject -D_GNU_SOURCE -fno-strict-aliasing 
-DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough 
-Wmisleading-indentation -Wstrict-prototypes -Wunused 
-Wno-unused-parameter -Wno-bad-function-cast -Wno-cast-function-type 
-Wno-pedantic -Wno-format-zero-length 
-Werror=declaration-after-statement -Werror=format=2 
-Werror=implicit-function-declaration -Werror=init-self 
-Werror=missing-include-dirs -Werror=missing-prototypes 
-Werror=pointer-arith', 
'--ldflags=-L/home/kbrown/src/glib/cygbuild/gio 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gio 
-L/home/kbrown/src/glib/cygbuild/glib 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/glib 
-L/home/kbrown/src/glib/cygbuild/gobject 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gobject 
-L/home/kbrown/src/glib/cygbuild/gmodule 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gmodule -lgio-2.0 
-lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lz -pthread -lintl -lpcre 
-liconv -lffi', '--cc=cc', '--ld=cc', 
'--output-dir=/home/kbrown/src/glib/cygbuild/docs/reference/gio'] 
failed with status 127


I'll see what I can figure out, but as I said, it doesn't look to me 
like a meson issue.


This looks like the problem that my second patch was supposed to fix, 
so I guess I've messed up somewhere.


(gtkdoc-scangobj builds and runs a executable linked with the gio 
shared library.  meson needs to set PATH appropriately so that shared 
library can be loaded)




Hmmm.. I can't reproduce this.

Using my meson 0.54.2-2 package, I managed to build glib (from the 
2.64.3 tag in the glib repository) configured with -Dgtk_doc=true.


Did you run 'ninja install'?  The problem doesn't show up until you do 
that.


Sigh, yes, you're right.  It gets built during 'all', and succeeds, and 
then gets built again during 'install', in a slightly different way, 
which fails.





Re: Help needed with gobject-introspection

2020-06-02 Thread Ken Brown via Cygwin-apps

On 6/2/2020 10:26 AM, Jon Turney wrote:

On 01/06/2020 12:30, Jon Turney wrote:

On 01/06/2020 00:58, Ken Brown via Cygwin-apps wrote:


Thanks!  That gets me much further in the glib build.  I still have a problem 
with the docs, but I have no reason to think it's a meson bug. When running 
'ninja install' I get the following:


Building documentation for gio
ERROR: Error in gtkdoc helper script:

ERROR: ['/usr/bin/gtkdoc-scangobj', 
'--types=/home/kbrown/src/glib/cygbuild/docs/reference/gio/gio.types', 
'--module=gio', '--run=', '--cflags=-I/home/kbrown/src/glib/cygbuild/gio 
-I/home/kbrown/src/glib/gio -pthread -I/home/kbrown/src/glib/cygbuild/gmodule 
-I/home/kbrown/src/glib/gmodule -I/home/kbrown/src/glib/cygbuild/. 
-I/home/kbrown/src/glib/. -I/home/kbrown/src/glib/cygbuild/glib 
-I/home/kbrown/src/glib/glib -I/home/kbrown/src/glib/cygbuild/gobject 
-I/home/kbrown/src/glib/gobject -D_GNU_SOURCE -fno-strict-aliasing 
-DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough 
-Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-parameter 
-Wno-bad-function-cast -Wno-cast-function-type -Wno-pedantic 
-Wno-format-zero-length -Werror=declaration-after-statement -Werror=format=2 
-Werror=implicit-function-declaration -Werror=init-self 
-Werror=missing-include-dirs -Werror=missing-prototypes 
-Werror=pointer-arith', '--ldflags=-L/home/kbrown/src/glib/cygbuild/gio 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gio 
-L/home/kbrown/src/glib/cygbuild/glib 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/glib 
-L/home/kbrown/src/glib/cygbuild/gobject 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gobject 
-L/home/kbrown/src/glib/cygbuild/gmodule 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gmodule -lgio-2.0 -lgmodule-2.0 
-lglib-2.0 -lgobject-2.0 -lz -pthread -lintl -lpcre -liconv -lffi', 
'--cc=cc', '--ld=cc', 
'--output-dir=/home/kbrown/src/glib/cygbuild/docs/reference/gio'] failed with 
status 127


I'll see what I can figure out, but as I said, it doesn't look to me like a 
meson issue.


This looks like the problem that my second patch was supposed to fix, so I 
guess I've messed up somewhere.


(gtkdoc-scangobj builds and runs a executable linked with the gio shared 
library.  meson needs to set PATH appropriately so that shared library can be 
loaded)




Hmmm.. I can't reproduce this.

Using my meson 0.54.2-2 package, I managed to build glib (from the 2.64.3 tag in 
the glib repository) configured with -Dgtk_doc=true.


Did you run 'ninja install'?  The problem doesn't show up until you do that.

Ken


Re: Help needed with gobject-introspection

2020-06-02 Thread Jon Turney

On 01/06/2020 12:30, Jon Turney wrote:

On 01/06/2020 00:58, Ken Brown via Cygwin-apps wrote:


Thanks!  That gets me much further in the glib build.  I still have a 
problem with the docs, but I have no reason to think it's a meson bug. 
When running 'ninja install' I get the following:


Building documentation for gio
ERROR: Error in gtkdoc helper script:

ERROR: ['/usr/bin/gtkdoc-scangobj', 
'--types=/home/kbrown/src/glib/cygbuild/docs/reference/gio/gio.types', 
'--module=gio', '--run=', 
'--cflags=-I/home/kbrown/src/glib/cygbuild/gio 
-I/home/kbrown/src/glib/gio -pthread 
-I/home/kbrown/src/glib/cygbuild/gmodule 
-I/home/kbrown/src/glib/gmodule -I/home/kbrown/src/glib/cygbuild/. 
-I/home/kbrown/src/glib/. -I/home/kbrown/src/glib/cygbuild/glib 
-I/home/kbrown/src/glib/glib -I/home/kbrown/src/glib/cygbuild/gobject 
-I/home/kbrown/src/glib/gobject -D_GNU_SOURCE -fno-strict-aliasing 
-DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough 
-Wmisleading-indentation -Wstrict-prototypes -Wunused 
-Wno-unused-parameter -Wno-bad-function-cast -Wno-cast-function-type 
-Wno-pedantic -Wno-format-zero-length 
-Werror=declaration-after-statement -Werror=format=2 
-Werror=implicit-function-declaration -Werror=init-self 
-Werror=missing-include-dirs -Werror=missing-prototypes 
-Werror=pointer-arith', 
'--ldflags=-L/home/kbrown/src/glib/cygbuild/gio 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gio 
-L/home/kbrown/src/glib/cygbuild/glib 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/glib 
-L/home/kbrown/src/glib/cygbuild/gobject 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gobject 
-L/home/kbrown/src/glib/cygbuild/gmodule 
-Wl,-rpath,/home/kbrown/src/glib/cygbuild/gmodule -lgio-2.0 
-lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lz -pthread -lintl -lpcre 
-liconv -lffi', '--cc=cc', '--ld=cc', 
'--output-dir=/home/kbrown/src/glib/cygbuild/docs/reference/gio'] 
failed with status 127


I'll see what I can figure out, but as I said, it doesn't look to me 
like a meson issue.


This looks like the problem that my second patch was supposed to fix, so 
I guess I've messed up somewhere.


(gtkdoc-scangobj builds and runs a executable linked with the gio shared 
library.  meson needs to set PATH appropriately so that shared library 
can be loaded)




Hmmm.. I can't reproduce this.

Using my meson 0.54.2-2 package, I managed to build glib (from the 
2.64.3 tag in the glib repository) configured with -Dgtk_doc=true.