Changes of Revision 63

aMule.changes Changed
x
 
1
@@ -1,4 +1,24 @@
2
 -------------------------------------------------------------------
3
+Sun Feb  9 09:05:57 UTC 2025 - Marguerite Su <i@margueirte.su>
4
+
5
+- Update to version 2.3.3.20250105.4a1b78a2a
6
+  * alcframe: fix build with wxWidgets 3.2.6 and --enable-compat28
7
+  * fix build with boost 1.87 that removes deprecated asio methods
8
+  * fix some gtk version checks
9
+  * build: don't support gtk1 and gtk2
10
+  * remove wxCHECK_VERSION
11
+  * MuleNotebook: remove deletepage workaround
12
+  * build: require wxWidgets 3.2.0
13
+  * Fixes for wxWidgets 3.2 compatibility
14
+  * FileDataIOTest: fix make check
15
+  * CFile: show warning trying to seek on closed file
16
+  * CFile: avoid 'Assert failure' if IsOpened() is false inside doSeek
17
+  * allow to build with autoconf 2.70 and later
18
+- add FTBFS-aMule-leap-15.6.patch
19
+  * wxSizerFlags::DisableConsistencyChecks() was added in wxWidgets 3.1.6
20
+  * wxBitmapBundle() was added in wxWidgets 3.2.6
21
+
22
+-------------------------------------------------------------------
23
 Thu Jan 23 21:08:15 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
24
 
25
 - use BuildRequires: wxWidgets-3_2-nostl-devel
26
aMule.spec Changed
40
 
1
@@ -17,7 +17,7 @@
2
 
3
 
4
 Name:           aMule
5
-Version:        2.3.3.20210426.6d4c03b00
6
+Version:        2.3.3.20250105.4a1b78a2a
7
 Release:        0
8
 Summary:        Another eMule file-sharing program
9
 License:        GPL-2.0-or-later
10
@@ -25,6 +25,7 @@
11
 URL:            https://www.amule.org
12
 #https://github.com/amule-project/amule
13
 Source:         %name-%version.tar.xz
14
+Patch:     FTBFS-%name-leap-15.6.patch
15
 BuildRequires:  binutils-devel
16
 BuildRequires:  cmake
17
 BuildRequires:  fdupes
18
@@ -60,9 +61,9 @@
19
 %build
20
 # remove shebang
21
 sed -i '/^#!/d' src/utils/xas/xas.pl
22
-#override version only for source 2.3.3.20210426.6d4c03b00
23
-if  %version == 2.3.3.20210426.6d4c03b00 ; then
24
-    sed -i '/VERSION "GIT"/s@.*@set (VERSION "2.3.3")\nset (SVNDATE "git 20210426")@' CMakeLists.txt
25
+#override version only for source 2.3.3.20250105.4a1b78a2a
26
+if  %version == 2.3.3.20250105.4a1b78a2a ; then
27
+    sed -i '/VERSION "GIT"/s@.*@set (VERSION "2.3.3")\nset (SVNDATE "git 20250105")@' CMakeLists.txt
28
 fi
29
 
30
 %cmake \
31
@@ -81,6 +82,8 @@
32
    -DENABLE_UPNP=ON \
33
    -DCMAKE_BUILD_TYPE=Release \
34
    -DCMAKE_INSTALL_DOCDIR=%_defaultdocdir/%name
35
+
36
+find /usr/include -type f -name "bmpbndl.h" -print
37
 %cmake_build
38
 
39
 %install
40
FTBFS-aMule-leap-15.6.patch Added
40
 
1
@@ -0,0 +1,38 @@
2
+diff -urN aMule-2.3.3.20250105.4a1b78a2a.orig/src/amule-gui.cpp aMule-2.3.3.20250105.4a1b78a2a/src/amule-gui.cpp
3
+--- aMule-2.3.3.20250105.4a1b78a2a.orig/src/amule-gui.cpp  2025-02-14 13:18:35.786799500 +0800
4
++++ aMule-2.3.3.20250105.4a1b78a2a/src/amule-gui.cpp   2025-02-14 13:18:54.401214405 +0800
5
+@@ -102,7 +102,7 @@
6
+   // Disable these checks for now.  The code really needs updating to
7
+   // eliminate these inconsistent flag uses, but these checks are new
8
+   // since wx3.0, and this should just return us to what 3.0 did.
9
+-  wxSizerFlags::DisableConsistencyChecks();
10
++  // wxSizerFlags::DisableConsistencyChecks();
11
+ 
12
+   amuledlg = NULL;
13
+ }
14
+diff -urN aMule-2.3.3.20250105.4a1b78a2a.orig/src/utils/aLinkCreator/src/alcframe.cpp aMule-2.3.3.20250105.4a1b78a2a/src/utils/aLinkCreator/src/alcframe.cpp
15
+--- aMule-2.3.3.20250105.4a1b78a2a.orig/src/utils/aLinkCreator/src/alcframe.cpp    2025-02-14 13:18:35.846791775 +0800
16
++++ aMule-2.3.3.20250105.4a1b78a2a/src/utils/aLinkCreator/src/alcframe.cpp 2025-02-14 13:19:51.262981812 +0800
17
+@@ -253,18 +253,18 @@
18
+   m_toolbar->SetToolBitmapSize (wxSize (32, 32));
19
+   m_toolbar->SetMargins (2, 2);
20
+ 
21
+-  m_toolbar->AddTool (ID_BAR_OPEN, _("Open"), wxBitmapBundle(m_toolBarBitmaps0),
22
++  m_toolbar->AddTool (ID_BAR_OPEN, _("Open"), m_toolBarBitmaps0,
23
+                       _("Open a file to compute its eD2k link"));
24
+ 
25
+-  m_toolbar->AddTool (ID_BAR_COPY, _("Copy"), wxBitmapBundle(m_toolBarBitmaps1),
26
++  m_toolbar->AddTool (ID_BAR_COPY, _("Copy"), m_toolBarBitmaps1,
27
+                       _("Copy computed eD2k link to clipboard"));
28
+ 
29
+-  m_toolbar->AddTool (ID_BAR_SAVEAS, _("Save as"), wxBitmapBundle(m_toolBarBitmaps2),
30
++  m_toolbar->AddTool (ID_BAR_SAVEAS, _("Save as"), m_toolBarBitmaps2,
31
+                       _("Save computed eD2k link to file"));
32
+ 
33
+   m_toolbar->AddSeparator ();
34
+ 
35
+-  m_toolbar->AddTool (ID_BAR_ABOUT, _("About"), wxBitmapBundle(m_toolBarBitmaps3),
36
++  m_toolbar->AddTool (ID_BAR_ABOUT, _("About"), m_toolBarBitmaps3,
37
+                       _("About aLinkCreator"));
38
+ 
39
+   m_toolbar->Realize ();
40
aMule-2.3.3.20210426.6d4c03b00.tar.xz Deleted
aMule-2.3.3.20250105.4a1b78a2a.tar.xz Added