[PATCH setup 10/10] Reserve paths starting "." for package metadata

2016-08-02 Thread Jon Turney
Reserve pathnames starting "." (i.e. dotfiles in the root directory) for package metadata, so don't extract them. There are no current uses of these pathnames --- install.cc | 9 + 1 file changed, 9 insertions(+) diff --git a/install.cc b/install.cc index f54acdc..8aad3a5 100644 ---

[PATCH setup 09/10] Add an additional filter view, showing packages which were user picked

2016-08-02 Thread Jon Turney
Add an additional filter view, showing installed packages which were selected for installation by the user, not installed as dependencies. Future work: Why is PickView::views is not an enum? The view button would make more sense as a pop-up menu, allowing a specific filter view to be directly

[PATCH setup 04/10] Downgrade "Running preremove script" logging to debug

2016-08-02 Thread Jon Turney
This is emitted for every package, regardless of it has any scripts or not. Actual script execution is logged separately. Also a cosmetic fix to remove a doubled space. --- install.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.cc b/install.cc index

[PATCH setup 05/10] Properly report progress in PrereqChecker::isMet

2016-08-02 Thread Jon Turney
Properly report progress in PrereqChecker::isMet after additional dependency work is found. --- prereq.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/prereq.cc b/prereq.cc index bdc609e..a5083ed 100644 --- a/prereq.cc +++ b/prereq.cc @@ -238,6 +238,7 @@ PrereqChecker::isMet ()

[PATCH setup 06/10] Remove obsolete installed_from member from packagemeta

2016-08-02 Thread Jon Turney
This just stores a made-up tarfile name read from installed.db, and is never used. --- package_db.cc | 2 +- package_meta.cc | 2 +- package_meta.h | 11 ++- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/package_db.cc b/package_db.cc index 73dfbf6..87da922 100644

[PATCH setup 03/10] Add lex and yacc generated files to .gitignore

2016-08-02 Thread Jon Turney
--- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 2186aac..8b81166 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ make.out CVS tags autoconf.h.in* +inilex.cc +iniparse.cc +iniparse.hh -- 2.8.3

Re: [PATCH setup] (Usability improvement) Implement half-second wait for user to finish typing before searching packages

