aboutsummaryrefslogtreecommitdiff
path: root/libunity-greeter-session-broadcast
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 21:26:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 21:26:00 +0200
commitb1800fd11ab5297585e0c2beb12b7fc058430bc1 (patch)
tree9c94f0092c03c8def5a2de3eafa8a3ea7876edd1 /libunity-greeter-session-broadcast
parentd740b19a6c28d0bdddf828ebac6ed3f131409bfd (diff)
downloadayatana-greeter-session-broadcast-b1800fd11ab5297585e0c2beb12b7fc058430bc1.tar.gz
ayatana-greeter-session-broadcast-b1800fd11ab5297585e0c2beb12b7fc058430bc1.tar.bz2
ayatana-greeter-session-broadcast-b1800fd11ab5297585e0c2beb12b7fc058430bc1.zip
Fork from unity-greeter-session-broadcast.
Diffstat (limited to 'libunity-greeter-session-broadcast')
-rw-r--r--libunity-greeter-session-broadcast/CMakeLists.txt95
-rw-r--r--libunity-greeter-session-broadcast/unity-greeter-session-broadcast.c27
-rw-r--r--libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h35
-rw-r--r--libunity-greeter-session-broadcast/unity-greeter-session-broadcast.pc.in11
4 files changed, 0 insertions, 168 deletions
diff --git a/libunity-greeter-session-broadcast/CMakeLists.txt b/libunity-greeter-session-broadcast/CMakeLists.txt
deleted file mode 100644
index 7db1f6d..0000000
--- a/libunity-greeter-session-broadcast/CMakeLists.txt
+++ /dev/null
@@ -1,95 +0,0 @@
-
-###########################
-# Version Information
-###########################
-
-set(API_VERSION 1)
-set(ABI_VERSION 1)
-
-###########################
-# Generated Lib
-###########################
-
-set(GENERATED_HEADERS
-service-iface.h
-)
-
-set(GENERATED_SOURCES
-service-iface.c
-)
-
-add_gdbus_codegen(
-OUTFILES GENERATED_SOURCES
-NAME service-iface
-PREFIX com.canonical.Unity.Greeter.Broadcast.
-NAMESPACE _ServiceIface
-SERVICE_XML ${CMAKE_CURRENT_SOURCE_DIR}/../data/com.canonical.Unity.Greeter.Broadcast.xml
-)
-
-add_library(generated STATIC ${GENERATED_SOURCES})
-
-target_link_libraries(generated
-${GLIB2_LIBRARIES}
-${GOBJECT2_LIBRARIES}
-${GIO2_LIBRARIES}
-)
-
-###########################
-# Lib
-###########################
-
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
-
-set(BROADCAST_HEADERS
-unity-greeter-session-broadcast.h
-)
-
-set(BROADCAST_SOURCES
-unity-greeter-session-broadcast.c
-)
-
-add_library(broadcast SHARED ${BROADCAST_SOURCES})
-
-set_target_properties(broadcast PROPERTIES
- VERSION ${API_VERSION}.0.0
- SOVERSION ${ABI_VERSION}
- OUTPUT_NAME "unity-greeter-session-broadcast"
-)
-
-target_link_libraries(broadcast
-generated
-${GLIB2_LIBRARIES}
-${GOBJECT2_LIBRARIES}
--Wl,--no-undefined
-)
-
-###########################
-# Pkg Config
-###########################
-
-set(BROADCAST_PC "unity-greeter-session-broadcast-${API_VERSION}.pc")
-set(apiversion "${API_VERSION}")
-set(libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
-set(includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
-set(VERSION "${ABI_VERSION}")
-
-configure_file("unity-greeter-session-broadcast.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/${BROADCAST_PC}" @ONLY)
-
-###########################
-# Installation
-###########################
-
-install(
- FILES ${BROADCAST_HEADERS}
- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/libunity-greeter-session-broadcast-${API_VERSION}"
-)
-
-install(
- FILES "${CMAKE_CURRENT_BINARY_DIR}/${BROADCAST_PC}"
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
-)
-
-install(
- TARGETS broadcast
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-)
diff --git a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.c b/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.c
deleted file mode 100644
index b684b3b..0000000
--- a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Copyright (C) 2013 Canonical, Ltd.
- *
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License version 3, as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
- * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-#include "unity-greeter-session-broadcast.h"
-
-void
-unity_session_greeter_broadcast_request_app_start (const gchar * username, const gchar * app_id)
-{
-
-
- return;
-}
-
diff --git a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h b/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h
deleted file mode 100644
index 55512cc..0000000
--- a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Copyright (C) 2013 Canonical, Ltd.
- *
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License version 3, as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
- * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-#include <glib.h>
-
-#ifndef __UNITY_GREETER_SESSION_BROADCAST_H__
-#define __UNITY_GREETER_SESSION_BROADCAST_H__ 1
-
-#pragma GCC visibility push(default)
-
-G_BEGIN_DECLS
-
-void
-unity_session_greeter_broadcast_request_app_start (const gchar * username,
- const gchar * app_id);
-
-G_END_DECLS
-
-#pragma GCC visibility pop
-
-#endif /* __UNITY_GREETER_SESSION_BROADCAST_H__ */
diff --git a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.pc.in b/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.pc.in
deleted file mode 100644
index eb4ea23..0000000
--- a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.pc.in
+++ /dev/null
@@ -1,11 +0,0 @@
-libdir=@libdir@
-includedir=@includedir@
-
-Cflags: -I${includedir}/libunity-greeter-session-broadcast-@apiversion@
-Requires: glib-2.0 gio-2.0
-Libs: -L${libdir} -lunity-greeter-session-broadcast
-
-Name: libunity-greeter-session-broadcast
-Description: A library to request the session to do something
-Version: @VERSION@
-