Active Topics

 



Notices


Reply
Thread Tools
Posts: 168 | Thanked: 191 times | Joined on Mar 2013
#51
Originally Posted by hede View Post
I'm using CSSU but not the devel repository. So I do not have libglib2.0-0 (>= 2.24.0). And I do not want to install the files manually via tar.gz.

Because the files in the tar.gz by peterleinchen are the same as in the CSSU devel package, I simply modified the deb to depend on libglib2.0-0 (>= 2.20.0). For me it works.

I cannot add the modified deb here because I am not allowed to attach files > 488 kB. And the deb is > 600 kB.

I uploaded it there:
http://packages.der-he.de/austausch/...ssu7_armel.deb

It should work for all CSSU and PR1.3(.1) users.
Would be easier if the fix were in the repos; just an apt-get install and it is set.
 

The Following User Says Thank You to Malakai For This Useful Post:
pichlo's Avatar
Posts: 5,628 | Thanked: 17,555 times | Joined on Sep 2012 @ UK
#52
Amboss, you are confusing | and ||. The former is an arithmetic operator, the latter a logical one. The C and C++ Standards define the behaviour of both. In a nutshell, | works a bit like +, although not quite. 1 | 2 = 3, but 2 | 3 = 3, not 5. The important thing is that a | b = b | a. Also important is that to evaluate the result of a | b, both a and b must be evaluated first. You can figure it out yourself: to work out a | b, it is not enough to know that a is 2, you also need to know if b is 1, 2 or 5. That's because 2 | 1, 2 | 2 and 2 | 5 yield different results (3, 2 and 7, respectively).

|| uses the shortcut mechansm you describe. That's because it works with logic values and results in TRUE or FALSE. You know that if a is TRUE, no value of b will change the result of a || b, so b does not need to be evaluated. Note that this shortcut mechanism makes no difference to the value of a || b, but it does make a difference if evaluating b has a side effect. That can happen if b is an expression with some kind of assignment in it (=, +=, -=, ++, --), or if b is a function call with side effects. The programmer must be aware of this and make sure to write the code so that it behaves predictably.

Finally, in the example in question, the value of a | b is evaluated at compile time and the final code will see only a single number that is the result of that evaluation. It will not compute it at run time. The question why it is like that is left as an exercise.
__________________
In particle accelerators atoms are indeed not only touching each others. But banging together in a massive explosive orgasm.
-- nieldk in a TMO post
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Feathers McGraw's Avatar
Posts: 645 | Thanked: 2,320 times | Joined on Jul 2014 @ UK
#53
Any news on Modest making its way into the repos?

I'm so glad I found this thread, I was worried about how useful the N900 would be to me without an IMAP client that can do TLS.

I run my own Postfix+Dovecot email server, so I could re-enable SSLv3 but I'd really rather not for security reasons. I've just (in the last day or two) started using the N900, flashed PR1.3 and installed CSSU stable. Do I need to be using testing to get this new version from the repo?

Sorry if these are dumb questions, Maemo is still new to me.

Sam
 

The Following 2 Users Say Thank You to Feathers McGraw For This Useful Post:
peterleinchen's Avatar
Posts: 3,432 | Thanked: 6,557 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#54
It seems modest (libtiny-mail libs) have not yet made it into testing branch (A shame; why? They should be in stable imho.).
So you would need to enable cssu-devel repo and update those libraries described in this thread (but only those) and disable that repo immediately.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 4 Users Say Thank You to peterleinchen For This Useful Post:
Feathers McGraw's Avatar
Posts: 645 | Thanked: 2,320 times | Joined on Jul 2014 @ UK
#55
Originally Posted by peterleinchen View Post
So you would need to enable cssu-devel repo and update those libraries described in this thread (but only those) and disable that repo immediately.
It worked!!

For the record, I ran:

Code:
sudo apt-get update
sudo apt-get install libtinymail-camel*
Then disabled the repo and did an apt-get update again to be safe (although I think the GUI tool does this anyway).

Here's part of the header from the first email I sent from my n900:

Code:
Received: from [192.168.1.176] (OpenWrt.lan [192.168.1.1])	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))	(No client certificate requested)	by samhobbs.co.uk (Postfix) with ESMTPSA
Many thanks to all of you. I think it's great that we were able to do this. This is what free software is all about, right? Power to the users!
 

The Following 4 Users Say Thank You to Feathers McGraw For This Useful Post:
peterleinchen's Avatar
Posts: 3,432 | Thanked: 6,557 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#56
Are you using gmail?
But anyway you should also update libtinymail-tiny... from cssu devel.

See here http://talk.maemo.org/showthread.php...&postcount=130 or http://talk.maemo.org/showpost.php?p...&postcount=149
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-01-15 at 23:10.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Feathers McGraw's Avatar
Posts: 645 | Thanked: 2,320 times | Joined on Jul 2014 @ UK
#57
Originally Posted by peterleinchen View Post
Are you using gmail?
Me? Nope i run postfix/dovecot on an ubuntu server at home. The test message was sent from my server to a freemail outlook account.

I'll look into updating that library, thanks again!
 

The Following User Says Thank You to Feathers McGraw For This Useful Post:
Feathers McGraw's Avatar
Posts: 645 | Thanked: 2,320 times | Joined on Jul 2014 @ UK
#58
hmm, i can't find that library...

Code:
E: Couldn't find package libtinymail-tiny*
~ $ apt-cache search tinymail
libtinymail-1.0-0 - memory-effective framework for accessing e-mail - library
libtinymail-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymail-1.0-0-dev - memory-effective framework for accessing e-mail - development files
libtinymail-camel-1.0-0 - memory-effective framework for accessing e-mail - Camel library
libtinymail-camel-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymail-camel-1.0-0-dev - memory-effective framework for accessing e-mail - development files
libtinymail-gnomevfs-1.0-0 - memory-effective framework for accessing e-mail - Camel library
libtinymail-gnomevfs-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymail-gnomevfs-1.0-0-dev - memory-effective framework for accessing e-mail - development files
libtinymail-maemo-1.0-0 - memory-effective framework for accessing e-mail - Camel library
libtinymail-maemo-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymail-maemo-1.0-0-dev - memory-effective framework for accessing e-mail - development files
libtinymailui-1.0-0 - memory-effective framework for accessing e-mail - Camel library
libtinymailui-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymailui-1.0-0-dev - memory-effective framework for accessing e-mail - development files
libtinymailui-gtk-1.0-0 - memory-effective framework for accessing e-mail - Camel library
libtinymailui-gtk-1.0-0-dbg - memory-effective framework for accessing e-mail - debug symbol files
libtinymailui-gtk-1.0-0-dev - memory-effective framework for accessing e-mail - development files
camelisync - libcamel provider for NokiaMessaging
~ $
Sam
 

The Following 2 Users Say Thank You to Feathers McGraw For This Useful Post:
peterleinchen's Avatar
Posts: 3,432 | Thanked: 6,557 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#59
libtinymail-1.0-0

see my edit above
second link: http://talk.maemo.org/showpost.php?p...&postcount=149

--edit
Should not be needed according to
http://talk.maemo.org/showthread.php...05&postcount=1
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-01-16 at 19:55.
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Reply

Tags
email, modest, send receive

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:38.