Re: C++ help needed for spaced: call of overloaded 'abs(uint32_t&)' is ambiguous

2018-07-09 Thread Andreas Tscharner

On 09.07.2018 13:11, Andreas Tille wrote:

Hi,



Hello,

[snip]

patternset.cpp:188:23: error: call of overloaded 'abs(uint32_t&)' is ambiguous
size = std::abs(size);
^


There is no abs function which takes uint32_t as parameter, so it does 
not know which one it should use.


Probably
size = std::abs((int)size);
compiles (untested), but as Andrey already pointed out: as "size" is 
already unsigned, this code makes no sense.

Better ask upstream what s/he wanted to do here...

HTH and best regards
Andreas
--
  ("`-''-/").___..--''"`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
    (il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@stupidmail.ch   ICQ-No. 14356454



Re: Bug#738683: RFS: hexchat/2.9.6.1-1 [ITP]

2014-02-11 Thread Andreas Tscharner

On 12.02.2014 02:18, Paul Wise wrote:

[snip]

What is the plan for xchat? Will it be removed in favour of hexchat?
Are you co-ordinating with the Debian maintainers of xchat? Why was
there a fork, is xchat no longer developed upstream?


hexchat was forked as Windows version of X-Chat first, because you have 
to pay for X-Chat on Windows. I don't know if hexchat has any 
improvements over X-Chat...




--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@vis.ethz.ch   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52fb1d87.4010...@vis.ethz.ch



Re: How to package my development utility?

2013-09-10 Thread Andreas Tscharner

On 10.09.2013 09:52, Salvo Tomaselli wrote:

Hi,


Hi Salvo,


just as a curiosity, how is it better/different than tar?


* Encryption: You can directly encrypt the final file with the data
* Compression/Encryption per file: You can define compression and 
encryption for each file that you want to pack
* Unpacked data in memory: The unpacked and decrypted data can be 
accessed in memory (don't know about tar in this case)


Best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@vis.ethz.ch   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/522efe86.2030...@vis.ethz.ch



How to package my development utility?

2013-09-08 Thread Andreas Tscharner

Dear Mentors,

I have written a small development utility:
https://bitbucket.org/StarFire/lrc/overview

It consists of
1) a binary, called 'lrc', which packs a list of files into one file
2) a small library, called liblrc, which can be used in the application 
to unpack these files and access their data


If you want to compile an application that uses liblrc, you also need a 
few small header files.


Now, how do I package this utility for Debian? I think I have to split 
it up, but how? One package for the binary and one for the library? 
Where do I put the header files? Are there any packages that I can use 
as an example (One application, more packages)?


TIA and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@vis.ethz.ch   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/522c4bf9.9060...@vis.ethz.ch



Re: RFS: wmmixer (orphaned package)

2010-09-13 Thread Andreas Tscharner

On 12.09.2010 22:51, Rodolfo kix Garcia wrote:

Changelog done. Moved now to kix.es. Yes, the application is a bit
old, I need to talk with more people interested in wmaker/docks to
create a new repo.


Maybe the people on the WindowMaker mailinglist could help:
wmaker-...@lists.windowmaker.info

Best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@vis.ethz.ch   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c8f056b.9060...@vis.ethz.ch



Re: lintian complaining about modified files

2009-02-18 Thread Andreas Tscharner

Hello Magnus,

Magnus Holmgren wrote:

On onsdagen den 19 november 2008, Andreas Tscharner wrote:

I use the dpatch system to make the requested changes in the sources
(only 1 dpatch changing only one source file).

Now lintian complains that config.guess and 1 more are changed, but
not by dpatch. I suppose that these files get changed in the build process.

What is the correct way to get this problem solved?


You can simply 
gunzip /usr/share/doc/dpatch/examples/dpatch/01_config.dpatch.gz and put it 
in debian/patches (and list it in 00list) and it will take care of things.




I did that, but config.guess and config.sub are still changed during the 
build process. What could go wrong? Which files doI need to have a close 
look at?


TIA and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   a...@vis.ethz.ch   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



lintian complaining about modified files

2008-11-19 Thread Andreas Tscharner

Hello World,
Hello Mentors,

I use the dpatch system to make the requested changes in the sources 
(only 1 dpatch changing only one source file).


Now lintian complains that config.guess and 1 more are changed, but 
not by dpatch. I suppose that these files get changed in the build process.


What is the correct way to get this problem solved?

Thanks and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: debconf questions

2008-11-17 Thread Andreas Tscharner

Adeodato Simó wrote:

* Andreas Tscharner [Mon, 10 Nov 2008 11:31:42 +0100]:


