[orca] Workaround for intltool not including translator notes for orca.in



commit e63922e285ab841ea553d992ae7977c3ed956e1f
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon May 21 11:29:27 2012 -0400

    Workaround for intltool not including translator notes for orca.in
    
    See:
        * https://mail.gnome.org/archives/gnome-i18n/2012-May/msg00085.html
        * https://bugs.launchpad.net/intltool/+bug/547073
        * https://bugs.launchpad.net/intltool/+bug/377872

 configure.ac                         |    4 ++--
 po/POTFILES.in                       |    2 +-
 src/orca/.gitignore                  |    1 +
 src/orca/{orca.in => orca_bin.py.in} |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b11d22..2832c9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,10 +122,10 @@ src/orca/scripts/toolkits/J2SE-access-bridge/Makefile
 src/orca/scripts/toolkits/CALLY/Makefile
 src/orca/scripts/toolkits/WebKitGtk/Makefile
 src/orca/backends/Makefile
-src/orca/orca
+src/orca/orca_bin.py
 src/orca/orca_i18n.py
 src/orca/orca_platform.py
-],[chmod +x run_pylint.sh])
+],[chmod +x run_pylint.sh ; cp src/orca/orca_bin.py src/orca/orca])
 
 if test "x$brlapi_available" = "xno" ; then
 echo
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 53015a9..362c443 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -19,6 +19,7 @@ src/orca/keybindings.py
 src/orca/keynames.py
 src/orca/liveregions.py
 src/orca/notification_messages.py
+src/orca/orca_bin.py.in
 src/orca/orca_console_prefs.py
 [type: gettext/glade]src/orca/orca-find.ui
 src/orca/orca_gui_splash.py
@@ -27,7 +28,6 @@ src/orca/orca_gui_main.py
 src/orca/orca_gui_prefs.py
 src/orca/orca_gui_profile.py
 src/orca/orca_gui_quit.py
-src/orca/orca.in
 src/orca/orca.py
 [type: gettext/glade]src/orca/orca-setup.ui
 src/orca/phonnames.py
diff --git a/src/orca/.gitignore b/src/orca/.gitignore
index b792267..a919b2d 100644
--- a/src/orca/.gitignore
+++ b/src/orca/.gitignore
@@ -2,6 +2,7 @@ Makefile
 Makefile.in
 orca
 orca-setup
+orca_bin.py
 orca_i18n.py
 orca_platform.py
 *.pyc
diff --git a/src/orca/orca.in b/src/orca/orca_bin.py.in
similarity index 98%
rename from src/orca/orca.in
rename to src/orca/orca_bin.py.in
index 08853b5..b9ff13d 100644
--- a/src/orca/orca.in
+++ b/src/orca/orca_bin.py.in
@@ -52,7 +52,7 @@ def setProcessName():
     except:
         pass
 
-    return False   
+    return False
 
 def main():
     setProcessName()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]