libindicator move
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.copytree("../libindicator-%s" % (get.srcVERSION().replace("_", "~")), "../libindicator-%s-gtk3" % get.srcVERSION())
|
||||
|
||||
pisitools.cflags.add("-Wno-error=deprecated-declarations")
|
||||
autotools.configure("--libexecdir=/usr/lib \
|
||||
--disable-static \
|
||||
--disable-introspection \
|
||||
--with-gtk=2")
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION())
|
||||
pisitools.cflags.add("-Wno-error=deprecated-declarations")
|
||||
autotools.configure("--libexecdir=/usr/lib \
|
||||
--disable-static \
|
||||
--with-gtk=3")
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION())
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION())
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING", "README")
|
||||
@@ -0,0 +1,46 @@
|
||||
--- configure_old 2012-09-19 18:40:08.143406000 +0300
|
||||
+++ configure 2020-02-20 16:16:35.993776947 +0300
|
||||
@@ -12021,7 +12021,7 @@
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lmw $LIBS"
|
||||
+LIBS=" -lmw $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -12052,7 +12052,7 @@
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
|
||||
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
|
||||
if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
|
||||
- LIBM="-lmw"
|
||||
+ LIBM=" -lmw"
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
|
||||
@@ -12061,7 +12061,7 @@
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lm $LIBS"
|
||||
+LIBS=" -lm $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -12134,14 +12134,14 @@
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
|
||||
$as_echo "$ac_cv_lib_m_cos" >&6; }
|
||||
if test "x$ac_cv_lib_m_cos" = xyes; then :
|
||||
- LIBM="-lm"
|
||||
+ LIBM=" -lm"
|
||||
fi
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
-LIBINDICATOR_LIBS+="$LIBM"
|
||||
+LIBINDICATOR_LIBS+=" $LIBM"
|
||||
|
||||
##############################
|
||||
# Custom Junk
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
--- ./libindicator-12.10.1/libindicator/indicator-desktop-shortcuts.c.orig 2012-09-20 00:38:05.081903564 +0900
|
||||
+++ ./libindicator-12.10.1/libindicator/indicator-desktop-shortcuts.c 2019-11-11 20:16:21.088761001 +0900
|
||||
@@ -61,7 +61,7 @@
|
||||
};
|
||||
|
||||
#define INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(o) \
|
||||
- (G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_TYPE_DESKTOP_SHORTCUTS, IndicatorDesktopShortcutsPrivate))
|
||||
+ (indicator_desktop_shortcuts_get_instance_private((IndicatorDesktopShortcuts *)o))
|
||||
|
||||
static void indicator_desktop_shortcuts_class_init (IndicatorDesktopShortcutsClass *klass);
|
||||
static void indicator_desktop_shortcuts_init (IndicatorDesktopShortcuts *self);
|
||||
@@ -72,7 +72,7 @@
|
||||
static void parse_keyfile (IndicatorDesktopShortcuts * ids);
|
||||
static gboolean should_show (GKeyFile * keyfile, const gchar * group, const gchar * identity, gboolean should_have_target);
|
||||
|
||||
-G_DEFINE_TYPE (IndicatorDesktopShortcuts, indicator_desktop_shortcuts, G_TYPE_OBJECT);
|
||||
+G_DEFINE_TYPE_WITH_PRIVATE (IndicatorDesktopShortcuts, indicator_desktop_shortcuts, G_TYPE_OBJECT);
|
||||
|
||||
/* Build up the class */
|
||||
static void
|
||||
--- ./libindicator-12.10.1/libindicator/indicator-object.c.orig 2012-09-20 00:38:04.953839560 +0900
|
||||
+++ ./libindicator-12.10.1/libindicator/indicator-object.c 2019-11-11 20:15:09.145806133 +0900
|
||||
@@ -117,7 +117,7 @@
|
||||
static void indicator_object_entry_was_added (IndicatorObject*, IndicatorObjectEntry*);
|
||||
static IndicatorObjectEntryPrivate * entry_get_private (IndicatorObject*, IndicatorObjectEntry*);
|
||||
|
||||
-G_DEFINE_TYPE (IndicatorObject, indicator_object, G_TYPE_OBJECT);
|
||||
+G_DEFINE_TYPE_WITH_PRIVATE (IndicatorObject, indicator_object, G_TYPE_OBJECT);
|
||||
|
||||
/* Setup the class and put the functions into the
|
||||
class structure */
|
||||
@@ -302,7 +302,7 @@
|
||||
static void
|
||||
indicator_object_init (IndicatorObject *self)
|
||||
{
|
||||
- IndicatorObjectPrivate * priv = G_TYPE_INSTANCE_GET_PRIVATE (self, INDICATOR_OBJECT_TYPE, IndicatorObjectPrivate);
|
||||
+ IndicatorObjectPrivate * priv = indicator_object_get_instance_private(self);
|
||||
|
||||
priv->module = NULL;
|
||||
|
||||
--- ./libindicator-12.10.1/libindicator/indicator-service-manager.c.orig 2012-09-20 00:38:05.057891563 +0900
|
||||
+++ ./libindicator-12.10.1/libindicator/indicator-service-manager.c 2019-11-11 20:15:09.145806133 +0900
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
/* GObject Stuff */
|
||||
#define INDICATOR_SERVICE_MANAGER_GET_PRIVATE(o) \
|
||||
-(G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_SERVICE_MANAGER_TYPE, IndicatorServiceManagerPrivate))
|
||||
+(indicator_service_manager_get_instance_private((IndicatorServiceManager *)o))
|
||||
|
||||
static void indicator_service_manager_class_init (IndicatorServiceManagerClass *klass);
|
||||
static void indicator_service_manager_init (IndicatorServiceManager *self);
|
||||
@@ -105,7 +105,7 @@
|
||||
static void service_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data);
|
||||
static void service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_name, const gchar * object_path, const gchar * interface_name, const gchar * signal_name, GVariant * parameters, gpointer user_data);
|
||||
|
||||
-G_DEFINE_TYPE (IndicatorServiceManager, indicator_service_manager, G_TYPE_OBJECT);
|
||||
+G_DEFINE_TYPE_WITH_PRIVATE (IndicatorServiceManager, indicator_service_manager, G_TYPE_OBJECT);
|
||||
|
||||
/* Build all of our signals and proxies and tie everything
|
||||
all together. Lovely. */
|
||||
--- ./libindicator-12.10.1/libindicator/indicator-service.c.orig 2012-09-20 00:38:05.009867562 +0900
|
||||
+++ ./libindicator-12.10.1/libindicator/indicator-service.c 2019-11-11 20:15:09.145806133 +0900
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
/* GObject Stuff */
|
||||
#define INDICATOR_SERVICE_GET_PRIVATE(o) \
|
||||
- (G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_SERVICE_TYPE, IndicatorServicePrivate))
|
||||
+ (indicator_service_get_instance_private((IndicatorService *)o))
|
||||
|
||||
static void indicator_service_class_init (IndicatorServiceClass *klass);
|
||||
static void indicator_service_init (IndicatorService *self);
|
||||
@@ -106,7 +106,7 @@
|
||||
};
|
||||
|
||||
/* THE define */
|
||||
-G_DEFINE_TYPE (IndicatorService, indicator_service, G_TYPE_OBJECT);
|
||||
+G_DEFINE_TYPE_WITH_PRIVATE (IndicatorService, indicator_service, G_TYPE_OBJECT);
|
||||
|
||||
static void
|
||||
indicator_service_class_init (IndicatorServiceClass *klass)
|
||||
Executable
+110
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libindicator</Name>
|
||||
<Homepage>https://launchpad.net/libindicator</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A set of symbols and convience functions that all indicators would like to use.</Summary>
|
||||
<Description>Libary with a set of symbols and convience functions that all indicators would like to use (GTK+ 2 library)</Description>
|
||||
<Archive sha1sum="25c8a0a150651ee6b2198df3f36fcbb49f0295c2" type="targz">https://launchpadlibrarian.net/116625186/libindicator-12.10.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>dbus-glib-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>configure.patch</Patch>
|
||||
<Patch>libindicator-12.10.1-glib262-g_define_type_with_private.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libindicator</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/libindicator</Path>
|
||||
<Path fileType="config">/etc/X11/Xsession.d/80indicator-debugging</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libindicator-devel</Name>
|
||||
<Summary>libindicator için geliştirme dosyalrı</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency release="current">libindicator</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libindicator-gtk2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libindicator.so*</Path>
|
||||
<Path fileType="library">/usr/lib/indicator-loader</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libindicator-gtk2-devel</Name>
|
||||
<Summary>libindicator için geliştirme dosyalrı</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency release="current">libindicator-gtk2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/indicator-0.4.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2023-10-24</Date>
|
||||
<Version>12.10.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2021-07-04</Date>
|
||||
<Version>12.10.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-06-29</Date>
|
||||
<Version>12.10.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2020-02-13</Date>
|
||||
<Version>12.10.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libindicator</Name>
|
||||
<Summary xml:lang="en">A set of symbols and convience functions that all indicators would like to use.</Summary>
|
||||
<Description xml:lang="en">Libary with a set of symbols and convience functions that all indicators would like to use (GTK+ 2 library)</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libindicator-devel</Name>
|
||||
<Summary xml:lang="tr">libindicator için geliştirme dosyalrı</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user