Accepting request 195766 from home:dstoecker

Please change also the repositories for 12.2,12.3 and Factory for editors project to ":NonFree", so nedit compiles. Since 12.2 motif is in nonfree.

OBS-URL: https://build.opensuse.org/request/show/195766
OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=9
This commit is contained in:
Dirk Stoecker 2013-08-28 06:25:12 +00:00 committed by Git OBS Bridge
parent c3c46119d7
commit f0b826cdb3
6 changed files with 34 additions and 5 deletions

12
nedit-5.5CVS-motif.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ur nedit/util/motif.c nedit_fix/util/motif.c
--- nedit/util/motif.c 2012-10-25 15:51:20.000000000 +0200
+++ nedit_fix/util/motif.c 2013-08-21 06:40:14.649187774 +0200
@@ -151,7 +151,7 @@
{
result = MotifKnownBad;
}
- else if (XmFullVersion >= 200203 && XmFullVersion <= 200303) /* 2.2.3 - 2.3 is good */
+ else if (XmFullVersion >= 200203 && XmFullVersion <= 200304) /* 2.2.3 - 2.3 is good */
{
result = MotifKnownGood;
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:453b6cff87c38281d9b809a563031e9c33dd7bda9e8ea7c3325e9bc6541323b9
size 1056292

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 21 04:38:42 UTC 2013 - opensuse@dstoecker.de
- update to CVS from 2013-08-21, fixed compiling with motif 2.3.4
-------------------------------------------------------------------
Thu Jan 10 12:05:37 UTC 2013 - opensuse@dstoecker.de

View File

@ -1,5 +1,5 @@
Name: nedit
Version: 5.5_CVS20121026
Version: 5.5_CVS20130821
Release: 1
License: GPL-2.0+
Url: http://www.nedit.org/
@ -19,6 +19,7 @@ Patch2: %{name}-5.5CVS-security.patch
Patch3: %{name}-5.5CVS-nc-manfix.patch
Patch4: %{name}-5.5-visfix.patch
Patch5: %{name}-5.5CVS-utf8.patch
Patch6: %{name}-5.5CVS-motif.patch
%description
NEdit is a GUI style plain text editor for workstations with the X Window System
@ -27,12 +28,13 @@ mouse support, macro extension language, syntax highlighting,
and a lot other nice features (and extensions for programmers).
%prep
%setup -q -n %{name}-%{version}
%setup -q -n %{name}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p0
%patch6 -p1
%build
#find -name .cvsignore |xargs rm

10
update.sh Normal file
View File

@ -0,0 +1,10 @@
#! /bin/bash
NAME=nedit
cvs -d :pserver:anonymous@nedit.cvs.sourceforge.net:/cvsroot/nedit co ${NAME}
#osc rm $NAME-*.tar.bz2
date=`date -u +"%Y%m%d"`
ARC=$NAME-5.5_CVS$date-src.tar.bz2
tar -cjf $ARC $NAME --exclude "CVS" --exclude ".cvsignore"
rm -rf $NAME
#osc add $ARC