Hello community,

here is the log from the commit of package yudit for openSUSE:Factory checked 
in at 2013-07-20 09:04:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yudit (Old)
 and      /work/SRC/openSUSE:Factory/.yudit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yudit"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-15 01:04:09.588030756 +0200
+++ /work/SRC/openSUSE:Factory/.yudit.new/yudit.changes 2013-07-20 
09:04:19.000000000 +0200
@@ -0,0 +1,444 @@
+-------------------------------------------------------------------
+Sun Nov 25 21:33:03 UTC 2012 - [email protected]
+
+- Switch to the new font macros and fix the build
+
+-------------------------------------------------------------------
+Wed Dec 21 10:48:20 UTC 2011 - [email protected]
+
+- add autoconf as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Mon Nov  8 14:41:43 UTC 2010 - [email protected]
+
+- remove support for pre-9.1
+
+-------------------------------------------------------------------
+Mon Feb 15 17:00:26 CET 2010 - [email protected]
+
+- Update to version 2.9.2:
+  + Updated to Unicode 5.2.0
+  + Landscape printing bug fixed
+  + DOS CRLF with uniconv bug fixed
+  + Hungarian Runes (PUA) rovasiras glyph adjustments
+  + Windows port now behaves itself
+  + Minor enhancements
+- Drop bnc445708-delete-array.patch, merged upstream.
+- Add yudit-2.9.2.patch0.txt from upstream 'patch folder'.
+
+-------------------------------------------------------------------
+Wed Dec  2 18:55:35 UTC 2009 - [email protected]
+
+- updated patches, fix build
+
+-------------------------------------------------------------------
+Fri May 29 15:39:13 CEST 2009 - [email protected]
+
+- Add missing patch for bnc#470998 uniprint consumes memory untilcw
+  OOM Killer steps in
+
+-------------------------------------------------------------------
+Tue Nov 18 12:32:28 CET 2008 - [email protected]
+
+- bnc#445708: undefined C++ code: delete arrays correctly.
+- use fdupes
+- fix wrong end-of-line-encoding (dos2unix).
+
+-------------------------------------------------------------------
+Wed Jan 02 16:14:53 CET 2008 - [email protected]
+
+- update to 2.9.0. From CHANGELOG.TXT:
+  • Added spell checking support for rovasiras (Hungarian Runes)
+
+-------------------------------------------------------------------
+Mon Dec 17 18:23:28 CET 2007 - [email protected]
+
+- use the compiler option -fPIE instead of -fpie to make it
+  build on s390 and s390x.
+
+-------------------------------------------------------------------
+Mon Dec 17 14:56:10 CET 2007 - [email protected]
+
+- update to 2.8.2.beta36. From CHANGELOG.TXT:
+ • Added change to SHunspellPattern.cpp so that it compiles with
+   g++ 2.96
+ • Added -ldl detection to configure.in
+ • Added dylib is loaded now for __APPLE__
+ • When printing from Editor window now prints only selected
+   text if text is selected.
+ • added canWrap to SGlyph.cpp so that STextView should use this 
+   instead of isDelimiter to decide on word wrap.
+ • More information on printing from Yudit.
+ • Windows ghostgun directory change in wuditw.properties
+ • changed yudit.editor.syntax.error.foreground to red
+ • Translation progres in history/translations.txt
+ • Changed Highlighting(__H__) to __H__igghligting in all po files.
+ • Display current highlighting mode in tooltip instead of
+   main window.
+ • Fixed redrwawing problems with small descent font.
+ • Keyboard shortcut pastes syntax command in the command area
+   instead of bringing up the dialog now.
+ • ERROR and NONE now preserves default foreground color of
+   original text. ERROR underlines it with the error foreground.
+ • Fixed syntax none
+ • Translation progres in history/translations.txt
+ • Fixed generating too many glyphs problem when printing with 
+   bitmap fonts in direct mode. 
+ • Current geometry is now saved in config file, if changed
+ • Made syntax selection dialog box.
+ • Reporting errors when files are missing in syntax selection
+   box.
+
+-------------------------------------------------------------------
+Sat Dec 08 13:03:48 CET 2007 - [email protected]
+
+- update to 2.8.2.beta26. 
+  (fixes a problem in the Form Feed support).
+
+-------------------------------------------------------------------
+Fri Dec 07 17:13:46 CET 2007 - [email protected]
+
+- update to 2.8.2.beta25.
+  Fixes remaining issue in bug #343820 (Form Feed support)
+  From CHANGELOG.TXT:
+  • Commented out forceful gaining of focus in SX11Impl.cpp
+     because this could cause an infinite loop when the window
+     is mapped and none of FocusIn even occures and none of
+     the windows are ours.
+  •  Increased stoolkit/syntax/SSyntax.h:
+       #define SD_UNIT_WORK_COUNT 200
+  • Line Separator can be inserted with <alt><enter>
+    (it will be orange now)
+  • Form Feed can be inserted with <ctrl><enter> (orange)
+  • Form feed now prints correctly on printer
+  • Created new glyphs for FF and LS
+
+-------------------------------------------------------------------
+Thu Dec 06 16:32:25 CET 2007 - [email protected]
+
+- update to 2.8.2.beta21. From CHANGELOG.TXT:
+  • Added experimental support for hunspell spelling checker.
+  • Changed selected background to DeepSkyBlue4.
+  • Moved syntax colors in properties.
+
+-------------------------------------------------------------------
+Wed Dec 05 16:59:19 CET 2007 - [email protected]
+
+- update to 2.8.2.beta18. From CHANGELOG.TXT:
+  • Made a framework around "syntax" keyword that could help to
+    integrate external spell-checkers into Yudit.
+  • Fixed Freehand drawing in doublebuffer mode.
+  • Embedded now also have proper colors.
+  • syntax still does not work well.
+  • Updated swindow/swin32 to do double buffering for flickerless
+    rendering.
+    You can switch off double buffering with the command line switch
+    via -ndb for both Unix/Linux and Windows.
+  • added doc/HOWTO-build.txt
+  • Creating double buffer only when rendering.
+  • Changed installed to install mytool files in chunks
+  • Added double buffering to aoid flicker
+    -ndb command line option switches off double buffering in
+    editor window
+  • Updated install.sh from /usr/share/automake-1.9/
+  • Added stub that can be used for syntax highlighting in
+    stoolkit/SSyntax.cpp and defined xml and properties 
+    highlight type gui/SYudit.cpp. This is still not ready, 
+    but the framework works so I though I might just add it.
+  • Added timer to have a time-window to collect more keypress
+    events and accumulate STextDataEvents. This will give 
+    time for the SSyntax.cpp to work on the highlighting.
+  • Modified simple color highlighting to distinguish only 
+    Letters, Numbers and Others
+  • Modified STextData to return size() == 1 if it is empty,
+    because this makes more sense.
+  • Give a more meaningful error message if DISPLAY is wrong.
+  • Updated SGML.kmap
+  • Added cp-1252.txt from  John Wehle 
+  • Fixed SXInputMethod.cpp XGetWindowProperty to use unsigned char
+  • Fixed SX11Impl.cpp XGetWindowProperty to use unsigned char
+  • changed Hangul.mys so that Yi can be typed not only as Ei
+    'w 'i   ->      0214
+    'W 'i   ->      0214
+    to 
+    'y 'i   ->      0214
+    'Y 'i   ->      0214
+    Changed  'E 'u 'i to 'Y 'i
+    C759 -> 'E 'u 'i 'g
+    C75A -> 'E 'u 'i 'g 'g
+    ...
+  • Fixed setlocale bug.
+  • fixed SCIM input method in yudit.properties.in
+  • Added Bulgarian-Translit.kmap 
+    keyboard map from Alex Izvorski aizvorski/gmail.com
+  • Added Simplified Chinese (zh_CN) gui translations from
+    John: vunzndi/vfemail.net, translated by
+    Zhou Jinnian: zhoujinnian168/yahoo.com
+  • Fixed syriac shaping bug in SFontTTF::substituteOTFGlyph.
+    Now Syriac should work again with truetype otf fonts.
+  • Capital letters have been added to Pali.kmap.
+  • Added SCIM to default yudit.properties.in:
+      yudit.editor.xinputs=SCIM,...
+  • Fixed compiler warnings with gcc 4.1.0
+  • Added Pali.kmap (original pali.kmap) from jon bressie
+    box100/prodigy.net
+
+-------------------------------------------------------------------
+Wed Nov 21 17:27:35 CET 2007 - [email protected]
+
+- update to 2.8.1.
+  • Updated for Unicode 5.0.0 (cd bin; make map)
+  • Preparing yudit-2.8.1. 
+  • Made Yudit understand +LINENO command line option.
+  • Further Khanda Ta fixes. Made bangla.ttf (all small lettters)
+    from 
+    http://www.omicronlab.com/avrokeyboard/bangla-fonts/index.htm
+    the default Bengali font. 
+  • Added  MuktiNarrow.ttf as the default bengali font from 
++++ 247 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.yudit.new/yudit.changes

