summaryrefslogtreecommitdiff
path: root/app-mobilephone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-mobilephone
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/Manifest.gzbin2056 -> 2055 bytes
-rw-r--r--app-mobilephone/gammu/Manifest6
-rw-r--r--app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch12
-rw-r--r--app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch22
-rw-r--r--app-mobilephone/gammu/gammu-1.42.0.ebuild66
-rw-r--r--app-mobilephone/gammu/metadata.xml1
-rw-r--r--app-mobilephone/heimdall/Manifest6
-rw-r--r--app-mobilephone/heimdall/heimdall-2.0.1.ebuild52
-rw-r--r--app-mobilephone/heimdall/heimdall-9999.ebuild18
-rw-r--r--app-mobilephone/heimdall/metadata.xml12
10 files changed, 180 insertions, 15 deletions
diff --git a/app-mobilephone/Manifest.gz b/app-mobilephone/Manifest.gz
index adafbd751624..26e0366d7937 100644
--- a/app-mobilephone/Manifest.gz
+++ b/app-mobilephone/Manifest.gz
Binary files differ
diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest
index 7eb5232ae60e..438612b3e35a 100644
--- a/app-mobilephone/gammu/Manifest
+++ b/app-mobilephone/gammu/Manifest
@@ -1,3 +1,7 @@
+AUX gammu-1.42.0-CMP0110-policy.patch 390 BLAKE2B 549412ca85f7dce8a91afb1b4a558e78a827177f102a8fd6c04ed55bcbae5bd850762710296acf3abef30607381371497d933c1414444afd7dfd639e4b037d2c SHA512 6a043905a3d19b3643b34e01e0870d92b5ba9d1947e9c1ef0daec5e95d7ac49badb0313c2cfeff5ab6e3fd43ded0741d8634cd6e8e501ee2dd6abdcfd377274f
+AUX gammu-1.42.0-gammu-detect.patch 784 BLAKE2B 93392d9fb812f19b6053f8c8246ce4442274ad467355859e52263cd98594fffc131c3919f7088b5340bcbe92d94f7193c5d47337bb5686ddbdc99fce73f6ded9 SHA512 cfcacc96f1dbd9f9d480a0a7f1019484b4c8474980f2c69897bfbca091997a9fcdd7a93f893f9c49220f1094944831bccf3c37410e36c8d2701a790711fc76a8
DIST gammu-1.41.0.tar.bz2 2167233 BLAKE2B 4b0bf77246cc6a07a52457cff2bae44e63ebfe2715cb0c0b7d89c3d6352bb2df4cd5e7fd9b62d316e316fb1e73108fe561e030b7444eccd601cd0d2541b9f0e9 SHA512 f2c2534d3827216bf015607431938e0cf2524d5f2c670a5f76bb5ab7928962d22de981bbbf2dfa7af833c7903b60a775242048210bac6c35b1a9ee7668db4543
+DIST gammu-1.42.0.tar.bz2 2193946 BLAKE2B 074f870624efbd28aaf9ecb445063ff7ec070cd1498c00a2e93a8842ed2afd5a0bc6475d950885eec883bed158528dda0588809c2d55ef78c83f0eed3e1b4aff SHA512 f440df357578ce7f5ddd17f2f0f6405b4dacbca3e5da65a469f3f1e92c71bf899a7ef0977438c803ed9b1d7d15324d4a43bd9d97d986119a522243e2e6304971
EBUILD gammu-1.41.0.ebuild 1365 BLAKE2B 74a0b9ed1a90a0b124c7ae1eb0a447a0125d83072c0ad0364885b5e6401b6294735923a42fc53871425a0da356d799183a7300a76710584d4b3d79a41747ca86 SHA512 23c4515ef97b923c699027ed34732b94e450ea134b8bc7e66a5ea6212dccec7457b2d3aad980c848a1e11fc2d30bddbb944eb7be7cc27b12535c73f9d1ee8cda
-MISC metadata.xml 757 BLAKE2B 981aca89002970eafdf77a82a14c2dce0abf453eb8b64e86a0337071f1734f07dfe9a0d0a58ef990d4fec5c01c762dbd9029127bccb187053140acbb75219328 SHA512 70e360352edcc1d177cbfc87daf7fa1ad05fc1a49d8eff37833bbb36553b599c23eb3b56f3744aea160a0149a47663fecfcdbeacd3a5a4c8a2a5efa008277e57
+EBUILD gammu-1.42.0.ebuild 1496 BLAKE2B c05c557ebdd4ed7a3fe1385017f9675786e3137df8ebb2d221cb73692fa098b3ffb64b10e73c46e4ca55ed86f0a83867c03e2071009408bfb13019e7fda35095 SHA512 a9727f3d0b7d7c866a6485a9157bed3b098f865f963996eaca13ec3a2c4da404347670335751e833ecba31e946919eb41543c5455bbafdadfb2b3d00b06d551f
+MISC metadata.xml 693 BLAKE2B 77bb0614028aa94495a11559877ae2bd9b48b823dc573f32a9f7eb2dd65b0fbb3cdd57ebbc597f5d572f2532e84aea88a5150b353b6ff3019d655502af9d38f8 SHA512 dd61359bec371f9f970c77440fca2ea960e01afc040234351dde63ac2d5aa5ac850a5e38945d19cb73e74e32eabff2afb63e9ea94aa7330d28d7c11c1e75fc42
diff --git a/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch b/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch
new file mode 100644
index 000000000000..b67cebd17a41
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt.orig b/CMakeLists.txt
+index 6cffb02..f7993cf 100644
+--- a/CMakeLists.txt.orig
++++ b/CMakeLists.txt
+@@ -13,6 +13,7 @@ set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
+ # Silent some warnings from CMake 2.6
+ cmake_policy(SET CMP0003 NEW)
+ cmake_policy(SET CMP0009 NEW)
++cmake_policy(SET CMP0110 NEW)
+
+ option (COVERAGE "Add flags for Coverage analysis" OFF)
+
diff --git a/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch b/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch
new file mode 100644
index 000000000000..03e9ea631732
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch
@@ -0,0 +1,22 @@
+diff --git a/gammu-detect/udev.c.orig b/gammu-detect/udev.c
+index 4d25949..e0cd383 100644
+--- a/gammu-detect/udev.c.orig
++++ b/gammu-detect/udev.c
+@@ -189,12 +189,12 @@ void udev_detect(void)
+ client = g_udev_client_new(subsys);
+
+ list = g_udev_client_query_by_subsystem(client, subsys[0]);
+- for (iter = list; iter; iter = g_list_next(iter)) {
+- dump_device_and_parent(G_UDEV_DEVICE(iter->data), 0);
+- if (device_is_valid(G_UDEV_DEVICE(iter->data))) {
+- device_dump_config(G_UDEV_DEVICE(iter->data));
++ for (iter = g_list_first(list); iter; iter = g_list_next(iter)) {
++ dump_device_and_parent(iter->data, 0);
++ if (device_is_valid(iter->data)) {
++ device_dump_config(iter->data);
+ }
+- g_object_unref(G_UDEV_DEVICE(iter->data));
++ g_object_unref(iter->data);
+ }
+ }
+
diff --git a/app-mobilephone/gammu/gammu-1.42.0.ebuild b/app-mobilephone/gammu/gammu-1.42.0.ebuild
new file mode 100644
index 000000000000..ffbcfefd1952
--- /dev/null
+++ b/app-mobilephone/gammu/gammu-1.42.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A tool to handle your cellular phone"
+HOMEPAGE="https://wammu.eu/gammu/"
+SRC_URI="https://dl.cihar.com/${PN}/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluetooth curl dbi debug irda mysql nls odbc postgres usb"
+
+COMMON_DEPEND="
+ dev-libs/glib:2=
+ dev-libs/libgudev:=
+ virtual/libiconv
+ bluetooth? ( net-wireless/bluez:= )
+ curl? ( net-misc/curl:= )
+ dbi? ( >=dev-db/libdbi-0.8.3:= )
+ mysql? ( dev-db/mysql-connector-c:= )
+ nls? ( sys-devel/gettext )
+ odbc? ( dev-db/unixODBC )
+ postgres? ( dev-db/postgresql:= )
+ usb? ( virtual/libusb:1= )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ irda? ( virtual/os-headers )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-util/dialog
+"
+PATCHES=( "${FILESDIR}/${P}-CMP0110-policy.patch"
+ "${FILESDIR}/${P}-gammu-detect.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_BLUETOOTH=$(usex bluetooth)
+ -DWITH_CURL=$(usex curl)
+ -DWITH_Gettext=$(usex nls)
+ -DWITH_Iconv=$(usex nls)
+ -DWITH_IRDA=$(usex irda)
+ -DWITH_LibDBI=$(usex dbi)
+ -DWITH_MySQL=$(usex mysql)
+ -DWITH_ODBC=$(usex odbc)
+ -DWITH_Postgres=$(usex postgres)
+ -DWITH_USB=$(usex usb)
+ -DINSTALL_DOC_DIR="share/doc/${PF}"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ addwrite "/var/lock/LCK..bar"
+ LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake_src_test -j1
+}
+
+src_install() {
+ cmake_src_install
+ docompress -x /usr/share/doc/${PF}/examples/
+}
diff --git a/app-mobilephone/gammu/metadata.xml b/app-mobilephone/gammu/metadata.xml
index 5fe2fb6a1c5c..58e4d954b478 100644
--- a/app-mobilephone/gammu/metadata.xml
+++ b/app-mobilephone/gammu/metadata.xml
@@ -3,7 +3,6 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
- <flag name="bluetooth">Enables bluetooth support</flag>
<flag name="curl">Enables curl support</flag>
<flag name="irda">Enables infrared support</flag>
<flag name="nls">Enable native language support</flag>
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest
index 33c0294c7953..adf537d5f999 100644
--- a/app-mobilephone/heimdall/Manifest
+++ b/app-mobilephone/heimdall/Manifest
@@ -1,4 +1,6 @@
DIST heimdall-1.4.2.tar.gz 5486693 BLAKE2B 213bfa5bb7ede8d418847916a5ec16c17e4dec7fcb07de296d96e16c929634167afb57e13cee0e8a6e42fbbddcd2f2e0f5069cfbc3e8c3b5721d2d303ef48407 SHA512 c554662f9ccb763a8e9867a0c563618879d2533af985d44db3c237d3ee51add44c1681d13b1a83b72b30ba6e5b32d7c2f9c02b31114c67c5fbe01cbb010acfe7
+DIST heimdall-2.0.1.tar.gz 83642 BLAKE2B 29cd784a4ea4c25f9670d27c306ca95d60d7ad8a11175d2ee835a0cf1e7fc5eb179aa4e49c5e05e280ed5ce475a9e66e56b48444dd4b3b93ea8cb173e3d18060 SHA512 f6df4551702a7ad7688018d60569b8b94f20be4f78a9b4bf5f6e89396ed43cd7519617ef1f420b41bbfeec8b51ae636759a7b90443d3d5945cd8744b43e2d0ef
EBUILD heimdall-1.4.2-r1.ebuild 1039 BLAKE2B 32343fcb22532f8c4c2b1e34d738b490db4c40b416a1e8605940577c9ecceaa251d290bf165f89b3925a06844d27157a2384388723e20a44b684455942640173 SHA512 3dff78eb3eedef7f3dd8d7e96945ee9073cc194911dbf10e97091a236ffe1895b3414f54c3dae61157bf9f23bc3d839e2b322b1c6222980e821e5d01480e1e3f
-EBUILD heimdall-9999.ebuild 1033 BLAKE2B 511a9c38a9a064c19d89d4335d6cb6f1bd67c269aa527c4c85e12f83bec4c827c2be2163de970aa29fb5e19464dba484bae0620cbe1752197c5f27923749828c SHA512 542d168a44cdc9c4c77c6a22ee07d5a0491bcb752bbc5654c0ab2067332d8d7df4f0d886942bb1c8f1d1589632abf5de3f9ee67411fe434e9f4d95686fce3799
-MISC metadata.xml 257 BLAKE2B c8d6a583dfe72114b8cde3a88bbf779d8b8d5e1b641461cccdfd51a9fd3830a2442a194bc3c226cb9b093784a7f24190f36bab14e05290f16dc59af5347ddfcd SHA512 ff3dc036060236d97851e807048824827b0f6357f43820882bef939a1947c37624be8fd1b58e128c201bba23e70622148457c7a7ec705d72319baa69f7deb189
+EBUILD heimdall-2.0.1.ebuild 1090 BLAKE2B dbde0738588d9304dbbacedc3ebb776b47187f110b6f434d13fe5fd2a38094dd888aff45c536ae04946b5cfb4aba36ecbb343bb1694305ab21912449a42ccca8 SHA512 47f9c5ecaf1b53d85b5b1fcb52d15afa5bceed7ef76a9a8f7ae07876faa890e0b9716d7c64972042ca98696bb22a69542622abfcb0c9add2310d4fecd0893a8a
+EBUILD heimdall-9999.ebuild 1089 BLAKE2B 3114b156ed756368d0fa9c2260f6442c0541175b00878ac3691235825d9efddc50c29d4e6d6a53ec7ac9b298bd2a80973a08f55ced47008af1e5d6ec38352b1e SHA512 a7f5a35a9c19b7a4d3f118f31d9671e6f7159b9ff43c08192871a0c128ade97aa9bd4b4fd8bff1c5b64e2472dd6a46a999aa760808f522c628129830daae01a1
+MISC metadata.xml 402 BLAKE2B da916fb8cefb8316321f382f91e28788f62fbc2343b4351481db904ed1f0fa546926cee1ac01ad4be9327affa3c1a3a71edefafe686f25e65f0e7d66f741108c SHA512 f585cb919895ed2c10951f379552bdeafcd5f39b756a93a294d82e8f538b9de1a5e05a97209e62063335ffde24aa4cc2e0077efc91a4b1db4ef705476c8fe812
diff --git a/app-mobilephone/heimdall/heimdall-2.0.1.ebuild b/app-mobilephone/heimdall/heimdall-2.0.1.ebuild
new file mode 100644
index 000000000000..38bb0affc58e
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-2.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64"
+ S="${WORKDIR}/Heimdall-v${PV}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall"
+fi
+
+DESCRIPTION="Tool suite used to flash firmware onto Samsung devices"
+HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gui"
+
+RDEPEND="
+ sys-libs/zlib
+ virtual/libusb:1=
+ gui? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_FRONTEND=$(usex !gui)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/bin/heimdall
+ use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+ udev_dorules heimdall/60-heimdall.rules
+ dodoc README.md Linux/README
+}
+
+pkg_postinst() {
+ udev_reload
+}
diff --git a/app-mobilephone/heimdall/heimdall-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild
index e4026eb23735..b1c61d9f7b06 100644
--- a/app-mobilephone/heimdall/heimdall-9999.ebuild
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake udev
if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/Heimdall-${PV}"
+ SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm64"
+ S="${WORKDIR}/Heimdall-v${PV}"
else
inherit git-r3
- EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
+ EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall"
fi
DESCRIPTION="Tool suite used to flash firmware onto Samsung devices"
-HOMEPAGE="https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
+HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
LICENSE="MIT"
SLOT="0"
@@ -46,3 +46,7 @@ src_install() {
udev_dorules heimdall/60-heimdall.rules
dodoc README.md Linux/README
}
+
+pkg_postinst() {
+ udev_reload
+}
diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml
index 05a9dfaa474c..4d2bceb85363 100644
--- a/app-mobilephone/heimdall/metadata.xml
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">Benjamin-Dobell/Heimdall</remote-id>
- </upstream>
+ <maintainer type="person" proxied="yes">
+ <email>duje.mihanovic@skole.hr</email>
+ <name>Duje Mihanović</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>