diff --git a/gucharmap-2.22.1.tar.bz2 b/gucharmap-2.22.1.tar.bz2 deleted file mode 100644 index 9cb7e6f..0000000 --- a/gucharmap-2.22.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:363ceae0799340797d61d3c88fbfbe1bc17243dde97530a95e90d756a44fc3a0 -size 2632367 diff --git a/gucharmap-2.23.4.tar.bz2 b/gucharmap-2.23.4.tar.bz2 new file mode 100644 index 0000000..b12ecfa --- /dev/null +++ b/gucharmap-2.23.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:241be02809a86150ea602df09c2f915643e75ebcda99f0858e597aadfae478b8 +size 2892866 diff --git a/gucharmap-abuild.patch b/gucharmap-abuild.patch new file mode 100644 index 0000000..10a565d --- /dev/null +++ b/gucharmap-abuild.patch @@ -0,0 +1,12 @@ +=== modified file 'gucharmap/gucharmap-print-operation.c' +--- gucharmap/gucharmap-print-operation.c 2008-06-25 19:56:52 +0000 ++++ gucharmap/gucharmap-print-operation.c 2008-06-25 19:59:01 +0000 +@@ -220,7 +220,6 @@ + start_index = page_nr * page_size; + last_index = start_index + page_size - 1; + last_index = MIN (last_index, priv->last_codepoint_index); +- g_assert (i <= priv->last_codepoint_index); + + cr = gtk_print_context_get_cairo_context (context); + + diff --git a/gucharmap-desktop.patch b/gucharmap-desktop.patch index 221871a..473d3cc 100644 --- a/gucharmap-desktop.patch +++ b/gucharmap-desktop.patch @@ -1,15 +1,15 @@ -Index: gucharmap.desktop.in +Index: gucharmap.desktop.in.in =================================================================== ---- gucharmap.desktop.in.orig -+++ gucharmap.desktop.in +--- gucharmap.desktop.in.in.orig ++++ gucharmap.desktop.in.in @@ -1,12 +1,12 @@ [Desktop Entry] Encoding=UTF-8 -_Name=Character Map -+_Name=Gnome Character Map ++_Name=GNOME Character Map _Comment=Insert special characters into documents Exec=gucharmap - Icon=gucharmap + Icon=accessories-character-map Terminal=false Type=Application -Categories=GNOME;GTK;Utility; diff --git a/gucharmap.changes b/gucharmap.changes index 5f5fc86..f249f34 100644 --- a/gucharmap.changes +++ b/gucharmap.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jun 25 20:09:29 CEST 2008 - maw@suse.de + +- Update to version 2.23.4: + + API change: the pkg-config name is now gucharmap-2 + + Support for Unicode 5.1 + + gtk-doc API docs + + Python bindings + + Many bug fixes +- Add gucharmap-abuild.patch. + ------------------------------------------------------------------- Fri Apr 11 17:26:32 CEST 2008 - maw@suse.de diff --git a/gucharmap.spec b/gucharmap.spec index 6dc5801..5495ab8 100644 --- a/gucharmap.spec +++ b/gucharmap.spec @@ -1,5 +1,5 @@ # -# spec file for package gucharmap (Version 2.22.1) +# spec file for package gucharmap (Version 2.23.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,15 +12,16 @@ Name: gucharmap -BuildRequires: docbook_4 fdupes gnome-common gnome-doc-utils-devel intltool libgnomeui-devel scrollkeeper update-desktop-files +BuildRequires: docbook_4 fdupes gnome-common gnome-doc-utils-devel intltool libgnomeui-devel python-gtk-devel scrollkeeper update-desktop-files License: GPL v2 or later; LGPL v2.1 or later Group: System/GUI/GNOME -Version: 2.22.1 +Version: 2.23.4 Release: 1 Summary: A Feature-Rich Unicode Character Map Source: %{name}-%{version}.tar.bz2 Patch: %name-desktop.patch Patch1: gucharmap-no-root.patch +Patch2: gucharmap-abuild.patch Url: http://gucharmap.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-lang = %{version} @@ -56,17 +57,20 @@ Authors: %setup -q %patch %patch1 +%patch2 %build autoreconf -f -i # FIXME: Build as root modifies system! # gucharmap-1.8.0: --disable-scrollkeeper does not work properly. -%configure\ - --disable-scrollkeeper +%configure \ + --disable-scrollkeeper \ + --enable-python-bindings make %{?jobs:-j%jobs} %install %makeinstall +rm $RPM_BUILD_ROOT/%{py_sitedir}/gtk-2.0/*.la %find_lang %{name} %find_gconf_schemas %fdupes $RPM_BUILD_ROOT @@ -86,12 +90,13 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.schemas_list %defattr(-,root,root) -%doc COPYING COPYING.LIB ChangeLog README TODO +%doc COPYING ChangeLog NEWS README TODO %{_bindir}/* %{_libdir}/*.so.* -%{_datadir}/icons/hicolor/48x48/apps/gucharmap.png %{_datadir}/applications/*.desktop %{_datadir}/omf/gucharmap +%{py_sitedir}/gtk-2.0/gucharmap.so +%{_datadir}/pygtk/2.0/defs/* %files lang -f %{name}.lang @@ -103,6 +108,14 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Wed Jun 25 2008 maw@suse.de +- Update to version 2.23.4: + + API change: the pkg-config name is now gucharmap-2 + + Support for Unicode 5.1 + + gtk-doc API docs + + Python bindings + + Many bug fixes +- Add gucharmap-abuild.patch. * Fri Apr 11 2008 maw@suse.de - Update to version 2.22.1: + Bug fixed: bgo#506752.