This is an automated email from the git hooks/post-receive script.

mquinson pushed a commit to branch debian-debian
in repository jlm.

commit 372cd88118eb13e71967d2100f59931899b77815
Author: Martin Quinson <[email protected]>
Date:   Wed Sep 4 15:24:15 2013 +0200

    further disable twitter in debian
---
 debian/patches/no-twitter |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/patches/no-twitter b/debian/patches/no-twitter
index e731d95..14389c7 100644
--- a/debian/patches/no-twitter
+++ b/debian/patches/no-twitter
@@ -1,6 +1,7 @@
 ---
+ src/plm/core/model/Game.java                |    4 +-
  src/plm/core/model/tracking/TwitterSpy.java |   55 
+---------------------------
- 1 file changed, 2 insertions(+), 53 deletions(-)
+ 2 files changed, 4 insertions(+), 55 deletions(-)
 
 Index: b/src/plm/core/model/tracking/TwitterSpy.java
 ===================================================================
@@ -67,3 +68,18 @@ Index: b/src/plm/core/model/tracking/TwitterSpy.java
 +public class TwitterSpy {
 +      /* twitter4j is not packaged in Debian; remove this */
  }
+Index: b/src/plm/core/model/Game.java
+===================================================================
+--- a/src/plm/core/model/Game.java
++++ b/src/plm/core/model/Game.java
+@@ -182,8 +182,8 @@
+               addProgressSpyListener(new LocalFileSpy(SAVE_DIR));
+               
+               if (getProperty(PROP_PROGRESS_TWITTER, 
"true",true).equalsIgnoreCase("true")) {
+-                      System.err.println(i18n.tr("Your progress will be 
posted to https://twitter.com/jlmlovers This can be turned off through the 
property {0}",Game.PROP_PROGRESS_TWITTER));
+-                      addProgressSpyListener(new TwitterSpy());
++                      System.err.println(i18n.tr("Twitter logging is not 
available in Debian, sorry.",Game.PROP_PROGRESS_TWITTER));
++//                    addProgressSpyListener(new TwitterSpy());
+               } else {
+                       System.err.println(i18n.tr("Your progress will NOT be 
posted to twitter, as requested by the property 
{0}",Game.PROP_PROGRESS_TWITTER));                        
+               }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jlm.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to