New:
----
  fonts.scale.yudit
  print-preview.patch
  uniprint-catch-bad_alloc-exceptions.patch
  yudit-2.4.8-tempfile.patch
  yudit-2.9.2.patch0.txt
  yudit-2.9.2.tar.bz2
  yudit-properties.patch
  yudit-setlocale.patch
  yudit-strip.patch
  yudit.changes
  yudit.gif
  yudit.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yudit.spec ++++++
#
# spec file for package yudit
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           yudit
BuildRequires:  autoconf
BuildRequires:  dos2unix
BuildRequires:  xorg-x11-devel
%if %suse_version > 1020
BuildRequires:  fdupes
%endif
%define fontdir     /usr/share/fonts/truetype
%define xbindir     /usr/bin
BuildRequires:  freetype2-devel
BuildRequires:  gcc-c++
BuildRequires:  libjpeg-devel
BuildRequires:  openmotif
BuildRequires:  openmotif-devel
BuildRequires:  fontpackages-devel
%reconfigure_fonts_prereq
Version:        2.9.2
Release:        0
Url:            http://www.yudit.org/
Icon:         %{name}.gif
Source0:        http://yudit.org/download/yudit-%{version}.tar.bz2
Source1:        fonts.scale.yudit
Patch0:         yudit-2.4.8-tempfile.patch
Patch1:         yudit-properties.patch
Patch2:         yudit-setlocale.patch
Patch3:         print-preview.patch
Patch7:         yudit-strip.patch
Patch9:         uniprint-catch-bad_alloc-exceptions.patch
# PATCH-FIX-UPSTREAM yudit-2.9.2.patch0.txt [email protected] -- Fix 
segfault when hunspell is used on expanding line.
Patch10:        yudit-2.9.2.patch0.txt
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Unicode text editor
License:        LGPL-2.1+
Group:          Productivity/Editors/Other

