lhost / sendxmpp

perl-script to send xmpp (jabber), similar to what mail(1) does for mail.
63 stars 22 forks source link

Allow sending message without subject #24

Open andrey-utkin opened 7 years ago

andrey-utkin commented 7 years ago

When I watch received messages in mcabber, I see it like below. Even if --subject arg is not used, it still sends empty subject (see []). It would be handy to be able not to send subject field altogether.

 #[C] #dragonbox-pyra  │09-08 21:01 <== []                                                                                                                                                     
  [x] #elinux          │                test                                                                                                                                                   
  [C] #ffmpeg          │                                                                                                                                                                       
  [C] #ffmpeg-devel    │09-08 21:04 <== [subject]                                                                                                                                              
  [x] #gentoo          │                test                                                                                                                                                   
  [C] #gentoo-arm      │                                                                                                                                                                       
  [C] #gentoo-embedded │09-08 21:06 --> hey                                                                                                                                                    
  [C] #gentoo-hardened │09-08 21:06 <== [subject]                                                                                                                                              
  [x] #gentoo-kde      │                test                                                                                                                                                   
lhost commented 7 years ago

@andrey-utkin: Please try sendxmpp from https://github.com/lhost/sendxmpp/tree/feature/ISSUE-24-no-subject branch.

andrey-utkin commented 7 years ago

Sorry, cannot currently test on my systems (Gentoo) due to lack of means to install dependency:

Can't locate Net/INET6Glue/INET_is_INET6.pm in @INC (you may need to install the Net::INET6Glue::INET_is_INET6 module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.1/x86_64-linux /usr/local/lib64/perl5/5.24.1 /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.1/x86_64-linux /usr/lib64/perl5/5.24.1 .) at ./sendxmpp line 25.
BEGIN failed--compilation aborted at ./sendxmpp line 25.
lhost commented 7 years ago

Did you try "make installdeps"? This will install missing module with cpan

On Nov 24, 2016 7:38 PM, "Andrey Utkin" notifications@github.com wrote:

Sorry, cannot currently test on my systems (Gentoo) due to lack of means to install dependency:

Can't locate Net/INET6Glue/INET_is_INET6.pm in @INC (you may need to install the Net::INET6Glue::INET_is_INET6 module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.1/x86_64-linux /usr/local/lib64/perl5/5.24.1 /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.1/x86_64-linux /usr/lib64/perl5/5.24.1 .) at ./sendxmpp line 25. BEGIN failed--compilation aborted at ./sendxmpp line 25.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lhost/sendxmpp/issues/24#issuecomment-262830374, or mute the thread https://github.com/notifications/unsubscribe-auth/ABI7u0QGr8S3ACiPNiyzIgFQIYkgMxECks5rBdmrgaJpZM4J4fvs .

andrey-utkin commented 7 years ago
22:22:37 Fri 25 Nov j@dell-m4800 /src/sendxmpp
 $ perl Makefile.PL 
Checking if your kit is complete...
Looks good
Warning: prerequisite AnyEvent::XMPP 0.55 not found.
Generating a Unix-style Makefile
Writing Makefile for sendxmpp
Writing MYMETA.yml and MYMETA.json
[OK]
22:22:44 Fri 25 Nov j@dell-m4800 /src/sendxmpp
 $ make installdeps
make: *** No rule to make target 'installdeps'.  Stop.