From ee8ad1509f726e8fa598472117e5bbffd241ebab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Dec 2022 15:10:46 +0000 Subject: gentoo auto-resync : 06:12:2022 - 15:10:45 --- x11-misc/notify-osd/Manifest | 2 + .../notify-osd-0.9.34-fix-integer-conversion.patch | 24 ++++++++ x11-misc/notify-osd/notify-osd-0.9.34-r2.ebuild | 72 ++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 x11-misc/notify-osd/files/notify-osd-0.9.34-fix-integer-conversion.patch create mode 100644 x11-misc/notify-osd/notify-osd-0.9.34-r2.ebuild (limited to 'x11-misc/notify-osd') diff --git a/x11-misc/notify-osd/Manifest b/x11-misc/notify-osd/Manifest index 2fc7e0c39b76..e702ff1a86bf 100644 --- a/x11-misc/notify-osd/Manifest +++ b/x11-misc/notify-osd/Manifest @@ -1,3 +1,5 @@ +AUX notify-osd-0.9.34-fix-integer-conversion.patch 782 BLAKE2B a0af1547a98444ca7a8cc5fb1078c3c9a72a238c1e44d7ad232b7d17adbc8106d3ac375425e5bc34a55f35df3a67eb61dc20ee7fb2bdb2730dff5d42b9439fba SHA512 f31fc04921ff7dbefe77cd93fcc3819f17d44c7235934cb9ef57340e83e3d332449edcf7bcb6923a4956b5b32cec00df1ee5760261ea2579975a3d333def77bc DIST notify-osd-0.9.34.tar.gz 635387 BLAKE2B 469369f9fde562c605c131608b56eb54ea2a5f3d16f530e5b383d04fd8de2fbd531b58ed43caceeaeef65840cb00917484c02f8af0d7a0fc464ab131c1193853 SHA512 60ca63c2041f129d5139537242c2260908cedef633df977a608e19dcb01b75b2280ec80abe2b6da5eff76621107ee9d294742abfae301bc24eaa3aa855c56ce1 EBUILD notify-osd-0.9.34-r1.ebuild 1503 BLAKE2B b59b0bd60fcb8c299121cbd5feaff737bc7c610082c5ad6fea5e883bb1160a18f265b11282d611bc244aab61644bb06691df4200944b9a649e3b53e63a09360c SHA512 cd212fdeef62bf4c45a24bc895d5512437a13649aa92930fc16746d71acd0961a30b02017c16e58d491d427c62d7fd33b20277b5216113ec9b0ecc9a30160795 +EBUILD notify-osd-0.9.34-r2.ebuild 1600 BLAKE2B 2a5a6061320eba92aa3b3452b31d564de32a9c1d9b30c8a005c4ef1e28fc69026f29c354b707b574c6646a44e0258cff1c4e38d58cede654a2c38266b146497c SHA512 37dcfc6b18f40687894b4c3b332406e46e2b2d964b69df2a7b3499acf330c46d36e9b955dc01f217b156a57d2b94d2c7026fe06087f2c10675a1f0ff8b3235a7 MISC metadata.xml 251 BLAKE2B 7d2eba6fb2a179ee3d8de8ba1d8397cca76a8ddd87831b352e113013175917395d8509d08718420dd59827f593f5befd91e14291ec213baf9b8fd5816c08f358 SHA512 2d5b955fb57b228912a83143faf54bd2be9dc93cdfaa20955777e8cb28da6cd2acb36c9b69f60132b4f229d213b600e76285768e895b1b20098fc1bbc52eade8 diff --git a/x11-misc/notify-osd/files/notify-osd-0.9.34-fix-integer-conversion.patch b/x11-misc/notify-osd/files/notify-osd-0.9.34-fix-integer-conversion.patch new file mode 100644 index 000000000000..3dffeebf497b --- /dev/null +++ b/x11-misc/notify-osd/files/notify-osd-0.9.34-fix-integer-conversion.patch @@ -0,0 +1,24 @@ +Clang16 will not allow implicit pointer to integer +conversions by default. (-Werror=int-conversion by default) +This patch fixes the pointer to integer conversion. + +Bug: https://bugs.gentoo.org/879035 +Patch is upstreamed here: https://answers.launchpad.net/notify-osd/+question/704024 + +Signed-off-by: Pascal Jäger +--- a/src/bubble-window.c ++++ b/src/bubble-window.c +@@ -78,8 +78,8 @@ bubble_window_get_accessible (GtkWidget *widget) + { + AtkObjectFactory *factory = NULL; + AtkRegistry *registry = NULL; +- GType derived_type = NULL; +- GType derived_atk_type = NULL; ++ GType derived_type = 0; ++ GType derived_atk_type = 0; + + /* + * Figure out whether accessibility is enabled by looking at the +-- +2.38.1 + diff --git a/x11-misc/notify-osd/notify-osd-0.9.34-r2.ebuild b/x11-misc/notify-osd/notify-osd-0.9.34-r2.ebuild new file mode 100644 index 000000000000..37513942a8c4 --- /dev/null +++ b/x11-misc/notify-osd/notify-osd-0.9.34-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools gnome2-utils savedconfig + +DESCRIPTION="Canonical's on-screen-display notification agent" +HOMEPAGE="https://launchpad.net/notify-osd" +SRC_URI="https://launchpad.net/${PN}/precise/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal" + +RDEPEND=" + gnome-base/gsettings-desktop-schemas + !minimal? ( x11-themes/notify-osd-icons ) +" +DEPEND=" + dev-util/glib-utils + gnome-base/gnome-common + x11-base/xorg-proto + virtual/pkgconfig + >=dev-libs/dbus-glib-0.98 + >=dev-libs/glib-2.16:2 + >=x11-libs/gtk+-3.2:3 + >=x11-libs/libnotify-0.7 + >=x11-libs/libwnck-3:3 + x11-libs/libX11 + x11-libs/pixman + !x11-misc/notification-daemon + !x11-misc/qtnotifydaemon +" + +RESTRICT="test" # virtualx.eclass: 1 of 1: FAIL: test-modules + +# Patch is upstreamed here: https://answers.launchpad.net/notify-osd/+question/704024 +PATCHES=( "${FILESDIR}/${P}-fix-integer-conversion.patch" ) + +src_prepare() { + default + sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die + restore_config src/{bubble,defaults,dnd}.c #428134 + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf --libexecdir="/usr/$(get_libdir)/${PN}" +} + +src_install() { + default + save_config src/{bubble,defaults,dnd}.c + rm -f "${ED}"/usr/share/${PN}/icons/*/*/*/README +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} -- cgit v1.2.3