Merge lp:~jbicha/libappindicator/drop-python-appindicator into lp:libappindicator/16.10

Proposed by Jeremy Bícha
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 289
Merged at revision: 292
Proposed branch: lp:~jbicha/libappindicator/drop-python-appindicator
Merge into: lp:libappindicator/16.10
Diff against target: 711 lines (+16/-510)
14 files modified
bindings/Makefile.am (+3/-6)
bindings/python/Makefile.am (+0/-39)
bindings/python/__init__.py (+0/-27)
bindings/python/appindicator-arg-types.py (+0/-27)
bindings/python/appindicator.defs (+0/-200)
bindings/python/appindicator.override.in (+0/-65)
bindings/python/appindicatormodule.c (+0/-49)
configure.ac (+0/-29)
debian/control (+0/-28)
debian/gir1.2-appindicator-0.1.install (+0/-1)
debian/libappindicator-dev.install (+0/-2)
debian/python-appindicator.install (+0/-2)
debian/rules (+4/-20)
src/Makefile.am (+9/-15)
To merge this branch: bzr merge lp:~jbicha/libappindicator/drop-python-appindicator
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+335606@code.launchpad.net

Commit message

Drop python-appindicator and gir1.2-appindicator-0.1 packages

Description of the change

See LP: #1740637 for more details

To post a comment you must log in.
285. By Olivier Tilloy

