]> git.pld-linux.org Git - packages/imsettings.git/commitdiff
- updated to 1.2.7
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 20 Jan 2012 18:57:04 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated nobash patch

Changed files:
    imsettings-no-bash.patch -> 1.2
    imsettings.spec -> 1.6

imsettings-no-bash.patch
imsettings.spec

index 325c46e807d21092a18db8228b46c6761f275892..8affc9e8dcf451f055cb941f62960f1781d0ef50 100644 (file)
@@ -1,9 +1,9 @@
---- imsettings-1.2.4/data/xinput.sh.in.in.orig 2011-07-17 22:59:00.385360415 +0200
-+++ imsettings-1.2.4/data/xinput.sh.in.in      2011-07-17 22:55:53.000000000 +0200
+--- imsettings-1.2.7/data/xinput.sh.in.in.orig 2012-01-20 19:30:14.868541977 +0100
++++ imsettings-1.2.7/data/xinput.sh.in.in      2012-01-20 19:46:38.011908229 +0100
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
- # Copyright (C) 1999-2004,2007-2009 Red Hat, Inc. All rights reserved. This
+ # Copyright (C) 1999-2004,2007-2011 Red Hat, Inc. All rights reserved. This
  # copyrighted material is made available to anyone wishing to use, modify,
  # copy, or redistribute it subject to the terms and conditions of the
 @@ -10,27 +10,27 @@
      return $ret
  }
  
+-function lookup_desktop() {
++lookup_desktop() {
+     ret=$(cat $1)
+     case $ret in
+       gnome*)
+@@ -62,7 +62,7 @@
+     esac
+ }
+-function get_desktop() {
++get_desktop() {
+     if [ -n "$GDMSESSION" ]; then
+       GUESS_DESKTOP="\$GDMSESSION"
+       echo "$GDMSESSION"
+@@ -89,7 +89,7 @@
+     fi
+ }
 -function is_gtk_supported() {
 +is_gtk_supported() {
      [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
-     case "$DESKTOP_SESSION" in
+     case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
        *gnome|openbox)
-@@ -66,7 +66,7 @@
+@@ -114,7 +114,7 @@
      return 1
  }
  
 -function is_qt_supported() {
 +is_qt_supported() {
      [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
-     case "$DESKTOP_SESSION" in
+     case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
        *)
-@@ -79,7 +79,7 @@
+@@ -127,7 +127,7 @@
      return 1
  }
  
@@ -66,7 +84,7 @@
      [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
      if check_imsettings_capability xim; then
        return 0
-@@ -88,7 +88,7 @@
+@@ -136,7 +136,7 @@
      return 1
  }
  
@@ -75,7 +93,7 @@
      if is_imsettings_enabled && is_gtk_supported; then
        # Ensure GTK_IM_MODULE is empty. otherwise GTK+ doesn't pick up immodule through XSETTINGS
        unset GTK_IM_MODULE
-@@ -98,7 +98,7 @@
+@@ -146,7 +146,7 @@
      fi
  }
  
      if is_imsettings_enabled && is_qt_supported; then
        # FIXME: Qt doesn't support XSETTINGS for immodule yet.
        #        We still need to go with the older way.
-@@ -108,7 +108,7 @@
+@@ -156,7 +156,7 @@
      fi
  }
  
      if is_imsettings_enabled && is_xim_supported; then
        # setup XMODIFIERS
        XMODIFIERS="@im=imsettings"
-@@ -119,7 +119,7 @@
+@@ -167,7 +167,7 @@
      fi
  }
  
      print_info
      if [ -n "$DRY_RUN" ]; then
        log "*** DRY RUN MODE: running IM through imsettings"
-@@ -134,7 +134,7 @@
+@@ -182,7 +182,7 @@
      fi
  }
  
      print_info
      if [ -n "$DRY_RUN" ]; then
        log "*** DRY RUN MODE: running IM without imsettings"
-@@ -147,7 +147,7 @@
+@@ -195,7 +195,7 @@
      fi
  }
  
      $1
      if [ $? -eq 0 ]; then
        log yes
-@@ -156,7 +156,7 @@
+@@ -204,7 +204,7 @@
      fi
  }
  
      log "imsettings information"
      log "=========================="
      log -n "Is DBus enabled: "
-@@ -187,13 +187,13 @@
+@@ -237,13 +237,13 @@
  unset TERM
  if [ -r /etc/profile.d/lang.sh ]; then
      # for Fedora etc
  fi
  [ -n "$oldterm" ] && export TERM=$oldterm
  
-@@ -205,7 +205,7 @@
+@@ -255,7 +255,7 @@
  [ -z "$IMSETTINGS_DISABLE_USER_XINPUTRC" ] && IMSETTINGS_DISABLE_USER_XINPUTRC=no
  
  if [ -r "$USER_XINPUTRC" -a "x$IMSETTINGS_DISABLE_USER_XINPUTRC" = "xno" ]; then
      if [ ! -h "$USER_XINPUTRC" ]; then
        SHORT_DESC="User Specific"
      fi
-@@ -216,7 +216,7 @@
+@@ -266,7 +266,7 @@
      _sourced_xinputrc=0
      for i in $_im_language_list; do
          if echo $tmplang | grep -q -E "^$i"; then
              _sourced_xinputrc=1
              break
          fi
-@@ -227,7 +227,7 @@
+@@ -277,7 +277,7 @@
          _xcompose_language_list="am_ET el_GR fi_FI pt_BR ru_RU"
          for i in $_xcompose_language_list; do
              if echo $tmplang | grep -q -E "^$i"; then
                  _sourced_xinputrc=1
                  break
              fi
-@@ -235,7 +235,7 @@
+@@ -285,7 +285,7 @@
      fi
      if [ $_sourced_xinputrc -eq 0 ]; then
          # Read none.conf to set up properly for locales not listed the above.
index 7859e6bb4b165d6c4e801ecb6b0d0feab1895691..7bcf109fb32d7674097da6014cec06ea8a4ba324 100644 (file)
@@ -5,20 +5,22 @@
 Summary:       Delivery framework for general Input Method configuration
 Summary(pl.UTF-8):     Szkielet do ogólnej konfiguracji method wprowadzania znaków
 Name:          imsettings
-Version:       1.2.6
+Version:       1.2.7
 Release:       1
 License:       LGPL v2+
 Group:         Applications/System
 #Source0Download: http://code.google.com/p/imsettings/downloads/list
 Source0:       http://imsettings.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 7104a2b7413b4ba91d9e12317ec8ee6f
+# Source0-md5: 3ff0fdbf0c339fd34d440151684d10a3
 Patch0:                %{name}-constraint-of-language.patch
 Patch1:                %{name}-no-bash.patch
 URL:           http://code.google.com/p/imsettings/
 BuildRequires: GConf2-devel >= 2.0
+BuildRequires: dbus-devel
 BuildRequires: desktop-file-utils
 BuildRequires: gettext-devel
 BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gnome-introspection-devel >= 1.30.0
 BuildRequires: gtk+2-devel >= 2:2.12.0
 BuildRequires: gtk-doc >= 1.0
 BuildRequires: libgxim-devel >= 0.3.1
@@ -283,12 +285,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libimsettings.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libimsettings.so.5
+%{_libdir}/girepository-1.0/IMSettings-1.2.typelib
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libimsettings.so
 %{_pkgconfigdir}/imsettings.pc
 %{_includedir}/imsettings
+%{_datadir}/gir-1.0/IMSettings-1.2.gir
 %{_gtkdocdir}/imsettings
 
 %files static
This page took 0.045412 seconds and 4 git commands to generate.