Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libappindicator, libindicator: remove package
@ 2023-02-14 19:10 paper42
  2023-02-14 19:15 ` classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: paper42 @ 2023-02-14 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages remove/libappindicator-libindicator
https://github.com/void-linux/void-packages/pull/42263

libappindicator, libindicator: remove package
uses python2, not maintained since 2012, replaced by libayatana-appindicator<!-- Uncomment relevant sections and delete options which are not applicable -->


A patch file from https://github.com/void-linux/void-packages/pull/42263.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-remove/libappindicator-libindicator-42263.patch --]
[-- Type: text/x-diff, Size: 6588 bytes --]

From 1f39915de3509337872a87b7650734bb85b9e945 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 14 Feb 2023 20:00:53 +0100
Subject: [PATCH 1/2] libappindicator: remove package

uses python2, not maintained since 2012, replaced by libayatana-appindicator
---
 common/shlibs                    |  1 -
 srcpkgs/libappindicator-devel    |  1 -
 srcpkgs/libappindicator/template | 45 --------------------------------
 3 files changed, 47 deletions(-)
 delete mode 120000 srcpkgs/libappindicator-devel
 delete mode 100644 srcpkgs/libappindicator/template

diff --git a/common/shlibs b/common/shlibs
index 6d01ee351af6..04785fa8b039 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3057,7 +3057,6 @@ libappstream-builder.so.8 appstream-glib-0.6.13_1
 libflatpak.so.0 flatpak-0.9.3_2
 libnanomsg.so.5 nanomsg-1.1.3_1
 libindicator3.so.7 libindicator-12.10.1_1
-libappindicator3.so.1 libappindicator-12.10.0_1
 libscanmem.so.1 libscanmem-0.17_5
 libsctp.so.1 lksctp-tools-1.0.17_1
 libwithsctp.so.1 lksctp-tools-1.0.17_1
diff --git a/srcpkgs/libappindicator-devel b/srcpkgs/libappindicator-devel
deleted file mode 120000
index 8bd81b384994..000000000000
--- a/srcpkgs/libappindicator-devel
+++ /dev/null
@@ -1 +0,0 @@
-libappindicator
\ No newline at end of file
diff --git a/srcpkgs/libappindicator/template b/srcpkgs/libappindicator/template
deleted file mode 100644
index 11fc6f6d1527..000000000000
--- a/srcpkgs/libappindicator/template
+++ /dev/null
@@ -1,45 +0,0 @@
-# Template file for 'libappindicator'
-pkgname=libappindicator
-version=12.10.0
-revision=3
-build_style=gnu-configure
-build_helper="gir"
-configure_args="--with-gtk=3"
-hostmakedepends="pkg-config python glib-devel"
-makedepends="gtk+3-devel glib-devel glib-networking libdbusmenu-glib-devel
- libdbusmenu-gtk3-devel libindicator-devel dbus-glib-devel python-devel
- python-gobject2-devel pygtk-devel"
-short_desc="Library to allow applications to export a menu"
-maintainer="Toyam Cox <Vaelatern@gmail.com>"
-license="LGPL-2.1"
-homepage="https://launchpad.net/libappindicator"
-distfiles="https://launchpad.net/libappindicator/${version%.*}/${version}/+download/libappindicator-${version}.tar.gz"
-checksum=d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f
-
-# since this package depends on features that have already been removed in
-# gtk+4, we need to ignore the depreciated problem. GTK is going away from the
-# idea of app indicators in taskbars.
-CFLAGS="-Wno-deprecated-declarations -Wno-error=incompatible-pointer-types"
-
-# Avoid errors for macros deprecated since glib-2.58 */
-CFLAGS+=" -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56"
-
-
-pre_configure() {
-	if [ "$CROSS_BUILD" ]; then
-		sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure
-	fi
-}
-
-libappindicator-devel_package() {
-	short_desc+=" - development files"
-	depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libdbusmenu-glib-devel"
-	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/pkgconfig
-		vmove usr/lib/*.so
-		vmove usr/lib/*.a
-		vmove usr/share/gir-1.0
-		vmove usr/share/gtk-doc
-	}
-}

From 5f3b07e31785e70076f60fcc12536a17b2edc63d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 14 Feb 2023 20:07:07 +0100
Subject: [PATCH 2/2] libindicator: remove package

last release in 2012, replaced by libayatana-indicator
---
 common/shlibs                            |  1 -
 srcpkgs/libindicator-devel               |  1 -
 srcpkgs/libindicator/patches/gtk+3.patch | 11 --------
 srcpkgs/libindicator/template            | 36 ------------------------
 4 files changed, 49 deletions(-)
 delete mode 120000 srcpkgs/libindicator-devel
 delete mode 100644 srcpkgs/libindicator/patches/gtk+3.patch
 delete mode 100644 srcpkgs/libindicator/template

diff --git a/common/shlibs b/common/shlibs
index 04785fa8b039..8ffd4426a551 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3056,7 +3056,6 @@ libappstream-glib.so.8 appstream-glib-0.6.13_1
 libappstream-builder.so.8 appstream-glib-0.6.13_1
 libflatpak.so.0 flatpak-0.9.3_2
 libnanomsg.so.5 nanomsg-1.1.3_1
-libindicator3.so.7 libindicator-12.10.1_1
 libscanmem.so.1 libscanmem-0.17_5
 libsctp.so.1 lksctp-tools-1.0.17_1
 libwithsctp.so.1 lksctp-tools-1.0.17_1
diff --git a/srcpkgs/libindicator-devel b/srcpkgs/libindicator-devel
deleted file mode 120000
index 67d163620094..000000000000
--- a/srcpkgs/libindicator-devel
+++ /dev/null
@@ -1 +0,0 @@
-libindicator
\ No newline at end of file
diff --git a/srcpkgs/libindicator/patches/gtk+3.patch b/srcpkgs/libindicator/patches/gtk+3.patch
deleted file mode 100644
index 200609d58a9f..000000000000
--- a/srcpkgs/libindicator/patches/gtk+3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libindicator/indicator-image-helper.c.bck	2017-06-14 03:46:33.174214553 -0400
-+++ b/libindicator/indicator-image-helper.c	2017-06-14 03:47:00.594494305 -0400
-@@ -69,7 +69,7 @@
- 	GdkPixbuf * pixbuf = gdk_pixbuf_new_from_file(icon_filename, &error);
- 
- 	if (icon_info != NULL) {
--		gtk_icon_info_free(icon_info);
-+		g_object_unref(icon_info);
- 	}
- 
- 	if (pixbuf == NULL) {
diff --git a/srcpkgs/libindicator/template b/srcpkgs/libindicator/template
deleted file mode 100644
index 1ad0e5f9c6e7..000000000000
--- a/srcpkgs/libindicator/template
+++ /dev/null
@@ -1,36 +0,0 @@
-# Template file for 'libindicator'
-pkgname=libindicator
-version=12.10.1
-revision=1
-build_style=gnu-configure
-configure_args="--with-gtk=3"
-hostmakedepends="pkg-config glib-devel"
-makedepends="garcon gtk+3-devel libglib-devel"
-short_desc="Convenient symbols and functions for indicators in the Ayatana project"
-maintainer="Toyam Cox <Vaelatern@gmail.com>"
-license="GPL-3"
-homepage="https://launchpad.net/libindicator"
-distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download/libindicator-${version}.tar.gz"
-checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f
-
-CFLAGS="-Wno-deprecated-declarations"
-# Avoid errors for macros deprecated since glib-2.58 */
-CFLAGS+=" -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56"
-
-
-post_configure() {
-	# Due to laziness, let's just fix the problem here without
-	# understanding it
-	sed -i -e 's/-lglib-2.0-lm/-lglib-2.0 -lm/' Makefile */Makefile
-}
-
-libindicator-devel_package() {
-	short_desc+=" - development files"
-	depends="${sourcepkg}>=${version}_${revision}"
-	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/pkgconfig
-		vmove usr/lib/*.so
-		vmove usr/lib/*.a
-	}
-}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
@ 2023-02-14 19:15 ` classabbyamp
  2023-02-14 19:22 ` paper42
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-14 19:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42263#issuecomment-1430254007

Comment:
missing removed-packages or a transitional dummy pkg?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
  2023-02-14 19:15 ` classabbyamp
