From: Andrej Shadura <andrewsh@debian.org>
Subject: Instead of changes.txt, load the changelog from the standard location

--- a/src/org/omegat/help/Help.java
+++ b/src/org/omegat/help/Help.java
@@ -84,7 +84,11 @@
     public static URI getHelpFileURI(String lang, String filename) {
         // find in install dir
         String path = lang == null ? filename : lang + File.separator + filename;
-        File file = new File(OConsts.HELP_DIR + File.separator
+        File file = new File(path);
+        if (file.isAbsolute() && file.isFile()) {
+            return file.toURI();
+        }
+        file = new File(OConsts.HELP_DIR + File.separator
                 + path);
         if (file.isFile()) {
             return file.toURI();
--- a/src/org/omegat/util/FileUtil.java
+++ b/src/org/omegat/util/FileUtil.java
@@ -54,6 +54,7 @@
 import java.util.Set;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
+import java.util.zip.GZIPInputStream;
 
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
@@ -370,7 +371,12 @@
         InputStreamReader isr = null;
         try {
             is = uri.toURL().openStream();
-            isr = new InputStreamReader(is, OConsts.UTF8);
+            String path = uri.getPath();
+            if (path != null && path.endsWith(".gz")) {
+                isr = new InputStreamReader(new GZIPInputStream(is), OConsts.UTF8);
+            } else {
+                isr = new InputStreamReader(is, OConsts.UTF8);
+            }
             rd = new BufferedReader(isr);
             result = IOUtils.toString(rd);
             rd.close();
--- a/src/org/omegat/util/OConsts.java
+++ b/src/org/omegat/util/OConsts.java
@@ -68,7 +68,7 @@
     public static final String LICENSE_FILE = "OmegaT-license.txt";
     
     // Last changes
-    public static final String LAST_CHANGES_FILE = "changes.txt";
+    public static final String LAST_CHANGES_FILE = "/usr/share/doc/omegat/changelog.gz";
 
     // status file consts
     public static final String FILES_ORDER_FILENAME = "files_order.txt";
