[gnome-subtitles/gtk3: 1/2] Updating build tools



commit 1535ccc3effa1f054ceb9a8ed51f8a1a48e21020
Author: Pedro Castro <pedro gnomesubtitles org>
Date:   Sat Oct 14 13:49:57 2017 +0100

    Updating build tools

 compile                          |    2 +-
 data/gnome-subtitles.appdata.xml |    1 +
 m4/intltool.m4                   |   25 -------------------------
 3 files changed, 2 insertions(+), 26 deletions(-)
---
diff --git a/compile b/compile
index 531136b..a85b723 100755
--- a/compile
+++ b/compile
@@ -3,7 +3,7 @@
 
 scriptversion=2012-10-14.11; # UTC
 
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey cygnus com>.
 #
 # This program is free software; you can redistribute it and/or modify
diff --git a/data/gnome-subtitles.appdata.xml b/data/gnome-subtitles.appdata.xml
index 6531a44..4cab1d9 100644
--- a/data/gnome-subtitles.appdata.xml
+++ b/data/gnome-subtitles.appdata.xml
@@ -17,4 +17,5 @@
        
<screenshot>http://gnome-subtitles.sourceforge.net/files/screenshots/Screenshot-GnomeSubtitles-Preferences.png</screenshot>
   </screenshots>
   <project_group>GNOME</project_group>
+  <translation type="gettext">gnome-subtitles</translation>
 </application>
diff --git a/m4/intltool.m4 b/m4/intltool.m4
index 33353ed..c25b7b1 100644
--- a/m4/intltool.m4
+++ b/m4/intltool.m4
@@ -155,31 +155,6 @@ fi
 # Substitute ALL_LINGUAS so we can use it in po/Makefile
 AC_SUBST(ALL_LINGUAS)
 
-# Set DATADIRNAME correctly if it is not set yet
-# (copied from glib-gettext.m4)
-if test -z "$DATADIRNAME"; then
-  AC_LINK_IFELSE(
-    [AC_LANG_PROGRAM([[]],
-                     [[extern int _nl_msg_cat_cntr;
-                       return _nl_msg_cat_cntr]])],
-    [DATADIRNAME=share],
-    [case $host in
-    *-*-solaris*)
-    dnl On Solaris, if bind_textdomain_codeset is in libc,
-    dnl GNU format message catalog is always supported,
-    dnl since both are added to the libc all together.
-    dnl Hence, we'd like to go with DATADIRNAME=share
-    dnl in this case.
-    AC_CHECK_FUNC(bind_textdomain_codeset,
-      [DATADIRNAME=share], [DATADIRNAME=lib])
-    ;;
-    *)
-    [DATADIRNAME=lib]
-    ;;
-    esac])
-fi
-AC_SUBST(DATADIRNAME)
-
 IT_PO_SUBDIR([po])
 
 ])


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