%description
yudit is a unicode package to edit and convert text of different
languages.

%prep
%setup -q
#%patch0 -p1
%patch1 -p1 -b .properties
%patch2 -p1 -b .setlocale
%patch3 -p1 -b .print-preview
%patch7
%patch9 -p1 -b .catch-bad_alloc-exceptions
%patch10 -p1
for i in doc/HOWTO-baybayin.txt COPYING.TXT README.TXT doc/HOWTO-devanagari.txt 
doc/bidi/yudit.css doc/HOWTO-syntax.txt doc/notinstalled/cl.help
do
    dos2unix $i
done

%build
rm -f config.cache
autoconf
export CC="g++"
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIE"
export LDFLAGS="-pie"
./configure \
        --prefix=%{_usr} \
        --bindir=%{xbindir} \
        --mandir=%{_mandir} \
        --datadir=%{_datadir} \
        --with-freetype-includes=%{_includedir}/freetype \
        --with-freetype-libraries=%{_libdir} \
        %{_target_platform}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
install -m 644 gnome-yudit.png $RPM_BUILD_ROOT/usr/share/pixmaps/yudit.png
mkdir -p $RPM_BUILD_ROOT%{fontdir}
mv $RPM_BUILD_ROOT/%{_datadir}/%{name}/fonts/yudit.ttf \
   $RPM_BUILD_ROOT%{fontdir}
