Ticket #1630: 0003-Add-config.py.in-and-update-AC_CONFIG_FILES.patch

File 0003-Add-config.py.in-and-update-AC_CONFIG_FILES.patch, 3.1 KB (added by aa, 9 years ago)
  • configure.ac

    From 80b2c80830c15637149257a74ae43c7ced2e65a9 Mon Sep 17 00:00:00 2001
    Message-Id: <80b2c80830c15637149257a74ae43c7ced2e65a9.1282025114.git.andresambrois@gmail.com>
    In-Reply-To: <90106170b4d8bf0a6dbe3c25e75114b754add56e.1282025114.git.andresambrois@gmail.com>
    References: <90106170b4d8bf0a6dbe3c25e75114b754add56e.1282025114.git.andresambrois@gmail.com>
    From: =?UTF-8?q?Andr=C3=A9s=20Ambrois?= <andresambrois@gmail.com>
    Date: Mon, 14 Jun 2010 00:51:02 -0300
    Subject: [PATCH 3/3] Add config.py.in and update AC_CONFIG_FILES.
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    config.py is generated from config.py.in at configure time by autoconf,
    so it needs to be added to AC_CONFIG_FILES in configure.ac.
    
    Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
    ---
     configure.ac                                       |    1 +
     .../cpsection/modemconfiguration/Makefile.am       |    2 ++
     .../cpsection/modemconfiguration/config.py.in      |   20 ++++++++++++++++++++
     3 files changed, 23 insertions(+), 0 deletions(-)
     create mode 100644 extensions/cpsection/modemconfiguration/config.py.in
    
    diff --git a/configure.ac b/configure.ac
    index 238aacd..efe2695 100644
    a b extensions/cpsection/frame/Makefile 
    5656extensions/cpsection/keyboard/Makefile
    5757extensions/cpsection/language/Makefile
    5858extensions/cpsection/modemconfiguration/Makefile
     59extensions/cpsection/modemconfiguration/config.py
    5960extensions/cpsection/Makefile
    6061extensions/cpsection/network/Makefile
    6162extensions/cpsection/power/Makefile
  • extensions/cpsection/modemconfiguration/Makefile.am

    diff --git a/extensions/cpsection/modemconfiguration/Makefile.am b/extensions/cpsection/modemconfiguration/Makefile.am
    index 3e2613e..525e02e 100644
    a b sugar_PYTHON = \ 
    44        __init__.py     \
    55        model.py        \
    66        view.py         
     7
     8nodist_sugar_PYTHON = config.py
  • new file extensions/cpsection/modemconfiguration/config.py.in

    diff --git a/extensions/cpsection/modemconfiguration/config.py.in b/extensions/cpsection/modemconfiguration/config.py.in
    new file mode 100644
    index 0000000..6fa688e
    - +  
     1# -*- encoding: utf-8 -*-
     2# Copyright (C) 2010 Andrés Ambrois
     3#
     4# This program is free software; you can redistribute it and/or modify
     5# it under the terms of the GNU General Public License as published by
     6# the Free Software Foundation; either version 2 of the License, or
     7# (at your option) any later version.
     8#
     9# This program is distributed in the hope that it will be useful,
     10# but WITHOUT ANY WARRANTY; without even the implied warranty of
     11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12# GNU General Public License for more details.
     13#
     14# You should have received a copy of the GNU General Public License
     15# along with this program; if not, write to the Free Software
     16# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  US
     17
     18PROVIDERS_PATH = "@prefix@/share/mobile-broadband-provider-info/serviceproviders.xml"
     19PROVIDERS_FORMAT_SUPPORTED = "2.0"
     20COUNTRY_CODES_PATH = "@prefix@/share/zoneinfo/iso3166.tab"