Re: Building Subversion with CMake

2024-09-16 Thread Timofei Zhakov
Merged in revision 1920717! On Sat, Sep 14, 2024 at 3:17 PM Daniel Sahlberg wrote: > > Den lör 14 sep. 2024 kl 14:46 skrev Timofei Zhakov : >> >> Hi, >> >> I've made some progress with the CMake build: >> >> 1. It now works perfectly across different platforms. >> 2. I've added the running of tes

Re: Building Subversion with CMake

2024-09-14 Thread Daniel Sahlberg
Den lör 14 sep. 2024 kl 14:46 skrev Timofei Zhakov : > Hi, > > I've made some progress with the CMake build: > > 1. It now works perfectly across different platforms. > 2. I've added the running of test suites, including Python tests and C > tests. > 3. SWIG bindings have been included. > 4. NLS (

Re: Building Subversion with CMake

2024-09-14 Thread Timofei Zhakov
Hi, I've made some progress with the CMake build: 1. It now works perfectly across different platforms. 2. I've added the running of test suites, including Python tests and C tests. 3. SWIG bindings have been included. 4. NLS (localization) support has been added. 5. Modules for the Apache HTTP S

Re: Building Subversion with CMake

2024-07-30 Thread Joe Orton
On Sat, Jul 27, 2024 at 09:23:54PM +0200, Daniel Sahlberg wrote: > Do you a specific preference regarding the change (does it affect your > ability to continue providing the Subversion package, do you have any > timing requirements etc.)? > > Do you have experience from other projects switching to

Re: Building Subversion with CMake

2024-07-27 Thread Nathan Hartman
On Sat, Jul 27, 2024 at 11:23 PM Nathan Hartman wrote: > On Sat, Jul 27, 2024 at 3:24 PM Daniel Sahlberg < > daniel.l.sahlb...@gmail.com> wrote: > (snip) > >> [[[ >> Dear package maintainer, >> >> We have reason to believe you are maintaining the Apache Subversion >> package for a package manage

Re: Building Subversion with CMake

2024-07-27 Thread Nathan Hartman
On Sat, Jul 27, 2024 at 3:24 PM Daniel Sahlberg wrote: > Den tis 11 juni 2024 kl 04:29 skrev Nathan Hartman < > hartman.nat...@gmail.com>: > >> [...] It would be nice to hear >> from binary packagers. Will they overwhelmingly say "yes please! It's >> about time!" Or will they say, "Please don't,

Re: Building Subversion with CMake

2024-07-27 Thread Daniel Sahlberg
Den tis 11 juni 2024 kl 04:29 skrev Nathan Hartman : > [...] It would be nice to hear > from binary packagers. Will they overwhelmingly say "yes please! It's > about time!" Or will they say, "Please don't, it would create too much > headache and I couldn't go on providing packages because of it."

Re: Building Subversion with CMake

2024-07-17 Thread Timofei Zhakov
Hi, On Tue, Jul 16, 2024 at 8:34 PM Daniel Sahlberg wrote: > > Hi! > > Very good work, I've been looking at the commits as they've come in and I > think it looks very promising. Thank you! > Den sön 14 juli 2024 kl 21:48 skrev Timofei Zhakov : >> >> Hello, >> >> I would like to share the statu

Re: Building Subversion with CMake

2024-07-16 Thread Daniel Sahlberg
Hi! Very good work, I've been looking at the commits as they've come in and I think it looks very promising. Den sön 14 juli 2024 kl 21:48 skrev Timofei Zhakov : > Hello, > > I would like to share the status update about CMake. > > Firstly, I committed the patch into a branch. I also made the co

Re: Building Subversion with CMake

2024-07-14 Thread Timofei Zhakov
Hello, I would like to share the status update about CMake. Firstly, I committed the patch into a branch. I also made the code much cleaner, more extensible, and added some additional features. Also, I added the CMakeLists.txt (CMake configuration) file into the repository, but generated the lis

Re: Building Subversion with CMake

2024-06-22 Thread Jun Omae
On 2024/06/19 2:33, Timofey Zhakov wrote: > Hello again! > > I was working on the CMake patch and didn't update the progress for a long > time. > > Here are some things that I have done: ... Running "python3 gen-make.py -t cmake" on Windows and get the weird warning: [[[ C> python.exe gen-make

Re: Building Subversion with CMake

2024-06-18 Thread Timofey Zhakov
On Tue, Jun 18, 2024 at 8:01 PM Daniel Sahlberg wrote: > > Really impressive work (I havn't checked details but I have no doubt it works > as described)! Thanks! > I'm sorry I haven't been very responsive lately but life got in the way... > > Regarding Serf, and this should probably be asked on

Re: Building Subversion with CMake

2024-06-18 Thread Timofey Zhakov
On Sun, Jun 16, 2024 at 10:25 AM Jun Omae wrote: > > On Sun, Jun 16, 2024 at 4:44 AM Timofey Zhakov wrote: > > > It seems to be caused by missing ws2_32.lib for the linking. I guess > > > `gen_cmake.py` needs methods like `get_static_win_depends` and > > > `get_linked_win_depends` in `gen_win.py`

Re: Building Subversion with CMake

2024-06-18 Thread Daniel Sahlberg
Really impressive work (I havn't checked details but I have no doubt it works as described)! I'm sorry I haven't been very responsive lately but life got in the way... Regarding Serf, and this should probably be asked on d...@serf.apache.org instead but since Serf is an important dependency for u

Re: Building Subversion with CMake

2024-06-18 Thread Timofey Zhakov
On Tue, Jun 18, 2024 at 7:33 PM Timofey Zhakov wrote: > > On Sat, Jun 8, 2024 at 4:10 PM Timofey Zhakov wrote: > > > > Hi all! > > > > When I was starting using and developing Subversion, I had a big > > challenge to build it for the first time, especially because > > Subversion itself and its de

Re: Building Subversion with CMake

2024-06-18 Thread Timofey Zhakov
On Sat, Jun 8, 2024 at 4:10 PM Timofey Zhakov wrote: > > Hi all! > > When I was starting using and developing Subversion, I had a big > challenge to build it for the first time, especially because > Subversion itself and its dependencies have different build systems, > so this is a very complicate

Re: Building Subversion with CMake

2024-06-16 Thread Jun Omae
On Sun, Jun 16, 2024 at 4:44 AM Timofey Zhakov wrote: > > It seems to be caused by missing ws2_32.lib for the linking. I guess > > `gen_cmake.py` needs methods like `get_static_win_depends` and > > `get_linked_win_depends` in `gen_win.py`? Have you got success to > > build on your Windows environm

Re: Building Subversion with CMake

2024-06-15 Thread Timofey Zhakov
On Thu, Jun 13, 2024 at 5:01 AM Jun Omae wrote: > > On Wed, Jun 12, 2024 at 5:37 AM Timofey Zhakov wrote: > > > 2. > > > gen-make.py accepts --with-PKG=... options like the following, but all > > > options should be passed to cmake -B again. Why CMakeLists.txt is > > > generated instead of adding

Re: Building Subversion with CMake

2024-06-12 Thread Nathan Hartman
On Wed, Jun 12, 2024 at 11:02 PM Jun Omae wrote: > On Wed, Jun 12, 2024 at 5:37 AM Timofey Zhakov wrote: > > > 2. > > > gen-make.py accepts --with-PKG=... options like the following, but all > > > options should be passed to cmake -B again. Why CMakeLists.txt is > > > generated instead of adding

Re: Building Subversion with CMake

2024-06-12 Thread Jun Omae
On Wed, Jun 12, 2024 at 5:37 AM Timofey Zhakov wrote: > > 2. > > gen-make.py accepts --with-PKG=... options like the following, but all > > options should be passed to cmake -B again. Why CMakeLists.txt is > > generated instead of adding directly CMakeLists.txt, in the patch? > > That's a good que

Re: Building Subversion with CMake

2024-06-11 Thread Timofey Zhakov
[...cut...] > > 1. > The setargv.obj is added to all executables at last of CMakeLists.txt. > However, setargv.obj is actually applied to only svn.exe and > svnadmin.exe in build.conf. It is intentional, according to > https://svn.apache.org/r1577170 > > I think we should keep the behavior between

Re: Building Subversion with CMake

2024-06-10 Thread Nathan Hartman
On Mon, Jun 10, 2024 at 4:03 PM Daniel Sahlberg wrote: > > Den sön 9 juni 2024 kl 03:00 skrev Nathan Hartman : (snip) >> Hi Timofei, >> >> I am really glad to see this being addressed! >> >> CMake has been requested here before (such as [1], [2], and [3]) and >> the difficulty of building on Windo

Re: Building Subversion with CMake

2024-06-10 Thread Jun Omae
Hi, On Tue, Jun 11, 2024 at 5:40 AM Timofey Zhakov wrote: > > On Sat, Jun 8, 2024 at 4:10 PM Timofey Zhakov wrote: > > > > Hi all! > > > > When I was starting using and developing Subversion, I had a big > > challenge to build it for the first time, especially because > > Subversion itself and i

Re: Building Subversion with CMake

2024-06-10 Thread Timofey Zhakov
On Sat, Jun 8, 2024 at 4:10 PM Timofey Zhakov wrote: > > Hi all! > > When I was starting using and developing Subversion, I had a big > challenge to build it for the first time, especially because > Subversion itself and its dependencies have different build systems, > so this is a very complicate

Re: Building Subversion with CMake

2024-06-10 Thread Daniel Sahlberg
Den sön 9 juni 2024 kl 03:00 skrev Nathan Hartman : > On Sat, Jun 8, 2024 at 2:05 PM Timofey Zhakov wrote: > > > > On Sat, Jun 8, 2024 at 7:07 PM Daniel Sahlberg > > wrote: > > > Den lör 8 juni 2024 kl 16:12 skrev Timofey Zhakov : > ... > >> What do you think? > > > > > > > > I think it would

Re: Building Subversion with CMake

2024-06-08 Thread Nathan Hartman
On Sat, Jun 8, 2024 at 2:05 PM Timofey Zhakov wrote: > > On Sat, Jun 8, 2024 at 7:07 PM Daniel Sahlberg > wrote: > > > > Hi! > > > > Den lör 8 juni 2024 kl 16:12 skrev Timofey Zhakov : > >> > >> Hi all! > >> > >> When I was starting using and developing Subversion, I had a big > >> challenge to b

Re: Building Subversion with CMake

2024-06-08 Thread Timofey Zhakov
On Sat, Jun 8, 2024 at 7:07 PM Daniel Sahlberg wrote: > > Hi! > > Den lör 8 juni 2024 kl 16:12 skrev Timofey Zhakov : >> >> Hi all! >> >> When I was starting using and developing Subversion, I had a big >> challenge to build it for the first time, especially because >> Subversion itself and its de

Re: Building Subversion with CMake

2024-06-08 Thread Daniel Sahlberg
Hi! Den lör 8 juni 2024 kl 16:12 skrev Timofey Zhakov : > Hi all! > > When I was starting using and developing Subversion, I had a big > challenge to build it for the first time, especially because > Subversion itself and its dependencies have different build systems, > so this is a very complica

Re: Building subversion runs svnversion, which fails

2019-11-19 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 19 Nov 2019 18:25 +00:00: > On Tue, Nov 19, 2019 at 12:04 PM Daniel Shahaf > wrote: > > The concept of having the binary know the `svnversion` info of the > > working copy it was built from does make sense, however. We could make > > gen-make.py add «-DFOO=`svnversi

Re: Building subversion runs svnversion, which fails

2019-11-19 Thread Nathan Hartman
On Tue, Nov 19, 2019 at 12:04 PM Daniel Shahaf wrote: > Nathan Hartman wrote on Tue, 19 Nov 2019 04:53 +00:00: > > Moving this from users@ to dev@... > > [Aside: when doing this, it's a good to post a short response on users@ > saying the conversation continues on dev@, for anyone who wants to >

Re: Building subversion runs svnversion, which fails

2019-11-19 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 19 Nov 2019 04:53 +00:00: > Moving this from users@ to dev@... [Aside: when doing this, it's a good to post a short response on users@ saying the conversation continues on dev@, for anyone who wants to follow along but isn't subscribed to both lists.] > On a somewhat

Re: Building subversion runs svnversion, which fails

2019-11-18 Thread Nathan Hartman
Moving this from users@ to dev@... Ryan Schmidt wrote: > The subversion build evidently runs the just-built svnversion at > some point. This crashes, because the libraries it's linked with > haven't been installed yet, and I guess it's not setting > DYLD_LIBRARY_PATH to the path where the built l

Re: Building Subversion on Debian stretch with serf support

2018-02-28 Thread Paul Hammant
> I'll have an updated Debian package uploaded to experimental in the next few days. Which will be great, Philip. I look forward to it :) And thanks for the `apt-get build-dep subversion` tip off.

Re: Building Subversion on Debian stretch with serf support

2018-02-28 Thread James McCoy
On Wed, Feb 28, 2018 at 11:15:07AM +, Philip Martin wrote: > Paul Hammant writes: > > > Or is there an option to hand `apt-get` that really lassos in the serf > > binary for the same of making Subversion with client support for http(s) > > checkouts. > > Typically Debian installs libraries t

Re: Building Subversion on Debian stretch with serf support

2018-02-28 Thread Philip Martin
Paul Hammant writes: > Or is there an option to hand `apt-get` that really lassos in the serf > binary for the same of making Subversion with client support for http(s) > checkouts. Typically Debian installs libraries that can be used at runtime but not at build-time and to get build-time suppor

Re: Building Subversion on the Mac

2018-02-24 Thread Branko Čibej
On 24.02.2018 13:22, Paul Hammant wrote: > The homebrew install does a source compile rather than pluck of a > binary and compare to a SHA256 ? Depends. By default, it'll get a binary, if it's available (that binary is of course built from source using Homebrew's formulae). If a binary isn't avail

Re: Building Subversion on the Mac

2018-02-24 Thread Paul Hammant
The homebrew install does a source compile rather than pluck of a binary and compare to a SHA256 ? -Paul

Re: Building Subversion on the Mac

2018-02-24 Thread Branko Čibej
On 24.02.2018 12:42, Paul Hammant wrote: > This seems to work for me, based on your advice: > > ./configure --with-apr=/usr/local/opt/apr > --with-apr-util=/usr/local/opt/apr-util > --with-apxs=/usr/local/opt/apache2/bin/apxs > > I'm thinking those are solid Homebrew paths for most people. Yes, th

Re: Building Subversion on the Mac

2018-02-24 Thread Paul Hammant
This seems to work for me, based on your advice: ./configure --with-apr=/usr/local/opt/apr --with-apr-util=/usr/local/opt/apr-util --with-apxs=/usr/local/opt/apache2/bin/apxs I'm thinking those are solid Homebrew paths for most people.

Re: Building Subversion on the Mac

2018-02-24 Thread Branko Čibej
On 24.02.2018 11:18, Paul Hammant wrote: > Based on Brane's email from yesterday, I did a build for Subversion on > the Mac, with Homebrew and XCode installed already. > > brew install apr apr-util httpd serf zlib berkeley-db swig lz4 utf8proc >   > # These two were necessary for me, for some reaso

Re: Building Subversion on the Mac

2017-11-03 Thread Robert Schwalbe
I sent you my build script for the Mac, that uses Homebrew, a while ago. Why are you still having problems? You're right, you did. I'll take another look, Brane. Meanwhile I wrote: https://github.com/subsyncit/subsync

Re: Building Subversion on the Mac

2017-10-28 Thread Paul Hammant
> > I sent you my build script for the Mac, that uses Homebrew, a while ago. > Why are you still having problems? > > You're right, you did. I'll take another look, Brane. Meanwhile I wrote: https://github.com/subsyncit/subsyncit/wiki/Building-Subversion-on-the-Mac

Re: Building Subversion on the Mac

2017-10-28 Thread Branko Čibej
On 28.10.2017 14:02, Paul Hammant wrote: > OK, so I can get so far ... > > svn co http://svn.apache.org/repos/asf/subversion/trunk subversion > cd subversion > brew install libtool apr > cp > /usr/local/Cellar/libtool/2.4.6_1/share/libtool/build-aux/config.sub > build/ >

Re: Building Subversion on the Mac

2017-10-28 Thread Paul Hammant
Yup, that builds through to completion, now. Thanks Troy.

Re: Building Subversion on the Mac

2017-10-28 Thread Paul Hammant
Yup, glibtool is needed on the Mac (brew install libtool makes /usr/local/bin/glibtool). That and a corresponding shim source: #!/bin/sh /usr/local/bin/glibtool "$@"

Re: Building Subversion on the Mac

2017-10-28 Thread Paul Hammant
Thank you, that allows configure to complete w/o error. Next up, libtool $ make /bin/sh "/scm/oss/subversion/libtool" --tag=CC --silent --mode=compile gcc -std=c90 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -Werror=unknown-warning-option -g -O2 -g -O2 -I./subversion/include -I.

Re: Building Subversion.

2017-09-14 Thread Paul Hammant
> > > > If yes, do you have the homebrew installables you needed handy? > > #LemmeKnowPls > > "brew install subversion"? > > I've done't that already, but I'm switching hats from 'user' to 'developer' of subversion. The brew installables I was thinking of were the development pre-requisites for AP

Re: Building Subversion.

2017-09-14 Thread Branko Čibej
On 14.09.2017 15:05, Branko Čibej wrote: > On 14.09.2017 13:36, Paul Hammant wrote: >> The tests made for https://github.com/apache/subversion/pull/5 didn't >> even require me to have Svn on my system. That's because I'm asserting >> against a series of expected shell operations, because that's how

Re: Building Subversion.

2017-09-14 Thread Stefan Sperling
On Thu, Sep 14, 2017 at 08:29:25AM -0400, Paul Hammant wrote: > The needs of the book are different to the needs of the Svn project. And > the needs of the project are far more important than one of a few Svn books. I don't understand this reasoning. The book doesn't receive the attention it deser

Re: Building Subversion.

2017-09-14 Thread Branko Čibej
On 14.09.2017 13:36, Paul Hammant wrote: > The tests made for https://github.com/apache/subversion/pull/5 didn't > even require me to have Svn on my system. That's because I'm asserting > against a series of expected shell operations, because that's how the > author implemented svn-viewspec > > Has

Re: Building Subversion.

2017-09-14 Thread Stefan Sperling
On Thu, Sep 14, 2017 at 08:24:35AM -0400, Nathan Hartman wrote: > It's on my > long to-do list to send in some patches and I'm hoping others will > jump in too, particularly to write a chapter on some advanced real > world usage scenarios, like workflow strategies to scale up a > development team s

Re: Building Subversion.

2017-09-14 Thread Paul Hammant
The needs of the book are different to the needs of the Svn project. And the needs of the project are far more important than one of a few Svn books. I'm going to stand by what I said. -ph

Re: Building Subversion.

2017-09-14 Thread Nathan Hartman
On Sep 14, 2017, at 7:36 AM, Paul Hammant wrote: > Generally, the Subversion project should depend less on the Redbean book. > http://svnbook.red-bean.com/en/1.8/index.html is about 1.8 and it's marked as > DRAFT. There's no 1.9 or 1.10. While it is great that Msssrs. > Collins-Sussman, Fitzpat