@ 2023-02-14 19:22 ` paper42
  2023-05-15 16:27 ` classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: paper42 @ 2023-02-14 19:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42263#issuecomment-1430261853

Comment:
> missing removed-packages or a transitional dummy pkg?

I don't know if we should do that this time. Removing them has some value - we will be a few packages closer to dropping Python 2, but also people might want libappindicator when they compile something on their own. I didn't add them to removed-packages, so they should be still usable for a while.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
  2023-02-14 19:15 ` classabbyamp
  2023-02-14 19:22 ` paper42
@ 2023-05-15 16:27 ` classabbyamp
  2023-05-30 18:58 ` paper42
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-05-15 16:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42263#issuecomment-1548176163

Comment:
does ayatana provide a compatible api or would people compiling things need to make some changes to the thing they're compiling?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
                   ` (2 preceding siblings ...)
  2023-05-15 16:27 ` classabbyamp
@ 2023-05-30 18:58 ` paper42
  2023-08-13 15:33 ` [PR PATCH] [Merged]: " classabbyamp
  2024-04-24  7:07 ` datleviet
  5 siblings, 0 replies; 7+ messages in thread
From: paper42 @ 2023-05-30 18:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42263#issuecomment-1568926044

Comment:
> does ayatana provide a compatible api or would people compiling things need to make some changes to the thing they're compiling?

from what I know, the API is compatible, but the library name is different, so you have to at least fix that in the build system and includes in the sources

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Merged]: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
                   ` (3 preceding siblings ...)
  2023-05-30 18:58 ` paper42
@ 2023-08-13 15:33 ` classabbyamp
  2024-04-24  7:07 ` datleviet
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-08-13 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

There's a merged pull request on the void-packages repository

libappindicator, libindicator: remove package
https://github.com/void-linux/void-packages/pull/42263

Description:
uses python2, not maintained since 2012, replaced by libayatana-appindicator<!-- Uncomment relevant sections and delete options which are not applicable -->


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libappindicator, libindicator: remove package
  2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
                   ` (4 preceding siblings ...)
  2023-08-13 15:33 ` [PR PATCH] [Merged]: " classabbyamp
@ 2024-04-24  7:07 ` datleviet
  5 siblings, 0 replies; 7+ messages in thread
From: datleviet @ 2024-04-24  7:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

New comment by datleviet on void-packages repository

https://github.com/void-linux/void-packages/pull/42263#issuecomment-2074227314

Comment:
Is it safe to create a symlink `libappindicator3.so.1` to `libayatana-appindicator3.so.1`?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-24  7:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 19:10 [PR PATCH] libappindicator, libindicator: remove package paper42
2023-02-14 19:15 ` classabbyamp
2023-02-14 19:22 ` paper42
2023-05-15 16:27 ` classabbyamp
2023-05-30 18:58 ` paper42
2023-08-13 15:33 ` [PR PATCH] [Merged]: " classabbyamp
2024-04-24  7:07 ` datleviet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).