Merge pull request #2174 from bferturk/master
libvnck2,polkit-gnome,libunique add repo
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
# autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README", "TODO", "HACKING", "AUTHORS", "NEWS")
|
||||
@@ -0,0 +1,84 @@
|
||||
[Desktop Entry]
|
||||
Name=PolicyKit Authentication Agent
|
||||
Name[ar]=مدير الاستيثاق PolicyKit
|
||||
Name[be]=PolicyKit - аґент аўтэнтыфікацыі
|
||||
Name[bn_IN]=PolicyKit অনুমোদনের এজেন্ট
|
||||
Name[ca]=Agent d'autenticació del PolicyKit
|
||||
Name[cs]=Ověřovací agent PolicyKit
|
||||
Name[da]=Godkendelsesprogrammet PolicyKit
|
||||
Name[de]=Legitimationsdienst von PolicyKit
|
||||
Name[el]=Πράκτορας πιστοποίησης PolicyKit
|
||||
Name[en_GB]=PolicyKit Authentication Agent
|
||||
Name[es]=Agente de autenticación de PolicyKit
|
||||
Name[eu]=PolicyKit autentifikatzeko agentea
|
||||
Name[fi]=PolicytKit-tunnistautumisohjelma
|
||||
Name[fr]=Agent d'authentification de PolicyKit
|
||||
Name[gl]=Axente de autenticación PolicyKit
|
||||
Name[gu]=PolicyKit સત્તાધિકરણ એજન્ટ
|
||||
Name[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि
|
||||
Name[hu]=PolicyKit hitelesítési ügynök
|
||||
Name[it]=Agente di autenticazione per PolicyKit
|
||||
Name[ja]=PolicyKit 認証エージェント
|
||||
Name[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ
|
||||
Name[lt]=PolicyKit tapatybės nustatymo agentas
|
||||
Name[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ്
|
||||
Name[mr]=PolicyKit ऑथेंटीकेशन एजेंट
|
||||
Name[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ
|
||||
Name[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ
|
||||
Name[pl]=Agent uwierzytelniania PolicyKit
|
||||
Name[pt]=Agente de Autenticação PolicyKit
|
||||
Name[pt_BR]=Agente de autenticação PolicyKit
|
||||
Name[sl]=PolicyKit program overjanja
|
||||
Name[sv]=Autentiseringsagent för PolicyKit
|
||||
Name[ta]=PolicyKit அங்கீகார முகவர்
|
||||
Name[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి
|
||||
Name[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit
|
||||
Name[uk]=Агент автентифікації PolicyKit
|
||||
Name[zh_CN]=PolicyKit 认证代理
|
||||
Name[zh_HK]=PolicyKit 驗證代理程式
|
||||
Name[zh_TW]=PolicyKit 驗證代理程式
|
||||
Comment=PolicyKit Authentication Agent
|
||||
Comment[ar]=مدير الاستيثاق PolicyKit
|
||||
Comment[be]=PolicyKit - аґент аўтэнтыфікацыі
|
||||
Comment[bn_IN]=PolicyKit অনুমোদনের এজেন্ট
|
||||
Comment[ca]=Agent d'autenticació del PolicyKit
|
||||
Comment[cs]=Ověřovací agent PolicyKit
|
||||
Comment[da]=Godkendelsesprogrammet PolicyKit
|
||||
Comment[de]=Legitimationsdienst von PolicyKit
|
||||
Comment[el]=Πράκτορας πιστοποίησης PolicyKit
|
||||
Comment[en_GB]=PolicyKit Authentication Agent
|
||||
Comment[es]=Agente de autenticación de PolicyKit
|
||||
Comment[eu]=PolicyKit autentifikatzeko agentea
|
||||
Comment[fi]=PolicytKit-tunnistautumisohjelma
|
||||
Comment[fr]=Agent d'authentification de PolicyKit
|
||||
Comment[gl]=Axente de autenticación PolicyKit
|
||||
Comment[gu]=PolicyKit સત્તાધિકરણ એજન્ટ
|
||||
Comment[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि
|
||||
Comment[hu]=PolicyKit hitelesítési ügynök
|
||||
Comment[it]=Agente di autenticazione per PolicyKit
|
||||
Comment[ja]=PolicyKit 認証エージェント
|
||||
Comment[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ
|
||||
Comment[lt]=PolicyKit tapatybės nustatymo agentas
|
||||
Comment[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ്
|
||||
Comment[mr]=PolicyKit ऑथेंटीकेशन एजेंट
|
||||
Comment[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ
|
||||
Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ
|
||||
Comment[pl]=Agent uwierzytelniania PolicyKit
|
||||
Comment[pt]=Agente de Autenticação PolicyKit
|
||||
Comment[pt_BR]=Agente de autenticação PolicyKit
|
||||
Comment[sl]=PolicyKit program overjanja
|
||||
Comment[sv]=Autentiseringsagent för PolicyKit
|
||||
Comment[ta]=PolicyKit அங்கீகார முகவர்
|
||||
Comment[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి
|
||||
Comment[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit
|
||||
Comment[uk]=Агент автентифікації PolicyKit
|
||||
Comment[zh_CN]=PolicyKit 认证代理
|
||||
Comment[zh_HK]=PolicyKit 驗證代理程式
|
||||
Comment[zh_TW]=PolicyKit 驗證代理程式
|
||||
Exec=/usr/libexec/polkit-gnome-authentication-agent-1
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=
|
||||
NoDisplay=true
|
||||
X-Desktop-File-Install-Version=0.16
|
||||
OnlyShowIn=XFCE;LXDE;Cinnamon;GNOME;
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>polkit-gnome</Name>
|
||||
<Homepage>http://hal.freedesktop.org/docs/polkit</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Authentication agent for polkit</Summary>
|
||||
<Description>polkit-gnome package provides an authentication agent for polkit that integrates well with the GNOME desktop environment.</Description>
|
||||
<Archive sha1sum="948bad76395834a1b45b65bd191d46145f5c0b9f" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/polkit-gnome/0.105/polkit-gnome-0.105.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>gnome-common</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>polkit-gnome</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>polkit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop" permission="0644" owner="root">polkit-gnome-authentication-agent-1.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-12-08</Date>
|
||||
<Version>105</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>polkit-gnome</Name>
|
||||
<Summary xml:lang="tr">polkit için kimlik denetim yardımcısı</Summary>
|
||||
<Description xml:lang="tr">polkit-gnome paketi GNOME masaüstü ortamı ile bütünleşmiş bir kimlik denetim yardımcısı sağlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>polkit-gnome-devel</Name>
|
||||
<Summary xml:lang="tr">polkit-gnome için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#autotools.autoreconf("-vif")
|
||||
autotools.configure("--disable-static --enable-introspection")
|
||||
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.remove("/usr/bin/wnck-urgency-monitor")
|
||||
pisitools.remove("/usr/bin/wnckprop")
|
||||
|
||||
pisitools.removeDir("/usr/share/gtk-doc")
|
||||
pisitools.removeDir("/usr/bin")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "MAINTAINERS")
|
||||
@@ -0,0 +1,16 @@
|
||||
diff -urN libwnck-2.16.3/libwnck/window.c libwnck/libwnck/window.c
|
||||
--- libwnck-2.16.3/libwnck/window.c 2007-01-29 15:56:52.000000000 -0600
|
||||
+++ libwnck/libwnck/window.c 2007-01-30 05:54:39.000000000 -0600
|
||||
@@ -2204,6 +2204,12 @@
|
||||
window->priv->actions |=
|
||||
WNCK_WINDOW_ACTION_MAXIMIZE |
|
||||
WNCK_WINDOW_ACTION_UNMAXIMIZE;
|
||||
+
|
||||
+ /* There's no _NET_WM_ACTION_ABOVE hint so always add it if
|
||||
+ window manager claims to support_NET_WM_STATE_ABOVE */
|
||||
+ if (wnck_screen_net_wm_supports (wnck_window_get_screen (window),
|
||||
+ "_NET_WM_STATE_ABOVE"))
|
||||
+ window->priv->actions |= WNCK_WINDOW_ACTION_ABOVE;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -0,0 +1,82 @@
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libwnck2</Name>
|
||||
<Homepage>http://www.gnome.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A window navigation construction kit</Summary>
|
||||
<Description>libwnck (pronounced "libwink") is used to implement pagers, tasklists, and other such things. It allows applications to monitor information about open windows, workspaces, their names/icons, and so forth.</Description>
|
||||
<Archive sha1sum="9283c0efe0c5c44135c9015cfbfd518a877e4d2e" type="tarxz">http://ftp.acc.umu.se/pub/GNOME/sources/libwnck/2.30/libwnck-2.30.7.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>libXres-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>libXt-devel</Dependency>
|
||||
<Dependency>gettext</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">libwnck-2.18.0-above.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libwnck2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>startup-notification</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libXres</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libwnck2-devel</Name>
|
||||
<Summary>Development files for libwnck2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libwnck2</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>libXres-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>2.30.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libwnck</Name>
|
||||
<Summary xml:lang="tr">Pencere gezinti geliştirme kiti</Summary>
|
||||
<Description xml:lang="tr">libwnck sayfalayıcı, görev listesi ve benzeri birimleri gerçeklemek için kullanılır ve uygulamalara açık pencereler, çalışma alanları, simgeler hakkında bilgi sunar.</Description>
|
||||
<Description xml:lang="fr">Ce paquet contient les librairies statiques et les fichier d'entête nécessaires pour développer des applications utilisant libwnck.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libwnck-devel</Name>
|
||||
<Summary xml:lang="tr">libwnck için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
+86049
-85805
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
f150e85c191cbb9e2910974ce9b1447dca602bf7
|
||||
2aa8c61129dc2d7caf195f9edbbc1a847e192b4c
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
042760b9ed04bfddeec12a6c093379c1e1d53974
|
||||
dfea5cda20b031bbdac15792f3f92c9b6a2cbe3f
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
shelltools.export('HOME', get.workDIR())
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--enable-gtk-doc \
|
||||
--enable-maintainer-flags=no \
|
||||
--enable-introspection=yes")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,30 @@
|
||||
--- ltmain.sh.old 2007-10-09 07:38:25.000000000 +0200
|
||||
+++ ltmain.sh 2007-10-09 07:39:25.000000000 +0200
|
||||
@@ -1794,6 +1794,11 @@
|
||||
arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
|
||||
;;
|
||||
|
||||
+ -Wl,--as-needed)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ continue
|
||||
+ ;;
|
||||
+
|
||||
-Wl,*)
|
||||
args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
|
||||
arg=
|
||||
@@ -2137,6 +2142,15 @@
|
||||
lib=
|
||||
found=no
|
||||
case $deplib in
|
||||
+ -Wl,--as-needed)
|
||||
+ if test "$linkmode,$pass" = "prog,link"; then
|
||||
+ compile_deplibs="$deplib $compile_deplibs"
|
||||
+ finalize_deplibs="$deplib $finalize_deplibs"
|
||||
+ else
|
||||
+ deplibs="$deplib $deplibs"
|
||||
+ fi
|
||||
+ continue
|
||||
+ ;;
|
||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
||||
if test "$linkmode,$pass" = "prog,link"; then
|
||||
compile_deplibs="$deplib $compile_deplibs"
|
||||
@@ -0,0 +1,29 @@
|
||||
diff -urNp libunique-1.1.6.old/unique/Makefile.am libunique-1.1.6/unique/Makefile.am
|
||||
--- libunique-1.1.6.old/unique/Makefile.am 2011-07-06 10:54:38.403127656 +0100
|
||||
+++ libunique-1.1.6/unique/Makefile.am 2011-07-06 10:55:00.354127659 +0100
|
||||
@@ -19,11 +19,8 @@ INCLUDES = -I$(top_srcdir)
|
||||
AM_CPPFLAGS = \
|
||||
-DG_DISABLE_SINGLE_INCLUDES \
|
||||
-DGTK_DISABLE_SINGLE_INCLUDES \
|
||||
- -DG_DISABLE_DEPRECATED \
|
||||
- -DGTK_DISABLE_DEPRECATED \
|
||||
-DG_LOG_DOMAIN=\"Unique\" \
|
||||
-DPREFIX=\""$(prefix)"\" \
|
||||
- $(DISABLE_DEPRECATED_FLAGS) \
|
||||
$(UNIQUE_DEBUG_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
diff -urNp libunique-1.1.6.old/unique/Makefile.in libunique-1.1.6/unique/Makefile.in
|
||||
--- libunique-1.1.6.old/unique/Makefile.in 2011-07-06 11:01:36.306127549 +0100
|
||||
+++ libunique-1.1.6/unique/Makefile.in 2011-07-06 11:01:58.311127546 +0100
|
||||
@@ -394,11 +394,8 @@ INCLUDES = -I$(top_srcdir)
|
||||
AM_CPPFLAGS = \
|
||||
-DG_DISABLE_SINGLE_INCLUDES \
|
||||
-DGTK_DISABLE_SINGLE_INCLUDES \
|
||||
- -DG_DISABLE_DEPRECATED \
|
||||
- -DGTK_DISABLE_DEPRECATED \
|
||||
-DG_LOG_DOMAIN=\"Unique\" \
|
||||
-DPREFIX=\""$(prefix)"\" \
|
||||
- $(DISABLE_DEPRECATED_FLAGS) \
|
||||
$(UNIQUE_DEBUG_CFLAGS) \
|
||||
$(NULL)
|
||||
@@ -0,0 +1,28 @@
|
||||
--- unique/dbus/uniquebackend-dbus.c.orig 2011-07-06 10:30:49.712128019 +0100
|
||||
+++ unique/dbus/uniquebackend-dbus.c 2011-07-06 10:32:11.026127998 +0100
|
||||
@@ -84,7 +84,6 @@ unique_backend_dbus_register_proxy (Uniq
|
||||
static gboolean
|
||||
unique_backend_dbus_request_name (UniqueBackend *backend)
|
||||
{
|
||||
- UniqueBackendDBus *backend_dbus;
|
||||
const gchar *name;
|
||||
DBusGConnection *connection;
|
||||
DBusGProxy *proxy;
|
||||
@@ -97,8 +96,6 @@ unique_backend_dbus_request_name (Unique
|
||||
if (!connection)
|
||||
return FALSE;
|
||||
|
||||
- backend_dbus = UNIQUE_BACKEND_DBUS (backend);
|
||||
-
|
||||
retval = TRUE;
|
||||
name = unique_backend_get_name (backend);
|
||||
g_assert (name != NULL);
|
||||
@@ -207,7 +204,7 @@ unique_backend_dbus_send_message (Unique
|
||||
cmd, data, time_,
|
||||
&resp,
|
||||
&error);
|
||||
- if (error)
|
||||
+ if (!res && error)
|
||||
{
|
||||
g_warning ("Error while sending message: %s", error->message);
|
||||
g_error_free (error);
|
||||
@@ -0,0 +1,124 @@
|
||||
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 a76e42e..68e2735 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..b19ad3e 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 3cec152..ccae0cd 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 c74392d..2b2a9fc 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..93eee21 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
|
||||
--
|
||||
@@ -0,0 +1,14 @@
|
||||
--- tests/test-unique.c.str 2009-02-02 16:10:03.000000000 +0100
|
||||
+++ tests/test-unique.c 2009-02-02 16:10:22.000000000 +0100
|
||||
@@ -97,10 +97,11 @@
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_MESSAGE_INFO,
|
||||
GTK_BUTTONS_CLOSE,
|
||||
+ "%s",
|
||||
title);
|
||||
if (message)
|
||||
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
|
||||
- message);
|
||||
+ "%s", message);
|
||||
|
||||
gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE);
|
||||
@@ -0,0 +1,86 @@
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libunique</Name>
|
||||
<Homepage>http://live.gnome.org/LibUnique</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A library for writing single instance applications</Summary>
|
||||
<Description>Unique is a library for writing single instance applications. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.</Description>
|
||||
<!--<Archive sha1sum="32ab9849994da70f461fc78c59a2b930d294f8c7" type="tarbz2">ftp://ftp.gnome.org/pub/gnome/sources/libunique/2.90/libunique-2.90.1.tar.bz2</Archive>-->
|
||||
<Archive sha1sum="d44ad06503efaaa0c660c5f8a817e90fbe254d1f" type="tarbz2">ftp://ftp.gnome.org/pub/gnome/sources/libunique/1.1/libunique-1.1.6.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>dbus-glib-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>99_ltmain_as-needed.patch</Patch>
|
||||
<!--<Patch level="0">libunique-2.90.1-fix-introspection.patch</Patch>-->
|
||||
<Patch level="1">libunique-1.1.6-G_CONST_RETURN.patch</Patch>
|
||||
<Patch level="0">fix-unused-but-set-variable.patch</Patch>
|
||||
<Patch level="1">fix-disable-deprecated.patch</Patch>
|
||||
<Patch level="0">unique-1.0.6-fix-str-fmt.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libunique</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>dbus-glib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libunique-devel</Name>
|
||||
<Summary>libunique development files</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency releaseFrom="current">libunique</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libunique-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>Unique reference documents</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency releaseFrom="current">libunique</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.1.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libunique</Name>
|
||||
<Summary xml:lang="tr">Basit ve örnek uygulamalar yazmak için kitaplığı</Summary>
|
||||
<Description xml:lang="tr">Unique, basit ve örnek uygulamalar yazmak için bir kitaplığıdır. Eğer örnek uygulama iki kere başlatılırsa; ikincisi ya kapanacak, ya da birincisine mesaj gönderecektir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libunique-devel</Name>
|
||||
<Summary xml:lang="tr">libunique geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libunique-docs</Name>
|
||||
<Summary xml:lang="tr">libunique belgeleri</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user