Compare commits

...

5 Commits
rawhide ... f12

Author SHA1 Message Date
Fedora Release Engineering 0069774390 dist-git conversion 2010-07-29 03:28:19 +00:00
Kalev Lember c78b958441 Added patch to fix renderer crash with Qt 4.6 2010-02-25 20:36:55 +00:00
Kalev Lember c9ac06b3ad - Rebuilt with Qt 4.6
- Updated source URL.
2010-02-24 22:11:37 +00:00
Bill Nottingham 3305120f96 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:37:49 +00:00
Jesse Keating 07f4da9f7b Initialize branch F-12 for mmapper 2009-09-29 05:31:52 +00:00
5 changed files with 62 additions and 24 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: mmapper
# $Id$
NAME := mmapper
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1 +0,0 @@
mmapper-2_0_4-2_final2_fc12:HEAD:mmapper-2.0.4-2.final2.fc12.src.rpm:1250150670

View File

@ -0,0 +1,49 @@
Index: src/display/mapcanvas.cpp
===================================================================
--- src/display/mapcanvas.cpp (revision 179)
+++ src/display/mapcanvas.cpp (revision 180)
@@ -844,6 +844,8 @@
{
m_scrollX = x;
m_scrollY = y;
+
+ makeCurrent();
resizeGL(width(), height());
updateGL();
}
@@ -851,6 +853,8 @@
void MapCanvas::setHorizontalScroll(int x)
{
m_scrollX = x;
+
+ makeCurrent();
resizeGL(width(), height());
updateGL();
}
@@ -858,6 +862,8 @@
void MapCanvas::setVerticalScroll(int y)
{
m_scrollY = y;
+
+ makeCurrent();
resizeGL(width(), height());
updateGL();
}
@@ -867,6 +873,8 @@
m_scaleFactor += 0.05f;
if (m_scaleFactor > 2.0f)
m_scaleFactor -= 0.05f;
+
+ makeCurrent();
resizeGL(width(), height());
updateGL();
}
@@ -876,6 +884,8 @@
m_scaleFactor -= 0.05f;
if (m_scaleFactor < 0.04f)
m_scaleFactor += 0.05f;
+
+ makeCurrent();
resizeGL(width(), height());
updateGL();
}

View File

@ -2,7 +2,7 @@
Name: mmapper
Version: 2.0.4
Release: 2.%{extraversion}%{?dist}
Release: 5.%{extraversion}%{?dist}
Summary: Graphical MUME mapper
Group: Amusements/Games
@ -20,7 +20,8 @@ Group: Amusements/Games
# The rest of the source files are GPLv2+
License: GPLv2
URL: http://sourceforge.net/projects/mmapper
Source0: http://downloads.sourceforge.net/%{name}/%{name}%20%{version}%20%28final%29/%{name}-%{version}-%{extraversion}-source.tar.gz
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-%{extraversion}-source.tar.gz
Patch1: mmapper-fix-renderer-crash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
@ -38,6 +39,7 @@ data in real time and show player's position in a map.
%prep
%setup -q -n %{name}-%{version}-%{extraversion}-source
%patch1 -p0 -b .renderer-crash
%build
@ -86,6 +88,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Feb 25 2010 Kalev Lember <kalev@smartlink.ee> - 2.0.4-5.final2
- Added patch to fix renderer crash with Qt 4.6
* Thu Feb 25 2010 Kalev Lember <kalev@smartlink.ee> - 2.0.4-4.final2
- Rebuilt with Qt 4.6
* Mon Nov 23 2009 Kalev Lember <kalev@smartlink.ee> - 2.0.4-3.final2
- Updated source URL.
* Tue Aug 11 2009 Kalev Lember <kalev@smartlink.ee> - 2.0.4-2.final2
- Changed license tag to read "GPLv2" as there is GPLv2-only code in the mix.