Changes of Revision 46

aMule.changes Changed
x
 
1
@@ -1,4 +1,19 @@
2
 -------------------------------------------------------------------
3
+Sun Feb 26 09:23:20 UTC 2017 - martin@pluskal.org
4
+
5
+- Update to version 2.3.2+git.20161207:
6
+  * Changelog update
7
+  * Update translation source
8
+  * Update translations
9
+  * Update french translation
10
+  * Revert "fix a potential invalid detection for empty wxCharBuffer."
11
+  * Do not override automake rule
12
+  * Workaround for wxWidgets bug #17740, fixes GH issue #74
13
+  * In VS2015 Microsoft moved std::min and std::max to algorithm
14
+  * mslu is removed in wxMSW 3.1.0
15
+- Add _service
16
+
17
+-------------------------------------------------------------------
18
 Fri Feb 17 19:34:07 UTC 2017 - olaf@aepfle.de
19
 
20
 - Use wxWidgets-3_0
21
aMule.spec Changed
138
 
1
@@ -1,49 +1,81 @@
2
-Name:      aMule
3
-Summary:   Another eMule file-sharing program
4
-Version:       2.3.2+git20161207.1524
5
-Release:   0
6
-License:   GPL-2.0+
7
-Group:     Productivity/Networking/Other
8
-URL:       http://www.amule.org
9
-Source:        aMule.tar.xz
10
-Patch:     0001-Fix-desktop-files.patch
11
-# git diff 20f3a3b..origin/master | xz -e -9 > update.diff.xz
12
-Patch1:         update.diff.xz
13
+#
14
+# spec file for package aMule
15
+#
16
+# All modifications and additions to the file contributed by third parties
17
+# remain the property of their copyright owners, unless otherwise agreed
18
+# upon. The license for this file, and modifications and additions to the
19
+# file, is the same license as for the pristine package itself (unless the
20
+# license for the pristine package is not an Open Source License, in which
21
+# case the license is the MIT License). An "Open Source License" is a
22
+# license that conforms to the Open Source Definition (Version 1.9)
23
+# published by the Open Source Initiative.
24
+
25
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
26
+#
27
+
28
+
29
+Name:           aMule
30
+Version:        2.3.2+git.20161207
31
+Release:        0
32
+Summary:        Another eMule file-sharing program
33
+License:        GPL-2.0+
34
+Group:          Productivity/Networking/Other
35
+Url:            http://www.amule.org
36
+Source:         %{name}-%{version}.tar.xz
37
+Patch0:         0001-Fix-desktop-files.patch
38
 BuildRequires:  autoconf
39
 BuildRequires:  automake >= 1.9
40
 BuildRequires:  binutils-devel
41
-BuildRequires: libkde4-devel
42
-BuildRequires: libqt4-devel
43
-BuildRequires: gcc-c++
44
-BuildRequires:  pkgconfig(gdlib)
45
-BuildRequires:  pkgconfig(libpng)
46
 BuildRequires:  fdupes
47
-BuildRequires:  libupnp-devel libcryptopp-devel libGeoIP-devel update-desktop-files
48
+BuildRequires:  gcc-c++
49
+BuildRequires:  libkde4-devel
50
 BuildRequires:  mozilla-nspr
51
+BuildRequires:  pkgconfig
52
+BuildRequires:  update-desktop-files
53
 BuildRequires:  wxWidgets-3_0-devel
54
-Requires:  GeoIP
55
+BuildRequires:  pkgconfig(Qt3Support)
56
+BuildRequires:  pkgconfig(QtCLucene)
57
+BuildRequires:  pkgconfig(QtCore)
58
+BuildRequires:  pkgconfig(QtDBus)
59
+BuildRequires:  pkgconfig(QtDeclarative)
60
+BuildRequires:  pkgconfig(QtDesigner)
61
+BuildRequires:  pkgconfig(QtDesignerComponents)
62
+BuildRequires:  pkgconfig(QtGui)
63
+BuildRequires:  pkgconfig(QtHelp)
64
+BuildRequires:  pkgconfig(QtMultimedia)
65
+BuildRequires:  pkgconfig(QtNetwork)
66
+BuildRequires:  pkgconfig(QtOpenGL)
67
+BuildRequires:  pkgconfig(QtScript)
68
+BuildRequires:  pkgconfig(QtScriptTools)
69
+BuildRequires:  pkgconfig(QtSql)
70
+BuildRequires:  pkgconfig(QtSvg)
71
+BuildRequires:  pkgconfig(QtTest)
72
+BuildRequires:  pkgconfig(QtUiTools)
73
+BuildRequires:  pkgconfig(QtXml)
74
+BuildRequires:  pkgconfig(QtXmlPatterns)
75
+BuildRequires:  pkgconfig(cryptopp)
76
+BuildRequires:  pkgconfig(gdlib)
77
+BuildRequires:  pkgconfig(geoip)
78
+BuildRequires:  pkgconfig(libpng)
79
+BuildRequires:  pkgconfig(libupnp)
80
+Requires:       GeoIP
81
 