install -m 644 $RPM_SOURCE_DIR/fonts.scale.yudit \
   $RPM_BUILD_ROOT%{fontdir}
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
cp -a C* FAQ* READM* TOD*  *BUG* $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
cp -a doc $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT/usr/share
%endif

%clean

%reconfigure_fonts_scriptlets

%files
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}
%config /usr/share/pixmaps/yudit.png
%{xbindir}/*
%dir %{fontdir}/
%{fontdir}/*
%doc %{_mandir}/man1/*
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/config
%config %{_datadir}/%{name}/config/*
%{_datadir}/%{name}/data/
%{_datadir}/%{name}/fonts/
%{_datadir}/%{name}/src/
%{_datadir}/%{name}/doc/
%{_datadir}/%{name}/locale/
%{_datadir}/%{name}/syntax/

%changelog
++++++ fonts.scale.yudit ++++++
2
yudit.ttf -misc-Yudit-medium-r-normal--0-0-0-0-p-0-iso10646-1
yudit.ttf -misc-Yudit-medium-r-normal--0-0-0-0-p-0-iso8859-2
++++++ print-preview.patch ++++++
Index: yudit-2.9.2/gui/SYudit.cpp
===================================================================
--- yudit-2.9.2.orig/gui/SYudit.cpp
+++ yudit-2.9.2/gui/SYudit.cpp
@@ -2414,6 +2414,7 @@ SYudit::addMytoolPrefix (SString* execut
   }
 #else
   SString pr = getPrefix();
+  pr = "/usr/X11R6";
   pr.append ("/bin/mytool");
   SFile f0 (pr);
   if (f0.size () <= 0) 
++++++ uniprint-catch-bad_alloc-exceptions.patch ++++++
Index: yudit-2.9.2/uniprint/Main.cpp
===================================================================
--- yudit-2.9.2.orig/uniprint/Main.cpp
+++ yudit-2.9.2/uniprint/Main.cpp
@@ -37,6 +37,8 @@
 #include <string.h>
 #include <stdlib.h>
 
+#include <new>
+
 #define BUFFER_SIZE 512
 
 static const char *version="uniprint verison %s GNU(c) Gaspar Sinai\n";
@@ -318,11 +320,20 @@ main (int argc, char *argv[])
   uniPrint.setLineEndMark(shownl);
   uniPrint.setWordWrap(wrap);
 
-  if (!uniPrint.print (ifileString, utf8.encode (res)))
+  try
   {
-    fprintf (stderr, "uniprint: can not print.\n");
+    if (!uniPrint.print (ifileString, utf8.encode (res)))
+    {
+      fprintf (stderr, "uniprint: can not print.\n");
+      return 1;
+    }
+  }
+  catch (std::bad_alloc)
+  {
+    fprintf (stderr, "uniprint: can not print (out of memory).\n");
     return 1;
   }
+
   int pagecount = uniPrint.getPageCount();
   if (pagecount > 1)
   {
++++++ yudit-2.4.8-tempfile.patch ++++++
--- yudit-2.4.8/gui/Main.cpp.tempfile   Sun Nov 11 10:32:21 2001
+++ yudit-2.4.8/gui/Main.cpp    Wed Jan 23 15:31:11 2002
@@ -170,7 +170,7 @@
   //userProperties.put ("yudit.default.language", "en");
   userProperties.put ("yudit.default.filetype", "utf-8");
   userProperties.put ("yudit.default.printer.options", "");
-  userProperties.put ("yudit.default.preview.command", "-e 'cat > 
/tmp/yudit$$.ps; gv /tmp/yudit$$.ps ; /bin/rm -f /tmp/yudit$$.ps'");
+  userProperties.put ("yudit.default.preview.command", "-e 'TMPNAME=`mktemp 
/tmp/yudit.XXXXXX`; cat > $TMPNAME; gv $TMPNAME ; /bin/rm -f $TMPNAME'");
 
   SString userconfig (dotdir);
   userconfig.append ("/yudit.properties");
++++++ yudit-2.9.2.patch0.txt ++++++
This patch fixes segmentation fault when hunspell is used on an expaning line.

Gaspar Sinai <[email protected]>
Tokyo 2010-02-15

*** yudit-2.9.2/stoolkit/syntax/SSyntax.cpp-    2007-12-09 16:43:25.000000000 
+0900
--- yudit-2.9.2/stoolkit/syntax/SSyntax.cpp     2010-02-15 19:40:10.984291072 
+0900
***************
*** 228,231 ****
--- 228,232 ----
    }
    if (i==max) return SD_ERROR;
+   if (syntaxLines[index.line]->size()<=i) return SD_ERROR;
    return (SS_Tag) (syntaxLines[index.line]->peek (i) & 0xff);
  }
++++++ yudit-properties.patch ++++++
Index: yudit-2.9.2/yudit.properties.in
===================================================================
--- yudit-2.9.2.orig/yudit.properties.in
+++ yudit-2.9.2/yudit.properties.in
@@ -36,7 +36,7 @@ yudit.datapath=@YUDIT_DATA@/data
 #
 # This is where the .ttf (True Type font) files are
 #
-yudit.fontpath=@YUDIT_DATA@/fonts,/usr/share/yudit/data
+yudit.fontpath=/usr/share/fonts/truetype,/usr/X11R6/lib/X11/fonts/truetype,@YUDIT_DATA@/fonts,/usr/share/yudit/data
 
 #
 # This is where the .syn (Syntax Highlighting) files are
++++++ yudit-setlocale.patch ++++++
Index: yudit-2.9.2/swindow/sx11/SXInputMethod.cpp
===================================================================
--- yudit-2.9.2.orig/swindow/sx11/SXInputMethod.cpp
+++ yudit-2.9.2/swindow/sx11/SXInputMethod.cpp
@@ -805,9 +805,9 @@ SXInputMethod::createIC (const SString&
   SString zlocale = slocale;
   if (zlocale.size() == 0) zlocale = "C";
   zlocale.append ((char)0);
-  if (!setlocale (LC_ALL, zlocale.array()))
+  if (!setlocale (LC_CTYPE, zlocale.array()))
   {
-    setlocale (LC_ALL, "C");
+    setlocale (LC_CTYPE, "C");
     fprintf (stderr, "Locale %s is not supported by C library.\n", 
         zlocale.array());
   }
@@ -929,10 +929,10 @@ SXInputMethod::createIC (const SString&
     icEncoding = "";
     localeOK = false;
 #ifdef HAVE_LOCALE
-    setlocale (LC_ALL, "C");
-    if (!setlocale (LC_ALL, "C"))
+    setlocale (LC_CTYPE, "C");
+    if (!setlocale (LC_CTYPE, "C"))
     {
-      setlocale (LC_ALL, "C");
+      setlocale (LC_CTYPE, "C");
       fprintf (stderr, "Locale C is not supported by C library.\n"); 
     }
     else if (!XSupportsLocale()) 
@@ -942,7 +942,7 @@ SXInputMethod::createIC (const SString&
     else
     {
       localeOK = true;
-      //fprintf (stderr, "set locale %s.\n", zlocale.array());
+      //fprintf (stderr, "set locale %s.\n", "C");
     }
 #endif
     isAscii = true;
++++++ yudit-strip.patch ++++++
Index: Makefile.conf.in
===================================================================
--- Makefile.conf.in.orig
+++ Makefile.conf.in
@@ -23,8 +23,7 @@ CPPFLAGS = -I$(TOPDIR) @CPPFLAGS@ -Wall
 INSTALL = @INSTALL@
 YUDIT_DATA = @YUDIT_DATA@
 INSTALL = $(TOPDIR)/bin/install-sh -c
-# Strip binary
-INSTALL_PROGRAM = $(TOPDIR)/bin/install-sh -c -s
+INSTALL_PROGRAM = $(TOPDIR)/bin/install-sh -c
 INSTALL_DATA = $(TOPDIR)/bin/install-sh -c -m 644
 
 X_CFLAGS = @X_CFLAGS@
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to