[glom] xdg-app-builder: avahi: Disable qt, python, and mono API.



commit 3ec8deca8632be4b041d08d0fd6e188fa076fdd5
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Dec 10 18:51:45 2015 +0100

    xdg-app-builder: avahi: Disable qt, python, and mono API.
    
    And add a patch to make the gtk stuff build.

 avahi_gtk_undisable_deprecated.patch |   27 +++++++++++++++++++++++++++
 manifest.json                        |    6 +++++-
 2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/avahi_gtk_undisable_deprecated.patch b/avahi_gtk_undisable_deprecated.patch
new file mode 100644
index 0000000..9774719
--- /dev/null
+++ b/avahi_gtk_undisable_deprecated.patch
@@ -0,0 +1,27 @@
+diff -u -r avahi-0.6.31/avahi-ui/Makefile.am avahi-0.6.31_patched_by_murrayc/avahi-ui/Makefile.am
+--- avahi-0.6.31/avahi-ui/Makefile.am  2012-02-14 23:22:16.728104433 +0100
++++ avahi-0.6.31_patched_by_murrayc/avahi-ui/Makefile.am       2015-12-10 18:21:06.042972665 +0100
+@@ -15,7 +15,7 @@
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ # USA.
+ 
+-AM_CFLAGS=-I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1
++AM_CFLAGS=-I$(top_srcdir)
+ 
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+Only in avahi-0.6.31_patched_by_murrayc/avahi-ui: Makefile.am~
+diff -u -r avahi-0.6.31/avahi-ui/Makefile.in avahi-0.6.31_patched_by_murrayc/avahi-ui/Makefile.in
+--- avahi-0.6.31/avahi-ui/Makefile.in  2012-02-14 23:36:37.726062616 +0100
++++ avahi-0.6.31_patched_by_murrayc/avahi-ui/Makefile.in       2015-12-10 18:21:18.822982661 +0100
+@@ -464,8 +464,7 @@
+ top_srcdir = @top_srcdir@
+ 
+ # This cool debug trap works on i386/gcc only
+-AM_CFLAGS = -I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 \
+-      -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \
++AM_CFLAGS = -I$(top_srcdir) \
+       '-DDEBUG_TRAP=__asm__("int $$3")' $(am__append_1)
+ pkglibdatadir = $(libdir)/avahi
+ desktopdir = $(datadir)/applications
+Only in avahi-0.6.31_patched_by_murrayc/avahi-ui: Makefile.in~
diff --git a/manifest.json b/manifest.json
index e2d9373..bc353dc 100644
--- a/manifest.json
+++ b/manifest.json
@@ -108,13 +108,17 @@
         },
         {
             "name": "avahi",
-            "config-opts": [ "--disable-documentation" "--with-distro=none" ],
+            "config-opts": [ "--disable-documentation" "--with-distro=none" "--disable-qt3" "--disable-qt4" 
"--disable-libdaemon" "--disable-python" "--disable-mono"],
             "sources": [
                 {
                     "type": "archive",
                     "url": "http://www.avahi.org/download/avahi-0.6.31.tar.gz";,
                     "sha256": "8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48"
                 }
+                {
+                    "type": "patch",
+                    "path": "avahi_gtk_undisable_deprecated.patch"
+                }
             ]
         },
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]