Fix build failures on bionic,
and update Vcs-* fields in debian/control. (LP: #1757121)

Approved by: Marco Trevisan (Treviño)

286. By CI Train Bot Account

Releasing 12.10.1+18.04.20180320-0ubuntu1

287. By Unit 193

Have -dev package depend on libgtk2.0-dev or libgk-3-dev according to its pkgconfig file (LP: #1757574) (LP: #1757574)

Approved by: Jeremy Bicha

288. By CI Train Bot Account

Releasing 12.10.1+18.04.20180322.1-0ubuntu1

289. By Jeremy Bícha

Drop python-appindicator and gir1.2-appindicator-0.1 packages (LP: #1740637)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks fine to me to drop those old packages at this point

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bindings/Makefile.am'
--- bindings/Makefile.am 2012-06-10 07:32:04 +0000
+++ bindings/Makefile.am 2018-11-23 16:58:02 +0000
@@ -1,10 +1,7 @@
1SUBDIRS =
2
1if USE_GTK33if USE_GTK3
2SUBDIRS = \4SUBDIRS += vala
3 vala
4else
5SUBDIRS = \
6 python \
7 vala
8endif5endif
96
10if HAS_MONO7if HAS_MONO
118
=== removed directory 'bindings/python'
=== removed file 'bindings/python/Makefile.am'
--- bindings/python/Makefile.am 2012-03-07 01:14:42 +0000
+++ bindings/python/Makefile.am 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1defsdir = $(datadir)/pygtk/2.0/defs
2defs_DATA = appindicator.defs
3
4#CFLAGS = -Wall -Werror
5INCLUDES = \
6 -I$(top_srcdir)/src \
7 -DG_LOG_DOMAIN=\"appindicator-python\" \
8 -DDATADIR=\"$(datadir)\" \
9 -DLIBDIR=\"$(libdir)\" \
10 $(APPINDICATOR_PYTHON_CFLAGS) \
11 $(PYTHON_INCLUDES)
12
13pkgpythondir = $(pyexecdir)
14pkgpyexecdir = $(pyexecdir)
15
16pkgappindicatordir = $(pkgpythondir)/appindicator
17pkgappindicator_PYTHON = __init__.py
18
19appindicatordir = $(pkgpyexecdir)/appindicator
20appindicator_LTLIBRARIES = _appindicator.la
21
22_appindicator_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_appindicator
23_appindicator_la_LIBADD = $(APPINDICATOR_PYTHON_LIBS) -L$(top_builddir)/src/.libs -lappindicator
24_appindicator_la_SOURCES = appindicatormodule.c
25nodist__appindicator_la_SOURCES = appindicator.c
26
27CLEANFILES = appindicator.c
28EXTRA_DIST = appindicator.override.in appindicator-arg-types.py $(defs_DATA)
29appindicator.c: $(defs_DATA) appindicator.override
30
31%.c: %.defs
32 ($(PYGTK_CODEGEN) \
33 --register $(PYGTK_DEFSDIR)/gtk-types.defs \
34 --register $(PYGTK_DEFSDIR)/gdk-types.defs \
35 --load-types $(srcdir)/appindicator-arg-types.py \
36 --override $*.override \
37 --prefix py$* $(srcdir)/$*.defs) > gen-$*.c \
38 && cp gen-$*.c $*.c \
39 && rm -f gen-$*.c
400
=== removed file 'bindings/python/__init__.py'
--- bindings/python/__init__.py 2009-12-12 02:08:27 +0000
+++ bindings/python/__init__.py 1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
1# Python bindings for libappindicator.
2#
3# Copyright 2009 Canonical Ltd.
4#
5# Authors:
6# Eitan Isaacson <eitan@ascender.com>
7# Neil Jagdish Patel <neil.patel@canonical.com>
8#
9# This program is free software: you can redistribute it and/or modify it
10# under the terms of either or both of the following licenses:
11#
12# 1) the GNU Lesser General Public License version 3, as published by the
13# Free Software Foundation; and/or
14# 2) the GNU Lesser General Public License version 2.1, as published by
15# the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranties of
19# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
20# PURPOSE. See the applicable version of the GNU Lesser General Public
21# License for more details.
22#
23# You should have received a copy of both the GNU Lesser General Public
24# License version 3 and version 2.1 along with this program. If not, see
25# <http://www.gnu.org/licenses/>
26
27from _appindicator import *
280
=== removed file 'bindings/python/appindicator-arg-types.py'
--- bindings/python/appindicator-arg-types.py 2009-12-12 02:08:27 +0000
+++ bindings/python/appindicator-arg-types.py 1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
1# Python bindings for libappindicator.
2#
3# Copyright 2009 Canonical Ltd.
4#
5# Authors:
6# Eitan Isaacson <eitan@ascender.com>
7#
8# This program is free software: you can redistribute it and/or modify it
9# under the terms of either or both of the following licenses:
10#
11# 1) the GNU Lesser General Public License version 3, as published by the
12# Free Software Foundation; and/or
13# 2) the GNU Lesser General Public License version 2.1, as published by
14# the Free Software Foundation.
15#
16# This program is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranties of
18# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
19# PURPOSE. See the applicable version of the GNU Lesser General Public
20# License for more details.
21#
22# You should have received a copy of both the GNU Lesser General Public
23# License version 3 and version 2.1 along with this program. If not, see
24# <http://www.gnu.org/licenses/>
25
26import argtypes
27
280
=== removed file 'bindings/python/appindicator.defs'
--- bindings/python/appindicator.defs 2011-02-26 13:04:45 +0000
+++ bindings/python/appindicator.defs 1970-01-01 00:00:00 +0000
@@ -1,200 +0,0 @@
1;; -*- scheme -*-
2; object definitions ...
3(define-object Indicator
4 (in-module "App")
5 (parent "GObject")
6 (c-name "AppIndicator")
7 (gtype-id "APP_TYPE_INDICATOR")
8)
9
10;; Enumerations and flags ...
11
12(define-enum IndicatorCategory
13 (in-module "App")
14 (c-name "AppIndicatorCategory")
15 (gtype-id "APP_INDICATOR_TYPE_INDICATOR_CATEGORY")
16 (values
17 '("ApplicationStatus" "APP_INDICATOR_CATEGORY_APPLICATION_STATUS")
18 '("Communications" "APP_INDICATOR_CATEGORY_COMMUNICATIONS")
19 '("SystemServices" "APP_INDICATOR_CATEGORY_SYSTEM_SERVICES")
20 '("Hardware" "APP_INDICATOR_CATEGORY_HARDWARE")
21 '("Other" "APP_INDICATOR_CATEGORY_OTHER")
22 )
23)
24
25(define-enum IndicatorStatus
26 (in-module "App")
27 (c-name "AppIndicatorStatus")
28 (gtype-id "APP_INDICATOR_TYPE_INDICATOR_STATUS")
29 (values
30 '("Passive" "APP_INDICATOR_STATUS_PASSIVE")
31 '("Active" "APP_INDICATOR_STATUS_ACTIVE")
32 '("NeedsAttention" "APP_INDICATOR_STATUS_ATTENTION")
33 )
34)
35
36;; From app-indicator.h
37
38(define-function app_indicator_get_type
39 (c-name "app_indicator_get_type")
40 (return-type "GType")
41)
42
43(define-function app_indicator_new_with_path
44 (c-name "app_indicator_new_with_path")
45 (is-constructor-of "AppIndicator")
46 (return-type "AppIndicator*")
47 (parameters
48 '("const-gchar*" "id")
49 '("const-gchar*" "icon_name")
50 '("AppIndicatorCategory" "category")
51 '("const-gchar*" "icon_theme_path" (null-ok) (default "NULL"))
52 )
53)
54
55(define-method set_status
56 (of-object "AppIndicator")
57 (c-name "app_indicator_set_status")
58 (return-type "none")
59 (parameters
60 '("AppIndicatorStatus" "status")
61 )
62)
63
64(define-method set_attention_icon
65 (of-object "AppIndicator")
66 (c-name "app_indicator_set_attention_icon_full")
67 (return-type "none")
68 (parameters
69 '("const-gchar*" "icon_name")
70 '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
71 )
72)
73
74(define-method set_menu
75 (of-object "AppIndicator")
76 (c-name "app_indicator_set_menu")
77 (return-type "none")
78 (parameters
79 '("GtkMenu*" "menu")
80 )
81)
82
83(define-method set_icon
84 (of-object "AppIndicator")
85 (c-name "app_indicator_set_icon_full")
86 (return-type "none")
87 (parameters
88 '("const-gchar*" "icon_name")
89 '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
90 )
91)
92
93(define-method set_label
94 (of-object "AppIndicator")
95 (c-name "app_indicator_set_label")
96 (return-type "none")
97 (parameters
98 '("const-gchar*" "label" (null-ok))
99 '("const-gchar*" "guide" (null-ok) (default "NULL"))
100 )
101)
102
103(define-method set_ordering_index
104 (of-object "AppIndicator")
105 (c-name "app_indicator_set_ordering_index")
106 (parameters
107 '("guint32" "ordering_index")
108 )
109)
110
111(define-method set_icon_theme_path
112 (of-object "AppIndicator")
113 (c-name "app_indicator_set_icon_theme_path")
114 (return-type "none")
115 (parameters
116 '("const-gchar*" "icon_theme_path" (null-ok))
117 )
118)
119
120(define-method get_id
121 (of-object "AppIndicator")
122 (c-name "app_indicator_get_id")
123 (return-type "const-gchar*")
124)
125
126(define-method get_category
127 (of-object "AppIndicator")
128 (c-name "app_indicator_get_category")
129 (return-type "AppIndicatorCategory")
130)
131
132(define-method get_status
133 (of-object "AppIndicator")
134 (c-name "app_indicator_get_status")
135 (return-type "AppIndicatorStatus")
136)
137
138(define-method get_icon
139 (of-object "AppIndicator")
140 (c-name "app_indicator_get_icon")
141 (return-type "const-gchar*")
142)
143
144(define-method get_icon_desc
145 (of-object "AppIndicator")
146 (c-name "app_indicator_get_icon_desc")
147 (return-type "const-gchar*")
148)
149
150(define-method get_icon_theme_path
151 (of-object "AppIndicator")
152 (c-name "app_indicator_get_icon_theme_path")
153 (return-type "const-gchar*")
154)
155
156(define-method get_attention_icon
157 (of-object "AppIndicator")
158 (c-name "app_indicator_get_attention_icon")
159 (return-type "const-gchar*")
160)
161
162(define-method get_attention_icon_desc
163 (of-object "AppIndicator")
164 (c-name "app_indicator_get_attention_icon_desc")
165 (return-type "const-gchar*")
166)
167
168(define-method get_menu
169 (of-object "AppIndicator")
170 (c-name "app_indicator_get_menu")
171 (return-type "GtkMenu*")
172)
173
174(define-method get_label
175 (of-object "AppIndicator")
176 (c-name "app_indicator_get_label")
177 (return-type "const-gchar*")
178)
179
180(define-method get_label_guide
181 (of-object "AppIndicator")
182 (c-name "app_indicator_get_label_guide")
183 (return-type "const-gchar*")
184)
185
186(define-method get_ordering_index
187 (of-object "AppIndicator")
188 (c-name "app_indicator_get_ordering_index")
189 (return-type "guint32")
190)
191
192(define-method build_menu_from_desktop
193 (of-object "AppIndicator")
194 (c-name "app_indicator_build_menu_from_desktop")
195 (return-type "none")
196 (parameters
197 '("const-gchar*" "desktop_file")
198 '("const-gchar*" "desktop_profile")
199 )
200)
2010
=== removed file 'bindings/python/appindicator.override.in'
--- bindings/python/appindicator.override.in 2012-03-07 02:47:04 +0000
+++ bindings/python/appindicator.override.in 1970-01-01 00:00:00 +0000
@@ -1,65 +0,0 @@
1/*
2Python bindings for libappindicator.
3
4Copyright 2009 Canonical Ltd.
5
6Authors:
7 Eitan Isaacson <eitan@ascender.com> (original)
8 Neil Jagdish Patel <neil.patel@canonical.com>
9
10This program is free software: you can redistribute it and/or modify it
11under the terms of either or both of the following licenses:
12
131) the GNU Lesser General Public License version 3, as published by the
14Free Software Foundation; and/or
152) the GNU Lesser General Public License version 2.1, as published by
16the Free Software Foundation.
17
18This program is distributed in the hope that it will be useful, but
19WITHOUT ANY WARRANTY; without even the implied warranties of
20MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
21PURPOSE. See the applicable version of the GNU Lesser General Public
22License for more details.
23
24You should have received a copy of both the GNU Lesser General Public
25License version 3 and version 2.1 along with this program. If not, see
26<http://www.gnu.org/licenses/>
27*/
28%%
29headers
30#include <Python.h>
31#include "@top_srcdir@/src/app-indicator.h"
32#include "@top_builddir@/src/app-indicator-enum-types.h"
33#include <glib.h>
34#include "pygobject.h"
35#include "pyglib.h"
36#include <pygtk/pygtk.h>
37
38typedef PyObject* (*to_pyobject_func) (gpointer data);
39
40#define APP_TYPE_INDICATOR APP_INDICATOR_TYPE
41
42void
43_appindicator_add_constants(PyObject *module, const gchar *strip_prefix)
44{
45#ifdef VERSION
46 PyModule_AddStringConstant(module, "__version__", VERSION);
47#endif
48 pyg_enum_add(module,
49 "IndicatorCategory",
50 strip_prefix,
51 APP_INDICATOR_TYPE_INDICATOR_CATEGORY);
52
53 pyg_enum_add(module,
54 "IndicatorStatus",
55 strip_prefix,
56 APP_INDICATOR_TYPE_INDICATOR_STATUS);
57
58 if (PyErr_Occurred())
59 PyErr_Print();
60}
61%%
62modulename appindicator
63%%
64import gobject.GObject as PyGObject_Type
65import gtk.Menu as PyGtkMenu_Type
660
=== removed file 'bindings/python/appindicatormodule.c'
--- bindings/python/appindicatormodule.c 2009-12-12 02:08:27 +0000
+++ bindings/python/appindicatormodule.c 1970-01-01 00:00:00 +0000
@@ -1,49 +0,0 @@
1/*
2Python bindings for libappindicator.
3
4Copyright 2009 Canonical Ltd.
5
6Authors:
7 Eitan Isaacson <eitan@ascender.com>
8 Neil Jagdish Patel <neil.patel@canonical.com>
9
10This program is free software: you can redistribute it and/or modify it
11under the terms of either or both of the following licenses:
12
131) the GNU Lesser General Public License version 3, as published by the
14Free Software Foundation; and/or
152) the GNU Lesser General Public License version 2.1, as published by
16the Free Software Foundation.
17
18This program is distributed in the hope that it will be useful, but
19WITHOUT ANY WARRANTY; without even the implied warranties of
20MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
21PURPOSE. See the applicable version of the GNU Lesser General Public
22License for more details.
23
24You should have received a copy of both the GNU Lesser General Public
25License version 3 and version 2.1 along with this program. If not, see
26<http://www.gnu.org/licenses/>
27*/
28#include <pygobject.h>
29
30void pyappindicator_register_classes (PyObject *d);
31extern PyMethodDef pyappindicator_functions[];
32
33DL_EXPORT(void)
34init_appindicator(void)
35{
36 PyObject *m, *d;
37
38 init_pygobject ();
39
40 m = Py_InitModule ("_appindicator", pyappindicator_functions);
41 d = PyModule_GetDict (m);
42
43 pyappindicator_register_classes (d);
44
45 _appindicator_add_constants (m, "APP_INDICATOR_");
46 if (PyErr_Occurred ()) {
47 Py_FatalError ("can't initialise module appindicator");
48 }
49}
500
=== modified file 'configure.ac'
--- configure.ac 2016-11-22 14:42:10 +0000
+++ configure.ac 2018-11-23 16:58:02 +0000
@@ -181,33 +181,6 @@
181with_localinstall="no"181with_localinstall="no"
182AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)182AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)
183183
184###########################
185# Python
186###########################
187
188PYGTK_REQUIRED=2.14.0
189PYGOBJECT_REQUIRED=0.22
190
191AM_PATH_PYTHON(2.3.5)
192AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
193
194PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
195 [
196 pygtk-2.0 >= $PYGTK_REQUIRED
197 gtk+-2.0 >= $GTK_REQUIRED_VERSION
198 pygobject-2.0 >= $PYGOBJECT_REQUIRED
199 ])
200
201AC_MSG_CHECKING(for pygtk defs)
202PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
203AC_SUBST(PYGTK_DEFSDIR)
204AC_MSG_RESULT($PYGTK_DEFSDIR)
205
206AC_MSG_CHECKING(for pygtk codegen)
207PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
208AC_SUBST(PYGTK_CODEGEN)
209AC_MSG_RESULT($PYGTK_CODEGEN)
210
211#########################184#########################
212# Check if build tests185# Check if build tests
213#########################186#########################
@@ -239,8 +212,6 @@
239src/appindicator-0.1.pc212src/appindicator-0.1.pc
240src/appindicator3-0.1.pc213src/appindicator3-0.1.pc
241bindings/Makefile214bindings/Makefile
242bindings/python/Makefile
243bindings/python/appindicator.override
244bindings/vala/Makefile215bindings/vala/Makefile
245bindings/vala/examples/Makefile216bindings/vala/examples/Makefile
246tests/Makefile217tests/Makefile
247218
=== modified file 'debian/control'
--- debian/control 2018-03-22 00:51:30 +0000
+++ debian/control 2018-11-23 16:58:02 +0000
@@ -1,11 +1,9 @@
1Source: libappindicator1Source: libappindicator
2Section: gnome2Section: gnome
3Priority: optional3Priority: optional
4XS-Python-Version: all
5Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>4Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
6Build-Depends: debhelper (>= 9),5Build-Depends: debhelper (>= 9),
7 dh-autoreconf,6 dh-autoreconf,
8 python-all-dev,
9 at-spi2-core,7 at-spi2-core,
10 cli-common-dev (>= 0.5.7) [!arm64 !ppc64el],8 cli-common-dev (>= 0.5.7) [!arm64 !ppc64el],
11 gnome-common,9 gnome-common,
@@ -21,7 +19,6 @@
21 libglib2.0-dev (>= 2.35.4),19 libglib2.0-dev (>= 2.35.4),
22 libgtk-3-dev (>= 2.91.3),20 libgtk-3-dev (>= 2.91.3),
23 libgtk2.0-dev (>= 2.12.0),21 libgtk2.0-dev (>= 2.12.0),
24 python-gtk2-dev,
25 gtk-sharp2-gapi [!arm64 !ppc64el],22 gtk-sharp2-gapi [!arm64 !ppc64el],
26 libgtk2.0-cil-dev [!arm64 !ppc64el],23 libgtk2.0-cil-dev [!arm64 !ppc64el],
27 libdbus-glib-1-dev (>= 0.82),24 libdbus-glib-1-dev (>= 0.82),
@@ -39,20 +36,6 @@
39Vcs-Bzr: https://code.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.1036Vcs-Bzr: https://code.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10
40Vcs-Browser: https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/files37Vcs-Browser: https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/files
4138
42Package: python-appindicator
43Section: python
44Architecture: any
45XB-Python-Version: ${python:Versions}
46Depends: ${shlibs:Depends},
47 ${misc:Depends},
48 ${python:Depends},
49 libappindicator1 (= ${binary:Version}),
50 python-gobject,
51Provides: ${python:Provides},
52Description: Python bindings for libappindicator
53 This package provides Python bindings so that you can use libappindicator from
54 a Python program.
55
56Package: libappindicator139Package: libappindicator1
57Section: libs40Section: libs
58Architecture: any41Architecture: any
@@ -66,22 +49,11 @@
66 .49 .
67 This package contains shared libraries to be used by applications.50 This package contains shared libraries to be used by applications.
6851
69Package: gir1.2-appindicator-0.1
70Section: introspection
71Architecture: any
72Depends: ${misc:Depends},
73 ${gir:Depends},
74Description: Typelib files for libappindicator1.
75 .
76 This package can be used by other packages using the GIRepository format
77 to generate dynamic bindings.
78
79Package: libappindicator-dev52Package: libappindicator-dev
80Section: libdevel53Section: libdevel
81Architecture: any54Architecture: any
82Depends: ${shlibs:Depends},55Depends: ${shlibs:Depends},
83 ${misc:Depends},56 ${misc:Depends},
84 gir1.2-appindicator-0.1 (= ${binary:Version}),
85 libdbusmenu-glib-dev (>= 0.1.8),57 libdbusmenu-glib-dev (>= 0.1.8),
86 libdbus-glib-1-dev (>= 0.76),58 libdbus-glib-1-dev (>= 0.76),
87 libgtk2.0-dev,59 libgtk2.0-dev,
8860
=== removed file 'debian/gir1.2-appindicator-0.1.install'
--- debian/gir1.2-appindicator-0.1.install 2013-02-14 09:46:12 +0000
+++ debian/gir1.2-appindicator-0.1.install 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1usr/lib/*/girepository-1.0/AppIndicator-0.1.typelib usr/lib/girepository-1.0
20
=== modified file 'debian/libappindicator-dev.install'
--- debian/libappindicator-dev.install 2012-11-27 02:18:17 +0000
+++ debian/libappindicator-dev.install 2018-11-23 16:58:02 +0000
@@ -1,5 +1,3 @@
1usr/include/libappindicator-0.1/*1usr/include/libappindicator-0.1/*
2usr/lib/*/libappindicator.so2usr/lib/*/libappindicator.so
3usr/lib/*/pkgconfig/appindicator-0.1.pc3usr/lib/*/pkgconfig/appindicator-0.1.pc
4usr/share/gir-1.0/AppIndicator-0.1.gir
5usr/share/vala/vapi/appindicator-0.1.vapi
64
=== removed file 'debian/python-appindicator.install'
--- debian/python-appindicator.install 2012-11-27 02:18:17 +0000
+++ debian/python-appindicator.install 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1usr/lib/python2.*
2usr/share/pygtk/*
30
=== modified file 'debian/rules'
--- debian/rules 2016-11-22 14:42:10 +0000
+++ debian/rules 2018-11-23 16:58:02 +0000
@@ -1,7 +1,6 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
22
3FLAVORS = gtk2 gtk33FLAVORS = gtk2 gtk3
4PY_VERSIONS = $(shell pyversions --requested debian/control)
5API_VERSION = 0.14API_VERSION = 0.1
65
7DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)6DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -20,7 +19,7 @@
20CFLAGS += -fPIC19CFLAGS += -fPIC
2120
22%:21%:
23 dh $@ --with autoreconf,python2,gir$(dh_extra_args)22 dh $@ --with autoreconf,gir$(dh_extra_args)
2423
25override_dh_autoreconf:24override_dh_autoreconf:
26 NOCONFIGURE=1 dh_autoreconf ./autogen.sh25 NOCONFIGURE=1 dh_autoreconf ./autogen.sh
@@ -30,24 +29,16 @@
30doconfigure-%:29doconfigure-%:
31 dh_auto_configure --builddirectory=build/$* -- $(CONFIGURE_FLAGS_$*) $(CONFIGURE_COMMON_FLAGS)30 dh_auto_configure --builddirectory=build/$* -- $(CONFIGURE_FLAGS_$*) $(CONFIGURE_COMMON_FLAGS)
3231
33doconfigure-gtk2: $(PY_VERSIONS:%=doconfiguregtk2-%)
34 # GTK2 flavor configure was run on a per-python-version basis.
35
36doconfiguregtk2-%:32doconfiguregtk2-%:
37 PYTHON=`which $*` \33 dh_auto_configure --builddirectory=build/gtk2 -- $(CONFIGURE_FLAGS_gtk2) $(CONFIGURE_COMMON_FLAGS)
38 dh_auto_configure --builddirectory=build/gtk2 -- $(CONFIGURE_FLAGS_gtk2) $(CONFIGURE_COMMON_FLAGS)
3934
40override_dh_auto_build: $(FLAVORS:%=dobuild-%)35override_dh_auto_build: $(FLAVORS:%=dobuild-%)
4136
42dobuild-%:37dobuild-%:
43 dh_auto_build --builddirectory=build/$*38 dh_auto_build --builddirectory=build/$*
4439
45dobuild-gtk2: $(PY_VERSIONS:%=dobuildgtk2-%)
46 # GTK2 flavor build was run on a per-python-version basis.
47
48dobuildgtk2-%:40dobuildgtk2-%:
49 PYTHON=`which $*` \41 dh_auto_build --builddirectory=build/gtk2
50 dh_auto_build --builddirectory=build/gtk2
5142
52override_dh_auto_install: $(FLAVORS:%=doinstall-%)43override_dh_auto_install: $(FLAVORS:%=doinstall-%)
5344
@@ -59,9 +50,7 @@
59 find debian/tmp -name \*.a -exec rm {} \;50 find debian/tmp -name \*.a -exec rm {} \;
60 rm -rf debian/tmp/*/usr/lib/mono51 rm -rf debian/tmp/*/usr/lib/mono
61 rm -rf debian/tmp/*/usr/share/vala/vapi/appindicator*-0.1.deps52 rm -rf debian/tmp/*/usr/share/vala/vapi/appindicator*-0.1.deps
62 dh_install -ppython-appindicator --fail-missing --sourcedir=debian/tmp/gtk2
63 dh_install -plibappindicator1 --fail-missing --sourcedir=debian/tmp/gtk253 dh_install -plibappindicator1 --fail-missing --sourcedir=debian/tmp/gtk2
64 dh_install -pgir1.2-appindicator-0.1 --fail-missing --sourcedir=debian/tmp/gtk2
65 dh_install -plibappindicator-dev --fail-missing --sourcedir=debian/tmp/gtk254 dh_install -plibappindicator-dev --fail-missing --sourcedir=debian/tmp/gtk2
66 dh_install -plibappindicator-doc --fail-missing --sourcedir=debian/tmp/gtk255 dh_install -plibappindicator-doc --fail-missing --sourcedir=debian/tmp/gtk2
67 dh_install -plibappindicator3-1 --fail-missing --sourcedir=debian/tmp/gtk356 dh_install -plibappindicator3-1 --fail-missing --sourcedir=debian/tmp/gtk3
@@ -75,15 +64,10 @@
75dotest-%:64dotest-%:
76 dh_auto_test --builddirectory=build/$* --65 dh_auto_test --builddirectory=build/$* --
7766
78
79dotest-gtk2: $(PY_VERSIONS:%=dotestgtk2-%)
80 # GTK2 flavor test was run on a per-python-version basis.
81
82dotestgtk2-%:67dotestgtk2-%:
83 ps -ef68 ps -ef
84 env69 env
85 PYTHON=`which $*` \70 dh_auto_test --builddirectory=build/gtk2 --
86 dh_auto_test --builddirectory=build/gtk2 --
8771
88override_dh_auto_clean:72override_dh_auto_clean:
89 dh_auto_clean73 dh_auto_clean
9074
=== modified file 'src/Makefile.am'
--- src/Makefile.am 2013-12-19 14:37:54 +0000
+++ src/Makefile.am 2018-11-23 16:58:02 +0000
@@ -153,29 +153,23 @@
153 $(addprefix $(srcdir)/,app-indicator.c) \153 $(addprefix $(srcdir)/,app-indicator.c) \
154 $(addprefix $(srcdir)/,$(libappindicator_headers))154 $(addprefix $(srcdir)/,$(libappindicator_headers))
155155
156AppIndicator$(VER)-0.1.gir: libappindicator$(VER).la156AppIndicator3-0.1.gir: libappindicator3.la
157157
158AppIndicator_0_1_gir_INCLUDES = \158AppIndicator3_0_1_gir_INCLUDES = \
159 GObject-2.0 \159 GObject-2.0 \
160 $(GTKGIR)160 $(GTKGIR)
161AppIndicator_0_1_gir_CFLAGS = $(LIBRARY_CFLAGS) -I$(srcdir) -I$(top_builddir)/src161AppIndicator3_0_1_gir_CFLAGS = $(LIBRARY_CFLAGS) -I$(srcdir) -I$(top_builddir)/src
162AppIndicator_0_1_gir_LIBS = libappindicator$(VER).la162AppIndicator3_0_1_gir_LIBS = libappindicator3.la
163AppIndicator_0_1_gir_FILES = $(introspection_sources)163AppIndicator3_0_1_gir_FILES = $(introspection_sources)
164# AppIndicator_0_1_gir_NAMESPACE = AppIndicator
165
166AppIndicator3_0_1_gir_INCLUDES = $(AppIndicator_0_1_gir_INCLUDES)
167AppIndicator3_0_1_gir_CFLAGS = $(AppIndicator_0_1_gir_CFLAGS)
168AppIndicator3_0_1_gir_LIBS = $(AppIndicator_0_1_gir_LIBS)
169AppIndicator3_0_1_gir_FILES = $(AppIndicator_0_1_gir_FILES)
170# AppIndicator3_0_1_gir_NAMESPACE = AppIndicator164# AppIndicator3_0_1_gir_NAMESPACE = AppIndicator
171165
172INTROSPECTION_GIRS += AppIndicator$(VER)-0.1.gir166INTROSPECTION_GIRS += AppIndicator3-0.1.gir
173167
174AppIndicator$(VER)-0.1.metadata: AppIndicator$(VER)-0.1.gir168AppIndicator3-0.1.metadata: AppIndicator3-0.1.gir
175 cp -f $(srcdir)/$@.in $@169 cp -f $(srcdir)/$@.in $@
176170
177BUILT_SOURCES += AppIndicator$(VER)-0.1.metadata171BUILT_SOURCES += AppIndicator3-0.1.metadata
178CLEANFILES += AppIndicator$(VER)-0.1.metadata172CLEANFILES += AppIndicator3-0.1.metadata
179173
180girdir = $(datadir)/gir-1.0174girdir = $(datadir)/gir-1.0
181gir_DATA = $(INTROSPECTION_GIRS)175gir_DATA = $(INTROSPECTION_GIRS)

Subscribers

People subscribed via source and target branches