gypsy: new package for qt5-locations

This commit is contained in:
suvari
2018-05-03 19:14:38 +03:00
parent 14290372c3
commit eddfb72997
8 changed files with 152431 additions and 151936 deletions
+152240 -151934
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
cfcfd76b3bacfed7c5ae92e8d1ff4e9261923f7b
d833777cc38a429e4b1e67e62c1373b922a252bc
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
8887ced25179da4afc3dc32180467b12eea8e4ef
00e3f2726cfff2a1e6d671adbf0b8a19cee15c81
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env 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.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS")
@@ -0,0 +1,85 @@
diff -ru gypsy-0.9.orig/docs/gypsy-tutorial.html gypsy-0.9/docs/gypsy-tutorial.html
--- gypsy-0.9.orig/docs/gypsy-tutorial.html 2011-08-09 13:20:15.000000000 +0200
+++ gypsy-0.9/docs/gypsy-tutorial.html 2013-04-30 10:28:42.599711724 +0200
@@ -97,10 +97,11 @@
GError *error = NULL;
char *path;
+ #if !GLIB_CHECK_VERSION(2,35,0)
/* Libgypsy uses GObject, so the type system needs
to be started up before any Gypsy calls */
g_type_init ();
-
+ #endif
/* Retrieve the default control */
control = gypsy_control_get_default ();
diff -ru gypsy-0.9.orig/examples/list-known-gps-devices.c gypsy-0.9/examples/list-known-gps-devices.c
--- gypsy-0.9.orig/examples/list-known-gps-devices.c 2011-10-17 18:32:37.000000000 +0200
+++ gypsy-0.9/examples/list-known-gps-devices.c 2013-04-30 10:26:59.824754298 +0200
@@ -21,8 +21,9 @@
GPtrArray *known_devices;
int i;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
-
+#endif
discovery = gypsy_discovery_new ();
known_devices = gypsy_discovery_list_devices (discovery, &error);
diff -ru gypsy-0.9.orig/examples/simple-gps-dbus.c gypsy-0.9/examples/simple-gps-dbus.c
--- gypsy-0.9.orig/examples/simple-gps-dbus.c 2011-08-09 13:20:15.000000000 +0200
+++ gypsy-0.9/examples/simple-gps-dbus.c 2013-04-30 10:26:20.862069029 +0200
@@ -122,7 +122,9 @@
DBusError error;
GMainLoop *mainloop;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
conn = get_connection ();
dbus_error_init (&error);
diff -ru gypsy-0.9.orig/examples/simple-gps-gypsy.c gypsy-0.9/examples/simple-gps-gypsy.c
--- gypsy-0.9.orig/examples/simple-gps-gypsy.c 2011-08-09 13:20:15.000000000 +0200
+++ gypsy-0.9/examples/simple-gps-gypsy.c 2013-04-30 10:26:43.778354525 +0200
@@ -68,8 +68,9 @@
return 0;
}
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
-
+#endif
control = gypsy_control_get_default ();
path = gypsy_control_create (control, argv[1], &error);
if (path == NULL) {
diff -ru gypsy-0.9.orig/examples/simple-gps-satellites.c gypsy-0.9/examples/simple-gps-satellites.c
--- gypsy-0.9.orig/examples/simple-gps-satellites.c 2011-08-09 13:20:15.000000000 +0200
+++ gypsy-0.9/examples/simple-gps-satellites.c 2013-04-30 10:27:21.314396881 +0200
@@ -43,8 +43,9 @@
return 0;
}
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
-
+#endif
control = gypsy_control_get_default ();
path = gypsy_control_create (control, argv[1], &error);
if (path == NULL) {
diff -ru gypsy-0.9.orig/src/main.c gypsy-0.9/src/main.c
--- gypsy-0.9.orig/src/main.c 2011-10-13 17:44:12.000000000 +0200
+++ gypsy-0.9/src/main.c 2013-04-30 10:27:42.194049621 +0200
@@ -188,8 +188,9 @@
umask (022);
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
-
+#endif
mainloop = g_main_loop_new (NULL, FALSE);
conn = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
+76
View File
@@ -0,0 +1,76 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gypsy</Name>
<Homepage>https://gypsy.freedesktop.org/</Homepage>
<Packager>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>GPS multiplexing daemon</Summary>
<Description>GPS multiplexing daemon</Description>
<Archive sha1sum="eb024c1fa4f18b320528223ce9328c80f1b37214" type="targz">https://gypsy.freedesktop.org/releases/gypsy-0.9.tar.gz</Archive>
<BuildDependencies>
<Dependency>gtk-doc</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>python-six</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>g_type_init_deprecation.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gypsy</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libgudev</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>bluez-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>gypsy-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files>
<RuntimeDependencies>
<Dependency release="current">gypsy</Dependency>
</RuntimeDependencies>
</Package>
<Package>
<Name>gypsy-docs</Name>
<Summary>Reference documents for gypsy</Summary>
<Files>
<Path fileType="data">/usr/share/gtk-doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-03</Date>
<Version>0.9</Version>
<Comment>First release</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gypsy</Name>
<Summary xml:lang="tr">GPS multiplexing daemon</Summary>
<Description xml:lang="tr">GPS multiplexing daemon</Description>
</Source>
</PISI>