82
 %description
83
 aMule stand for another eMule file-sharing program, it is also
84
-another fork of the xMule (former lMule) project. It connects 
85
+another fork of the xMule (former lMule) project. It connects
86
 to eDonkey2000 network, supports Linux, *BSD platforms, and has
87
 a new vision of the GUI.
88
 
89
-###
90
-# Think about splitting up the packages: amulegui, amuled...
91
-###
92
 %package kde4
93
-Summary:   Plasma widget for aMule
94
+Summary:        Plasma widget for aMule
95
 Requires:       %{name} = %{version}
96
 
97
 %description kde4
98
 This package contains the plasma widget for aMule.
99
 
100
-
101
 %prep
102
-%setup -q -n %{name}
103
-%patch -p1
104
-%patch1 -p1
105
+%setup -q
106
+%patch0 -p1
107
 
108
 %build
109
 ./autogen.sh
110
@@ -76,9 +108,9 @@
111
 %make_install docdir=%{_defaultdocdir}/aMule
112
 
113
 %suse_update_desktop_file -G "P2P Client" -i amule Network P2P
114
-%suse_update_desktop_file  %buildroot/%_datadir/applications/alc.desktop
115
-%suse_update_desktop_file  %buildroot/%_datadir/applications/amulegui.desktop
116
-%suse_update_desktop_file  %buildroot/%_datadir/applications/wxcas.desktop
117
+%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/alc.desktop
118
+%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/amulegui.desktop
119
+%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/wxcas.desktop
120
 
121
 #tar -xf %{SOURCE1} -C %{buildroot}%{_datadir}/amule/
122
 #mv %{buildroot}%{_datadir}/amule/amule__icon.png %{buildroot}%{_datadir}/pixmaps/amule.png
123
@@ -92,12 +124,12 @@
124
 
125
 %find_lang amule
126
 
127
-%fdupes -s %buildroot
128
+%fdupes -s %{buildroot}
129
 
130
 %files -f amule.lang
131
 %defattr(-,root,root)
132
 %doc docs/AUTHORS docs/Changelog docs/README docs/license.txt
