diff --git a/ghostview-1.5-ad.dif b/ghostview-1.5-ad.dif new file mode 100644 index 0000000..6577bd3 --- /dev/null +++ b/ghostview-1.5-ad.dif @@ -0,0 +1,78 @@ +--- Ghostview.ad ++++ Ghostview.ad 2011-11-08 12:01:45.894067000 +0000 +@@ -60,25 +60,41 @@ + *MenuButton.baseTranslations: #replace \n\ + : highlight() \n\ + : reset() \n\ +- ! : reset() PopupMenu() \n\ +- ! Shift: reset() PopupMenu() \n\ +- ! Lock : reset() PopupMenu() \n\ +- ! Lock Shift: reset() PopupMenu() \n\ +- !Ctrl : reset() PopupMenu() \n\ +- !Ctrl Shift: reset() PopupMenu() \n\ +- !Ctrl Lock : reset() PopupMenu() \n\ +- !Ctrl Lock Shift: reset() PopupMenu() ++ ! : reset() PopupMenu() \n\ ++ ! Shift: reset() PopupMenu() \n\ ++ ! Lock : reset() PopupMenu() \n\ ++ ! Lock Shift: reset() PopupMenu() \n\ ++ ! @Num_Lock : reset() PopupMenu() \n\ ++ ! @Num_Lock Shift: reset() PopupMenu() \n\ ++ ! @Num_Lock Lock : reset() PopupMenu() \n\ ++ ! @Num_Lock Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl : reset() PopupMenu() \n\ ++ !Ctrl Shift: reset() PopupMenu() \n\ ++ !Ctrl Lock : reset() PopupMenu() \n\ ++ !Ctrl Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock : reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Lock : reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Lock Shift: reset() PopupMenu() + *MenuButton.translations: #replace \n\ + : highlight() \n\ + : reset() \n\ +- ! : reset() PopupMenu() \n\ +- ! Shift: reset() PopupMenu() \n\ +- ! Lock : reset() PopupMenu() \n\ +- ! Lock Shift: reset() PopupMenu() \n\ +- !Ctrl : reset() PopupMenu() \n\ +- !Ctrl Shift: reset() PopupMenu() \n\ +- !Ctrl Lock : reset() PopupMenu() \n\ +- !Ctrl Lock Shift: reset() PopupMenu() ++ ! : reset() PopupMenu() \n\ ++ ! Shift: reset() PopupMenu() \n\ ++ ! Lock : reset() PopupMenu() \n\ ++ ! Lock Shift: reset() PopupMenu() \n\ ++ ! @Num_Lock : reset() PopupMenu() \n\ ++ ! @Num_Lock Shift: reset() PopupMenu() \n\ ++ ! @Num_Lock Lock : reset() PopupMenu() \n\ ++ ! @Num_Lock Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl : reset() PopupMenu() \n\ ++ !Ctrl Shift: reset() PopupMenu() \n\ ++ !Ctrl Lock : reset() PopupMenu() \n\ ++ !Ctrl Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock : reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Shift: reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Lock : reset() PopupMenu() \n\ ++ !Ctrl @Num_Lock Lock Shift: reset() PopupMenu() + *SimpleMenu.baseTranslations: #replace \n\ + : highlight() \n\ + : unhighlight() \n\ +@@ -194,7 +210,7 @@ Ghostview.translations: #replace \n\ + L: GhostviewScrollRight() \n\ + ShiftUp: GhostviewForce() GhostviewSetOrientation(portrait) \n\ + ShiftRight: GhostviewForce() GhostviewSetOrientation(landscape) \n\ +- ShiftDown: GhostviewForce() GhostviewSetOrientation(upside-down) \n\ ++ ShiftDown: GhostviewForce() GhostviewSetOrientation(upside-down) \n\ + ShiftLeft: GhostviewForce() GhostviewSetOrientation(seascape) \n\ + Up: GhostviewDefault() GhostviewSetOrientation(portrait) \n\ + Right: GhostviewDefault() GhostviewSetOrientation(landscape) \n\ +@@ -237,7 +253,7 @@ Ghostview.translations: #replace \n\ + L: GhostviewScrollRight() \n\ + ShiftUp: GhostviewForce() GhostviewSetOrientation(portrait) \n\ + ShiftRight: GhostviewForce() GhostviewSetOrientation(landscape) \n\ +- ShiftDown: GhostviewForce() GhostviewSetOrientation(upside-down) \n\ ++ ShiftDown: GhostviewForce() GhostviewSetOrientation(upside-down) \n\ + ShiftLeft: GhostviewForce() GhostviewSetOrientation(seascape) \n\ + Up: GhostviewDefault() GhostviewSetOrientation(portrait) \n\ + Right: GhostviewDefault() GhostviewSetOrientation(landscape) \n\ diff --git a/ghostview.changes b/ghostview.changes index 25c75d5..3864f80 100644 --- a/ghostview.changes +++ b/ghostview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 8 12:08:26 UTC 2011 - werner@suse.de + +- Add Num_Lock as modifire for Button Down (bnc#727906) + ------------------------------------------------------------------- Tue Apr 8 11:06:40 CEST 2008 - werner@suse.de diff --git a/ghostview.spec b/ghostview.spec index 42ff915..5f35a23 100644 --- a/ghostview.spec +++ b/ghostview.spec @@ -34,6 +34,7 @@ Source: ghostview-1.5.tar.bz2 Source1: ghostview.desktop Source2: ghostview.png Patch: ghostview-1.5.dif +Patch1: ghostview-1.5-ad.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" @@ -58,6 +59,7 @@ Authors: %prep %setup -q %patch +%patch1 %build xmkmf -a