aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-06-21 22:17:31 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-06-21 22:18:54 -0300
commitd5e239d743b5a3caf923c2b5a93092f720eff834 (patch)
treebed2a9ed66224aedf49c83d3a6f15069df47b11c
parentbd438065ce5e21418097938ffcf0eae21e9b41c5 (diff)
downloadaports-d5e239d743b5a3caf923c2b5a93092f720eff834.tar.gz
aports-d5e239d743b5a3caf923c2b5a93092f720eff834.tar.bz2
aports-d5e239d743b5a3caf923c2b5a93092f720eff834.tar.xz
community/libunique: remove
depends on GTK+2.0 which is EOL, no application use it as most are ported to GTK+3.0 or later which use GtkApplication
-rw-r--r--community/libunique/APKBUILD38
-rw-r--r--community/libunique/g_const_return.patch123
2 files changed, 0 insertions, 161 deletions
diff --git a/community/libunique/APKBUILD b/community/libunique/APKBUILD
deleted file mode 100644
index 1d20f3e91e..0000000000
--- a/community/libunique/APKBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=libunique
-pkgver=1.1.6
-pkgrel=7
-pkgdesc="Library for writing single instance applications"
-url="https://wiki.gnome.org/Attic/LibUnique"
-arch="all"
-license="LGPL-2.1-or-later"
-makedepends="gtk+-dev dbus-glib-dev"
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://download.gnome.org/sources/libunique/${pkgver%.*}/libunique-$pkgver.tar.bz2
- g_const_return.patch"
-
-
-prepare() {
- update_config_sub
- default_prepare
-}
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-maintainer-flags=no \
- --enable-debug=no \
- --disable-static
- make
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="82893e1d51a553b3c1413498e48a3a132e2c05779b4442c3732b5429d698e133741615657432a3d05c82a05c79bb59acc13df500bb08010212155db5e4ee6bde libunique-1.1.6.tar.bz2
-04952fa7f5cee407d1071b233b9fb9b2a460029d96f81edd2539032d85ef62a5b78599ec83d44f0a3931fe6e413f733366b38d7a2413b45e6cbbc1f000449d4b g_const_return.patch"
diff --git a/community/libunique/g_const_return.patch b/community/libunique/g_const_return.patch
deleted file mode 100644
index 89db14a5ab..0000000000
--- a/community/libunique/g_const_return.patch
+++ /dev/null
@@ -1,123 +0,0 @@
-diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c
-index b40a86c..e8edc94 100644
---- a/unique/uniqueapp.c
-+++ b/unique/uniqueapp.c
-@@ -781,7 +781,7 @@ unique_app_watch_window (UniqueApp *app,
- }
-
-
--G_CONST_RETURN gchar *
-+const gchar *
- unique_command_to_string (UniqueApp *app,
- gint command)
- {
-@@ -863,7 +863,7 @@ unique_command_from_string (UniqueApp *app,
- return retval;
- }
-
--G_CONST_RETURN gchar *
-+const gchar *
- unique_response_to_string (UniqueResponse response)
- {
- GEnumClass *enum_class;
-diff --git a/unique/uniquebackend.c b/unique/uniquebackend.c
-index 18a0c45..6a9500a 100644
---- a/unique/uniquebackend.c
-+++ b/unique/uniquebackend.c
-@@ -111,7 +111,7 @@ unique_backend_set_name (UniqueBackend *backend,
- *
- * Return value: FIXME
- */
--G_CONST_RETURN gchar *
-+const gchar *
- unique_backend_get_name (UniqueBackend *backend)
- {
- g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
-@@ -154,7 +154,7 @@ unique_backend_set_startup_id (UniqueBackend *backend,
- *
- * Return value: FIXME
- */
--G_CONST_RETURN gchar *
-+const gchar *
- unique_backend_get_startup_id (UniqueBackend *backend)
- {
- g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
-diff --git a/unique/uniquebackend.h b/unique/uniquebackend.h
-index a50ce4e..a8786bf 100644
---- a/unique/uniquebackend.h
-+++ b/unique/uniquebackend.h
-@@ -94,10 +94,10 @@ GType unique_backend_get_type (void) G_GNUC_CONST;
-
- UniqueBackend * unique_backend_create (void);
-
--G_CONST_RETURN gchar *unique_backend_get_name (UniqueBackend *backend);
-+const gchar *unique_backend_get_name (UniqueBackend *backend);
- void unique_backend_set_name (UniqueBackend *backend,
- const gchar *name);
--G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend *backend);
-+const gchar *unique_backend_get_startup_id (UniqueBackend *backend);
- void unique_backend_set_startup_id (UniqueBackend *backend,
- const gchar *startup_id);
- GdkScreen * unique_backend_get_screen (UniqueBackend *backend);
-diff --git a/unique/uniqueinternals.h b/unique/uniqueinternals.h
-index ace40ed..f688939 100644
---- a/unique/uniqueinternals.h
-+++ b/unique/uniqueinternals.h
-@@ -44,11 +44,11 @@ UniqueResponse unique_app_emit_message_received (UniqueApp *app,
- * and then back into an id
- */
- UniqueResponse unique_response_from_string (const gchar *response);
--G_CONST_RETURN gchar *unique_response_to_string (UniqueResponse response);
-+const gchar *unique_response_to_string (UniqueResponse response);
-
- gint unique_command_from_string (UniqueApp *app,
- const gchar *command);
--G_CONST_RETURN gchar *unique_command_to_string (UniqueApp *app,
-+const gchar *unique_command_to_string (UniqueApp *app,
- gint command);
-
- G_END_DECLS
-diff --git a/unique/uniquemessage.c b/unique/uniquemessage.c
-index 10f6df5..b13be7f 100644
---- a/unique/uniquemessage.c
-+++ b/unique/uniquemessage.c
-@@ -185,7 +185,7 @@ unique_message_data_set (UniqueMessageData *message_data,
- *
- * Since: 1.0.2
- */
--G_CONST_RETURN guchar *
-+const guchar *
- unique_message_data_get (UniqueMessageData *message_data,
- gsize *length)
- {
-@@ -525,7 +525,7 @@ unique_message_data_get_screen (UniqueMessageData *message_data)
- * owned by the #UniqueMessageData structure and should not be
- * modified or freed
- */
--G_CONST_RETURN gchar *
-+const gchar *
- unique_message_data_get_startup_id (UniqueMessageData *message_data)
- {
- g_return_val_if_fail (message_data != NULL, NULL);
-diff --git a/unique/uniquemessage.h b/unique/uniquemessage.h
-index d3e9c3c..9759a30 100644
---- a/unique/uniquemessage.h
-+++ b/unique/uniquemessage.h
-@@ -48,7 +48,7 @@ void unique_message_data_free (UniqueMessageData *me
- void unique_message_data_set (UniqueMessageData *message_data,
- const guchar *data,
- gsize length);
--G_CONST_RETURN guchar *unique_message_data_get (UniqueMessageData *message_data,
-+const guchar *unique_message_data_get (UniqueMessageData *message_data,
- gsize *length);
-
- gboolean unique_message_data_set_text (UniqueMessageData *message_data,
-@@ -63,7 +63,7 @@ void unique_message_data_set_filename (UniqueMessageData *me
- gchar * unique_message_data_get_filename (UniqueMessageData *message_data);
-
- GdkScreen * unique_message_data_get_screen (UniqueMessageData *message_data);
--G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
-+const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
- guint unique_message_data_get_workspace (UniqueMessageData *message_data);
-
- G_END_DECLS