Skip to content

Commit

Permalink
amule: Add appstream metainfo
Browse files Browse the repository at this point in the history
**Packager's Notes**
- A patch has been provided upstream as well.
  • Loading branch information
joebonrichie committed Nov 23, 2023
1 parent 5837d45 commit 414219d
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 13 deletions.
9 changes: 4 additions & 5 deletions packages/a/amule/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ UNKNOWN:_ZTVN8CryptoPP9HMAC_BaseE
libc.so.6:__cxa_atexit
libc.so.6:__errno_location
libc.so.6:__fprintf_chk
libc.so.6:__isoc23_strtol
libc.so.6:__libc_start_main
libc.so.6:__memcpy_chk
libc.so.6:__printf_chk
Expand Down Expand Up @@ -112,7 +113,6 @@ libc.so.6:strdup
libc.so.6:strerror
libc.so.6:strlen
libc.so.6:strrchr
libc.so.6:strtol
libc.so.6:time
libc.so.6:tolower
libc.so.6:toupper
Expand Down Expand Up @@ -270,8 +270,6 @@ libstdc++.so.6:_ZNKSt12__basic_fileIcE7is_openEv
libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE13find_first_ofEPKwmm
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE4findEPKwmm
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE4findEwm
Expand Down Expand Up @@ -319,6 +317,7 @@ libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEP
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE10_M_disposeEv
Expand All @@ -330,6 +329,7 @@ libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_appendEP
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_assignERKS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_createERmm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_mutateEmmPKwm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC1EOS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC1ERKS4_
libstdc++.so.6:_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm
libstdc++.so.6:_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
Expand All @@ -341,8 +341,6 @@ libstdc++.so.6:_ZNSt8__detail15_List_node_base11_M_transferEPS0_S1_
libstdc++.so.6:_ZNSt8__detail15_List_node_base4swapERS0_S1_
libstdc++.so.6:_ZNSt8__detail15_List_node_base7_M_hookEPS0_
libstdc++.so.6:_ZNSt8__detail15_List_node_base9_M_unhookEv
libstdc++.so.6:_ZNSt8ios_base4InitC1Ev
libstdc++.so.6:_ZNSt8ios_base4InitD1Ev
libstdc++.so.6:_ZNSt8ios_baseC2Ev
libstdc++.so.6:_ZNSt8ios_baseD2Ev
libstdc++.so.6:_ZNSt9bad_allocD1Ev
Expand All @@ -361,6 +359,7 @@ libstdc++.so.6:_ZSt19__throw_logic_errorPKc
libstdc++.so.6:_ZSt19uncaught_exceptionsv
libstdc++.so.6:_ZSt20__throw_length_errorPKc
libstdc++.so.6:_ZSt20__throw_system_errori
libstdc++.so.6:_ZSt21ios_base_library_initv
libstdc++.so.6:_ZSt24__throw_out_of_range_fmtPKcz
libstdc++.so.6:_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_
libstdc++.so.6:_ZSt28__throw_bad_array_new_lengthv
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17d4d55a4..fa353312e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -132,6 +132,10 @@ if (BUILD_REMOTEGUI)
)
endif()

+install (FILES org.amule.amule.metainfo.xml
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
+)
+
if (ENABLE_NLS)
include (FindGettext)
add_subdirectory (po)
diff --git a/Makefile.am b/Makefile.am
index 29aa3d55a..916f33d48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,9 @@ icondir = $(datadir)/pixmaps
dist_util_DATA =
utildir = $(datadir)/applications

+dist_appstream_DATA =
+appstreamdir = $(datadir)/metainfo
+
if MONOLITHIC
dist_icon_DATA += amule.xpm
dist_util_DATA += amule.desktop
@@ -27,6 +30,8 @@ dist_icon_DATA += amulegui.xpm
dist_util_DATA += amulegui.desktop
endif

+dist_appstream_DATA += org.amule.amule.metainfo.xml
+
ACLOCAL_AMFLAGS = -I m4

