project: Drop the old shell

This is not used anymore, and is only consuming compile
time now.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
This commit is contained in:
Georges Basile Stavracas Neto 2017-11-11 00:40:34 -02:00
parent aaabf05ae6
commit 34f1acd078
5 changed files with 2 additions and 1694 deletions

View file

@ -563,7 +563,6 @@ po/Makefile.in
libgd/Makefile
search-provider/Makefile
shell/appdata/Makefile
shell/alt/Makefile
shell/Makefile
shell/gnome-control-center.desktop.in
man/Makefile

View file

@ -1,6 +1,6 @@
include $(top_srcdir)/Makefile.decl
SUBDIRS = appdata alt
SUBDIRS = appdata
AM_CPPFLAGS = \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""\
@ -11,7 +11,6 @@ AM_CPPFLAGS = \
$(CHEESE_CFLAGS) \
$(WACOM_PANEL_CFLAGS) \
-I$(top_srcdir)/panels/common/ \
-I$(top_srcdir)/shell/alt \
-I$(top_srcdir)/libgd
all-local: check-local
@ -24,8 +23,6 @@ libshell_la_SOURCES = \
bin_PROGRAMS = gnome-control-center
noinst_PROGRAMS = gnome-control-center-alt
common_sources = \
$(BUILT_SOURCES) \
main.c \
@ -60,17 +57,7 @@ gnome_control_center_SOURCES = \
cc-window.c \
cc-window.h
gnome_control_center_alt_SOURCES = \
$(common_sources)
gnome_control_center_LDFLAGS = -export-dynamic
gnome_control_center_alt_LDFLAGS = -export-dynamic
# Temporarily add the CC_ENABLE_ALT_CATEGORIES compile-time
# flag to keep the current panels working.
gnome_control_center_alt_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DCC_ENABLE_ALT_CATEGORIES
gnome_control_center_LDADD = \
libshell.la \
@ -110,10 +97,6 @@ if BUILD_BLUETOOTH
gnome_control_center_LDADD += $(top_builddir)/panels/bluetooth/libbluetooth.la
endif
gnome_control_center_alt_LDADD = \
$(gnome_control_center_LDADD) \
alt/libshell_alt.la
# Because it is confusing and somewhat problematic to directly add and compile
# cc-panel-loader.o by another directory (i.e. the shell search provider), we
# have to create a library and link it there, just like libshell.la.
@ -167,7 +150,7 @@ CLEANFILES = $(BUILT_SOURCES) $(completion_DATA) $(servicefile_DATA)
DISTCLEANFILES = gnome-control-center.desktop gnome-control-center.desktop.in
TEST_PROGS += test-hostname
noinst_PROGRAMS += test-hostname
noinst_PROGRAMS = test-hostname
test_hostname_SOURCES = hostname-helper.c hostname-helper.h test-hostname.c
test_hostname_LDADD = $(PANEL_LIBS) $(INFO_PANEL_LIBS)

View file

@ -1,22 +0,0 @@
AM_CPPFLAGS = \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""\
-DCC_ENABLE_ALT_CATEGORIES \
-I$(top_srcdir) \
$(SHELL_CFLAGS) \
$(CHEESE_CFLAGS) \
$(WACOM_PANEL_CFLAGS) \
-I$(top_srcdir)/shell \
-I$(top_srcdir)/panels/common \
-I$(top_srcdir)/libgd
noinst_LTLIBRARIES = libshell_alt.la
libshell_alt_la_SOURCES = \
cc-window.c \
cc-window.h
libshell_alt_la_LIBADD = $(top_builddir)/libgd/libgd.la
test:
-include $(top_srcdir)/git.mk

File diff suppressed because it is too large Load diff

View file

@ -1,46 +0,0 @@
/*
* Copyright (c) 2010 Intel, Inc.
*
* The Control Center is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* The Control Center is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along
* with the Control Center; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author: Thomas Wood <thos@gnome.org>
*/
#ifndef _CC_WINDOW_H
#define _CC_WINDOW_H
#include <glib-object.h>
#include "cc-shell.h"
G_BEGIN_DECLS
#define CC_TYPE_WINDOW (cc_window_get_type ())
G_DECLARE_FINAL_TYPE (CcWindow, cc_window, CC, WINDOW, GtkApplicationWindow)
CcWindow *cc_window_new (GtkApplication *application);
void cc_window_present (CcWindow *center);
void cc_window_show (CcWindow *center);
void cc_window_set_overview_page (CcWindow *center);
void cc_window_set_search_item (CcWindow *center,
const char *search);
G_END_DECLS
#endif /* _CC_WINDOW_H */