- fix for #816370 - rem2ps should not require margins to be at least 1/2 inch
- Patch from Jonathan Kamens
This commit is contained in:
parent
794433bfcf
commit
da6d779890
11
remind-03.01.12-rem2ps-margins.patch
Normal file
11
remind-03.01.12-rem2ps-margins.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/rem2ps.c~ 2011-12-05 17:08:21.000000000 -0500
|
||||||
|
+++ src/rem2ps.c 2012-04-25 17:46:19.831719343 -0400
|
||||||
|
@@ -772,7 +772,7 @@
|
||||||
|
case 'o':
|
||||||
|
if (i == argc) Usage("Offset must be supplied");
|
||||||
|
offset = atoi(argv[i++]);
|
||||||
|
- if (offset < 36) offset = 36;
|
||||||
|
+ if (offset < 0) offset = 0;
|
||||||
|
if (!*s) Usage("Offset must specify l, r, t or b");
|
||||||
|
while(*s) {
|
||||||
|
switch(*s++) {
|
@ -1,6 +1,6 @@
|
|||||||
Name: remind
|
Name: remind
|
||||||
Version: 03.01.12
|
Version: 03.01.12
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A sophisticated calendar and alarm program
|
Summary: A sophisticated calendar and alarm program
|
||||||
|
|
||||||
Group: Applications/Productivity
|
Group: Applications/Productivity
|
||||||
@ -9,6 +9,7 @@ URL: http://www.roaringpenguin.com/en/penguin/openSourceProducts/remi
|
|||||||
Source0: http://www.roaringpenguin.com/files/download/remind-%{version}.tar.gz
|
Source0: http://www.roaringpenguin.com/files/download/remind-%{version}.tar.gz
|
||||||
Source1: tkremind.desktop
|
Source1: tkremind.desktop
|
||||||
Patch0: remind-nostrip.patch
|
Patch0: remind-nostrip.patch
|
||||||
|
Patch1: remind-03.01.12-rem2ps-margins.patch
|
||||||
Requires: tcl
|
Requires: tcl
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
@ -38,10 +39,12 @@ iconv -c -t UTF8 remind.1 > remind.1.utf8
|
|||||||
%{__mv} remind.1.utf8 remind.1
|
%{__mv} remind.1.utf8 remind.1
|
||||||
popd
|
popd
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1
|
||||||
pushd www
|
pushd www
|
||||||
find . -type f -exec chmod -x {} \;
|
find . -type f -exec chmod -x {} \;
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
@ -91,6 +94,10 @@ desktop-file-install --vendor "fedora" \
|
|||||||
%{_mandir}/man1/tkremind.1.gz
|
%{_mandir}/man1/tkremind.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 03 2012 Jaromir Capik <jcapik@redhat.com> - 03.01.12-2
|
||||||
|
- fix for #816370 - rem2ps should not require margins to be at least 1/2 inch
|
||||||
|
- Patch from Jonathan Kamens
|
||||||
|
|
||||||
* Mon Apr 30 2012 Jaromir Capik <jcapik@redhat.com> - 03.01.12-1
|
* Mon Apr 30 2012 Jaromir Capik <jcapik@redhat.com> - 03.01.12-1
|
||||||
- Updated to 03.01.12
|
- Updated to 03.01.12
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user