DISTCHECK_CONFIGURE_FLAGS = \
diff --git a/org.amule.amule.metainfo.xml b/org.amule.amule.metainfo.xml
new file mode 100644
index 000000000..d8aed5679
--- /dev/null
+++ b/org.amule.amule.metainfo.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>org.amule.amule</id>
+
+ <name>aMule</name>
+ <summary>P2P client based on eMule </summary>
+
+ <metadata_license>FSFAP</metadata_license>
+ <project_license>GPL-2.0-or-later</project_license>
+
+ <description>
+ <p>
+ aMule is a multi-platform client for the ED2K file sharing network and based on the windows client eMule. aMule is intended to be as user friendly and feature rich as eMule and to remain faithful to the look and feel of eMule so users familiar with either aMule or eMule will be able switch between the two easily. Since aMule is based upon the eMule codebase, new features in eMule tend to find their way into aMule soon after their inclusion into eMule so users of aMule can expect to ride the cutting-edge of ED2k clients.
+ </p>
+ </description>
+
+ <url type="homepage">https://www.amule.org/</url>
+ <url type="bugtracker">https://bugs.amule.org/my_view_page.php</url>
+ <url type="help">https://wiki.amule.org/wiki/Main_Page</url>
+
+ # TODO: Auto generate me from changelog!
+ <releases></releases>
+
+ <launchable type="desktop-id">amule.desktop</launchable>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://raw.githubusercontent.com/amule/amule/master/.github/amule-interface-search.png</image>
+ <caption>Screenshot of the aMule search interface</caption>
+ </screenshot>
+ <screenshot type="default">
+ <image>https://raw.githubusercontent.com/amule/amule/master/.github/amule-preferences.png</image>
+ <caption>Screenshot of the aMule preferences interface</caption>
+ </screenshot>
+ </screenshots>
+
+ <provides>
+ <binary>amule</binary>
+ </provides>
+
+ <content_rating type="oars-1.1"/>
+</component>
--
2.43.0
1 change: 1 addition & 0 deletions packages/a/amule/files/series
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ f186b3a.patch
d22e057.patch
9e1d9eb.patch
a667c61.patch
0001-Provide-initial-appstream-metainfo.patch

2 changes: 1 addition & 1 deletion packages/a/amule/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : amule
version : 2.3.3
release : 24
release : 25
source :
- git|https://github.com/amule-project/amule : 2.3.3
homepage : http://www.amule.org/
Expand Down
15 changes: 8 additions & 7 deletions packages/a/amule/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<Name>amule</Name>
<Homepage>http://www.amule.org/</Homepage>
<Packager>
<Name>Fabio db</Name>
<Email>fifu7fi@gmail.com</Email>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>network.util</PartOf>
<Summary xml:lang="en">aMule is a multi-platform ed2k client, fork of the eMule client</Summary>
<Description xml:lang="en">aMule is a multi-platform ed2k client, fork of the eMule client
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>amule</Name>
Expand Down Expand Up @@ -95,17 +95,18 @@
<Path fileType="man">/usr/share/man/tr/man1/ed2k.1</Path>
<Path fileType="man">/usr/share/man/zh_TW/man1/amule.1</Path>
<Path fileType="man">/usr/share/man/zh_TW/man1/ed2k.1</Path>
<Path fileType="data">/usr/share/metainfo/org.amule.amule.metainfo.xml</Path>
<Path fileType="data">/usr/share/pixmaps/amule.xpm</Path>
<Path fileType="data">/usr/share/pixmaps/amulegui.xpm</Path>
</Files>
</Package>
<History>
<Update release="24">
<Date>2023-10-02</Date>
<Update release="25">
<Date>2023-11-23</Date>
<Version>2.3.3</Version>
<Comment>Packaging update</Comment>
<Name>Fabio db</Name>
<Email>fifu7fi@gmail.com</Email>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 414219d

Please sign in to comment.