If I execute the .config file, the expected screen (it's a note) is shown


Hm, I thought you're not supposed to use debconf to display notes, and
that NEWS.Debian is preferred.



Thank you for your information. I've removed all debconf stuff and 
created a NEWS file in my debian\ directory. It's easier anyway :-)


Thank you and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



debconf questions

2008-11-10 Thread Andreas Tscharner

Dear Mentors,

I have two questions concerning debconf:

1) I have created a packagename.config and a packagename.templates 
file according to the debconf user's guide by Joey Hess. If I execute 
the .config file, the expected screen (it's a note) is shown, everything 
is OK. I have also inserted dh_installdebconf in the rules file.
Now I hoped the Debian Magic would do all the tricks to show my screen 
while installing, but nothing happened.
So, do I need to call the .config file by hand? And if yes: where? In 
the postinst? Or somewhere else?


2) lintian complains about not having sourced the debconf library in 
postinst. I have (following the user's guide) done this in the .config 
file, before calling the actual debconf functions.

Which one is considered better?

TIA and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Changing of behavior: How to tell the user?

2008-07-17 Thread Andreas Tscharner

Dear Mentors,

I'm the maintainer of the CVSNT package. This is a better replacement 
for CVS and just like CVS it can work as server or client.


One of the enhancements (on the server side) was replacing the old 
directory based file locks with a so-called lock server, which handled 
all the locking on a per file basis. What I did until now was to start 
this cvslockd daemon in an init script regardless whether the user used 
CVSNT as client or server.


In the next few weeks should now come out a new version upstream and I 
updated my package, fixed the bugs and I also want to prevent that 
cvslockd is started every time. So I created a configuration file 
/etc/defaults/cvsnt where an environment variable defines whether or not 
the daemon gets started. I figured that there are probably more client 
users than server users and set the default to no longer start cvslockd.


My questions:
1) Is this change of behavior desirable/do-able?
2) Is /etc/default/cvsnt the right place to turn on/off the daemon at all?
3) How shall I inform the server users that they know that they have to 
configure the file to get the lock daemon started again?


TIA and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug #417137: cvsnt does not compile with GCC4.3

2007-05-02 Thread Andreas Tscharner

Dear Mentors,

Martin Michlmayr filed a bug against cvsnt, because it does not compile 
with GCC4.3. He provided a patch.
I have forwarded the patch to upstream, but the upstream maintainer 
hesitates to commit it into the official code, because it is for a 
snapshot version of GCC4.3 and because it may break stuff on other 
architectures (see thread in -dev newsgroup: 
news://news.cvsnt.org:119/[EMAIL PROTECTED])


How can I:
* Compile (with current standard gcc) for other architectures that are 
supported by Debian, so I can make sure that it works on them
* Compile with gcc4.3 for other architectures that are supported by 
Debian, so I can fix the actual bug

?

I'm running Sid.

Thank you for your help and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]
   http://www.vis.ethz.ch/~andy   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: A french developper want help you :)

2007-03-29 Thread Andreas Tscharner

Michel Barret wrote:

Hello everybody!


Hello Michel,

[snip]


So can I help anybody? What can I make to Debian?


A more general approach:
* Check if any open source project you like is already in Debian
* If it's not: File an ITP and create a package of that project
* Ask one of the DDs here to upload your package

Best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]
   http://www.vis.ethz.ch/~andy   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ***SPAM*** Re: RFS: dlume -- Simple and easy to use addressbook (GTK+)

2006-11-23 Thread Andreas Tscharner

Jari Aalto wrote:

- Upstream vanished
- No new features will appear
- I'm propbably able to fix C if there ever appears serious bugs.


Could you confirm this one: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268468


I think it is very serious and actually the reason I stopped using dlume...

Best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]
   http://www.vis.ethz.ch/~andy   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Which script to install file in /etc/default

2006-10-31 Thread Andreas Tscharner

Hello Mentors,

I'm the maintainer of the CVSNT package, an enhanced version of cvs. 
Just like cvs the cvsnt binary acts as client and server at the same 
time. UNLIKE cvs, cvsnt needs the cvs lock daemon to work as server.


At the moment, this lock server is started with an init.d script 
regardless if the user installs cvsnt as server or not. My idea is to 
create a file

/etc/default/cvsnt
which contains a variable that controls whether or not the lock server 
is stared.
Is there any dh_* script that installs a given file or do I need to make 
it in some other way?


TIA and best regards
Andreas
--
  (`-''-/).___..--''`-._
   `o_ o  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
(il).-''  (li).'  ((!.-'

Andreas Tscharner   [EMAIL PROTECTED]
   http://www.vis.ethz.ch/~andy   ICQ-No. 14356454


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]