SHA256
1
0
forked from pool/gucharmap
OBS User unknown 2008-06-25 23:27:35 +00:00 committed by Git OBS Bridge
parent 11428695ec
commit 9d0b48435b
6 changed files with 51 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:363ceae0799340797d61d3c88fbfbe1bc17243dde97530a95e90d756a44fc3a0
size 2632367

3
gucharmap-2.23.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:241be02809a86150ea602df09c2f915643e75ebcda99f0858e597aadfae478b8
size 2892866

12
gucharmap-abuild.patch Normal file
View File

@ -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);

View File

@ -1,15 +1,15 @@
Index: gucharmap.desktop.in Index: gucharmap.desktop.in.in
=================================================================== ===================================================================
--- gucharmap.desktop.in.orig --- gucharmap.desktop.in.in.orig
+++ gucharmap.desktop.in +++ gucharmap.desktop.in.in
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
-_Name=Character Map -_Name=Character Map
+_Name=Gnome Character Map +_Name=GNOME Character Map
_Comment=Insert special characters into documents _Comment=Insert special characters into documents
Exec=gucharmap Exec=gucharmap
Icon=gucharmap Icon=accessories-character-map
Terminal=false Terminal=false
Type=Application Type=Application
-Categories=GNOME;GTK;Utility; -Categories=GNOME;GTK;Utility;

View File

@ -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 Fri Apr 11 17:26:32 CEST 2008 - maw@suse.de

View File

@ -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. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
@ -12,15 +12,16 @@
Name: gucharmap 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 License: GPL v2 or later; LGPL v2.1 or later
Group: System/GUI/GNOME Group: System/GUI/GNOME
Version: 2.22.1 Version: 2.23.4
Release: 1 Release: 1
Summary: A Feature-Rich Unicode Character Map Summary: A Feature-Rich Unicode Character Map
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: %name-desktop.patch Patch: %name-desktop.patch
Patch1: gucharmap-no-root.patch Patch1: gucharmap-no-root.patch
Patch2: gucharmap-abuild.patch
Url: http://gucharmap.sourceforge.net/ Url: http://gucharmap.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version} Requires: %{name}-lang = %{version}
@ -56,17 +57,20 @@ Authors:
%setup -q %setup -q
%patch %patch
%patch1 %patch1
%patch2
%build %build
autoreconf -f -i autoreconf -f -i
# FIXME: Build as root modifies system! # FIXME: Build as root modifies system!
# gucharmap-1.8.0: --disable-scrollkeeper does not work properly. # gucharmap-1.8.0: --disable-scrollkeeper does not work properly.
%configure\ %configure \
--disable-scrollkeeper --disable-scrollkeeper \
--enable-python-bindings
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
%makeinstall %makeinstall
rm $RPM_BUILD_ROOT/%{py_sitedir}/gtk-2.0/*.la
%find_lang %{name} %find_lang %{name}
%find_gconf_schemas %find_gconf_schemas
%fdupes $RPM_BUILD_ROOT %fdupes $RPM_BUILD_ROOT
@ -86,12 +90,13 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.schemas_list %files -f %{name}.schemas_list
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.LIB ChangeLog README TODO %doc COPYING ChangeLog NEWS README TODO
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_datadir}/icons/hicolor/48x48/apps/gucharmap.png
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/omf/gucharmap %{_datadir}/omf/gucharmap
%{py_sitedir}/gtk-2.0/gucharmap.so
%{_datadir}/pygtk/2.0/defs/*
%files lang -f %{name}.lang %files lang -f %{name}.lang
@ -103,6 +108,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %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 * Fri Apr 11 2008 maw@suse.de
- Update to version 2.22.1: - Update to version 2.22.1:
+ Bug fixed: bgo#506752. + Bug fixed: bgo#506752.