Bug#819341: [unison] Please build unison-fsmonitor

2025-09-03 Thread Damian Lukowski

Hi Frédéric,
Thank you for the proposed patch. I tried using it, and it appears 
that unison can't find the fsmonitor helper when it's named 
"unison-$(ABI)-fsmonitor". Instead it should be named 
"unison-fsmonitor-$(ABI)". See 



I think you need something like the attached patch (disclaimer: works 
on my machine, that's as much testing as I did).


thank you. I applied your patch on top, it works for me too.

Regards


Bug#819341: [unison] Please build unison-fsmonitor

2025-08-31 Thread Frédéric Perrin

Hi Damian,

Thank you for the proposed patch. I tried using it, and it appears that 
unison can't find the fsmonitor helper when it's named 
"unison-$(ABI)-fsmonitor". Instead it should be named 
"unison-fsmonitor-$(ABI)". See 



I think you need something like the attached patch (disclaimer: works on 
my machine, that's as much testing as I did).


Have a nice day,
Fred.From adfadd38804824df0c03443459068817799e9ed4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Perrin?= 
Date: Sun, 31 Aug 2025 11:34:00 +0100
Subject: [PATCH] Fix unison-fsmonitor name

---
 debian/rules | 5 +++--
 debian/unison.install.in | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index a6f7844..e22046d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ SED_REPLACE := -e "s/@UNISON_PACKAGE@/unison-$(UNISON_ABI)/g"
 
 SED_REPLACE_TEXT := -e "s/@UNISON_MAJ@/UNISON-$(UNISON_ABI)/g"
 SED_REPLACE_TEXT += -e "s/@UNISON@/unison-$(UNISON_ABI)/g"
+SED_REPLACE_TEXT += -e "s/@UNISON_FSMONITOR@/unison-fsmonitor-$(UNISON_ABI)/g"
 
 SED_REPLACE_GTK := -e "s/@UNISON_MAJ@/UNISON-$(UNISON_ABI)-GTK/g"
 SED_REPLACE_GTK += -e "s/@UNISON@/unison-$(UNISON_ABI)-gtk/g"
@@ -63,8 +64,8 @@ override_dh_auto_install:
 # 	sed $(SED_REPLACE) $(SED_REPLACE_GTK) debian/unison-gtk.desktop.in > debian/tmp/usr/share/applications/unison-$(UNISON_ABI)-gtk.desktop
 # 	sed $(SED_REPLACE) $(SED_REPLACE_GTK) debian/unison-gtk.install.in > debian/unison-$(UNISON_ABI)-gtk.install
 # fsmonitor
-	cp src/unison-fsmonitor debian/tmp/usr/bin/unison-$(UNISON_ABI)-fsmonitor
-	sed $(SED_REPLACE) $(SED_REPLACE_TEXT) debian/unison-fsmonitor.1.in > debian/tmp/usr/share/man/man1/unison-$(UNISON_ABI)-fsmonitor.1
+	cp src/unison-fsmonitor debian/tmp/usr/bin/unison-fsmonitor-$(UNISON_ABI)
+	sed $(SED_REPLACE) $(SED_REPLACE_TEXT) debian/unison-fsmonitor.1.in > debian/tmp/usr/share/man/man1/unison-fsmonitor-$(UNISON_ABI).1
 
 override_dh_auto_test:
 
diff --git a/debian/unison.install.in b/debian/unison.install.in
index aca8e4a..b995535 100644
--- a/debian/unison.install.in
+++ b/debian/unison.install.in
@@ -1,5 +1,5 @@
 /usr/bin/@UNISON@
-/usr/bin/@UNISON@-fsmonitor
+/usr/bin/@UNISON_FSMONITOR@
 /usr/share/man/man1/@[email protected]
-/usr/share/man/man1/@[email protected]
+/usr/share/man/man1/@[email protected]
 /usr/share/doc
-- 
2.47.2



Bug#819341: [unison] Please build unison-fsmonitor

2023-11-16 Thread Damian Lukowski
Please consider 
https://salsa.debian.org/ocaml-team/unison/-/merge_requests/2




Bug#819341: [unison] Please build unison-fsmonitor

2022-08-12 Thread Sylvain Leroy
On Fri, 24 Jul 2020 07:49:22 +0200 =?UTF-8?Q?St=c3=a9phane_Glondu?= 
 wrote:

Le 23/07/2020 à 17:35, Vincent Lefevre a écrit :
>> I am planning to change the packaging structure of Unison in Debian.
>>
>> My current roadmap is:
>> - create a new source package unison-2.48
>> - make meta-unison provide unison and unison-gtk with symlinks to the
>>   binaries provided by unison-2.48
>> - let the "unison" source package disappear
>> - create a new source package unison-2.51 (or whatever is the latest
>>   version at the time)
>> - ...
>> - build unison-fsmonitor in unison-2.51
>>
>> and be done with alternatives. This new packaging scheme makes more
>> sense IMHO and will ease co-installability of multiple versions of unison.
> 
> What would be important would be to include the OCaml version number

> in the unison package name, since it has an effect on the behavior.

Right. I've already uploaded unison-2.48 to NEW, let's settle on that
first. I will add the OCaml version number in the next OCaml transition.


Any news on the unison-fsmonitor helper to be compiled and bundled with 
the unison package ?


--
Sylvain Leroy
Président Eternilab
https://www.eternilab.com



Bug#819341: [unison] Please build unison-fsmonitor

2020-07-23 Thread Stéphane Glondu
Le 23/07/2020 à 17:35, Vincent Lefevre a écrit :
>> I am planning to change the packaging structure of Unison in Debian.
>>
>> My current roadmap is:
>> - create a new source package unison-2.48
>> - make meta-unison provide unison and unison-gtk with symlinks to the
>>   binaries provided by unison-2.48
>> - let the "unison" source package disappear
>> - create a new source package unison-2.51 (or whatever is the latest
>>   version at the time)
>> - ...
>> - build unison-fsmonitor in unison-2.51
>>
>> and be done with alternatives. This new packaging scheme makes more
>> sense IMHO and will ease co-installability of multiple versions of unison.
> 
> What would be important would be to include the OCaml version number
> in the unison package name, since it has an effect on the behavior.

Right. I've already uploaded unison-2.48 to NEW, let's settle on that
first. I will add the OCaml version number in the next OCaml transition.

-- 
Stéphane



Bug#819341: [unison] Please build unison-fsmonitor

2020-07-23 Thread Vincent Lefevre
On 2020-07-23 17:08:48 +0200, Stéphane Glondu wrote:
> I am planning to change the packaging structure of Unison in Debian.
> 
> My current roadmap is:
> - create a new source package unison-2.48
> - make meta-unison provide unison and unison-gtk with symlinks to the
>   binaries provided by unison-2.48
> - let the "unison" source package disappear
> - create a new source package unison-2.51 (or whatever is the latest
>   version at the time)
> - ...
> - build unison-fsmonitor in unison-2.51
> 
> and be done with alternatives. This new packaging scheme makes more
> sense IMHO and will ease co-installability of multiple versions of unison.

What would be important would be to include the OCaml version number
in the unison package name, since it has an effect on the behavior.

I had to put unison 2.48.4-1+b1 to hold on my Debian/unstable machines
in order to be able to sychronize with Debian/stable (buster) ones.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#819341: [unison] Please build unison-fsmonitor

2020-07-23 Thread Stéphane Glondu
Le 22/07/2020 à 21:20, Anton Avramov a écrit :
> Can you give an update when should we expect this in debian?
> Either as a standolne package or part of the main one

I am planning to change the packaging structure of Unison in Debian.

My current roadmap is:
- create a new source package unison-2.48
- make meta-unison provide unison and unison-gtk with symlinks to the
  binaries provided by unison-2.48
- let the "unison" source package disappear
- create a new source package unison-2.51 (or whatever is the latest
  version at the time)
- ...
- build unison-fsmonitor in unison-2.51

and be done with alternatives. This new packaging scheme makes more
sense IMHO and will ease co-installability of multiple versions of unison.


Cheers,

-- 
Stéphane



Bug#819341: [unison] Please build unison-fsmonitor

2020-07-22 Thread Anton Avramov

Dear maintainer,

Can you give an update when should we expect this in debian?
Either as a standolne package or part of the main one

Thank you for all your work.



Bug#819341: [unison] Please build unison-fsmonitor

2016-03-26 Thread Liang Guo
Package: unison
Version: 2.48.3-1
Severity: wishlist

In unison 2.48.3, a native fsmonitor is introduced, with the new fsmonitor, 
unison can impliment dropbox like sync on demand,following is quotad from 
upstream NEWS:

 * File system monitoring:
  + The file watcher now fails when unable to watch a directory,
rather than silently ignoring the issue.
  + File system monitoring: more robust communication with the
helper program (in socket mode, the unison server will still
work properly despite unexpected unison client
disconnections).
  + A bytecode version of unison-fsmonitor is now produced by
"make NATIVE=false"
  + Improved search for unison-fsmonitor

In Debian, unison is compile with NATIVE=true, so unison-fsmonitor is not 
compiled, would you compile unison with NATIVE=true to build unison-fsmonitor?

Thanks, 



--- System information. ---
Architecture: amd64
Kernel:   Linux 4.3.0-1-amd64

Debian Release: stretch/sid
  500 unstable192.168.2.12 
1 experimental192.168.2.12 

--- Package information. ---
Depends  (Version) | Installed
==-+-===
libc6 (>= 2.7) | 


Recommends  (Version) | Installed
=-+-===
ssh-client| 
 OR openssh-client| 1:7.2p2-2


Package's Suggests field is empty.




-- 
Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn


signature.asc
Description: PGP signature