Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

42 commits

Author SHA1 Message Date
Maxwell G
74c10bd885 Orphaned for 6+ weeks 2024-07-01 12:21:09 -05:00
Fedora Release Engineering
a133b7b50c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 09:52:25 +00:00
Fedora Release Engineering
45dc56b01e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:01:27 +00:00
Fedora Release Engineering
40168ec37a Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:37:26 +00:00
Scott Talbert
35e9b2e94a Rebuild with wxWidgets 3.2 2022-08-04 20:04:27 -04:00
Fedora Release Engineering
28c8fbed3e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:17:13 +00:00
Fedora Release Engineering
2126fe23ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:15:20 +00:00
Fedora Release Engineering
e6d9afa26e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:42:48 +00:00
Fedora Release Engineering
5fe601a3e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:09:24 +00:00
Tom Stellard
3b53dfd76b Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:31:05 +00:00
Fedora Release Engineering
5fc17588a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:50:02 +00:00
Fedora Release Engineering
99fa4d87cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 04:35:50 +00:00
Fedora Release Engineering
802e27228d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:20:28 +00:00
Fedora Release Engineering
d19f115aab - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:32:48 +00:00
3d3c17a0b1 Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:17:46 +01:00
1d7856c4dc Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:55 +01:00
Scott Talbert
8b9dd48d6d Rebuild with wxWidgets 3.0 and fix FTBFS (#1606742) 2018-08-21 21:21:22 -04:00
95453d1358
Add missing BuildRequires on gcc
configure: error: no acceptable C compiler found in $PATH

References: https://bugzilla.redhat.com/show_bug.cgi?id=1606742
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 16:53:24 +02:00
Fedora Release Engineering
24a806cb33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:23:17 +00:00
Fedora Release Engineering
dd40fa7786 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:46:40 +00:00
Fedora Release Engineering
54c1bcf75e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:46:59 +00:00
Fedora Release Engineering
15b935dce4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:13:15 +00:00
Fedora Release Engineering
dbf78dde31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:57:14 +00:00
Jonathan Wakely
f2f6b999cc Rebuilt for Boost 1.63 2017-01-27 09:17:27 +00:00
Fedora Release Engineering
955271c06a - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:35:51 +00:00
Jonathan Wakely
15a3ff6e1e Rebuilt for Boost 1.60 2016-01-16 04:02:47 +00:00
Jonathan Wakely
88ba9101b2 Rebuilt for Boost 1.59 2015-08-27 18:04:03 +01:00
Adam Williamson
52ec537ab5 update to newest upstream 2015-07-30 18:10:00 -07:00
Dennis Gilmore
794a8d1103 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 13:36:38 -05:00
David Tardon
b7ea6b46ec rebuild for Boost 1.58 2015-07-22 22:38:23 +02:00
Dennis Gilmore
effd767f18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:08:36 +00:00
Petr Machata
42246ad603 Rebuild for boost 1.57.0 2015-01-27 02:31:19 +01:00
1be32ef845 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 10:14:01 +00:00
Dennis Gilmore
24d405bbd2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:05:59 -05:00
Petr Machata
eb67a79b5b Rebuild for boost 1.55.0 2014-05-23 03:24:06 +02:00
Dennis Gilmore
4465186502 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:29:28 -05:00
Petr Machata
5485c9f54b Rebuild for boost 1.54.0 2013-07-30 14:56:31 +02:00
Parag Nemade
1e64633f0e Add fix in spec file only for failed compilation 2013-02-10 22:54:26 +05:30
Parag Nemade
8f8d1d6e35 Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
2013-02-10 11:38:07 +05:30
Dennis Gilmore
3b4be6543d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 00:50:37 -05:00
Petr Písař
7cf3b7617b Rebuild against PCRE 8.30 2012-02-10 13:06:03 +01:00
Dennis Gilmore
b43c676493 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:03:13 -06:00
6 changed files with 1 additions and 244 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
xmlcopyeditor-1.2.0.2.tar.gz
/xmlcopyeditor-1.2.0.4.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
0b85649a4ef6af817b1c4089237b2a57 xmlcopyeditor-1.2.0.4.tar.gz

View file

@ -1,32 +0,0 @@
diff -up xmlcopyeditor-1.1.0.6/src/xmlcopyeditor.cpp.defaultbrowser xmlcopyeditor-1.1.0.6/src/xmlcopyeditor.cpp
--- xmlcopyeditor-1.1.0.6/src/xmlcopyeditor.cpp.defaultbrowser 2008-01-28 02:38:06.000000000 -0500
+++ xmlcopyeditor-1.1.0.6/src/xmlcopyeditor.cpp 2008-01-28 09:48:46.000000000 -0500
@@ -1015,17 +1015,18 @@ MyFrame::~MyFrame()
wxString MyFrame::getLinuxBrowser()
{
wxString s;
- const int stringArrayLen = 9;
+ const int stringArrayLen = 10;
wxString stringArray[stringArrayLen];
- stringArray[0] = _T ( "/usr/bin/firefox" );
- stringArray[1] = _T ( "/usr/bin/mozilla" );
- stringArray[2] = _T ( "/usr/bin/opera" );
- stringArray[3] = _T ( "/usr/bin/dillo" );
- stringArray[4] = _T ( "/opt/gnome/bin/epiphany" );
- stringArray[5] = _T ( "/opt/gnome/bin/galeon" );
- stringArray[6] = _T ( "/opt/kde/bin/konqueror" );
- stringArray[7] = _T ( "/opt/mozilla/bin/firefox" );
- stringArray[8] = wxEmptyString; // empty option is safe
+ stringArray[0] = _T ( "/usr/bin/xdg-open" );
+ stringArray[1] = _T ( "/usr/bin/htmlview" );
+ stringArray[2] = _T ( "/usr/bin/galeon" );
+ stringArray[3] = _T ( "/usr/bin/epiphany" );
+ stringArray[4] = _T ( "/usr/bin/firefox" );
+ stringArray[5] = _T ( "/usr/bin/mozilla" );
+ stringArray[6] = _T ( "/usr/bin/konqueror" );
+ stringArray[7] = _T ( "/usr/bin/opera" );
+ stringArray[8] = _T ( "/usr/bin/dillo" );
+ stringArray[9] = wxEmptyString; // empty option is safe
for ( int i = 0; i < stringArrayLen; i++ )
{

View file

@ -1,118 +0,0 @@
diff -ru xmlcopyeditor-1.2.0.2.orig/src/replace.cpp xmlcopyeditor-1.2.0.2/src/replace.cpp
--- xmlcopyeditor-1.2.0.2.orig/src/replace.cpp 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/replace.cpp 2009-06-30 10:43:13.000000000 +0100
@@ -18,6 +18,7 @@
*/
#include <cstring>
+#include <cstdio>
#include "replace.h"
int Replace::run (
diff -ru xmlcopyeditor-1.2.0.2.orig/src/stringset.h xmlcopyeditor-1.2.0.2/src/stringset.h
--- xmlcopyeditor-1.2.0.2.orig/src/stringset.h 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/stringset.h 2009-06-30 10:40:40.000000000 +0100
@@ -28,6 +28,7 @@
#ifdef __WXMSW__
#include <mem.h>
#endif
+#include <stdint.h>
template<class T>
class StringSetNode
diff -ru xmlcopyeditor-1.2.0.2.orig/src/wrapaspell.cpp xmlcopyeditor-1.2.0.2/src/wrapaspell.cpp
--- xmlcopyeditor-1.2.0.2.orig/src/wrapaspell.cpp 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/wrapaspell.cpp 2009-06-30 11:12:37.000000000 +0100
@@ -19,6 +19,7 @@
#include <iostream>
#include <stdexcept>
+#include <cstdio>
#include "wrapaspell.h"
#include "aspell.h"
#include "casehandler.h"
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xmlassociatedtd.h xmlcopyeditor-1.2.0.2/src/xmlassociatedtd.h
--- xmlcopyeditor-1.2.0.2.orig/src/xmlassociatedtd.h 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xmlassociatedtd.h 2009-06-30 11:04:26.000000000 +0100
@@ -24,6 +24,7 @@
#include <expat.h>
#include <string>
#include <memory>
+#include <cstdio>
#include "wrapexpat.h"
struct DtdData : public ParserData
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xmlassociatexsd.h xmlcopyeditor-1.2.0.2/src/xmlassociatexsd.h
--- xmlcopyeditor-1.2.0.2.orig/src/xmlassociatexsd.h 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xmlassociatexsd.h 2009-06-30 11:05:29.000000000 +0100
@@ -25,6 +25,7 @@
#include <string>
#include <map>
#include <memory>
+#include <cstdio>
#include "wrapexpat.h"
struct AssociateXsdData : public ParserData
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xmlassociatexsl.h xmlcopyeditor-1.2.0.2/src/xmlassociatexsl.h
--- xmlcopyeditor-1.2.0.2.orig/src/xmlassociatexsl.h 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xmlassociatexsl.h 2009-06-30 11:05:55.000000000 +0100
@@ -24,6 +24,7 @@
#include <expat.h>
#include <string>
#include <memory>
+#include <cstdio>
#include "wrapexpat.h"
struct XslData : public ParserData
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xmlpromptgenerator.cpp xmlcopyeditor-1.2.0.2/src/xmlpromptgenerator.cpp
--- xmlcopyeditor-1.2.0.2.orig/src/xmlpromptgenerator.cpp 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xmlpromptgenerator.cpp 2009-06-30 11:23:56.000000000 +0100
@@ -31,7 +31,6 @@
#include "catalogresolver.h"
// Xerces-C req'd for Schema parsing
-#define XERCES_TMPLSINC
#include <xercesc/util/NameIdPool.hpp>
#include <xercesc/util/PlatformUtils.hpp>
@@ -441,7 +440,7 @@
}
SchemaGrammar* grammar = ( SchemaGrammar* ) rootGrammar;
- RefHash3KeysIdPoolEnumerator<SchemaElementDecl> elemEnum = grammar->getElemEnumerator();
+ RefHash3KeysIdPoolEnumerator<SchemaElementDecl> elemEnum (grammar->getElemEnumerator());
if ( !elemEnum.hasMoreElements() )
{
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xmlutf8reader.h xmlcopyeditor-1.2.0.2/src/xmlutf8reader.h
--- xmlcopyeditor-1.2.0.2.orig/src/xmlutf8reader.h 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xmlutf8reader.h 2009-06-30 11:08:20.000000000 +0100
@@ -24,6 +24,7 @@
#include <expat.h>
#include <string>
#include <memory>
+#include <cstdio>
#include "wrapexpat.h"
struct UtfData : public ParserData
diff -ru xmlcopyeditor-1.2.0.2.orig/src/xsllocator.cpp xmlcopyeditor-1.2.0.2/src/xsllocator.cpp
--- xmlcopyeditor-1.2.0.2.orig/src/xsllocator.cpp 2009-06-30 10:38:57.000000000 +0100
+++ xmlcopyeditor-1.2.0.2/src/xsllocator.cpp 2009-06-30 11:11:23.000000000 +0100
@@ -46,7 +46,7 @@
return;
char *value, *iterator;
- value = strstr ( ( const char * ) data, "href=" );
+ value = strstr ( ( char * ) data, "href=" );
if ( !value || strlen ( value ) < 7 )
return;
value += 6;
@@ -55,7 +55,7 @@
{
if ( *iterator == '"' || *iterator == '\'' )
{
- *iterator = '\0';
+ *iterator = '\0'; //bustage, modifying const *data
break;
}
}

View file

@ -1,91 +0,0 @@
Name: xmlcopyeditor
Version: 1.2.0.4
Release: 1%{?dist}
Summary: A fast, free, validating XML editor
Group: Applications/Editors
License: GPLv2
URL: http://xml-copy-editor.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/xml-copy-editor/%name-%version.tar.gz
Patch0: xmlcopyeditor-1.1.0.6-defaultbrowser.patch
Patch1: xmlcopyeditor-1.2.0.4-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wxGTK-devel >= 2.8 pcre-devel aspell-devel boost-devel
BuildRequires: xerces-c-devel libxslt-devel expat-devel desktop-file-utils
%description
XML Copy Editor is a fast, free, validating XML editor.
%prep
%setup -q
find src -type f -print0 | xargs -0 chmod a-x
tr -d '\r' < src/copying/gpl.txt > COPYING
chmod a-x AUTHORS COPYING NEWS
%patch0 -p 1 -b .defaultbrowser
%patch1 -p 1 -b .gcc44
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor=fedora --remove-category Application \
--delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
sed -i -e "s/\(Icon=[^.]\+\).[^.]\+/\1/" $RPM_BUILD_ROOT%{_datadir}/applications/*%{name}.desktop
#rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/po
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%changelog
* Fri May 20 2011 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.2.0.4-1
- Upstream update
* Thu Mar 10 2011 Kalev Lember <kalev@smartlink.ee> - 1.2.0.2-5
- Rebuilt with xerces-c 3.1
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.2.0.2-3
- rebuilt against wxGTK-2.8.11-2
* Sat Sep 12 2009 Caolán McNamara <caolanm@redhat.com> 1.2.0.2-2
- Resolves: rhbz#508867 rhbz#511552 FTBFS
* Thu Feb 05 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.2.0.2-1
- Upstream update (http://sourceforge.net/news/?group_id=141776)
* Wed Feb 13 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.0.6-4
- Fixed build under GCC 4.3
* Tue Jan 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.0.6-3
- Removed locale files for now
- Removed spurious license files
- Fixed debuginfo permissions
- Fixed desktop file handling
* Mon Jan 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.0.6-2
- Changed search list of default browsers
* Sun Jan 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.0.6-1
- Initial RPM release