[Debian-islamic-commits] [SCM] Packaging for Zekr branch, master, updated. debian/1.1.0_m1+repack-1-3-g8c5ef1c

أحمد المحمو =?UTF-8?Q?=D8=AF=D9=8A=20?=(Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Fri Jul 20 07:58:58 UTC 2012


The following commit has been merged in the master branch:
commit 8c5ef1cd067bfdbe4d4d2738ce103a6bc6d34466
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Fri Jul 20 09:10:52 2012 +0200

    Refreshed no_jintellitype.diff patch

diff --git a/debian/patches/no_jintellitype.diff b/debian/patches/no_jintellitype.diff
index 0a3330d..0edd57a 100644
--- a/debian/patches/no_jintellitype.diff
+++ b/debian/patches/no_jintellitype.diff
@@ -3,7 +3,7 @@ Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
 Forwarded: not-needed
 --- a/src/net/sf/zekr/ui/WindowsNativeKeyboardListener.java
 +++ /dev/null
-@@ -1,115 +0,0 @@
+@@ -1,114 +0,0 @@
 -/*
 - *               In the name of Allah
 - * This file is part of The Zekr Project. Use is subject to
@@ -17,7 +17,6 @@ Forwarded: not-needed
 -import java.util.ArrayList;
 -import java.util.List;
 -import java.util.Map.Entry;
--import java.util.Set;
 -
 -import net.sf.zekr.common.config.KeyboardAction;
 -import net.sf.zekr.common.config.KeyboardShortcut;
@@ -119,54 +118,3 @@ Forwarded: not-needed
 -      }
 -   }
 -}
---- a/src/net/sf/zekr/ui/ZekrGlobalKeyListener.java
-+++ b/src/net/sf/zekr/ui/ZekrGlobalKeyListener.java
-@@ -26,10 +26,6 @@
- import org.eclipse.swt.widgets.Listener;
- import org.eclipse.swt.widgets.Shell;
- 
--import com.melloware.jintellitype.HotkeyListener;
--import com.melloware.jintellitype.IntellitypeListener;
--import com.melloware.jintellitype.JIntellitype;
--
- /**
-  * @author Mohsen Saboorian
-  */
-@@ -49,37 +45,12 @@
- 
-       if (config.getProps().getBoolean("key.enableNativeHandler", false)) {
-          if (GlobalConfig.isWindows) {
--            try {
--               nativeKeyboardListener = (NativeKeyboardListener) Class.forName("net.sf.zekr.ui.WindowsNativeKeyboardListener")
--                     .newInstance();
--               nativeKeyboardListener.install(quranForm.display, quranForm.quranFormController, shortcut);
--            } catch (Exception e1) {
--               // JIntellitype is not available in the path, bypass super global listener installation.
--               return;
--            }
-          } else if (GlobalConfig.isLinux) {
-          }
-       }
- 
-    }
- 
--   private int toJIntelliType(int keys) {
--      int ret = 0;
--      if ((keys & SWT.SHIFT) == SWT.SHIFT) {
--         ret |= JIntellitype.MOD_SHIFT;
--      }
--      if ((keys & SWT.CONTROL) == SWT.CONTROL) {
--         ret |= JIntellitype.MOD_CONTROL;
--      }
--      if ((keys & SWT.ALT) == SWT.ALT) {
--         ret |= JIntellitype.MOD_ALT;
--      }
--      if ((keys & KeyboardShortcut.WINKEY) == KeyboardShortcut.WINKEY) {
--         ret |= JIntellitype.MOD_WIN;
--      }
--      return ret;
--   }
--
-    public void handleEvent(Event event) {
-       if (quranForm == null || quranForm.shell == null || quranForm.isDisposed()) {
-          return;

-- 
Packaging for Zekr



More information about the Debian-islamic-commits mailing list