rpms/wxMaxima/devel wxMaxima-0.8.2-ltr_layout.patch, NONE, 1.1 wxMaxima.spec, 1.28, 1.29
Rex Dieter
rdieter at fedoraproject.org
Sat Jul 18 20:40:44 UTC 2009
Author: rdieter
Update of /cvs/pkgs/rpms/wxMaxima/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18278
Modified Files:
wxMaxima.spec
Added Files:
wxMaxima-0.8.2-ltr_layout.patch
Log Message:
* Sat Jul 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.8.2-2
- output window of wxMaxima is not visible in RtL locales (#455863)
wxMaxima-0.8.2-ltr_layout.patch:
MathCtrl.cpp | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE wxMaxima-0.8.2-ltr_layout.patch ---
diff -up wxMaxima-0.8.2/src/MathCtrl.cpp.ltr_layout wxMaxima-0.8.2/src/MathCtrl.cpp
--- wxMaxima-0.8.2/src/MathCtrl.cpp.ltr_layout 2009-04-15 07:56:26.000000000 -0500
+++ wxMaxima-0.8.2/src/MathCtrl.cpp 2009-07-18 15:35:58.013133569 -0500
@@ -83,6 +83,8 @@ MathCtrl::MathCtrl(wxWindow* parent, int
m_saved = true;
m_evaluationQueue = new EvaluationQueue();
AdjustSize();
+ // hack to workaround problems in RtL locales, http://bugzilla.redhat.com/455863
+ SetLayoutDirection(wxLayout_LeftToRight);
}
MathCtrl::~MathCtrl() {
Index: wxMaxima.spec
===================================================================
RCS file: /cvs/pkgs/rpms/wxMaxima/devel/wxMaxima.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- wxMaxima.spec 29 Jun 2009 16:46:11 -0000 1.28
+++ wxMaxima.spec 18 Jul 2009 20:40:43 -0000 1.29
@@ -4,7 +4,7 @@
Summary: Graphical user interface for Maxima
Name: wxMaxima
Version: 0.8.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/Engineering
@@ -12,6 +12,8 @@ URL: http://wxmaxima.sourceforge.net
Source0: http://downloads.sourceforge.net/sourceforge/wxmaxima/wxMaxima-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1: wxMaxima-0.8.2-ltr_layout.patch
+
# Deployable only where maxima exsists.
%if 0%{?fedora} > 8
# reinclude ppc when fixed: http://bugzilla.redhat.com/448734
@@ -38,8 +40,7 @@ Maxima using wxWidgets.
%prep
%setup -q
-# app icon
-convert -resize 48x48 data/wxmaxima.png data/wxmaxima-48x48.png
+%patch1 -p1 -b .ltr_layout
%build
@@ -64,13 +65,14 @@ desktop-file-install --vendor="" \
# app icon
install -p -D -m644 data/wxmaxima.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/wxmaxima.png
+convert -resize 48x48 data/wxmaxima.png data/wxmaxima-48x48.png
install -p -D -m644 data/wxmaxima-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/wxmaxima.png
+%find_lang wxMaxima
+
# Unpackaged files
rm -f %{buildroot}%{_datadir}/wxMaxima/{COPYING,README}
-%find_lang wxMaxima
-
%clean
rm -rf %{buildroot}
@@ -103,6 +105,9 @@ gtk-update-icon-cache %{_datadir}/icons/
%changelog
+* Sat Jul 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.8.2-2
+- output window of wxMaxima is not visible in RtL locales (#455863)
+
* Mon Jun 29 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.8.2-1
- wxMaxima-0.8.2
More information about the fedora-extras-commits
mailing list