diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-26 04:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-26 04:04:26 +0100 |
commit | d0349ca0f4903608beca459a9db2068dab9fa6ea (patch) | |
tree | a69bc9c4a75f35ecabd3909a181128faf8c0e75b /x11-misc | |
parent | b11a5614cb96e70e116581c98abf286c2cf694ca (diff) |
gentoo auto-resync : 26:10:2024 - 04:04:26
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/Manifest.gz | bin | 46517 -> 46512 bytes | |||
-rw-r--r-- | x11-misc/rofi-file-browser-extended/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.3.1-fix-gcc14-build-fix.patch | 53 | ||||
-rw-r--r-- | x11-misc/rofi-file-browser-extended/metadata.xml | 3 | ||||
-rw-r--r-- | x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.3.1-r2.ebuild | 48 | ||||
-rw-r--r-- | x11-misc/tint2/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/tint2/tint2-17.1.3.ebuild | 4 |
7 files changed, 110 insertions, 4 deletions
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz Binary files differindex 57bef4fa8689..56bea01b0317 100644 --- a/x11-misc/Manifest.gz +++ b/x11-misc/Manifest.gz diff --git a/x11-misc/rofi-file-browser-extended/Manifest b/x11-misc/rofi-file-browser-extended/Manifest index 5ecdc59740f4..e3d13dd941ee 100644 --- a/x11-misc/rofi-file-browser-extended/Manifest +++ b/x11-misc/rofi-file-browser-extended/Manifest @@ -1,4 +1,6 @@ AUX rofi-file-browser-extended-1.3.1-fix-function-pointer-initialization.patch 1267 BLAKE2B 4d1c4613a2e90f03f0d50aae7f4b3dea211b247fa5021bb818e7b4745f2c75a7df590bc4e591b141bf696a0c14441787ba71a489715910df239f9c8ead4caec7 SHA512 3a8e92d9f519bf5cf077729b53ffef0b1b5aa2c3770c520cd7da653dd89627d2b27f4c64b8257604320c48ef446afaeba4c7e811b9c4ac16478f74e09fdc7960 +AUX rofi-file-browser-extended-1.3.1-fix-gcc14-build-fix.patch 2513 BLAKE2B bf12768e62572d6270ed7a645c2ad21fb265215134eca827b7a2a7424d0123783c148d75e842cd054399093dd2e21ce203cd9583a3bcb4b1df9b349e9853e149 SHA512 babc3ceb95fc39224115fab2ad95bbcd8a8b90db179856807a1827279262f3eb2e5e9ea00ee7de719191c0409644fd0e117e7ddebe00293a7f219bf555b6943b DIST rofi-file-browser-extended-1.3.1.tar.gz 27169 BLAKE2B ced5ae91a865b136bcb2182a17c7a49cbdfcc861f8d1063415691afb13f5bdf3f1c2c0fc56a21a0dec31ee656c2379e55a4f60899c59ca7e056438142675aeb2 SHA512 269e33d62e5fdf7f6c48763ae4309fac53873d53af4ebf78f731b709ac6ff41d8f8cf21de917866fe5a80f4949d70d3be6e516c3825a8768106c706438a5b3d1 EBUILD rofi-file-browser-extended-1.3.1-r1.ebuild 1024 BLAKE2B 99b1aa10a5f9949a373d10d0e293e0d557f09d19255d8f7f73b44c293cf508d5257597f7b164e41c85782743f6b7db2fc194366ff6dca1fe4d5d6be03adc95d5 SHA512 7edfa3534bedabe669e4823e7a7f6799e8457b1504118aa5e55fd018f8f91217835065d7e1be4d8935824b581402665e591466198bd24f246600f7af0a901559 -MISC metadata.xml 247 BLAKE2B 4e1dbdae308a736b571e2a7ab4a90c650461771c024127c95a33990f3973331ba5de3cc8fe960115af9bb06f49908d258211b2a4e07c0f8d2a9536c965d836c3 SHA512 734659aca9188fe48564f64e23622ef0201931c75e1306043902fcf487a4155e8027a378872a48c7e34a903cdd0363a8e237b0965b7f532f80eaf38353940dbc +EBUILD rofi-file-browser-extended-1.3.1-r2.ebuild 1078 BLAKE2B 5f87576db0ad8fb67c127bb1f838fec8827759a889af8dbdafa15f6beec6a187d71e51c59e8806a6183f9b205f9255d67dba1c7b12b6d212c18e8e8c792cb08d SHA512 69d9a612f76497ebcda3b52a45e435938c73a0c3118a00130762b288b8b0555c194a250c4d1098af7d4c0a8f4508ec0b819d7f976fc1d31736270bbc648ec837 +MISC metadata.xml 350 BLAKE2B 6c74d665560251ef5915628bbd229142ecfcccb702949ead8aa57c6a21ca1f123bd5c6421c9f9668c3545f9237e9cfc87089476d20dc6d5d6934408ca133cd8c SHA512 6a32847f60e1b31abadee6a5acce3bd3cb5665be8aafe3de69069cab688ac522766dae68aa37df912af57fb6105b65b04373c9ab6120cb571ef70950e326413a diff --git a/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.3.1-fix-gcc14-build-fix.patch b/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.3.1-fix-gcc14-build-fix.patch new file mode 100644 index 000000000000..eb1a7b3f5d6d --- /dev/null +++ b/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.3.1-fix-gcc14-build-fix.patch @@ -0,0 +1,53 @@ +https://patch-diff.githubusercontent.com/raw/marvinkreis/rofi-file-browser-extended/pull/54.patch +From: Brahmajit Das <brahmajit.xyz@gmail.com> +Date: Tue, 30 Apr 2024 11:39:59 +0530 +Subject: [PATCH 1/1] Fix building with GCC 14 on i686 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GCC 14 (and above) have enabled certain compiler flags such as +Wincompatible-pointer-types that causes build time errors such as + +rofi-file-browser-extended-1.3.1/src/icons.c:52:57: error: passing argument 2 of ‘g_array_steal’ from incompatible pointer type [-Wincompatible-pointer-types] + 52 | char** icon_names_raw = g_array_steal ( icon_names, &num_icon_names ); + | ^~~~~~~~~~~~~~~ + | | + | long unsigned int * +In file included from /usr/include/glib-2.0/glib.h:33, + from /usr/include/glib-2.0/gmodule.h:30, + from /var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1-r1/work/rofi-file-browser-extended-1.3.1/src/icons.c:1: +/usr/include/glib-2.0/glib/garray.h:86:54: note: expected ‘gsize *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ + 86 | gsize *len); + | ~~~~~~~~~~~~~~~~~~^~~ + +My patch attempts to fix this error and some other C99 related warnings. +First reported on Gentoo linux, please reffer +https://bugs.gentoo.org/928491 for more details + +Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> +--- a/src/files.c ++++ b/src/files.c +@@ -167,7 +167,7 @@ static bool match_glob_patterns ( const char *basename, FileBrowserFileData *fd + { + int len = strlen ( basename ); + for ( int i = 0; i < fd->num_exclude_patterns; i++ ) { +- if ( g_pattern_match ( fd->exclude_patterns[i], len, basename, NULL ) ) { ++ if ( g_pattern_spec_match ( fd->exclude_patterns[i], len, basename, NULL ) ) { + return false; + } + } +--- a/src/icons.c ++++ b/src/icons.c +@@ -48,7 +48,7 @@ void request_icons_for_file ( FBFile *fbfile, int icon_size, FileBrowserIconData + } + } + +- unsigned long num_icon_names; ++ gsize num_icon_names; + char** icon_names_raw = g_array_steal ( icon_names, &num_icon_names ); + + /* Create icon fetcher requests. */ +-- +2.45.0.rc1.218.g7b19149425.dirty + diff --git a/x11-misc/rofi-file-browser-extended/metadata.xml b/x11-misc/rofi-file-browser-extended/metadata.xml index 75209e7cb520..c5b4a5fe71cc 100644 --- a/x11-misc/rofi-file-browser-extended/metadata.xml +++ b/x11-misc/rofi-file-browser-extended/metadata.xml @@ -5,4 +5,7 @@ <email>flow@gentoo.org</email> <name>Florian Schmaus</name> </maintainer> + <upstream> + <remote-id type="github">marvinkreis/rofi-file-browser-extended</remote-id> + </upstream> </pkgmetadata> diff --git a/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.3.1-r2.ebuild b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.3.1-r2.ebuild new file mode 100644 index 000000000000..4411556a8ad5 --- /dev/null +++ b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.3.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A file browser for rofi" +HOMEPAGE="https://github.com/marvinkreis/rofi-file-browser-extended" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/marvinkreis/${PN}.git" +else + SRC_URI="https://github.com/marvinkreis/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +COMMON_DEPEND=" + dev-libs/glib:2 + x11-misc/rofi +" +DEPEND=" + ${COMMON_DEPEND} + x11-libs/cairo +" +RDEPEND="${COMMON_DEPEND}" + +PATCHES=( + # https://bugs.gentoo.org/880985 https://github.com/marvinkreis/rofi-file-browser-extended/pull/49 + "${FILESDIR}/${PN}-1.3.1-fix-function-pointer-initialization.patch" + "${FILESDIR}/${PN}-1.3.1-fix-gcc14-build-fix.patch" +) + +src_prepare() { + # Delete the lines in CMakeLists.txt that install the man page. + sed -i "45,56d" CMakeLists.txt || die + cmake_src_prepare +} + +src_install() { + cmake_src_install + doman "doc/${PN}.1" +} diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest index 8754951c91f1..ef6d554ce474 100644 --- a/x11-misc/tint2/Manifest +++ b/x11-misc/tint2/Manifest @@ -1,5 +1,5 @@ DIST tint2-v17.0.2.tar.gz 553734 BLAKE2B 73cd89757963f1a3c3460a2e8e61891e77eb12b9809590dbbbc00df00d03e82d33d6175c7e3ff4623a3390e35fe1530263915b4574dedfd46d9401fbc90d769f SHA512 9bfdf9ba33183ed60b95f73e58d9c1c22af83e9973a0e07ff2825d66d19c7103364426753a07eaecd4dbca278dfc6e22737bc6ce38d9b577b65f672f146e7aa2 DIST tint2-v17.1.3.tar.gz 573472 BLAKE2B 459833b0bde126bd99f7aa016df81ca81866d641ff8b55c54d397c7eef7f80b2bcb219d56dfdb42e10d21f09856d2d97fafe712c1b9f6002f6f0350c4dbc3685 SHA512 dfdfd011d35130955f243bf390f014fcc691448f284d635a9238616595155a3cd815aa229fd570ae58e94c58b439ae1545f7e13090e174117c50ca48679d0135 EBUILD tint2-17.0.2.ebuild 1107 BLAKE2B 876cefcdbb54de83726dca28ab6596ee8f011f402d02676739b9a7ead2a85c9ff12980f1ed33fafc75462c4acf9180f5414fc1b158e587958b12efcc8806c8ab SHA512 1a2dc78d53a77de0ac7202dd4e038d60ecddba590f3b06bce13c4fb3ce68aa9c7e9cfe829e500f3a89827b95de9f100d3209b92262129810206da440e46678af -EBUILD tint2-17.1.3.ebuild 1537 BLAKE2B 9fad3d0cc91c43d655e982fb8db7f10d1b5f32d50f587fa7d62dc1027f13f5fefd324f1dd3b20d95da6e97e71ce9279de57423ce7269375e62c63f8f828c0e65 SHA512 504f678687771db07d46079d3da36c5eaf79c4b7f2e165a9e32f9ad6964790f37af2d2cfc2dcd53488594b57f95ca7375c9bdc843adfe0939d3be8c57e23f4ef +EBUILD tint2-17.1.3.ebuild 1535 BLAKE2B c2ce04d81cdfc2f49c794abddee41028a7e614f7f7a9e8c586a35a61d078f95479b59bdd8cbf6abee316b1928634ad1757c740c41f9381d8e67b19b3b601a1bd SHA512 48c3cafde92e296f0f5c802644a5aa403e87dca29cb94322e7485de9e1ea331eb229ce035cc204b2e483448501d7514d900213b6617aa992ea9ebb6226bdfa2a MISC metadata.xml 833 BLAKE2B 575f102728e1c5fab35e1697450104a53fe8772edd35a2c77b48d5109f6ef91eba7819474b0aabf7354b168294b162b4f45921d198d4c8d22ac4ca6308100381 SHA512 dd17f7676168ddbcb019cdde2d98fa5f19053ceb720a81b2a5c32c25fb8a175feb9d5a4ef399bd0bd8f8cd75f07c5ee44463cbaa7e40a64307419a247af502b4 diff --git a/x11-misc/tint2/tint2-17.1.3.ebuild b/x11-misc/tint2/tint2-17.1.3.ebuild index 0c3ec79c99a1..50e0908a179b 100644 --- a/x11-misc/tint2/tint2-17.1.3.ebuild +++ b/x11-misc/tint2/tint2-17.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ S=${WORKDIR}/${PN}-v${PV} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +KEYWORDS="amd64 ~arm64 ~ppc x86" IUSE="battery debug startup-notification sanitize svg tint2conf" DEPEND=" |