2016-08-02 Thread Jon Turney
On 02/08/2016 04:17, Ronald Ramos wrote: @@ -397,10 +396,10 @@ ChooserPage::OnMessageCmd (int id, HWND hwndctl, UINT code) { case IDC_CHOOSE_CLEAR_SEARCH: { -std::string value; -eset (GetHWND (), IDC_CHOOSE_SEARCH_EDIT, value); -chooser->SetPackageFilter (value); -

Re: Fwd: calm: cygwin package upload report from sourceware.org for Marco Atzeri

2016-07-30 Thread Jon Turney
On 30/07/2016 14:15, Marco Atzeri wrote: On 30/07/2016 13:47, Jon Turney wrote: But that's not usually appropriate for an old soversion of a shared library (even though it has no users left in the distro, there may be 3rd party packages or local builds which depend on the old soversion), so

Re: Fwd: calm: cygwin package upload report from sourceware.org for Marco Atzeri

2016-07-30 Thread Jon Turney
On 30/07/2016 05:45, Marco Atzeri wrote: I have some problem to remove the obsolete versions The usual trick before was to remove all x86/release/ImageMagick/-ImageMagick-6.9.0.0-4-src.tar.xz x86/release/ImageMagick/libMagickC++6_5/-libMagickC++6_5-6.9.0.0-4.tar.xz

Re: calm (mksetupini): Allow a missing curr version

2016-07-18 Thread Jon Turney
On 16/07/2016 17:48, Ken Brown wrote: If a package has no curr version, mksetupini will emit a warning and later fail, as in the following example[*]: mksetupini.py: package 'perl' doesn't have a curr version [...] The first of the two attached patches prevents the failure. The second

Re: [ITP] calm - cygwin package server tools

2016-07-18 Thread Jon Turney
On 18/07/2016 09:20, Corinna Vinschen wrote: On Jul 16 10:27, Ken Brown wrote: On 7/5/2016 9:18 AM, Ken Brown wrote: On 7/5/2016 8:28 AM, Jon Turney wrote: [..] Thanks for testing. Since dirq was only required by some experimental code, I've just removed that instead. Looks good. I

Re: [PATCH setup] Report dependencies which don't exist

2016-07-07 Thread Jon Turney
On 07/07/2016 15:59, Corinna Vinschen wrote: On Jul 7 14:46, Jon Turney wrote: At the moment, dependencies which can't be found are silently ignored. Instead, record and report these dependency problems. Nice idea. One question, though. Apart from getting a report which won't be read, what

[PATCH setup] Report dependencies which don't exist

2016-07-07 Thread Jon Turney
At the moment, dependencies which can't be found are silently ignored. Instead, record and report these dependency problems. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- prereq.cc | 54 -- prereq.h | 1 + 2 files chang

Re: [ITP] calm - cygwin package server tools

2016-07-05 Thread Jon Turney
On 01/07/2016 17:25, Ken Brown wrote: On 7/1/2016 9:04 AM, Jon Turney wrote: This package contains: * calm - a script which runs on sourceware * mksetupini - generates a setup.ini file from the setup.hint files for the packages in the release area, similar to genini * python3 modules

[ITP] calm - cygwin package server tools

2016-07-01 Thread Jon Turney
other tools for working with a Cygwin package server (although there's no guarantee of interface stability at the moment) cygport file: https://github.com/jon-turney/calm-cygport/blob/HEAD/calm.cygport package files: http://www.dronecode.org.uk/cygwin/noarch/release/calm/ You may find "wg

[PATCH cygport] Use compressed empty archives for empty packages

2016-06-26 Thread Jon Turney
Using a compressed empty file instead of a compressed archive means these files need to be treated specially throughout the entire package pipeline. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- lib/pkg_pkg.cygpart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: per-version hints proposal

2016-06-21 Thread Jon Turney
On 21/06/2016 13:03, Corinna Vinschen wrote: On Jun 20 16:28, Jon Turney wrote: [...] * 'curr', 'prev' and 'test' don't make sense on a per-version basis. So I suggest a separate file for these version overrides (versions.hint?) Ideally we wouldn't need something like "prev" at

per-version hints proposal

2016-06-20 Thread Jon Turney
Currently, the setup.hint file is shared between all versions. This means that manual intervention (by the package maintainer, or on sourceware) is needed when versions have different dependencies. To automate this problem out of existence, I suggest replacing the setup.hint file in an

Re: [Updated/New] Perl distributions

2016-06-20 Thread Jon Turney
On 14/06/2016 06:38, Achim Gratz wrote: Jon Turney writes: Crazily, this isn't validated before we move the uploaded file, which I shall look at changing :S Well, let's upload a complete install hierarchy with setup.ini and this can't happen because the checksums would have to match. I'm

Re: [Updated/New] Perl distributions

2016-06-13 Thread Jon Turney
On 13/06/2016 18:08, Achim Gratz wrote: The following Perl distributions have been updated to their latest version available from CPAN: perl-Business-ISBN-2.011-1 perl-Capture-Tiny-0.42-1 perl-ExtUtils-F77-1.20-1 perl-Module-Signature-0.80-1 perl-Mojolicious-6.64-1 perl-Readonly-2.05-1

Re: calm: Problem uploading to noarch/release/PACKAGE

2016-06-11 Thread Jon Turney
On 11/06/2016 20:57, Jari Aalto wrote: After uploading to noarch/release area, calm returned: ERROR: package 'checkbashisms' is at paths x86/release/checkbashisms and noarch/release/checkbashisms I emptied and removed ARCH directories first before uploading to noarch. Is Anything else

Re: pal - UNORPHAN (was orphaned)

2016-06-11 Thread Jon Turney
On 11/06/2016 13:13, Jari Aalto wrote: While I was going through the packages, I built a new release for "pal". While anyone interested is free to take over, I can maintain the package until then. I'm not sure if it's the best way to deal with this situation, but I applied a tweak to calm

Re: clock - re-add to distribution (Perl modules now available)

2016-06-11 Thread Jon Turney
On 11/06/2016 21:06, Jari Aalto wrote: cloc (count lines of code) was removed because the needed Perl modules were not yet in Cygwin. 1.55 UPDATED https://cygwin.com/ml/cygwin-announce/2012-02/msg00047.html 1.55 RM https://cygwin.com/ml/cygwin-announce/2012-02/msg00060.html

Re: [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0

2016-06-10 Thread Jon Turney
On 06/06/2016 23:23, Yaakov Selkowitz wrote: Jon Turney buildbot-slave Jon Turney cygwin-x-doc Jon Turney khronos-opengl-registry These are all noarch. > Jon Turney cygwin-doc This could be noarched at the mom

Re: fish curr and prev are reversed

2016-05-31 Thread Jon Turney
On 31/05/2016 10:54, Corinna Vinschen wrote: On May 31 04:32, Andrew Schulman wrote: RIght now for fish, version 2.3b1-1 is current and 2.3.0-1 is prev. This is the opposite of what I intended. I expected 2.3b1 to sort before 2.3.0. AFAIK the last setup.hint that I uploaded didn't include

Re: fish curr and prev are reversed

2016-05-31 Thread Jon Turney
to be what calm decided to do. Can someone please fix it? The sort order is now documented at [1] See also the discussion at https://cygwin.com/ml/cygwin-apps/2015-10/msg3.html [1] https://cygwin.com/setup.html#naming -- Jon TURNEY Volunteer Cygwin/X X Server maintainer

Re: [ITP] Perl Distributions

2016-05-28 Thread Jon Turney
On 28/05/2016 16:19, Achim Gratz wrote: Please add these two new distributions to my list of packages: perl-Lingua-Translit perl-List-SomeUtils Done.

Re: [RFC] splitting documentation

2016-05-23 Thread Jon Turney
On 20/05/2016 16:10, Marco Atzeri wrote: moving back to apps. Sorry about that. I'll get the hang of this email thing eventually. The packages with no source package are currently R_autorebase Marco Atzeri base-cygwin Corinna Vinschen chere Dave Kilroy

Re: Building from source packages

2016-05-23 Thread Jon Turney
On 13/05/2016 20:44, Andrew Schulman wrote: * a few packages mistakenly use DEPENDS A few packages mistakenly use DEPENDS rather than DEPEND, which is silently ignored I'm surprised none of them are mine. It confuses me every time that I have to use REQUIRES, but DEPEND instead of DEPENDS. I

Re: [PATCH] Do not clear the prev, curr and exp fields of packagemeta. Never.

2016-05-23 Thread Jon Turney
On 04/05/2016 13:38, Houder wrote: Please, submit this patch. Thanks for the patch. This patch rectifies - packagemeta::ScanDownloadedFiles (package_meta.cc), and - packagemeta::trustp (package_meta.h) Clarification: Class packagemeta has "fields" prev, curr, exp and installed, which in

Building from source packages

2016-05-13 Thread Jon Turney
Recently I've done a little prototyping of a system to build from uploaded source packages in a VM, to verify that they recreate packages with the same contents as the uploaded packages. Issues I noted were: * build time dependencies aren't recorded Out of the 3135 cygported packages for

Re: [PATCH calm] past_mistakes: remove dialog, ncurses, xfs

2016-05-12 Thread Jon Turney
On 11/05/2016 21:00, Yaakov Selkowitz wrote: The versions containing hyphens are no longer present. Applied, thanks. Of course, some people might consider deleting those versions to be cheating :)

Re: Dedup x86/x86_64 --> noarch

2016-05-11 Thread Jon Turney
On 10/05/2016 07:20, Andrew Schulman wrote: If this is what's happened, we need to update https://cygwin.com/setup.html with the new information (the page is overdue for an overhaul anyway). I agree that page is very bad at communicating the information it needs to communicate. Perhaps it

Re: Dedup x86/x86_64 --> noarch

2016-05-09 Thread Jon Turney
On 23/04/2016 16:43, Achim Gratz wrote: Corinna Vinschen writes: The src packages would ideally be in a src subdir, parallel to the noarch and $arch dirs. Hmm, I'm not sure I'd like that. The src packages are not generally arch-less. There are several examples where either the cygport

Re: Dedup x86/x86_64 --> noarch

2016-05-09 Thread Jon Turney
On 23/04/2016 15:19, Achim Gratz wrote: Jon Turney writes: I think I have implemented the changes to calm to support all-or-nothing noarch (i.e. where all packages produced from a source package must be noarch), so if you can nominate a suitable, unimportant perl package, we can test

Re: Dedup x86/x86_64 --> noarch

2016-04-23 Thread Jon Turney
On 16/04/2016 11:03, Achim Gratz wrote: After a discussion on IRC about de-duping the noarch content out of package files (where I was told this would be too difficult), I've just I think it was more along the lines of 'not yet' :) In any case, we need noarch support in calm, before it's

[ITP] msitools, gcab

2016-04-12 Thread Jon Turney
This packages msitools, tools for building and examining .msi installer packages, and it's prerequisite gcab. These can be used, for example, to build .msi packages containing cross-built MinGW-w64 applications. This is in Fedora and Debian. cygport files: https://github.com/jon-turney

[PATCH] cygport: propagate exit status

2016-04-06 Thread Jon Turney
$PIPESTATUS to propagate the much more interesting exit status of the command who's output is tee'd. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- bin/cygport.in | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/bin/cygport.in b/bin/cygport.in

Re: upload failed - "calm messages"??

2016-04-03 Thread Jon Turney
On 03/04/2016 23:15, Thomas Wolff wrote: I have uploaded mintty 2.3.4, using the same upload script as before, but received a mail from cygwin-no-reply-rdbxbdvo6bxqt0dzr+a...@public.gmane.org titled "calm messages for Thomas Wolff [...]" telling me "no setup.hint in

Re: setup.hint documentation issues

2016-03-29 Thread Jon Turney
On 17/02/2016 14:23, Jon Turney wrote: On 09/02/2016 17:10, Corinna Vinschen wrote: On Feb 9 13:18, Jon Turney wrote: * 'sdesc' text is mangled in setup.ini (but not the HTML package list) In particular, it is forced to start with a capital letter (which is incorrect when the sdesc starts

Re: Keep calm

2016-03-29 Thread Jon Turney
On 16/03/2016 18:29, Jon Turney wrote: On 16/03/2016 06:43, Achim Gratz wrote: Jon Turney writes: I've disabled upset (the perl script on sourceware.org, which performs the task of composing setup.ini from setup.hints and moving uploads), and enabled calm (a re-write from scratch to perform

Re: [HEADSUP] orphaned packages soon to be removed

2016-03-21 Thread Jon Turney
On 17/03/2016 21:58, Yaakov Selkowitz wrote: The following packages have been unmaintained for a long time. If anyone is interested in maintaining them, please ITA them soon, otherwise they will be removed from the distro: nfrotz ORPHANED (Charles

Re: calm

2016-03-21 Thread Jon Turney
On 21/03/2016 20:41, cyg...@sourceware.org wrote: calm.py: no setup.hint in /sourceware/cygwin-staging/home/Thomas Wolff/x86_64/release/mintty but files: mintty-2.3.3-0-src.tar.xz, mintty-2.3.3-0.tar.xz calm.py: no setup.hint in /sourceware/cygwin-staging/home/Thomas Wolff/x86/release/mintty

Re: Process for retiring a subpackage

2016-03-19 Thread Jon Turney
On 17/03/2016 15:46, Yaakov Selkowitz wrote: On 2016-03-17 07:04, Adam Dinwoodie wrote: Per previous discussion on this list, I'm planning on retiring the separate packaging of Bash completion scripts in the packages I maintain, and folding the files into the main package. I can't find any

Re: Keep calm

2016-03-19 Thread Jon Turney
On 16/03/2016 06:43, Achim Gratz wrote: Jon Turney writes: I've disabled upset (the perl script on sourceware.org, which performs the task of composing setup.ini from setup.hints and moving uploads), and enabled calm (a re-write from scratch to perform these tasks). The access rights

Keep calm

2016-03-15 Thread Jon Turney
I've disabled upset (the perl script on sourceware.org, which performs the task of composing setup.ini from setup.hints and moving uploads), and enabled calm (a re-write from scratch to perform these tasks). This is a test and may be reverted if things aren't working correctly. Package

Re: trying to upload new wcd update (Erwin is new designated maintainer)

2016-02-19 Thread Jon Turney
On 19/02/2016 19:18, waterlan wrote: Jon Turney schreef op 2016-02-19 16:57: On 30/01/2016 08:54, Erwin Waterlander wrote: Op 30-1-2016 om 9:25 schreef Jari Aalto: On 2016-01-28 21:28, Corinna Vinschen wrote: | | Jari? Ping? | | Erwin, if Jari doesn't reply until end of next week, wcd

Re: trying to upload new wcd update (Erwin is new designated maintainer)

2016-02-19 Thread Jon Turney
On 30/01/2016 08:54, Erwin Waterlander wrote: Op 30-1-2016 om 9:25 schreef Jari Aalto: On 2016-01-28 21:28, Corinna Vinschen wrote: | | Jari? Ping? | | Erwin, if Jari doesn't reply until end of next week, wcd is your packag I'm ok with Erwin taking the maintainership. Jari OK. Thanks Jari.

Re: setup.hint documentation issues

2016-02-17 Thread Jon Turney
On 09/02/2016 17:10, Corinna Vinschen wrote: On Feb 9 13:18, Jon Turney wrote: * 'sdesc' text is mangled in setup.ini (but not the HTML package list) In particular, it is forced to start with a capital letter (which is incorrect when the sdesc starts with a command name which is properly

Re: cfget-0.18-1 32bit (aewm* uploaded soon)

2016-02-12 Thread Jon Turney
On 05/11/2015 21:12, Jari Aalto wrote: On 2015-11-05 14:22, Marco Atzeri wrote: | On 05/11/2015 14:12, Jon Turney wrote: | >On 05/11/2015 10:26, Marco Atzeri wrote: | >> | >>aewm++ 64 bit also, please. | >> | >>You uploaded only aewm++-goodies | >> | >

setup.hint documentation issues

2016-02-09 Thread Jon Turney
While I've been looking at replacement/improvement for the current upset script, I've come across some minor issues related to under-specification or under-documentation of setup.hint: * The encoding of setup.hint is unspecified. Historically both ISO-8859-1 and UTF-8 have been used. (e.g.

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2016-02-06 Thread Jon Turney
On 06/02/2016 15:30, Jon Turney wrote: On 06/02/2016 14:29, Ken Brown wrote: Jon, any further thoughts about this? texinfo-6.1 has just been released, so I can go ahead with adding the postinstall script as soon as we decide what it should do in the case of a missing START-INFO-DIR-ENTRY/END

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2016-02-06 Thread Jon Turney
On 06/02/2016 14:29, Ken Brown wrote: On 1/29/2016 9:53 AM, Ken Brown wrote: On 1/29/2016 9:22 AM, Jon Turney wrote: On 28/01/2016 20:22, Eric Blake wrote: On 01/28/2016 01:17 PM, Ken Brown wrote: Second, why is the second line needed, i.e., under what circumstances would it be expected

Re: [ITP] Perl distributions

2016-01-30 Thread Jon Turney
On 30/01/2016 18:53, Achim Gratz wrote: Two new Perl distributions Class-Accessor and Data-Uniqid are required by the upcoming version of Biber. Patch for the package file: Applied.

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2016-01-29 Thread Jon Turney
On 28/01/2016 20:22, Eric Blake wrote: On 01/28/2016 01:17 PM, Ken Brown wrote: install-info $f /usr/share/info/dir || install-info --entry="* $$f ($f): $$f" $$f /usr/share/info/dir First, what do those double dollar signs mean? If this is from a Makefile snippet, it says that $f is

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2016-01-28 Thread Jon Turney
On 26/11/2015 10:11, Corinna Vinschen wrote: On Nov 24 19:44, Achim Gratz wrote: Jon Turney writes: So, should we try to guard against that (installations on a USB stick are probably the only practical occurence these days)? I wouldn't mind if we just unconditionally rebuild on FAT(32

Re: [HEADSUP] requires to obsolete Perl packages

2015-12-17 Thread Jon Turney
On 17/12/2015 16:32, Achim Gratz wrote: Achim Gratz writes: Achim Gratz writes: There are a number of packages still requiring obsoleted Perl packages that I want to delete now, so these setup.hint files need to be fixed. Here is what I've found so far with a proposed replacement in

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-11-24 Thread Jon Turney
On 23/11/2015 18:54, Achim Gratz wrote: Jon Turney writes: So, this is actually quite straightforward to write, and /etc/postinstall/0p_update-info-dir.sh becomes the attached. Can this be relied on for all possible file systems? Not on FAT. But then again, FAT is not really a filesystem

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-11-23 Thread Jon Turney
On 20/10/2015 11:21, Corinna Vinschen wrote: On Oct 19 19:21, Achim Gratz wrote: Corinna Vinschen writes: I agree. Actually, considering that the info files are stored in just a single well-known directory, /usr/share/info(*), and further considering that updated files are rewritten when

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-11-23 Thread Jon Turney
On 15/10/2015 19:01, Achim Gratz wrote: Jon Turney writes: I still don't think the triggers should be implemented or at least not in the way you've been proposing. Can you explain the reason why? Triggers need to be coordinated among packages and we currently don't have an infrastructure

Updated: xorg-server-1.18.0-1 (TEST)

2015-11-20 Thread Jon Turney
The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.18.0-1 These packages contain XWin and the other X.Org X11 servers. This is the first release of the xserver 1.18 series. It is currently available as a test release, and will be made stable in

Re: Updated: xorg-server-1.18.0-1 (TEST)

2015-11-20 Thread Jon Turney
On 20/11/2015 16:18, Jon Turney wrote: The following packages have been updated in the Cygwin distribution:> *** xorg-server-*1.18.0-1 Bah! Wrong list :(

Re: upset, genini: different version ordering

2015-11-20 Thread Jon Turney
On 20/10/2015 14:33, Jon Turney wrote: On 20/10/2015 11:27, Corinna Vinschen wrote: What about epoch handling as Yaakov suggested, does that help? Jon, as our local upset guru, how tricky would it be to add epoches to upset? Or, in other words, how complicated would it be to have the same RPM

Re: cfget-0.18-1 32bit (uploaded soon)

2015-11-05 Thread Jon Turney
On 05/11/2015 10:26, Marco Atzeri wrote: On 05/11/2015 10:54, Jari Aalto wrote: On 2015-11-05 10:26, Corinna Vinschen wrote: | On Oct 20 12:23, Corinna Vinschen wrote: | > Jari, ping? | > | > On Oct 19 17:54, Marco Atzeri wrote: | > > On 19/10/2015 17:45, Corinna Vinschen wrote: | > > >On Sep

Re: Questions on package adoption conventions

2015-10-30 Thread Jon Turney
On 30/10/2015 23:25, Mark Geisert wrote: On Fri, 30 Oct 2015, Marco Atzeri wrote: On 30/10/2015 22:48, Mark Geisert wrote: Q3: What kind of external access is typically used for hosting final builds? I've run a micro-ISP that allowed on-request FTP access, by IP address, to customers, but

setup.hint spelling/typo fixes

2015-10-23 Thread Jon Turney
I fixed on cygwin.com various spelling errors or typos in setup.hint: Please update your local copy JA: apngdis: invividual -> individual YS: artikulate : pronounciation -> pronunciation YS: autoconf2.1: creattes -> creates JY: binutils: assember -> assembler MA: catdoc: charachers ->

Re: upset, genini: different version ordering

2015-10-20 Thread Jon Turney
On 20/10/2015 11:27, Corinna Vinschen wrote: On Oct 19 20:13, Achim Gratz wrote: Yaakov Selkowitz writes: Switchable versioning schemes means that code has to be multiplied in both setup and upset, which is just asking for problems. There needs to be one single versioning scheme, period, and

Re: upset, genini: different version ordering

2015-10-20 Thread Jon Turney
On 19/10/2015 18:19, Achim Gratz wrote: Corinna Vinschen writes: I don't really want to spend effort on unravelling the complexities of the sorting that upset does, since I don't think it's worth keeping, and we should switch to a scheme which can be described in a paragraph, e.g. the scheme

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-10-15 Thread Jon Turney
On 12/10/2015 18:38, Achim Gratz wrote: Jon Turney writes: On 22/09/2015 16:52, Jon Turney wrote: [...] As for your patches, I think that the first two (getting rid of the regex engine and the incomplete implementation of autodep: lines) are non-controversial and should be applied. Ok

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-10-12 Thread Jon Turney
On 22/09/2015 16:52, Jon Turney wrote: (Further note: autodep is broken in upset. Many package which should have a dependency on _update-info-dir do not have one, and only 19 packages do, so this is not working as intended at the moment. Yes, this means that the autodep on the cygwin package

Re: Reproducible Builds

2015-10-12 Thread Jon Turney
On 12/10/2015 20:13, Achim Gratz wrote: Has anybody tried to make cygport builds reproducible? It bothers me that each time I build the same package in the same build environment I get a different package archive (even if the same size it will have another checksum) and lots of files inside the

Re: upset, genini: different version ordering

2015-10-09 Thread Jon Turney
On 20/07/2015 19:10, Jon TURNEY wrote: On 20/07/2015 19:03, Achim Gratz wrote: I've just found that upset and genini will order versions differently. For perl-Carp, genini produces: [...] If I recall correctly, genini is just broken, doing some kind of lexical sort which e.g. sorts 1.10

Re: setup: Fix for file names containing colons

2015-10-03 Thread Jon Turney
On 25/09/2015 15:27, Ken Brown wrote: In case this got lost in the thread about font reorganization, I'm attaching the patch I proposed in https://cygwin.com/ml/cygwin/2015-09/msg00223.html Ken, Thanks very much for this patch. I think it is correct. This issue didn't show up in my

Re: [PATCH setup 0/3] Setup replacement for incver_ifdep

2015-09-23 Thread Jon Turney
[replying to the right list, this time] On 22/09/2015 18:32, Achim Gratz wrote: Jon Turney writes: Since we now have scripts which run on every setup run, a package which requires another package to do some work after it is installed or uninstalled can create a file to act as a trigger

[PATCH setup 0/3] Setup replacement for incver_ifdep

2015-09-22 Thread Jon Turney
. Yes, this means that the autodep on the cygwin package isn't working correctly, either.) [1] https://www.cygwin.com/ml/cygwin-apps/2013-02/msg00152.html [2] https://www.cygwin.com/ml/cygwin-apps/2015-06/msg00067.html Jon Turney (3): Remove unused regex code Remove unfinished, unused support

[PATCH setup 2/3] Remove unfinished, unused support for 'autodep:' lines in setup.ini

2015-09-22 Thread Jon Turney
::set_autodep): Remove. * package_version.h (packageversion::set_autodep): Remove. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- ChangeLog | 12 IniDBBuilder.h | 1 - IniDBBuilderPackage.cc | 6 -- IniDBBuilderPackage.h | 1 - cygpack

[PATCH setup 3/3] Add support for 'trigger:' lines in setup.ini

2015-09-22 Thread Jon Turney
. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- ChangeLog | 13 ++ IniDBBuilder.h | 1 + IniDBBuilderPackage.cc | 7 + IniDBBuilderPackage.h | 1 + Makefile.am| 2 ++ inilex.ll | 1 + iniparse.yy

Re: Double-slashes in URLs

2015-09-22 Thread Jon TURNEY
On 17/09/2015 16:18, Michael Bisbjerg wrote: I noticed once I set up a mirror of my own, that Cygwin Setup will prepend all it's URL's with a double-slash. This does not seem to be intentional, and I found the place in the sources where I believe the error to be. On line 160 of "download.cc",

Re: missing 64bit ports

2015-09-07 Thread Jon TURNEY
On 04/09/2015 15:03, Corinna Vinschen wrote: On Sep 4 14:56, Jon TURNEY wrote: xwinwm: I think this can be classed as a 'failed experiment' What does that mean in terms of the cygwin-pkg-list? I guess it means that we won't make a 64 bit package. Making xwinwm obsolete doesn't make much

[ITA] dmalloc

2015-09-04 Thread Jon TURNEY
Since dmalloc appears to be orphaned, but is occasionally useful, I'd like to adopt it. http://www.dronecode.org.uk/cygwin/x86/release/dmalloc/dmalloc-5.5.2-2-src.tar.xz http://www.dronecode.org.uk/cygwin/x86/release/dmalloc/dmalloc-5.5.2-2.tar.xz

Re: missing 64bit ports

2015-09-04 Thread Jon TURNEY
On 03/09/2015 16:45, Corinna Vinschen wrote: On Sep 3 15:55, Marco Atzeri wrote: On 22/07/2015 11:08, Marco Atzeri wrote: On 7/20/2015 8:16 PM, Jon TURNEY wrote: On 15/07/2015 15:24, Marco Atzeri wrote: I spent a bit of time checking the real situation of the packages still missing as 64

[ITP] buildbot-slave

2015-09-02 Thread Jon TURNEY
This is a package containing the buildbot slave, which I've been using on some personal projects for a while. setup.hint: category: Devel requires: python python-twisted python-zope.interface sdesc: "buildbot slave" ldesc: "The BuildBot is a system to automate the compile/test cycle

Re: upset, genini: different version ordering

2015-08-20 Thread Jon TURNEY
On 18/08/2015 19:34, Achim Gratz wrote: I've just found that upset and genini will order versions differently. Here's a patch for genini that will take care of the versions in a better way than before, and it's extensible (in genini) and configurable (from setup.hint) if you're into that kind

Re: do package updates automatically kill running exes?

2015-08-14 Thread Jon TURNEY
On 14/08/2015 12:35, Andrew Schulman wrote: On 13/08/2015 20:02, Andrew Schulman wrote: Anyway, that answers my question. If I want to be sure a process from one of my packages exits, I need to put a killall into its preremove script. I've put a pkill . in all scripts that run setup (with

Re: do package updates automatically kill running exes?

2015-08-13 Thread Jon TURNEY
On 13/08/2015 07:19, Andrew Schulman wrote: I've noticed that when I update a package, the exe's in it get killed. For example, when emacs gets updated, my running emacsen die. Is this something that setup explicitly does, for all packages? Or that some packages do for themselves in a

Re: [Attn Maintainer] git git-svn

2015-08-01 Thread Jon TURNEY
On 30/07/2015 20:41, Achim Gratz wrote: Adam Dinwoodie writes: These packages are now uploaded, with a !perl file instead of a !ready file. Thanks. I'm going to look at taking the latest upstream releases once the new version of Perl has been released; I didn't want to take a version bump

Re: missing 64bit ports

2015-07-20 Thread Jon TURNEY
On 15/07/2015 15:24, Marco Atzeri wrote: I spent a bit of time checking the real situation of the packages still missing as 64 bit port. After xdelta, bsdiff and iperf porting, without counting the few mingw ones, the duplicates we are down to ~44. Please see here the analysis :

Re: upset, genini: different version ordering

2015-07-20 Thread Jon TURNEY
On 20/07/2015 19:03, Achim Gratz wrote: I've just found that upset and genini will order versions differently. For perl-Carp, genini produces: version: 1.36-1 [prev] version: 1.3301-2 while upset comes up with: version: 1.3301-2 [prev] version: 1.36-1 For the way Perl distributions are

[PATCH setup] Allow setup to parse more than 3 versions from the setup.ini file

2015-06-03 Thread Jon TURNEY
versions. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- ChangeLog | 7 +++ PackageTrust.h | 2 +- inilex.ll | 1 + iniparse.yy| 3 ++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 854ba05..a4f9240 100644 --- a/ChangeLog

Re: Perl distributions

2015-03-28 Thread Jon TURNEY
On 28/03/2015 16:37, Achim Gratz wrote: I have a few corrections and additions to the Perl distributions. Applied.

Re: Question about clisp version naming

2015-03-17 Thread Jon TURNEY
On 17/03/2015 22:40, Ken Brown wrote: Yes. But that makes me wonder if I made things too complicated and could have avoided building lisp.dll. The native Windows build of clisp creates a lisp.def file, containing the symbols of lisp.exe, and it just adds lisp.def to the gcc command line when

[ITA] cygwin-doc

2015-03-13 Thread Jon TURNEY
As invited [1], I shall adopt the cygwin-doc package. wget=wget -rxnH --cut-dirs=4 http://www.dronecode.org.uk/cygwin/x86_64/release/cygwin-doc/; $wget/cygwin-doc-1.7.35-1.tar.xz $wget/cygwin-doc-1.7.35-1-src.tar.xz In this incarnation, it contains: * newlib libc and libm .info

Re: [ITA] perl-Error, perl-Locale-gettext, perl-Win32-GUI, perl-libwin32

2015-03-13 Thread Jon TURNEY
On 13/03/2015 06:12, Achim Gratz wrote: Jon TURNEY writes: Sure, no problem. Thanks. perl-Win32-GUI is only used by the startup shell script as a way to retrieve GetSystemMetrics(SM_C(X|Y)VIRTUALSCREEN). I'm sure that can be re-written another way. So is that shell script just

Re: [ITA] perl-Error, perl-Locale-gettext, perl-Win32-GUI, perl-libwin32

2015-03-12 Thread Jon TURNEY
On 12/03/2015 22:43, Achim Gratz wrote: I may obsolete them (Win32-GUI is required by XtoW, though, so that would have ripple effects). John, can XtoW please be re-packaged so it doesn't depend on perl-Win32-GUI, like it already doesn't on x86_64? The package doesn't build and it looks like

Re: [PATCH setup 4/4] Silently ignore 'x' and 'g' type tar extended headers

2015-03-10 Thread Jon TURNEY
On 06/03/2015 06:08, Achim Gratz wrote: Jon TURNEY writes: It seems that base-files has an 'x' extended header for each file, apparently to store the mtime. That's a result of me having built that file on openSUSE and openSUSE's decision to default to POSIX format instead of GNU. Hmm

Re: [PATCH setup 4/4] Silently ignore 'x' and 'g' type tar extended headers

2015-03-10 Thread Jon TURNEY
On 10/03/2015 14:23, Corinna Vinschen wrote: On Mar 10 14:01, Jon TURNEY wrote: On 06/03/2015 06:08, Achim Gratz wrote: Jon TURNEY writes: It seems that base-files has an 'x' extended header for each file, apparently to store the mtime. That's a result of me having built that file

[PATCH setup 3/4] Log errors from archive_tar.cc

2015-03-05 Thread Jon TURNEY
472030e..bc47a54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2015-03-04 Jon TURNEY jon.tur...@dronecode.org.uk + * archive_tar.cc (archive_tar): Convert from fprintf(stderr, ...) + to LogBabblePrintf() or LogPlainPrintf() as appropriate. + +2015-03-04 Jon TURNEY jon.tur

[PATCH setup 2/4] Remove msg() and convert to log output

2015-03-05 Thread Jon TURNEY
-- msg.h | 6 -- simpsock.cc| 8 9 files changed, 41 insertions(+), 44 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0822701..472030e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2015-03-04 Jon TURNEY jon.tur...@dronecode.org.uk

[PATCH setup 1/4] Add Log adaptors for printf-style output

2015-03-05 Thread Jon TURNEY
--- ChangeLog | 5 + LogSingleton.cc | 28 LogSingleton.h | 5 + 3 files changed, 38 insertions(+) diff --git a/ChangeLog b/ChangeLog index 551cc94..0822701 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-04 Jon TURNEY jon.tur

[PATCH setup 4/4] Silently ignore 'x' and 'g' type tar extended headers

2015-03-05 Thread Jon TURNEY
insertions(+) diff --git a/ChangeLog b/ChangeLog index bc47a54..75530de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2015-03-04 Jon TURNEY jon.tur...@dronecode.org.uk + * archive_tar.cc (next_file_name): Silence error for 'g' and 'x' + type headers. + +2015-03-04 Jon TURNEY

<    9   10   11   12   13   14   15   16   >