133
-%doc %{_mandir}/*/*
134
+%{_mandir}/*/*
135
 %{_bindir}/*
136
 %{_libdir}/xchat/plugins/xas.pl
137
 %{_datadir}/amule/*
138
update.diff.xz Deleted
201
 
1
@@ -1,85459 +0,0 @@
2
-diff --git a/configure.ac b/configure.ac
3
-index 70f9a5086..b6676c998 100644
4
---- a/configure.ac
5
-+++ b/configure.ac
6
-@@ -451,7 +451,7 @@ dnl End of checks, now write the results and report
7
- dnl ---------------------------------------------------------------------------
8
- 
9
- AM_CONDITIONAL(SYS_WIN32, test x$SYS = xwin32)
10
--AM_CONDITIONAL(NEED_RC, test x$SYS = xwin32 -a "$RC" != ":")
11
-+AM_CONDITIONAL(NEED_RC, test x$SYS = xwin32 -a "$RC" != ":" -a x$WX_PORT = xmsw)
12
- AM_CONDITIONAL(NEED_CORESERVICES, test x$SYS = xdarwin)
13
- AM_CONDITIONAL(COMPILE_NLS, test x$USE_NLS = xyes)
14
- AM_CONDITIONAL(GENERATE_FLEX_HEADER, test x$HAVE_FLEX_EXTENDED = xyes)
15
-diff --git a/docs/Changelog b/docs/Changelog
16
-index 7dbff70b2..7b2972300 100644
17
---- a/docs/Changelog
18
-+++ b/docs/Changelog
19
-@@ -1,9 +1,32 @@
20
--Version 2.4.0 - The river knows.
21
-+Version 2.3.3 - The "what do you want?" version.
22
- ----------
23
- 201?-??-??
24
- 
25
-+  gaffatape:
26
-+      * Workaround for bug in wxWidgets causing aMule to crash on
27
-+        closing the last search tab
28
-+
29
-   GonoszTopi:
30
-       * Fix restoring toolbar orientation on 'Cancel'
31
-+      * Features ported from eMule:
32
-+          - Find best keyword for Kad search (0.49c)
33
-+      * Various fixes to gdlib detection
34
-+      * Support for compiling aMule with wxGTK under Cygwin
35
-+      * Various small fixes to the MacOSX packager script
36
-+      * Workaround for wxWidgets bug #17740 (Wrong path used to
37
-+        search for translations), fixes GitHub issue #74 (.mo files
38
-+        for translation are not loaded if amule is built to install
39
-+        to a prefix other than /usr (e.g. /usr/local).)
40
-+
41
-+  persmule:
42
-+      * Fix sharing directories with non-ASCII names with aMule daemon
43
-+      * Fix potential invalid detection for empty wxCharBuffer
44
-+
45
-+  scow:
46
-+      * C++11 fixes
47
-+
48
-+  Vollstrecker:
49
-+      * Initial support for detecting pkg-config based gdlib versions
50
- 
51
- --------------------------------------------------------------------------------
52
- 
53
-diff --git a/m4/gdlib.m4 b/m4/gdlib.m4
54
-index 236da4b2e..6b81b2d53 100644
55
---- a/m4/gdlib.m4
56
-+++ b/m4/gdlib.m4
57
-@@ -34,7 +34,8 @@ dnl to use. Set GDLIB_CONFIG_PATH to specify the full path to gdlib-config -
58
- dnl in this case the macro won't even waste time on tests for its existence.
59
- dnl ---------------------------------------------------------------------------
60
- AC_DEFUN([MULE_CHECK_GDLIB],
61
--[dnl
62
-+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
63
-+
64
- m4_define([REQUIRED_VERSION], [m4_ifval([$1], [$1], [2.0.0])])dnl
65
- m4_define([REQUIRED_VERSION_MAJOR], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\)], [\1])])dnl
66
- m4_define([REQUIRED_VERSION_MINOR], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\)], [\2])])dnl
67
-@@ -45,39 +46,67 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\
68
- 
69
-   GDLIB_VERSION=
70
- 
71
--  # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
72
--  AS_IF([test x${GDLIB_CONFIG_NAME+set} != xset], [GDLIB_CONFIG_NAME=gdlib-config])
73
--  AS_IF([test -n "$with_gdlib_config"], [GDLIB_CONFIG_NAME="$with_gdlib_config"])
74
--
75
--  # deal with optional prefix
76
--  AS_IF([test -n "$with_gdlib_prefix"], [GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"])
77
--
78
--  # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
79
--  AS_IF([test -x "$GDLIB_CONFIG_NAME"], [
80
--      AC_MSG_CHECKING([for gdlib-config])
81
--      GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
82
--      AC_MSG_RESULT([$GDLIB_CONFIG_PATH])
83
--  ], [AC_PATH_PROG([GDLIB_CONFIG_PATH], [$GDLIB_CONFIG_NAME], [no], [$GDLIB_LOOKUP_PATH:$PATH])])
84
--
85
--  AS_IF([test ${GDLIB_CONFIG_PATH:-no} != no],
86
--  [
87
--      AC_MSG_CHECKING([for gdlib version >= REQUIRED_VERSION])
88
--      GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
89
--
90
--      GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
91
--      gdlib_config_major_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/']`
92
--      gdlib_config_minor_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/']`
93
--      gdlib_config_micro_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/']`
94
--
95
--      gdlib_ver_ok=
96
--      MULE_IF([test $gdlib_config_major_version -gt REQUIRED_VERSION_MAJOR], [gdlib_ver_ok=yes],
97
--          [test $gdlib_config_major_version -eq REQUIRED_VERSION_MAJOR], [
98
--              MULE_IF([test $gdlib_config_minor_version -gt REQUIRED_VERSION_MINOR], [gdlib_ver_ok=yes],
99
--                  [test $gdlib_config_minor_version -eq REQUIRED_VERSION_MINOR],
100
--                      [MULE_IF([test $gdlib_config_micro_version -ge REQUIRED_VERSION_MICRO], [gdlib_ver_ok=yes])])
101
-+  # Check gdlib in pkg-config first to avoid deprecation warnings
102
-+  # If --with-gdlib-config or --with-gdlib-prefix was given, then
103
-+  # skip the pkg-config check, the user probably wants to use
104
-+  # another gdlib instance.
105
-+  AS_IF([test -z "${with_gdlib_config:-}${with_gdlib_prefix:-}"], [
106
-+      AS_IF([test -n "$PKG_CONFIG"], [
107
-+          AC_MSG_CHECKING([for gdlib])
108
-+
109
-+          AS_IF([$PKG_CONFIG gdlib --exists], [
110
-+              GDLIB_VERSION=`$PKG_CONFIG gdlib --modversion`
111
-+
112
-+              AS_IF([$PKG_CONFIG gdlib --atleast-version=REQUIRED_VERSION], [
113
-+                  AC_MSG_RESULT([yes (version $GDLIB_VERSION)])
114
-+                  GDLIB_CFLAGS=`$PKG_CONFIG gdlib --cflags`
115
-+                  GDLIB_LDFLAGS=`$PKG_CONFIG gdlib --libs-only-L`
116
-+                  GDLIB_LIBS=`$PKG_CONFIG gdlib --libs-only-other`
117
-+                  GDLIB_LIBS="$GDLIB_LIBS `$PKG_CONFIG gdlib --libs-only-l`"
118
-+              ], [
119
-+                  AC_MSG_RESULT([no (version $GDLIB_VERSION is not new enough)])
120
-+                  GDLIB_VERSION=
121
-+              ])
122
-+          ], [
123
-+              AC_MSG_RESULT([no])
124
-           ])
125
-+      ])
126
-+  ])
127
-+
128
-+  # Try gdlib-config if we did not find a sufficient gdlib version in pkg-config
129
-+  AS_IF([test -z "$GDLIB_VERSION"], [
130
-+      # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
131
-+      AS_IF([test x${GDLIB_CONFIG_NAME+set} != xset], [GDLIB_CONFIG_NAME=gdlib-config])
132
-+      AS_IF([test -n "$with_gdlib_config"], [GDLIB_CONFIG_NAME="$with_gdlib_config"])
133
-+
134
-+      # deal with optional prefix
135
-+      AS_IF([test -n "$with_gdlib_prefix"], [GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"])
136
-+
137
-+      # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
138
-+      AS_IF([test -x "$GDLIB_CONFIG_NAME"], [
139
-+          AC_MSG_CHECKING([for gdlib-config])
140
-+          GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
141
-+          AC_MSG_RESULT([$GDLIB_CONFIG_PATH])
142
-+      ], [AC_PATH_PROG([GDLIB_CONFIG_PATH], [$GDLIB_CONFIG_NAME], [no], [$GDLIB_LOOKUP_PATH:$PATH])])
143
-+
144
-+      AS_IF([test ${GDLIB_CONFIG_PATH:-no} != no], [
145
-+          AC_MSG_CHECKING([for gdlib version >= REQUIRED_VERSION])
146
-+          GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
147
-+
148
-+          GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
149
-+          gdlib_config_major_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/']`
150
-+          gdlib_config_minor_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/']`
151
-+          gdlib_config_micro_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/']`
152
- 
153
--      AS_IF([test -z "$gdlib_ver_ok"], [
154
-+          MULE_IF([test $gdlib_config_major_version -gt REQUIRED_VERSION_MAJOR], [gdlib_ver_ok=yes],
155
-+              [test $gdlib_config_major_version -eq REQUIRED_VERSION_MAJOR], [
156
-+                  MULE_IF([test $gdlib_config_minor_version -gt REQUIRED_VERSION_MINOR], [gdlib_ver_ok=yes],
157
-+                      [test $gdlib_config_minor_version -eq REQUIRED_VERSION_MINOR],
158
-+                          [MULE_IF([test $gdlib_config_micro_version -ge REQUIRED_VERSION_MICRO], [gdlib_ver_ok=yes])])
159
-+              ])
160
-+      ])
161
-+
162
-+      AS_IF([test -z "${gdlib_ver_ok:-}"], [
163
-           AS_IF([test -z "$GDLIB_VERSION"], [AC_MSG_RESULT([no])], [
164
-               AC_MSG_RESULT([no (version $GDLIB_VERSION is not new enough)])
165
-               GDLIB_VERSION=
166
-@@ -87,18 +116,23 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\
167
-           GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
168
-           GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
169
-           GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
170
--          MULE_BACKUP([CFLAGS])
171
--          MULE_APPEND([CFLAGS], [$GDLIB_CFLAGS])
172
--          AC_CHECK_HEADER([gd.h],, [
173
--              GDLIB_CFLAGS=
174
--              GDLIB_LDFLAGS=
175
--              GDLIB_LIBS=
176
--              GDLIB_VERSION=
177
--          ])
178
--          MULE_RESTORE([CFLAGS])
179
-       ])
180
-   ])
181
- 
182
-+  AS_IF([test -n "$GDLIB_VERSION"], [
183
-+      MULE_BACKUP([CFLAGS])
184
-+      MULE_APPEND([CFLAGS], [$GDLIB_CFLAGS])
185
-+
186
-+      AC_CHECK_HEADER([gd.h],, [
187
-+          GDLIB_CFLAGS=
188
-+          GDLIB_LDFLAGS=
189
-+          GDLIB_LIBS=
190
-+          GDLIB_VERSION=
191
-+      ])
192
-+
193
-+      MULE_RESTORE([CFLAGS])
194
-+  ])
195
-+
196
-   AS_IF([test -n "$GDLIB_VERSION"], [$2], [$3])
197
- 
198
- AC_SUBST([GDLIB_CFLAGS])dnl
199
-diff --git a/po/amule.pot b/po/amule.pot
200
-index d5b2d417f..3b1c1b3c3 100644
201
aMule-2.3.2+git.20161207.tar.xz Added
aMule.tar.xz Deleted