From ea5dd7e7cac11e601dcedfc33fe74833b4975afe Mon Sep 17 00:00:00 2001 From: Younghwan Ahn Date: Wed, 22 Aug 2012 16:36:44 +0900 Subject: [PATCH] 2.0 beta init --- TC/build.sh | 32 - TC/execute.sh | 32 - TC/making_new_tet_scen.py | 69 --- TC/tet_scen | 18 - TC/tetbuild.cfg | 7 - TC/tetclean.cfg | 6 - TC/tetexec.cfg | 6 - TC/utc/Makefile | 86 --- TC/utc/tslist | 13 - TC/utc/utc_mm_radio_common.h | 113 ---- TC/utc/utc_mm_radio_create_func.c | 92 --- TC/utc/utc_mm_radio_destroy_func.c | 95 --- TC/utc/utc_mm_radio_get_frequency_func.c | 109 ---- TC/utc/utc_mm_radio_get_state_func.c | 129 ---- TC/utc/utc_mm_radio_realize_func.c | 101 ---- TC/utc/utc_mm_radio_scan_start_func.c | 113 ---- TC/utc/utc_mm_radio_scan_stop_func.c | 107 ---- TC/utc/utc_mm_radio_seek_func.c | 129 ---- TC/utc/utc_mm_radio_set_frequency_func.c | 138 ----- TC/utc/utc_mm_radio_set_message_callback_func.c | 143 ----- TC/utc/utc_mm_radio_start_func.c | 115 ---- TC/utc/utc_mm_radio_stop_func.c | 119 ---- TC/utc/utc_mm_radio_unrealize_func.c | 101 ---- debian/changelog | 764 ------------------------ debian/compat | 1 - debian/control | 27 - debian/copyright | 13 - debian/dirs | 2 - debian/docs | 0 debian/libmm-radio-dev.install.in | 4 - debian/libmm-radio.install.in | 2 - debian/rules | 134 ----- packaging/libmm-radio.spec | 2 +- 33 files changed, 1 insertion(+), 2821 deletions(-) delete mode 100755 TC/build.sh delete mode 100755 TC/execute.sh delete mode 100755 TC/making_new_tet_scen.py delete mode 100644 TC/tet_scen delete mode 100755 TC/tetbuild.cfg delete mode 100755 TC/tetclean.cfg delete mode 100755 TC/tetexec.cfg delete mode 100755 TC/utc/Makefile delete mode 100755 TC/utc/tslist delete mode 100755 TC/utc/utc_mm_radio_common.h delete mode 100755 TC/utc/utc_mm_radio_create_func.c delete mode 100755 TC/utc/utc_mm_radio_destroy_func.c delete mode 100755 TC/utc/utc_mm_radio_get_frequency_func.c delete mode 100755 TC/utc/utc_mm_radio_get_state_func.c delete mode 100755 TC/utc/utc_mm_radio_realize_func.c delete mode 100755 TC/utc/utc_mm_radio_scan_start_func.c delete mode 100755 TC/utc/utc_mm_radio_scan_stop_func.c delete mode 100755 TC/utc/utc_mm_radio_seek_func.c delete mode 100755 TC/utc/utc_mm_radio_set_frequency_func.c delete mode 100755 TC/utc/utc_mm_radio_set_message_callback_func.c delete mode 100755 TC/utc/utc_mm_radio_start_func.c delete mode 100755 TC/utc/utc_mm_radio_stop_func.c delete mode 100755 TC/utc/utc_mm_radio_unrealize_func.c delete mode 100755 debian/changelog delete mode 100644 debian/compat delete mode 100755 debian/control delete mode 100755 debian/copyright delete mode 100644 debian/dirs delete mode 100644 debian/docs delete mode 100755 debian/libmm-radio-dev.install.in delete mode 100644 debian/libmm-radio.install.in delete mode 100755 debian/rules diff --git a/TC/build.sh b/TC/build.sh deleted file mode 100755 index 1276482..0000000 --- a/TC/build.sh +++ /dev/null @@ -1,32 +0,0 @@ -#./_export_env.sh # setting environment variables -#!/bin/sh -export ARCH=target -export TET_INSTALL_PATH=/scratchbox/TETware/ -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH - -export TET_ROOT=$TET_TARGET_PATH - -set $(pwd) -export TET_SUITE_ROOT=$1 - -set $(date +%s) -FILE_NAME_EXTENSION=$1 - -echo PATH=$PATH -echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH -echo TET_ROOT=$TET_ROOT -echo TET_SUITE_ROOT=$TET_SUITE_ROOT -echo ARCH=$ARCH - -RESULT_DIR=results-$ARCH -HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir $RESULT_DIR - -tcc -c -p ./ # executing tcc, with clean option (-c) -tcc -b -j $JOURNAL_RESULT -p ./ # executing tcc to build test cases (-b) -grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT # reporting the result - diff --git a/TC/execute.sh b/TC/execute.sh deleted file mode 100755 index 8e414df..0000000 --- a/TC/execute.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -export ARCH=target - -export TET_INSTALL_PATH=/mnt/nfs/TETware # path to mount -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH - -export TET_ROOT=$TET_TARGET_PATH - -set $(pwd) -export TET_SUITE_ROOT=$1 - -set $(date +%s) -FILE_NAME_EXTENSION=$1 - -echo PATH=$PATH -echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH -echo TET_ROOT=$TET_ROOT -echo TET_SUITE_ROOT=$TET_SUITE_ROOT -echo ARCH=$ARCH - -RESULT_DIR=results-$ARCH -HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir $RESULT_DIR - -tcc -e -j $JOURNAL_RESULT -p ./ -grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT # reporting the result - diff --git a/TC/making_new_tet_scen.py b/TC/making_new_tet_scen.py deleted file mode 100755 index 6c5b845..0000000 --- a/TC/making_new_tet_scen.py +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/python - -############################################# -# tet_scen auto generator -# -# ** argv[1] = TC root -############################################# - -import sys,string,os - - -write_file = open("tet_scen", 'w') - -# -# making new tet_scen -# -def making_tet_scen (filename): - #tmp_list = filename.strip().split('/') - n_filename = filename.replace(' ', '\\ ') - #print n_filename - #new_path = "/"+ sys.argv[1] +"/"+n_filename[2:-6] - new_path = "/"+n_filename[:-6] - #print new_path - file = open(filename, 'r') - lines = file.readlines() - for line in lines: - if len(line.strip()) > 1: - list = line.strip().split('/') - #print new_path + list[-1] - write_file.write("\t"+new_path+list[-1]+"\n") - -# -# usage() -# -def usage(): - print(" ") - print("./making_new_tet_scen.py tc_root") - print("Put the Test Case's root directory.") - print("Do not include '/' at the end") - print(" ") - -# -# main() -# -def main(): - if len(sys.argv) < 2: - usage() - sys.exit(0) - - os.system('find '+ sys.argv[1] +' -name "tslist" > tslist.txt') - - #write_file = open("tetscen", w) - write_file.write("# auto generated tet_scen\n") - write_file.write("all\n") - write_file.write("\t\"Starting Full Test Suite\"\n") - - for file in open("tslist.txt", 'r'): - #print file.strip() - making_tet_scen(file.strip()) - - write_file.write("\t\"Completed Full Test Suite\"\n") - write_file.write("# EOF\n") - write_file.close() - print(" ") - print("==============================") - print("New tet_scen file is made~~~~") - print("==============================") - print(" ") -main() diff --git a/TC/tet_scen b/TC/tet_scen deleted file mode 100644 index df9819b..0000000 --- a/TC/tet_scen +++ /dev/null @@ -1,18 +0,0 @@ -# auto generated tet_scen -all - "Starting Full Test Suite" - /utc/utc_mm_radio_create_func - /utc/utc_mm_radio_destroy_func - /utc/utc_mm_radio_realize_func - /utc/utc_mm_radio_unrealize_func - /utc/utc_mm_radio_set_message_callback_func - /utc/utc_mm_radio_get_state_func - /utc/utc_mm_radio_start_func - /utc/utc_mm_radio_stop_func - /utc/utc_mm_radio_seek_func - /utc/utc_mm_radio_set_frequency_func - /utc/utc_mm_radio_get_frequency_func - /utc/utc_mm_radio_scan_start_func - /utc/utc_mm_radio_scan_stop_func - "Completed Full Test Suite" -# EOF diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg deleted file mode 100755 index addcce9..0000000 --- a/TC/tetbuild.cfg +++ /dev/null @@ -1,7 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option for build operation checking -TET_BUILD_TOOL=make # build with using make command -TET_BUILD_FILE=-f Makefile # execution file (Makefile) for build -TET_API_COMPLIANT=True # use TET API in Test Case ? -TET_PASS_TC_NAME=True # report passed TC name in Journal file? - - diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg deleted file mode 100755 index 00d58d5..0000000 --- a/TC/tetclean.cfg +++ /dev/null @@ -1,6 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option -TET_CLEAN_TOOL= make clean # clean tool -TET_CLEAN_FILE= Makefile # file for clean -TET_API_COMPLIANT=True # TET API useage -TET_PASS_TC_NAME=True # showing name , passed TC - diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg deleted file mode 100755 index e726ecc..0000000 --- a/TC/tetexec.cfg +++ /dev/null @@ -1,6 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capturing execution or not -TET_EXEC_TOOL= # ex) exec : execution tool set up/ Optional -TET_EXEC_FILE= # ex) exectool : execution file/ Optional -TET_API_COMPLIANT=True # Test case or Tool usesTET API? -TET_PASS_TC_NAME=True # showing Passed TC name ? - diff --git a/TC/utc/Makefile b/TC/utc/Makefile deleted file mode 100755 index 57af965..0000000 --- a/TC/utc/Makefile +++ /dev/null @@ -1,86 +0,0 @@ -ifeq ($(ARCH),target) - PKG_CONFIG_PATH=/usr/lib/pkgconfig - export PKG_CONFIG_PATH - CC=arm-linux-gcc -Wall - CXX=arm-linux-g++ -Wall -else - PKG_CONFIG_PATH=/usr/lib/pkgconfig - export PKG_CONFIG_PATH - CC=gcc -Wall - CXX=gcc -Wall -endif - -TS1 = utc_mm_radio_create_func -TS2 = utc_mm_radio_destroy_func -TS3 = utc_mm_radio_realize_func -TS4 = utc_mm_radio_unrealize_func -TS5 = utc_mm_radio_set_message_callback_func -TS6 = utc_mm_radio_get_state_func -TS7 = utc_mm_radio_start_func -TS8 = utc_mm_radio_stop_func -TS9 = utc_mm_radio_seek_func -TS10 = utc_mm_radio_set_frequency_func -TS11 = utc_mm_radio_get_frequency_func -TS12 = utc_mm_radio_scan_start_func -TS13 = utc_mm_radio_scan_stop_func - -LIBS = `pkg-config --libs mm-radio` -LIBS +=-L/usr/lib/:/usr/lib/pkgconfig -LIBS +=$(TET_ROOT)/lib/tet3/tcm_s.o -LIBS +=-L$(TET_ROOT)/lib/tet3 -ltcm_s -LIBS +=-L$(TET_ROOT)/lib/tet3/ -lapi_s - -INCS = -I. `pkg-config --cflags mm-radio ` -INCS += -I$(TET_ROOT)/inc/tet3 -INCS += -I/usr/include/mmf - -CFLAGS = $(INCS) -CC += $(CFLAGS) -LDFLAGS = $(LIBS) - -all : $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS6) $(TS7) $(TS8) $(TS9) $(TS10) $(TS11) $(TS12) $(TS13) - -$(TS1): $(TS1).c - $(CC) -o $(TS1) $(TS1).c $(LDFLAGS) - -$(TS2): $(TS2).c - $(CC) -o $(TS2) $(TS2).c $(LDFLAGS) - -$(TS3): $(TS3).c - $(CC) -o $(TS3) $(TS3).c $(LDFLAGS) - -$(TS4): $(TS4).c - $(CC) -o $(TS4) $(TS4).c $(LDFLAGS) - -$(TS5): $(TS5).c - $(CC) -o $(TS5) $(TS5).c $(LDFLAGS) - -$(TS6): $(TS6).c - $(CC) -o $(TS6) $(TS6).c $(LDFLAGS) - -$(TS7): $(TS7).c - $(CC) -o $(TS7) $(TS7).c $(LDFLAGS) - -$(TS8): $(TS8).c - $(CC) -o $(TS8) $(TS8).c $(LDFLAGS) - -$(TS9): $(TS9).c - $(CC) -o $(TS9) $(TS9).c $(LDFLAGS) - -$(TS10): $(TS10).c - $(CC) -o $(TS10) $(TS10).c $(LDFLAGS) - -$(TS11): $(TS11).c - $(CC) -o $(TS11) $(TS11).c $(LDFLAGS) - -$(TS12): $(TS12).c - $(CC) -o $(TS12) $(TS12).c $(LDFLAGS) - -$(TS13): $(TS13).c - $(CC) -o $(TS13) $(TS13).c $(LDFLAGS) - -clean: - rm -rf *~ *.o $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS6) $(TS7) $(TS8) $(TS9) $(TS10) $(TS11) $(TS12) $(TS13) - - - diff --git a/TC/utc/tslist b/TC/utc/tslist deleted file mode 100755 index d2228f7..0000000 --- a/TC/utc/tslist +++ /dev/null @@ -1,13 +0,0 @@ -./utc_mm_radio_create_func -./utc_mm_radio_destroy_func -./utc_mm_radio_realize_func -./utc_mm_radio_unrealize_func -./utc_mm_radio_set_message_callback_func -./utc_mm_radio_get_state_func -./utc_mm_radio_start_func -./utc_mm_radio_stop_func -./utc_mm_radio_seek_func -./utc_mm_radio_set_frequency_func -./utc_mm_radio_get_frequency_func -./utc_mm_radio_scan_start_func -./utc_mm_radio_scan_stop_func diff --git a/TC/utc/utc_mm_radio_common.h b/TC/utc/utc_mm_radio_common.h deleted file mode 100755 index 3b7aaac..0000000 --- a/TC/utc/utc_mm_radio_common.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#ifndef UTS_MM_FRAMEWORK_RADIO_COMMON_H -#define UTS_MM_FRAMEWORK_RADIO_COMMON_H - - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define UTC_RADIO_START_ALL(x_handle, x_ret) \ -do \ -{ \ - x_ret = mm_radio_create(&x_handle); \ - dts_check_eq("mm_radio_create", ret, MM_ERROR_NONE, "err=%x", ret ); \ - x_ret = mm_radio_realize(x_handle); \ - dts_check_eq("mm_radio_realize", ret, MM_ERROR_NONE, "err=%x", ret ); \ - x_ret = mm_radio_set_frequency(x_handle, 1077); \ - dts_check_eq("mm_radio_set_frequency", ret, MM_ERROR_NONE, "err=%x", ret ); \ - x_ret = mm_radio_start(x_handle); \ - dts_check_eq("mm_radio_start", ret, MM_ERROR_NONE, "err=%x", ret ); \ -} while (0) - -#define UTC_RADIO_DESTROY_ALL(x_handle, x_ret) \ -do \ -{ \ - x_ret = mm_radio_stop(x_handle);\ - dts_check_eq("mm_radio_stop", ret, MM_ERROR_NONE, "err=%x", ret ); \ - x_ret = mm_radio_unrealize(x_handle);\ - dts_check_eq("mm_radio_unrealize", ret, MM_ERROR_NONE, "err=%x", ret ); \ - x_ret = mm_radio_destroy(x_handle);\ - dts_check_eq("mm_radio_destroy", ret, MM_ERROR_NONE, "err=%x", ret ); \ -} while (0) - -void startup(); -void cleanup(); - -void (*tet_startup)() = startup; -void (*tet_cleanup)() = cleanup; - -void utc_mm_radio_create_func_01 (); -void utc_mm_radio_create_func_02 (); - -void utc_mm_radio_destroy_func_01 (); -void utc_mm_radio_destroy_func_02 (); - -void utc_mm_radio_realize_func_01 (); -void utc_mm_radio_realize_func_02 (); - -void utc_mm_radio_unrealize_func_01 (); -void utc_mm_radio_unrealize_func_02 (); - -void utc_mm_radio_set_message_callback_func_01 (); -void utc_mm_radio_set_message_callback_func_02 (); - -void utc_mm_radio_get_state_func_01 (); -void utc_mm_radio_get_state_func_02 (); -void utc_mm_radio_get_state_func_03 (); - -void utc_mm_radio_start_func_01 (); -void utc_mm_radio_start_func_02 (); - -void utc_mm_radio_stop_func_01 (); -void utc_mm_radio_stop_func_02 (); -void utc_mm_radio_stop_func_03 (); - -void utc_mm_radio_seek_func_01 (); -void utc_mm_radio_seek_func_02 (); -void utc_mm_radio_seek_func_03 (); -void utc_mm_radio_seek_func_04 (); - -//Frequency range 875-1080 -void utc_mm_radio_set_frequency_func_01 (); -void utc_mm_radio_set_frequency_func_02 (); -void utc_mm_radio_set_frequency_func_03 (); -void utc_mm_radio_set_frequency_func_04 (); - -void utc_mm_radio_get_frequency_func_01 (); -void utc_mm_radio_get_frequency_func_02 (); - -void utc_mm_radio_scan_start_func_01 (); -void utc_mm_radio_scan_start_func_02 (); - -void utc_mm_radio_scan_stop_func_01 (); -void utc_mm_radio_scan_stop_func_02 (); - -#endif /* UTS_MM_FRAMEWORK_RADIO_COMMON_H */ diff --git a/TC/utc/utc_mm_radio_create_func.c b/TC/utc/utc_mm_radio_create_func.c deleted file mode 100755 index 4ee7f08..0000000 --- a/TC/utc/utc_mm_radio_create_func.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_create_func_01, 1}, - {utc_mm_radio_create_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ -} - -void utc_mm_radio_create_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Create the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_destroy(hradio); - - return; -} - - -void utc_mm_radio_create_func_02() -{ - int ret = 0; - - tet_infoline( "[[ TET_MSG ]]:: Create the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - return; -} - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_destroy_func.c b/TC/utc/utc_mm_radio_destroy_func.c deleted file mode 100755 index 88d53e7..0000000 --- a/TC/utc/utc_mm_radio_destroy_func.c +++ /dev/null @@ -1,95 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_destroy_func_01, 1}, - {utc_mm_radio_destroy_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ -} - -void utc_mm_radio_destroy_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Destroy the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - /* Destroy the instance of the Radio */ - ret = mm_radio_destroy(hradio); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - return; -} - - -void utc_mm_radio_destroy_func_02() -{ - int ret = 0; - - tet_infoline( "[[ TET_MSG ]]:: Destroy the Radio instance" ); - - /* Destroy the instance of the Radio */ - ret = mm_radio_destroy(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - return; -} - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_get_frequency_func.c b/TC/utc/utc_mm_radio_get_frequency_func.c deleted file mode 100755 index 553dfb8..0000000 --- a/TC/utc/utc_mm_radio_get_frequency_func.c +++ /dev/null @@ -1,109 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_get_frequency_func_01, 1}, - {utc_mm_radio_get_frequency_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - - -/* Start up function for each test purpose */ -void -startup () -{ - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_get_frequency_func_01() -{ - int ret = 0; - MMHandleType hradio; - - int frequency; - - tet_infoline( "[[ TET_MSG ]]:: Get frequency for the Radio instance" ); - - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - /* Get frequency for the instance of the Radio */ - ret = mm_radio_get_frequency(hradio, &frequency); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - -void utc_mm_radio_get_frequency_func_02() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Get frequency for the Radio instance" ); - - ret = mm_radio_create(&hradio); - - ret = mm_radio_realize(hradio); - - /* Get frequency for the instance of the Radio */ - ret = mm_radio_get_frequency(hradio, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_get_state_func.c b/TC/utc/utc_mm_radio_get_state_func.c deleted file mode 100755 index 2e8b6fd..0000000 --- a/TC/utc/utc_mm_radio_get_state_func.c +++ /dev/null @@ -1,129 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_get_state_func_01, 1}, - {utc_mm_radio_get_state_func_02, 2}, - {utc_mm_radio_get_state_func_03, 3}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ -int ret = 0; -MMHandleType hradio; -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_get_state_func_01() -{ - MMRadioStateType state; - int ret = 0; - MMHandleType hradio; - - mm_radio_create(&hradio); - mm_radio_realize(hradio); - - tet_infoline( "[[ TET_MSG ]]:: Get state for the Radio instance" ); - - /* Get state for the instance of the Radio */ - ret = mm_radio_get_state(hradio, &state); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -void utc_mm_radio_get_state_func_02() -{ - MMRadioStateType state; - int ret = 0; - MMHandleType hradio; - - mm_radio_create(&hradio); - mm_radio_realize(hradio); - - tet_infoline( "[[ TET_MSG ]]:: Get state for the Radio instance" ); - - /* Get state for the instance of the Radio */ - ret = mm_radio_get_state(NULL, &state); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -void utc_mm_radio_get_state_func_03() -{ - int ret = 0; - MMHandleType hradio; - - mm_radio_create(&hradio); - mm_radio_realize(hradio); - - tet_infoline( "[[ TET_MSG ]]:: Get state for the Radio instance" ); - - /* Get state for the instance of the Radio */ - ret = mm_radio_get_state(hradio, NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_realize_func.c b/TC/utc/utc_mm_radio_realize_func.c deleted file mode 100755 index ff0b7dd..0000000 --- a/TC/utc/utc_mm_radio_realize_func.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_realize_func_01, 1}, - {utc_mm_radio_realize_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_realize_func_01() -{ - int ret = 0; - MMHandleType hradio; - - ret = mm_radio_create(&hradio); - - tet_infoline( "[[ TET_MSG ]]:: Realize the Radio instance" ); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - return; -} - - -void utc_mm_radio_realize_func_02() -{ - int ret = 0; - MMHandleType hradio; - - ret = mm_radio_create(&hradio); - - tet_infoline( "[[ TET_MSG ]]:: Realize the Radio instance" ); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_scan_start_func.c b/TC/utc/utc_mm_radio_scan_start_func.c deleted file mode 100755 index 1be2eab..0000000 --- a/TC/utc/utc_mm_radio_scan_start_func.c +++ /dev/null @@ -1,113 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_scan_start_func_01, 1}, - {utc_mm_radio_scan_start_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ -int ret = 0; -MMHandleType hradio; -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_scan_start_func_01() -{ - int ret = 0; - MMHandleType hradio; - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - tet_infoline( "[[ TET_MSG ]]:: Start scan the Radio instance" ); - - /* Start scan the instance of the Radio */ - ret = mm_radio_scan_start(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_scan_stop(hradio); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - return; -} - - -void utc_mm_radio_scan_start_func_02() -{ - int ret = 0; - MMHandleType hradio; - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - tet_infoline( "[[ TET_MSG ]]:: Start scan the Radio instance" ); - - /* Start the instance of the Radio */ - ret = mm_radio_scan_start(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_scan_stop_func.c b/TC/utc/utc_mm_radio_scan_stop_func.c deleted file mode 100755 index 0c9d77a..0000000 --- a/TC/utc/utc_mm_radio_scan_stop_func.c +++ /dev/null @@ -1,107 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_scan_stop_func_01, 1}, - {utc_mm_radio_scan_stop_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_scan_stop_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Stop scan the Radio instance" ); - - ret = mm_radio_create(&hradio); - ret = mm_radio_realize(hradio); - ret = mm_radio_scan_start(hradio); - - /* Stop scan the instance of the Radio */ - ret = mm_radio_scan_stop(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - -void utc_mm_radio_scan_stop_func_02() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Stop scan the Radio instance" ); - - ret = mm_radio_create(&hradio); - ret = mm_radio_realize(hradio); - ret = mm_radio_scan_start(hradio); - - /* Stop the instance of the Radio */ - ret = mm_radio_scan_stop(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - mm_radio_unrealize(hradio); - mm_radio_destroy(hradio); - - return; -} - - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_seek_func.c b/TC/utc/utc_mm_radio_seek_func.c deleted file mode 100755 index 34c8a8c..0000000 --- a/TC/utc/utc_mm_radio_seek_func.c +++ /dev/null @@ -1,129 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_seek_func_01, 1}, - {utc_mm_radio_seek_func_02, 2}, - {utc_mm_radio_seek_func_03, 3}, - {utc_mm_radio_seek_func_04, 4}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ -} - -void utc_mm_radio_seek_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Seek the frequency for the Radio instance" ); - UTC_RADIO_START_ALL(hradio, ret); - /* Seek the frequency for the instance of the Radio */ - ret = mm_radio_seek(hradio, MM_RADIO_SEEK_DOWN); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - return; -} - - -void utc_mm_radio_seek_func_02() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Seek the frequency for the Radio instance" ); - UTC_RADIO_START_ALL(hradio, ret); - /* Seek the frequency for the instance of the Radio */ - ret = mm_radio_seek(NULL, MM_RADIO_SEEK_UP); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -void utc_mm_radio_seek_func_03() -{ - int ret = 0; - MMHandleType hradio; - UTC_RADIO_START_ALL(hradio, ret); - tet_infoline( "[[ TET_MSG ]]:: Seek the frequency for the Radio instance" ); - - /* Seek the frequency for the instance of the Radio */ - ret = mm_radio_seek(hradio, -1); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -void utc_mm_radio_seek_func_04() -{ - int ret = 0; - MMHandleType hradio; - UTC_RADIO_START_ALL(hradio, ret); - tet_infoline( "[[ TET_MSG ]]:: Seek the frequency for the Radio instance" ); - - ret = mm_radio_seek(hradio, 50); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_set_frequency_func.c b/TC/utc/utc_mm_radio_set_frequency_func.c deleted file mode 100755 index efc210e..0000000 --- a/TC/utc/utc_mm_radio_set_frequency_func.c +++ /dev/null @@ -1,138 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_set_frequency_func_01, 1}, - {utc_mm_radio_set_frequency_func_02, 2}, - {utc_mm_radio_set_frequency_func_03, 3}, - {utc_mm_radio_set_frequency_func_04, 4}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ -} - -void utc_mm_radio_set_frequency_func_01() -{ - int ret = 0; - MMHandleType hradio; - - UTC_RADIO_START_ALL(hradio, ret); - - tet_infoline( "[[ TET_MSG ]]:: Set frequency for the Radio instance" ); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, 1077); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -void utc_mm_radio_set_frequency_func_02() -{ - int ret = 0; - MMHandleType hradio; - - UTC_RADIO_START_ALL(hradio, ret); - - tet_infoline( "[[ TET_MSG ]]:: Set frequency for the Radio instance" ); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(NULL, 1077); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -void utc_mm_radio_set_frequency_func_03() -{ - int ret = 0; - MMHandleType hradio; - - UTC_RADIO_START_ALL(hradio, ret); - - tet_infoline( "[[ TET_MSG ]]:: Set frequency for the Radio instance" ); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, -1); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -void utc_mm_radio_set_frequency_func_04() -{ - int ret = 0; - MMHandleType hradio; - - UTC_RADIO_START_ALL(hradio, ret); - - tet_infoline( "[[ TET_MSG ]]:: Set frequency for the Radio instance" ); - - ret = mm_radio_set_frequency(hradio, 2000); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_RADIO_DESTROY_ALL(hradio, ret); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_set_message_callback_func.c b/TC/utc/utc_mm_radio_set_message_callback_func.c deleted file mode 100755 index 8335442..0000000 --- a/TC/utc/utc_mm_radio_set_message_callback_func.c +++ /dev/null @@ -1,143 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_set_message_callback_func_01, 1}, - {utc_mm_radio_set_message_callback_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); - -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -static int __msg_callback(int message, void *pParam, void *user_param) -{ - MMMessageParamType* param = (MMMessageParamType*)pParam; - MMHandleType radio = (MMHandleType) user_param; - - printf("incomming message : %d\n", message); - - switch(message) - { - case MM_MESSAGE_STATE_CHANGED: - - printf("MM_MESSAGE_STATE_CHANGED: current : %d old : %d\n" - , param->state.current, param->state.previous); - break; - case MM_MESSAGE_RADIO_SCAN_START: - printf("MM_MESSAGE_RADIO_SCAN_START\n"); - break; - case MM_MESSAGE_RADIO_SCAN_INFO: - //assert(param); - printf("MM_MESSAGE_RADIO_SCAN_INFO : freq : %d\n", param->radio_scan.frequency); - break; - case MM_MESSAGE_RADIO_SCAN_STOP: - printf("MM_MESSAGE_RADIO_SCAN_STOP\n"); - break; - case MM_MESSAGE_RADIO_SCAN_FINISH: - printf("MM_MESSAGE_RADIO_SCAN_FINISHED\n"); - mm_radio_scan_stop(radio); - break; - case MM_MESSAGE_RADIO_SEEK_START: - printf("MM_MESSAGE_RADIO_SEEK_START\n"); - break; - case MM_MESSAGE_RADIO_SEEK_FINISH: - printf("MM_MESSAGE_RADIO_SEEK_FINISHED : freq : %d\n", param->radio_scan.frequency); - break; - default: - printf("ERROR : unknown message received!\n"); - break; - } - - return true; -} - -void utc_mm_radio_set_message_callback_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Set Message Callback for the Radio instance" ); - - ret = mm_radio_create(&hradio); - - /* Set Message Callback for the instance of the Radio */ - ret = mm_radio_set_message_callback(hradio, (MMMessageCallback)__msg_callback, (void*)hradio ); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_destroy(hradio); - - return; -} - - - -void utc_mm_radio_set_message_callback_func_02() -{ - int ret = 0; - MMHandleType hradio; - - ret = mm_radio_create(&hradio); - - tet_infoline( "[[ TET_MSG ]]:: Set Message Callback for the Radio instance" ); - - /* Set Message Callback for the instance of the Radio */ - ret = mm_radio_set_message_callback(NULL, (MMMessageCallback)__msg_callback, (void*)hradio ); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_start_func.c b/TC/utc/utc_mm_radio_start_func.c deleted file mode 100755 index cb1a719..0000000 --- a/TC/utc/utc_mm_radio_start_func.c +++ /dev/null @@ -1,115 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_start_func_01, 1}, - {utc_mm_radio_start_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_start_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Start the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, 1077); - - /* Start the instance of the Radio */ - ret = mm_radio_start(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_stop(hradio); - ret = mm_radio_unrealize(hradio); - ret = mm_radio_destroy(hradio); - return; -} - - -void utc_mm_radio_start_func_02() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Start the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, 1077); - - /* Start the instance of the Radio */ - ret = mm_radio_start(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_unrealize(hradio); - ret = mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_stop_func.c b/TC/utc/utc_mm_radio_stop_func.c deleted file mode 100755 index 8037d9d..0000000 --- a/TC/utc/utc_mm_radio_stop_func.c +++ /dev/null @@ -1,119 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_start_func_01, 1}, - {utc_mm_radio_start_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ - -} - -void utc_mm_radio_start_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Start the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, 1077); - - /* Start the instance of the Radio */ - ret = mm_radio_start(hradio); - - ret = mm_radio_stop(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_unrealize(hradio); - ret = mm_radio_destroy(hradio); - return; -} - - -void utc_mm_radio_start_func_02() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Start the Radio instance" ); - - /* Create the instance of the Radio */ - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - - /* Set frequency for the instance of the Radio */ - ret = mm_radio_set_frequency(hradio, 1077); - - /* Start the instance of the Radio */ - ret = mm_radio_start(hradio); - - ret = mm_radio_stop(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_unrealize(hradio); - - ret = mm_radio_destroy(hradio); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_radio_unrealize_func.c b/TC/utc/utc_mm_radio_unrealize_func.c deleted file mode 100755 index c05fc20..0000000 --- a/TC/utc/utc_mm_radio_unrealize_func.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * libmm-radio - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_radio_common.h" - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_radio_unrealize_func_01, 1}, - {utc_mm_radio_unrealize_func_02, 2}, - {NULL, 0} -}; - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - -/* Start up function for each test purpose */ -void -startup () -{ - tet_infoline("[[ COMMON ]]::Inside startup \n"); - - tet_infoline("[[ COMMON ]]::Completing startup \n"); -} - -/* Clean up function for each test purpose */ -void -cleanup () -{ -} - -void utc_mm_radio_unrealize_func_01() -{ - int ret = 0; - MMHandleType hradio; - - tet_infoline( "[[ TET_MSG ]]:: Unrealize the Radio instance" ); - - ret = mm_radio_create(&hradio); - - /* Realize the instance of the Radio */ - ret = mm_radio_realize(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - /* Unrealize the instance of the Radio */ - ret = mm_radio_unrealize(hradio); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_destroy(hradio); - - return; -} - - -void utc_mm_radio_unrealize_func_02() -{ - int ret = 0; - MMHandleType hradio; - - ret = mm_radio_create(&hradio); - - tet_infoline( "[[ TET_MSG ]]:: Unrealize the Radio instance" ); - ret = mm_radio_realize(hradio); - /* Unrealize the instance of the Radio */ - ret = mm_radio_unrealize(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - ret = mm_radio_destroy(hradio); - - return; -} - -/** @} */ - - - - diff --git a/debian/changelog b/debian/changelog deleted file mode 100755 index 1bb03a7..0000000 --- a/debian/changelog +++ /dev/null @@ -1,764 +0,0 @@ -libmm-radio (0.2.3-0) unstable; urgency=low - - * modify internal package from rpm spec - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.2.3-0 - - -- Younghwan Ahn Fri, 27 Jul 2012 18:07:41 +0900 - -libmm-radio (0.2.2-0) unstable; urgency=low - - * code clean up - remove useless codes any more - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.2.2-0 - - -- Younghwan Ahn Wed, 25 Jul 2012 17:49:27 +0900 - -libmm-radio (0.2.1-0) unstable; urgency=low - - * add mm_radio_get_region_type(), mm_radio_get_region_frequency_range() - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.2.1-0 - - -- Younghwan Ahn Tue, 12 Jun 2012 17:51:24 +0900 - -libmm-radio (0.2.0-0) unstable; urgency=low - - * [AudioRoute] bt radio & sound path & volume modified - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.2.0-0 - - -- Seungbae Shin Mon, 23 Apr 2012 16:55:44 +0900 - -libmm-radio (0.1.12-0) unstable; urgency=low - - * Add missed code for libmm-radio_0.1.11-0 - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.12-0 - - -- Younghwan Ahn Sat, 07 Apr 2012 15:52:25 +0900 - -libmm-radio (0.1.11-0) unstable; urgency=low - - * modify code temporally for building CAPI on i386 - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.11-0 - - -- Younghwan Ahn Fri, 06 Apr 2012 13:19:57 +0900 - -libmm-radio (0.1.10-0) unstable; urgency=low - - * modify arch in control temporally for i386 build - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.10-0 - - -- Younghwan Ahn Thu, 05 Apr 2012 18:15:17 +0900 - -libmm-radio (0.1.9-0) unstable; urgency=low - - * modify asm policy - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.9-0 - - -- Younghwan Ahn Thu, 05 Apr 2012 13:43:29 +0900 - -libmm-radio (0.1.8-0) unstable; urgency=low - - * code clean up - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.8-0 - - -- Younghwan Ahn Tue, 03 Apr 2012 16:59:56 +0900 - -libmm-radio (0.1.7-0) unstable; urgency=low - - * modify to support region settings - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.7-0 - - -- Younghwan Ahn Mon, 26 Mar 2012 18:08:44 +0900 - -libmm-radio (0.1.6-0) unstable; urgency=low - - * move _get_signal_strength to mm_radio.h - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.6-0 - - -- Younghwan Ahn Tue, 20 Mar 2012 11:54:39 +0900 - -libmm-radio (0.1.5-0) unstable; urgency=low - - * modify signal value - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.5-0 - - -- Younghwan Ahn Mon, 20 Feb 2012 20:22:22 +0900 - -libmm-radio (0.1.4-0) unstable; urgency=low - - * set tuner audio mode - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.4-0 - - -- Younghwan Ahn Wed, 25 Jan 2012 17:46:20 +0900 - -libmm-radio (0.1.3-1) unstable; urgency=low - - * not to post scan info any more when scan stop is called, add break to scan thread - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.3-1 - - -- Younghwan Ahn Tue, 10 Jan 2012 17:38:36 +0900 - -libmm-radio (0.1.3-0) unstable; urgency=low - - * code cleanup, modify freq. param as KHz - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.3-0 - - -- Younghwan Ahn Mon, 09 Jan 2012 10:47:46 +0900 - -libmm-radio (0.1.2-30) unstable; urgency=low - - * make apache license of TC files - * Git : slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-30 - - -- Younghwan Ahn Wed, 21 Dec 2011 12:30:49 +0900 - -libmm-radio (0.1.2-29) unstable; urgency=low - - * remove h/w dependency code - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-29 - - -- Younghwan Ahn Thu, 15 Dec 2011 20:11:47 +0900 - -libmm-radio (0.1.2-28) unstable; urgency=low - - * fix memory leak for scan thread - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-28 - - -- Younghwan Ahn Mon, 31 Oct 2011 18:18:51 +0900 - -libmm-radio (0.1.2-27) unstable; urgency=low - - * change wrap around - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-27 - - -- Younghwan Ahn Fri, 14 Oct 2011 14:11:40 +0900 - -libmm-radio (0.1.2-26) unstable; urgency=low - - * fix codes commented by prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-26 - - -- Younghwan Ahn Tue, 11 Oct 2011 14:57:21 +0900 - -libmm-radio (0.1.2-25) unstable; urgency=low - - * set path using sound policy - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-25 - - -- Younghwan Ahn Wed, 05 Oct 2011 16:16:37 +0900 - -libmm-radio (0.1.2-24) unstable; urgency=low - - * modify to have dependency of kernel header - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-24 - - -- Younghwan Ahn Thu, 29 Sep 2011 15:09:30 +0900 - -libmm-radio (0.1.2-23) unstable; urgency=low - - * remove usless set path for noise when radio is started during playing music - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-23 - - -- Younghwan Ahn Wed, 21 Sep 2011 17:46:23 +0900 - -libmm-radio (0.1.2-22) unstable; urgency=low - - * update changelog - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-22 - - -- Younghwan Ahn Thu, 14 Jul 2011 10:35:11 +0900 - -libmm-radio (0.1.2-21) unstable; urgency=low - - * Add mute/unmute API - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-21 - - -- Younghwan Ahn Thu, 26 May 2011 13:48:29 +0900 - -libmm-radio (0.1.2-20) unstable; urgency=low - - * Modify CFLAGS - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-20 - - -- Seungbae Shin Tue, 03 May 2011 13:26:51 +0900 - -libmm-radio (0.1.2-19) unstable; urgency=low - - * update changelog - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-19 - - -- YoungHwan Ahn Fri, 18 Feb 2011 16:40:31 +0900 - -libmm-radio (0.1.2-18) unstable; urgency=low - - * fix error handling bug - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-18 - - -- YoungHwan Ahn Tue, 15 Feb 2011 17:15:58 +0900 - -libmm-radio (0.1.2-17) unstable; urgency=low - - * update unit test cases - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-17 - - -- YoungHwan Ahn Mon, 14 Feb 2011 14:48:07 +0900 - -libmm-radio (0.1.2-16) unstable; urgency=low - - * add support MM_SESSION_TYPE_VIDEOCALL - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-16 - - -- KwangHui Cho Mon, 31 Jan 2011 16:37:16 +0900 - -libmm-radio (0.1.2-15) unstable; urgency=low - - * upload directly due to gerrit problem - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-15 - - -- YoungHwan Ahn Wed, 26 Jan 2011 23:27:10 +0900 - -libmm-radio (0.1.2-14) unstable; urgency=low - - * update unit test codes - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-14 - - -- YoungHwan Ahn Fri, 21 Jan 2011 16:49:32 +0900 - -libmm-radio (0.1.2-13) unstable; urgency=low - - * fix build error of utc - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-13 - - -- YoungHwan Ahn Thu, 20 Jan 2011 11:00:44 +0900 - -libmm-radio (0.1.2-12) unstable; urgency=low - - * apply media volume value when radio is created - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-12 - - -- YoungHwan Ahn Fri, 17 Dec 2010 17:33:13 +0900 - -libmm-radio (0.1.2-11) unstable; urgency=low - - * modify media volume logic for code readibility - * Git : 165.213.180.234:slp/pkgs/l/libmm-radio - * Tag : libmm-radio_0.1.2-11 - - -- YoungHwan Ahn Fri, 10 Dec 2010 11:03:46 +0900 - -libmm-radio (0.1.2-10) unstable; urgency=low - - * fix seek bug when band limit is reached and update doxygen - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-10 - - -- Seungbae Shin Thu, 18 Nov 2010 20:58:19 +0900 - -libmm-radio (0.1.2-9) unstable; urgency=low - - * Add fPIC, hash-style - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-9 - - -- Seungbae Shin Thu, 18 Nov 2010 15:19:16 +0900 - -libmm-radio (0.1.2-8) unstable; urgency=low - - * add dbg pkg - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-8 - - -- YoungHwan Ahn Thu, 18 Nov 2010 14:57:54 +0900 - -libmm-radio (0.1.2-7) unstable; urgency=low - - * seek logic modification - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-7 - - -- YoungHwan Ahn Tue, 16 Nov 2010 16:21:48 +0900 - -libmm-radio (0.1.2-6) unstable; urgency=low - - * set ready when scan is finished - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-6 - - -- YoungHwan Ahn Tue, 09 Nov 2010 16:58:14 +0900 - -libmm-radio (0.1.2-5) unstable; urgency=low - - * If same freq is found for seeking, skip it. - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-5 - - -- YoungHwan Ahn Wed, 03 Nov 2010 18:59:40 +0900 - -libmm-radio (0.1.2-4) unstable; urgency=low - - * can't search some frequencies under 97.3Mhz - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-4 - - -- YoungHwan Ahn Fri, 22 Oct 2010 20:55:52 +0900 - -libmm-radio (0.1.2-3) unstable; urgency=low - - * remove binary files - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-3 - - -- YoungHwan Ahn Mon, 18 Oct 2010 18:58:58 +0900 - -libmm-radio (0.1.2-2) unstable; urgency=low - - * drop max one when frequency is seeking - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-2 - - -- YoungHwan Ahn Mon, 11 Oct 2010 20:26:52 +0900 - -libmm-radio (0.1.2-1) unstable; urgency=low - - * fix freq drop bug - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-1 - - -- YoungHwan Ahn Fri, 08 Oct 2010 16:36:08 +0900 - -libmm-radio (0.1.2-0) unstable; urgency=low - - * fix to post message once on ASM event - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.2-0 - - -- Kwanghui Cho Thu, 07 Oct 2010 14:09:50 +0900 - -libmm-radio (0.1.1-21) unstable; urgency=low - - * repackaging - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-21 - - -- YoungHwan Ahn Wed, 06 Oct 2010 16:48:21 +0900 - -libmm-radio (0.1.1-20) unstable; urgency=low - - * skip unrealize if there is no resource conflct in asm callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-20 - - -- Kwanghui Cho Wed, 06 Oct 2010 16:22:20 +0900 - -libmm-radio (0.1.1-19) unstable; urgency=low - - * Radio volume update - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-19 - - -- Kwanghui Cho Mon, 04 Oct 2010 15:54:13 +0900 - -libmm-radio (0.1.1-18) unstable; urgency=low - - * update radio state to avsystem - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-18 - - -- Kwanghui Cho Mon, 27 Sep 2010 12:47:29 +0900 - -libmm-radio (0.1.1-17) unstable; urgency=low - - * add common-internal-dev for mm_debug - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-17 - - -- YoungHwan Ahn Sat, 18 Sep 2010 22:26:07 +0900 - -libmm-radio (0.1.1-16) unstable; urgency=low - - * fix build error - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-16 - - -- YoungHwan Ahn Fri, 17 Sep 2010 15:06:25 +0900 - -libmm-radio (0.1.1-15) unstable; urgency=low - - * rename tc - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-15 - - -- YoungHwan Ahn Fri, 17 Sep 2010 14:38:36 +0900 - -libmm-radio (0.1.1-14) unstable; urgency=low - - * Add utc - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-14 - - -- YoungHwan Ahn Fri, 17 Sep 2010 14:17:05 +0900 - -libmm-radio (0.1.1-13) unstable; urgency=low - - * drop if max freq is scanned - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-13 - - -- YoungHwan Ahn Wed, 15 Sep 2010 21:31:51 +0900 - -libmm-radio (0.1.1-12) unstable; urgency=low - - * Add asm resource type when ASM_set_sound_state - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-12 - - -- Kwanghui Cho Fri, 10 Sep 2010 17:48:21 +0900 - -libmm-radio (0.1.1-11) unstable; urgency=low - - * Remove including mm_message_private.h - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-11 - - -- Seungbae Shin Tue, 31 Aug 2010 10:53:01 +0900 - -libmm-radio (0.1.1-10) unstable; urgency=low - - * MM_ERROR_RADIO_PERMISSION_DENIED - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-10 - - -- YoungHwan Ahn Tue, 10 Aug 2010 17:52:17 +0900 - -libmm-radio (0.1.1-9) unstable; urgency=low - - * add MM_ERROR_RADIO_DEVICE_NOT_FOUND - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-9 - - -- YoungHwan Ahn Wed, 04 Aug 2010 20:33:07 +0900 - -libmm-radio (0.1.1-8) unstable; urgency=low - - * Add MM_ERROR_RADIO_DEVICE_NOT_OPENED - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-8 - - -- YoungHwan Ahn Wed, 04 Aug 2010 11:11:16 +0900 - -libmm-radio (0.1.1-7) unstable; urgency=low - - * Modify internal api logic - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-7 - - -- YoungHwan Ahn Tue, 20 Jul 2010 18:42:08 +0900 - -libmm-radio (0.1.1-6) unstable; urgency=low - - * Rename internal pkg as internal-dev - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-6 - - -- YoungHwan Ahn Tue, 20 Jul 2010 10:27:01 +0900 - -libmm-radio (0.1.1-5) unstable; urgency=low - - * Add HW Debug APIs and internal pkg - * Git : 165.213.180.234:/git/slp/pkgs/libmm-radio - * Tag : libmm-radio_0.1.1-5 - - -- YoungHwan Ahn Mon, 19 Jul 2010 20:03:30 +0900 - -libmm-radio (0.1.1-4) unstable; urgency=low - - * reupload - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1.1-4 - - -- JongHyuk Choi Wed, 07 Jul 2010 13:18:35 +0900 - -libmm-radio (0.1.1-3) unstable; urgency=low - - * reupload - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1.1-3 - - -- YoungHwan Ahn Fri, 25 Jun 2010 21:21:39 +0900 - -libmm-radio (0.1.1-2) unstable; urgency=low - - * remove old dlog dependency - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1.1-2 - - -- YoungHwan Ahn Fri, 25 Jun 2010 19:14:33 +0900 - -libmm-radio (0.1.1-1) unstable; urgency=low - - * Add codec mute control to remove white noize when volume zero playback - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1.1-1 - - -- KwangHui Cho Thu, 24 Jun 2010 14:05:47 +0900 - -libmm-radio (0.1.1-0) unstable; urgency=low - - * Update internal code (asm, sound path related) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1.1-0 - - -- KwangHui Cho Mon, 21 Jun 2010 14:06:00 +0900 - -libmm-radio (0.1-29) unstable; urgency=low - - * Reupload for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-29 - - -- Seungbae Shin Thu, 17 Jun 2010 13:54:43 +0900 - -libmm-radio (0.1-28) unstable; urgency=low - - * Reupload for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-28 - - -- Heungsoon Rim Wed, 16 Jun 2010 10:41:58 +0900 - -libmm-radio (0.1-27) unstable; urgency=low - - * Change default session type (from shared to exclusive) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-27 - - -- Kwanghui Cho Fri, 11 Jun 2010 13:43:59 +0900 - -libmm-radio (0.1-26) unstable; urgency=low - - * update asm code (mmplayer -> mmradio) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-26 - - -- Kwanghui Cho Fri, 11 Jun 2010 09:41:09 +0900 - -libmm-radio (0.1-25) unstable; urgency=low - - * non-free to main - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-25 - - -- Byungwook Jang Mon, 07 Jun 2010 12:42:40 +0900 - -libmm-radio (0.1-24) unstable; urgency=low - - * mm-session - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-24 - - -- Byungwook Jang Sat, 05 Jun 2010 13:39:18 +0900 - -libmm-radio (0.1-23) unstable; urgency=low - - * add explanation of APIs - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-23 - - -- Byungwook Jang Fri, 04 Jun 2010 16:53:57 +0900 - -libmm-radio (0.1-22) unstable; urgency=low - - * replace MMSoundSetPathEx2 as mm_sound_set_path - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-22 - - -- YoungHwan Ahn Fri, 04 Jun 2010 01:13:02 +0900 - -libmm-radio (0.1-21) unstable; urgency=low - - * E-mail violation - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-21 - - -- Byungwook Jang Mon, 31 May 2010 13:42:10 +0900 - -libmm-radio (0.1-20) unstable; urgency=low - - * Deplicate APIs - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-20 - - -- Wonhyung Cho Mon, 31 May 2010 13:23:37 +0900 - -libmm-radio (0.1-19) unstable; urgency=low - - * Email violation - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-19 - - -- Wonhyung Cho Sun, 30 May 2010 02:00:36 +0900 - -libmm-radio (0.1-18) unstable; urgency=low - - * I don't know why it's now uploaded. - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-18 - - -- Wonhyung Cho Sun, 30 May 2010 01:46:24 +0900 - -libmm-radio (0.1-17) unstable; urgency=low - - * Add my name to control - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-17 - - -- Wonhyung Cho Sun, 30 May 2010 01:27:31 +0900 - -libmm-radio (0.1-16) unstable; urgency=low - - * Just reupload because of changes of libmm-common - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-16 - - -- Wonhyung Cho Sun, 30 May 2010 01:24:00 +0900 - -libmm-radio (0.1-15) unstable; urgency=low - - * Sound path change for MM_RADIO_OUTPUT_NONE - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-15 - - -- Byungwook Jang Wed, 26 May 2010 17:00:27 +0900 - -libmm-radio (0.1-14) unstable; urgency=low - - * Remove postinst & fix mmta & use sound-sdk-dev - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-14 - - -- Seungbae Shin Tue, 11 May 2010 16:17:50 +0900 - -libmm-radio (0.1-13) unstable; urgency=low - - * Add mm-session dependancy - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-13 - - -- Seungbae Shin Tue, 04 May 2010 13:21:45 +0900 - -libmm-radio (0.1-12) unstable; urgency=low - - * Replace log/ta with SDK package - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-12 - - -- Seungbae Shin Tue, 04 May 2010 12:41:02 +0900 - -libmm-radio (0.1-11) unstable; urgency=low - - * Add postinst - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-11 - - -- Seungbae Shin Fri, 30 Apr 2010 13:46:00 +0900 - -libmm-radio (0.1-10) unstable; urgency=low - - * Fix wrong pkgconfig - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * Tag : libmm-radio_0.1-10 - -- Jeon Hee Chul Fri, 23 Apr 2010 16:48:39 +0900 - -libmm-radio (0.1-9) unstable; urgency=low - - * Fix wrong dependency - * git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * tag : libmm-radio_0.1-9 - - -- Jeon Hee Chul Thu, 08 Apr 2010 19:39:46 +0900 - -libmm-radio (0.1-8) unstable; urgency=low - - * Add missing dependency - * git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * tag : libmm-radio_0.1-8 - - -- Jeon Hee Chul Thu, 08 Apr 2010 17:55:41 +0900 - -libmm-radio (0.1-7) unstable; urgency=low - - * ASM enable - * Scan/Seek enable - * This is first release of mm-radio library - * git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-radio-0.1 - * tag : libmm-radio_0.1-7 - - -- Jeon Hee Chul Thu, 08 Apr 2010 14:56:46 +0900 - -libmm-radio (0.1-6) unstable; urgency=low - - * Remove glib dependency. now it works without glib - - -- Jeon Hee Chul Mon, 05 Apr 2010 17:09:37 +0900 - -libmm-radio (0.1-5) unstable; urgency=low - - * Sound path, suppress noise, fix many bugs... - - -- Jeon Hee Chul Wed, 31 Mar 2010 19:39:20 +0900 - -libmm-radio (0.1-4) unstable; urgency=low - - * Implement FSM, Remove pause/resume, etc... - - -- Jeon Hee Chul Tue, 30 Mar 2010 17:56:02 +0900 - -libmm-radio (0.1-3) unstable; urgency=low - - * add radio engine - - -- root Tue, 16 Mar 2010 15:30:20 +0900 - -libmm-radio (0.1-2) unstable; urgency=low - - * update radio engine - - -- hk57.kim Tue, 16 Mar 2010 10:40:37 +0900 - -libmm-radio (0.1-1) unstable; urgency=low - - * Initial Release. - - -- Jeon Hee Chul Wed, 02 Dec 2009 16:47:53 +0900 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100755 index c787d5d..0000000 --- a/debian/control +++ /dev/null @@ -1,27 +0,0 @@ -Source: libmm-radio -Section: libs -Priority: extra -Maintainer: Ahn Young Hwan Shin Seung Bae Choi Jong Hyuk -Uploaders: Seungbae Shin , Wonhyung Cho , YoungHwan Ahn , Kwanghui Cho -Build-Depends: debhelper (>= 5), autotools-dev, libmm-log-dev, libmm-common-dev, libmm-ta-dev, libaudiosessionmgr-dev, libavsystem-dev, libmm-session-dev, libmm-common-internal-dev, libmm-sound-dev, linux-libc-dev, libgstreamer-plugins-base0.10-dev -Standards-Version: 0.1.0 - -Package: libmm-radio -Section: libs -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libavsystem-0, libmm-log, libmm-common, libmm-ta, libaudiosessionmgr-0, libmm-session-0, libgstreamer-plugins-base0.10-0 -Description: Multimedia Framework Radio Library - -Package: libmm-radio-dev -XB-Generate-Docs: yes -Section: libdevel -Architecture: any -Depends: libmm-radio (= ${Source-Version}), libavsystem-sdk-dev, libmm-log-sdk-dev, libmm-common-dev, libmm-ta-sdk-dev, libaudiosessionmgr-sdk-dev, libmm-session-sdk-dev, linux-libc-dev, libgstreamer-plugins-base0.10-sdk-dev -Description: Multimedia Framework Radio Library (DEV) - -Package: libmm-radio-dbg -Section: debug -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libmm-radio (= ${Source-Version}) -Description: Multimedia Framework Radio Library (unstripped) - diff --git a/debian/copyright b/debian/copyright deleted file mode 100755 index 8f9fb56..0000000 --- a/debian/copyright +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index ca882bb..0000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/sbin diff --git a/debian/docs b/debian/docs deleted file mode 100644 index e69de29..0000000 diff --git a/debian/libmm-radio-dev.install.in b/debian/libmm-radio-dev.install.in deleted file mode 100755 index d094317..0000000 --- a/debian/libmm-radio-dev.install.in +++ /dev/null @@ -1,4 +0,0 @@ -@PREFIX@/include/mmf/mm_radio.h -@PREFIX@/lib/*.la -@PREFIX@/lib/*.a -@PREFIX@/lib/pkgconfig/* diff --git a/debian/libmm-radio.install.in b/debian/libmm-radio.install.in deleted file mode 100644 index 253beed..0000000 --- a/debian/libmm-radio.install.in +++ /dev/null @@ -1,2 +0,0 @@ -@PREFIX@/bin/* -@PREFIX@/lib/*.so* diff --git a/debian/rules b/debian/rules deleted file mode 100755 index bc0200e..0000000 --- a/debian/rules +++ /dev/null @@ -1,134 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) - - -CFLAGS += -Wall -g -fPIC -LDFLAGS ?= -PREFIX ?= /usr -DATADIR ?= /opt - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - - -# architecture is not arm -ifneq (, $(findstring arm, $(DEB_HOST_ARCH))) - # do something here - OPTION = -else - # do something here for arm architecture - OPTION = -endif - - -LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed - - -config.status: - dh_testdir - ./autogen.sh - # Add here commands to configure the package. - CFLAGS="$(CFLAGS) -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="$(LDFLAGS)" ./configure $(OPTION) --prefix=$(PREFIX) - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/mm-radio.sgml > mm-radio.1 - - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - cat $$f > $${f%.in}; \ - sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \ - sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \ - done - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - rm -f $${f%.in}; \ - done - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/mm-radio - $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install --sourcedir=debian/tmp -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip --dbg-package=libmm-radio-dbg - dh_compress - dh_fixperms -# dh_perl - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff --git a/packaging/libmm-radio.spec b/packaging/libmm-radio.spec index 7a243fe..aaa7c07 100644 --- a/packaging/libmm-radio.spec +++ b/packaging/libmm-radio.spec @@ -1,6 +1,6 @@ Name: libmm-radio Summary: Multimedia Framework Radio Library -Version: 0.2.3 +Version: 0.2.0 Release: 1 Group: TO_BE/FILLED_IN License: TO BE FILLED IN -- 2.7.4