diff options
author | Haejeong Kim <backto.kim@samsung.com> | 2012-08-23 13:14:05 +0900 |
---|---|---|
committer | Haejeong Kim <backto.kim@samsung.com> | 2012-08-23 13:14:05 +0900 |
commit | 4d05d50e6222657f0eb81e8191b0d225e55f7711 (patch) | |
tree | e579f6c35a7491d9560a6943bcdef98a7a6d7700 | |
parent | 414ec2640e7b93ac98599cda63bc4248bda4f349 (diff) | |
download | libmm-fileinfo-master.tar.gz libmm-fileinfo-master.tar.bz2 libmm-fileinfo-master.zip |
Remove unnecessary filesHEADsubmit/master/20120920.1511002.0_alphamaster2.0alpha
30 files changed, 0 insertions, 2676 deletions
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 100755 index b03b95f..0000000 --- a/TC/tet_scen +++ /dev/null @@ -1,14 +0,0 @@ -# auto generated tet_scen -all - "Starting Full Test Suite" - /utc/utc_mm_file_create_tag_attrs_func - /utc/utc_mm_file_create_content_attrs_func - /utc/utc_mm_file_destroy_content_attrs_func - /utc/utc_mm_file_destroy_tag_attrs_func - /utc/utc_mm_file_get_stream_info_func - /utc/utc_mm_file_create_content_attrs_simple_func - /utc/utc_mm_file_create_content_attrs_from_memory_func - /utc/utc_mm_file_create_tag_attrs_from_memory_func - /utc/utc_mm_file_get_attrs_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/tslist.txt b/TC/tslist.txt deleted file mode 100644 index 24c0a1a..0000000 --- a/TC/tslist.txt +++ /dev/null @@ -1 +0,0 @@ -utc/tslist diff --git a/TC/utc/Makefile b/TC/utc/Makefile deleted file mode 100755 index 5b0c45e..0000000 --- a/TC/utc/Makefile +++ /dev/null @@ -1,70 +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_file_create_tag_attrs_func
-TS2 = utc_mm_file_create_content_attrs_func
-TS3 = utc_mm_file_destroy_content_attrs_func
-TS4 = utc_mm_file_destroy_tag_attrs_func
-TS5 = utc_mm_file_get_stream_info_func
-TS6 = utc_mm_file_create_content_attrs_simple_func
-TS7 = utc_mm_file_create_content_attrs_from_memory_func
-TS8 = utc_mm_file_create_tag_attrs_from_memory_func
-TS9 = utc_mm_file_get_attrs_func
-
-LIBS = `pkg-config --libs mm-fileinfo glib-2.0`
-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-fileinfo glib-2.0`
-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)
-
-$(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)
-
-clean:
- rm -rf *~ *.o $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS6) $(TS7) $(TS8) $(TS9)
-
-
-
diff --git a/TC/utc/tslist b/TC/utc/tslist deleted file mode 100755 index 4e77e0d..0000000 --- a/TC/utc/tslist +++ /dev/null @@ -1,9 +0,0 @@ -./utc_mm_file_create_tag_attrs_func -./utc_mm_file_create_content_attrs_func -./utc_mm_file_destroy_content_attrs_func -./utc_mm_file_destroy_tag_attrs_func -./utc_mm_file_get_stream_info_func -./utc_mm_file_create_content_attrs_simple_func -./utc_mm_file_create_content_attrs_from_memory_func -./utc_mm_file_create_tag_attrs_from_memory_func -./utc_mm_file_get_attrs_func
\ No newline at end of file diff --git a/TC/utc/utc_mm_file_create_content_attrs_from_memory_func.c b/TC/utc/utc_mm_file_create_content_attrs_from_memory_func.c deleted file mode 100755 index 87db9bc..0000000 --- a/TC/utc/utc_mm_file_create_content_attrs_from_memory_func.c +++ /dev/null @@ -1,159 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_ATTRS_ Uts_Mmf_Fileinfo_Get_Content_Attrs_ -* @{ -*/ - -/** -* @file utc_mm_file_create_content_attrs.c -* @brief This is a suit of unit test cases to test mm_file_create_content_attrs_from_memory() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - - -#include "utc_mm_fileinfo_common.h" - - - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_tag_attrs_from_memory" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- -#define TEST_API "mm_file_create_content_attrs_from_memory" - - -#define READ_FROM_FILE(FILE_PATH, data, size) \ -do{ \ - FILE * fp = fopen (FILE_PATH, "r"); \ - if (fp) { \ - fseek (fp, 0, SEEK_END); \ - size = ftell(fp); \ - fseek (fp, 0, SEEK_SET); \ - data = malloc (size); \ - fread (data, size, sizeof(char), fp); \ - fclose (fp); \ - dts_message ( __func__, "file size = %d", size ); \ - } \ -}while(0) - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_create_content_attrs_from_memory_func_01, 1}, - {utc_mm_file_create_content_attrs_from_memory_func_02, 2}, - {utc_mm_file_create_content_attrs_from_memory_func_03, 3}, - {NULL, 0} -}; - - - -/* Start up function for each test purpose */ -void startup () -{ -} - -/* Clean up function for each test purpose */ -void cleanup () -{ -} - -void utc_mm_file_create_content_attrs_from_memory_func_01() -{ - int file_size = 0; - unsigned char * buffer = NULL; - MMHandleType content_attr = 0; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_content_attrs_from_memory( &content_attr, buffer, file_size, MM_FILE_FORMAT_MP3); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - -void utc_mm_file_create_content_attrs_from_memory_func_02() -{ - int file_size = 0; - unsigned char * buffer = NULL; - MMHandleType content_attr = 0; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_content_attrs_from_memory( &content_attr, NULL, file_size, MM_FILE_FORMAT_MP3); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - -void utc_mm_file_create_content_attrs_from_memory_func_03() -{ - int file_size = 0; - unsigned char * buffer = NULL; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_content_attrs_from_memory( NULL, buffer, file_size, MM_FILE_FORMAT_MP3); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_file_create_content_attrs_func.c b/TC/utc/utc_mm_file_create_content_attrs_func.c deleted file mode 100755 index 773d287..0000000 --- a/TC/utc/utc_mm_file_create_content_attrs_func.c +++ /dev/null @@ -1,111 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_ATTRS_ Uts_Mmf_Fileinfo_Get_Content_Attrs_ -* @{ -*/ - -/** -* @file uts_mm_fileinfo_get_content_attrs.c -* @brief This is a suit of unit test cases to test mm_file_get_content_attr() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - -#include "utc_mm_fileinfo_common.h" - - - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_tag_attrs" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- -#define TEST_API "mm_file_create_content_attrs" - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_create_content_attrs_func_01, 1}, - {utc_mm_file_create_content_attrs_func_02, 2}, - {NULL, 0} -}; - -/* Start up function for each test purpose */ -void startup () -{ -} - -/* Clean up function for each test purpose */ -void cleanup () -{ -} - -void utc_mm_file_create_content_attrs_func_01() -{ - int err = 0; - MMHandleType content_attrs; - - /* Get the content & tag attributes */ - err = mm_file_create_content_attrs(&content_attrs, MEDIA_PATH); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - -void utc_mm_file_create_content_attrs_func_02() -{ - int err = 0; - - err = mm_file_create_content_attrs( NULL, MEDIA_PATH); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - - - - - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_file_create_content_attrs_simple_func.c b/TC/utc/utc_mm_file_create_content_attrs_simple_func.c deleted file mode 100755 index 6d859c3..0000000 --- a/TC/utc/utc_mm_file_create_content_attrs_simple_func.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_CONTENT_ATTR_SIMPLE_ Uts_Mmf_Fileinfo_Get_Content_Attr_Simple_ -* @{ -*/ - -/** -* @file uts_mm_fileinfo_get_content_attr_simple.c -* @brief This is a suit of unit test cases to test mm_file_get_content_attr_simple() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - - -#include "utc_mm_fileinfo_common.h" - - -#define TEST_API "mm_file_create_content_attrs_simple" - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_stream_info" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_create_content_attrs_simple_func_01, 1}, - {utc_mm_file_create_content_attrs_simple_func_02, 2}, - {utc_mm_file_create_content_attrs_simple_func_03, 3}, - {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_file_create_content_attrs_simple_func_01() -{ - int err = 0 ; - MMHandleType attrs; - - err = mm_file_create_content_attrs_simple(&attrs,MEDIA_PATH); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - -void utc_mm_file_create_content_attrs_simple_func_02() -{ - int err = 0 ; - MMHandleType attrs; - - err = mm_file_create_content_attrs_simple(&attrs,NULL); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - -void utc_mm_file_create_content_attrs_simple_func_03() -{ - int err = 0 ; - - err = mm_file_create_content_attrs_simple(NULL,NULL); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - - - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_file_create_tag_attrs_from_memory_func.c b/TC/utc/utc_mm_file_create_tag_attrs_from_memory_func.c deleted file mode 100755 index ff22c19..0000000 --- a/TC/utc/utc_mm_file_create_tag_attrs_from_memory_func.c +++ /dev/null @@ -1,157 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_ATTRS_ Uts_Mmf_Fileinfo_Get_Tag_Attrs_From_Memory_ -* @{ -*/ - -/** -* @file uts_mm_fileinfo_get_tag_attrs_from_memory.c -* @brief This is a suit of unit test cases to test mm_file_get_tag_attr_from_memory() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - -#include "utc_mm_fileinfo_common.h" - - - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_tag_attrs_from_memory" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -#define TEST_API "mm_file_create_tag_attrs_from_memory" - -#define READ_FROM_FILE(FILE_PATH, data, size) \ -do{ \ - FILE * fp = fopen (FILE_PATH, "r"); \ - if (fp) { \ - fseek (fp, 0, SEEK_END); \ - size = ftell(fp); \ - fseek (fp, 0, SEEK_SET); \ - data = malloc (size); \ - fread (data, size, sizeof(char), fp); \ - fclose (fp); \ - dts_message ( __func__, "file size = %d", size ); \ - } \ -}while(0) - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_create_tag_attrs_from_memory_func_01, 1}, - {utc_mm_file_create_tag_attrs_from_memory_func_02, 2}, - {utc_mm_file_create_tag_attrs_from_memory_func_03, 3}, - {NULL, 0} -}; - -/* Start up function for each test purpose */ -void startup () -{ -} - -/* Clean up function for each test purpose */ -void cleanup () -{ -} - -void utc_mm_file_create_tag_attrs_from_memory_func_01() -{ - int file_size = 0; - unsigned char * buffer = NULL; - MMHandleType tag_attr = 0; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_tag_attrs_from_memory( &tag_attr, buffer, file_size, MM_FILE_FORMAT_MP3); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - -void utc_mm_file_create_tag_attrs_from_memory_func_02() -{ - int file_size = 0; - unsigned char * buffer = NULL; - MMHandleType tag_attr = 0; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_tag_attrs_from_memory( &tag_attr, NULL, file_size, MM_FILE_FORMAT_MP3); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - -void utc_mm_file_create_tag_attrs_from_memory_func_03() -{ - int file_size = 0; - unsigned char * buffer = NULL; - int err = 0; - - /* Read file */ - READ_FROM_FILE(MEDIA_PATH, buffer, file_size); - - err =mm_file_create_tag_attrs_from_memory( NULL, buffer, file_size, MM_FILE_FORMAT_MP3); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - if (buffer) - free (buffer); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_file_create_tag_attrs_func.c b/TC/utc/utc_mm_file_create_tag_attrs_func.c deleted file mode 100755 index 93e1733..0000000 --- a/TC/utc/utc_mm_file_create_tag_attrs_func.c +++ /dev/null @@ -1,107 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_ATTRS_ Uts_Mmf_Fileinfo_Get_Tag_Attrs_ -* @{ -*/ - -/** -* @file uts_mm_fileinfo_get_tag_attrs.c -* @brief This is a suit of unit test cases to test mm_file_get_tag_attr() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - -#include "utc_mm_fileinfo_common.h" - - - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_tag_attrs" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -#define TEST_API "mm_file_create_tag_attrs" - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_create_tag_attrs_func_01, 1}, - {utc_mm_file_create_tag_attrs_func_02, 2}, - {NULL, 0} -}; - -/* Start up function for each test purpose */ -void startup () -{ -} - -/* Clean up function for each test purpose */ -void cleanup () -{ -} - -void utc_mm_file_create_tag_attrs_func_01() -{ - int err = 0; - MMHandleType attrs; - - err = mm_file_create_tag_attrs(&attrs, MEDIA_PATH); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - -void utc_mm_file_create_tag_attrs_func_02() -{ - int err = 0; - - err = mm_file_create_tag_attrs( NULL, MEDIA_PATH); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); - - return; -} - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_file_destroy_content_attrs_func.c b/TC/utc/utc_mm_file_destroy_content_attrs_func.c deleted file mode 100755 index 44f6679..0000000 --- a/TC/utc/utc_mm_file_destroy_content_attrs_func.c +++ /dev/null @@ -1,115 +0,0 @@ -/*
- * libmm-fileinfo
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @ingroup MMF_FILEINFO_API
-* @addtogroup FILEINFO
-*/
-
-/**
-* @ingroup FILEINFO
-* @addtogroup UTS_MMF_FILEINFO Unit
-*/
-
-/**
-* @ingroup UTS_MMF_FILEINFO Unit
-* @addtogroup UTS_MMF_FILEINFO_GET_ATTRS_ Uts_Mmf_Fileinfo_Get_Content_Attrs_
-* @{
-*/
-
-/**
-* @file utc_mm_fileinfo_free_content_attrs.c
-* @brief This is a suit of unit test cases to test mm_file_free_content_attr() API function
-* @author Haejeong Kim <backto.kim@samsung.com>
-* @version Initial Creation Version 0.1
-* @date 2008.09.08
-* @last update 2011.01.20
-*/
-
-
-#include "utc_mm_fileinfo_common.h"
-
-
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Definitions of "utc_mm_fileinfo_get_tag_attrs"
-//-------------------------------------------------------------------------------------------------
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Declare the global variables and registers and Internal Funntions
-//-------------------------------------------------------------------------------------------------
-
-#define TEST_API "mm_file_destroy_content_attrs"
-
-struct tet_testlist tet_testlist[] = {
- {utc_mm_file_destroy_content_attrs_func_01, 1},
- {utc_mm_file_destroy_content_attrs_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_file_destroy_content_attrs_func_01()
-{
- int err = 0 ;
- int ret1 = 0;
- MMHandleType attr;
-
- ret1 = mm_file_create_content_attrs(&attr, MEDIA_PATH);
- dts_check_eq ("mm_file_create_content_attrs", ret1, MM_ERROR_NONE, "%x", ret1);
-
- err = mm_file_destroy_content_attrs(attr);
- dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err);
-
- return;
-}
-
-void utc_mm_file_destroy_content_attrs_func_02()
-{
- int err = 0;
-
- err = mm_file_destroy_content_attrs(NULL);
- dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err);
-
- return;
-}
-
-
-
-
-
-
-/** @} */
-
-
-
-
diff --git a/TC/utc/utc_mm_file_destroy_tag_attrs_func.c b/TC/utc/utc_mm_file_destroy_tag_attrs_func.c deleted file mode 100755 index a9c5520..0000000 --- a/TC/utc/utc_mm_file_destroy_tag_attrs_func.c +++ /dev/null @@ -1,116 +0,0 @@ -/*
- * libmm-fileinfo
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @ingroup MMF_FILEINFO_API
-* @addtogroup FILEINFO
-*/
-
-/**
-* @ingroup FILEINFO
-* @addtogroup UTS_MMF_FILEINFO Unit
-*/
-
-/**
-* @ingroup UTS_MMF_FILEINFO Unit
-* @addtogroup UTS_MMF_FILEINFO_FREE_ATTRS_ Uts_Mmf_Fileinfo_Free_Tag_Attrs_
-* @{
-*/
-
-/**
-* @file uts_mm_fileinfo_free_tag_attrs.c
-* @brief This is a suit of unit test cases to test mm_file_free_tag_attr() API function
-* @author Haejeong Kim <backto.kim@samsung.com>
-* @version Initial Creation Version 0.1
-* @date 2008.09.08
-* @last update 2011.01.20
-*/
-
-
-#include "utc_mm_fileinfo_common.h"
-
-
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Definitions of "uts_mmf_fileinfo_free_tag_attrs"
-//-------------------------------------------------------------------------------------------------
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Declare the global variables and registers and Internal Funntions
-//-------------------------------------------------------------------------------------------------
-
-#define TEST_API "mm_file_destroy_tag_attrs"
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-/* Initialize TCM data structures */
-
-
-struct tet_testlist tet_testlist[] = {
- {utc_mm_file_destroy_tag_attrs_func_01, 1},
- {utc_mm_file_destroy_tag_attrs_func_02, 2},
- {NULL, 0}
-};
-
-/* Start up function for each test purpose */
-void startup ()
-{
-}
-
-/* Clean up function for each test purpose */
-void cleanup ()
-{
-}
-
-void utc_mm_file_destroy_tag_attrs_func_01()
-{
- int err = 0;
- int err1 = 0;
- MMHandleType attrs;
-
- err1 = mm_file_create_tag_attrs( &attrs, MEDIA_PATH);
- dts_check_eq ("mm_file_create_tag_attrs", err, MM_ERROR_NONE, "%x", err1);
-
- err = mm_file_destroy_tag_attrs(attrs);
- dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err);
-
- return;
-}
-
-void utc_mm_file_destroy_tag_attrs_func_02()
-{
- int err = 0;
-
- err = mm_file_destroy_tag_attrs(NULL);
- dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err);
-
- return;
-}
-
-
-
-
-
-
-/** @} */
-
-
-
-
diff --git a/TC/utc/utc_mm_file_get_attrs_func.c b/TC/utc/utc_mm_file_get_attrs_func.c deleted file mode 100755 index 4dca305..0000000 --- a/TC/utc/utc_mm_file_get_attrs_func.c +++ /dev/null @@ -1,246 +0,0 @@ -/*
- * libmm-fileinfo
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @ingroup MMF_FILEINFO_API
-* @addtogroup FILEINFO
-*/
-
-/**
-* @ingroup FILEINFO
-* @addtogroup UTS_MMF_FILEINFO Unit
-*/
-
-/**
-* @ingroup UTS_MMF_FILEINFO Unit
-* @addtogroup UTS_MMF_FILEINFO_FREE_ATTRS_ Uts_Mmf_Fileinfo_Free_Tag_Attrs_
-* @{
-*/
-
-/**
-* @file uts_mm_fileinfo_free_tag_attrs.c
-* @brief This is a suit of unit test cases to test mm_file_free_tag_attr() API function
-* @author Haejeong Kim <backto.kim@samsung.com>
-* @version Initial Creation Version 0.1
-* @date 2008.09.08
-* @last update 2011.01.20
-*/
-
-
-#include "utc_mm_fileinfo_common.h"
-
-
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Definitions of "uts_mmf_fileinfo_free_tag_attrs"
-//-------------------------------------------------------------------------------------------------
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Declare the global variables and registers and Internal Funntions
-//-------------------------------------------------------------------------------------------------
-#define TEST_API "mm_file_get_attrs"
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-/* Initialize TCM data structures */
-
-
-struct tet_testlist tet_testlist[] = {
- {utc_mm_file_get_attrs_func_01, 1},
- {utc_mm_file_get_attrs_func_02, 2},
- {utc_mm_file_get_attrs_func_03, 3},
- {utc_mm_file_get_attrs_func_04, 4},
- {NULL, 0}
-};
-
-typedef struct _ContentContext {
- int duration;
- int video_codec;
- int video_bitrate;
- int video_fps;
- int video_w;
- int video_h;
- int video_track_id;
- int video_track_num;
- int audio_codec;
- int audio_bitrate;
- int audio_channel;
- int audio_samplerate;
- int audio_track_id;
- int audio_track_num;
-}ContentContext_t;
-
-typedef struct _TagContext {
- char artist[100];
- int artist_len;
- char title[100];
- int title_len;
- char album[100];
- int album_len;
- char genre[100];
- int genre_len;
- char author[100];
- int author_len;
- char date[100]; //int
- int date_len;
-}TagContext_t;
-
-/* Start up function for each test purpose */
-void startup ()
-{
-}
-
-/* Clean up function for each test purpose */
-void cleanup ()
-{
-}
-
-void utc_mm_file_get_attrs_func_01()
-{
- int err = 0 ;
- int ret1 = 0;
- MMHandleType attr;
- ContentContext_t ccontent;
- char *err_attr_name = NULL;
-
- ret1 = mm_file_create_content_attrs(&attr, MEDIA_PATH);
- dts_check_eq ("mm_file_create_content_attrs", ret1, MM_ERROR_NONE, "%x", ret1);
-
- memset (&ccontent, 0, sizeof (ContentContext_t));
- err = mm_file_get_attrs(attr, &err_attr_name,
- MM_FILE_CONTENT_AUDIO_CODEC, &ccontent.audio_codec,
- MM_FILE_CONTENT_AUDIO_SAMPLERATE, &ccontent.audio_samplerate,
- MM_FILE_CONTENT_AUDIO_BITRATE, &ccontent.audio_bitrate,
- MM_FILE_CONTENT_AUDIO_CHANNELS, &ccontent.audio_channel,
- MM_FILE_CONTENT_AUDIO_TRACK_INDEX, &ccontent.audio_track_id,
- MM_FILE_CONTENT_AUDIO_TRACK_COUNT, &ccontent.audio_track_num,
- NULL);
-
- dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err);
- dts_check_eq (TEST_API, ccontent.audio_codec, 2);
- dts_check_eq (TEST_API, ccontent.audio_samplerate, 44100);
- dts_check_eq (TEST_API, ccontent.audio_bitrate, 128000);
- dts_check_eq (TEST_API, ccontent.audio_channel, 2);
- dts_check_eq (TEST_API, ccontent.audio_track_id, 0);
- dts_check_eq (TEST_API, ccontent.audio_track_num, 1);
-
- mm_file_destroy_content_attrs(attr);
-
- if (err_attr_name)
- free (err_attr_name);
-
- return;
-}
-
-void utc_mm_file_get_attrs_func_02()
-{
- int err = 0 ;
- int ret1 = 0;
- MMHandleType attr;
- ContentContext_t ccontent;
-
- char *err_attr_name = NULL;
-
- ret1 = mm_file_create_content_attrs(&attr, MEDIA_PATH);
- dts_check_eq ("mm_file_create_conten_attrs", ret1, MM_ERROR_NONE, "%x", ret1);
-
- memset (&ccontent, 0, sizeof (ContentContext_t));
- err = mm_file_get_attrs(attr, &err_attr_name, "content-audio-codecs" , &ccontent.audio_codec, NULL);
-
- dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x, %s", err, err_attr_name);
-
- mm_file_destroy_content_attrs(attr);
-
- if (err_attr_name)
- free (err_attr_name);
-
- return;
-}
-
-void utc_mm_file_get_attrs_func_03()
-{
- int err = 0 ;
- int ret1 = 0;
- MMHandleType attr;
- TagContext_t ctag;
- char *err_attr_name = NULL;
-
- ret1 = mm_file_create_tag_attrs(&attr, MEDIA_PATH);
- dts_check_eq ("mm_file_create_tag_attrs", ret1, MM_ERROR_NONE, "%x", ret1);
-
- memset (&ctag, 0, sizeof (TagContext_t));
- err = mm_file_get_attrs( attr,
- &err_attr_name,
- MM_FILE_TAG_ARTIST, &ctag.artist, &ctag.artist_len,
- MM_FILE_TAG_ALBUM, &ctag.album, &ctag.album_len,
- MM_FILE_TAG_TITLE, &ctag.title, &ctag.title_len,
- MM_FILE_TAG_GENRE, &ctag.genre, &ctag.genre_len,
- MM_FILE_TAG_AUTHOR, &ctag.author, &ctag.author_len,
- MM_FILE_TAG_DATE, &ctag.date, &ctag.date_len,
- NULL);
-
- dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err);
- dts_check_str_eq (TEST_API, ctag.artist, "Samsung");
- dts_check_str_eq (TEST_API, ctag.album, "Samsung");
- dts_check_str_eq (TEST_API, ctag.title, "Over the horizon");
- dts_check_str_eq (TEST_API, ctag.genre, "Rock");
- dts_check_str_eq (TEST_API, ctag.date, "2011");
-
- mm_file_destroy_tag_attrs(attr);
-
- if (err_attr_name)
- free (err_attr_name);
-
- return;
-}
-
-void utc_mm_file_get_attrs_func_04()
-{
- int err = 0 ;
- int ret1 = 0;
- MMHandleType attr;
- TagContext_t ctag;
- char *err_attr_name = NULL;
-
- ret1 = mm_file_create_tag_attrs(&attr, MEDIA_PATH);
- dts_check_eq ("mm_file_create_tag_attrs", ret1, MM_ERROR_NONE, "%x", ret1);
-
- memset (&ctag, 0, sizeof (TagContext_t));
- err = mm_file_get_attrs( attr, &err_attr_name, "tag-artists" , &ctag.artist, &ctag.artist_len, NULL);
- dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x, %s", err, err_attr_name);
-
- mm_file_destroy_tag_attrs(attr);
-
- if (err_attr_name)
- free (err_attr_name);
-
- return;
-}
-
-
-
-
-
-
-/** @} */
-
-
-
-
diff --git a/TC/utc/utc_mm_file_get_stream_info_func.c b/TC/utc/utc_mm_file_get_stream_info_func.c deleted file mode 100755 index 7fb16e5..0000000 --- a/TC/utc/utc_mm_file_get_stream_info_func.c +++ /dev/null @@ -1,141 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILEINFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_GET_STREAM_INFO_ Uts_Mmf_Fileinfo_Get_Stream_Info_ -* @{ -*/ - -/** -* @file uts_mm_fileinfo_get_stream_info.c -* @brief This is a suit of unit test cases to test mm_file_get_stream_info() API function -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ - -#include "utc_mm_fileinfo_common.h" - - - - -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Definitions of "uts_mmf_fileinfo_get_stream_info" -//------------------------------------------------------------------------------------------------- -/////////////////////////////////////////////////////////////////////////////////////////////////// -// Declare the global variables and registers and Internal Funntions -//------------------------------------------------------------------------------------------------- - -#define TEST_API "mm_file_get_stream_info" - -/////////////////////////////////////////////////////////////////////////////////////////////////// -/* Initialize TCM data structures */ - - -struct tet_testlist tet_testlist[] = { - {utc_mm_file_get_stream_info_func_01, 1}, - {utc_mm_file_get_stream_info_func_02, 2}, - {utc_mm_file_get_stream_info_func_03, 3}, - {utc_mm_file_get_stream_info_func_04, 4}, - {NULL, 0} -}; - -/* Start up function for each test purpose */ -void startup () -{ -} - -/* Clean up function for each test purpose */ -void cleanup () -{ -} - -void utc_mm_file_get_stream_info_func_01() -{ - int err = 0 ; - int audio_stream_num = 0; - int video_stream_num = 0; - - err = mm_file_get_stream_info(MEDIA_PATH2,&audio_stream_num,&video_stream_num); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - dts_check_eq (TEST_API, audio_stream_num, 1); - dts_check_eq (TEST_API, video_stream_num, 1); - - return; -} - -void utc_mm_file_get_stream_info_func_02() -{ - int err = 0 ; - int audio_stream_num = 0; - int video_stream_num = 0; - - err = mm_file_get_stream_info(MEDIA_PATH,&audio_stream_num,&video_stream_num); - dts_check_eq (TEST_API, err, MM_ERROR_NONE, "%x", err); - dts_check_eq (TEST_API, audio_stream_num, 1); - dts_check_eq (TEST_API, video_stream_num, 0); -} - -void utc_mm_file_get_stream_info_func_03() -{ - int err = 0 ; - int video_stream_num =0; - - err = mm_file_get_stream_info(MEDIA_PATH2, NULL, &video_stream_num); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); -} - -void utc_mm_file_get_stream_info_func_04() -{ - int err = 0 ; - - err = mm_file_get_stream_info(MEDIA_PATH2,NULL,NULL); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); -} - -void utc_mm_file_get_stream_info_func_05() -{ - int err = 0 ; - - err = mm_file_get_stream_info(NULL,NULL,NULL); - dts_check_ne (TEST_API, err, MM_ERROR_NONE, "%x", err); -} - - - - -/** @} */ - - - - diff --git a/TC/utc/utc_mm_fileinfo_common.h b/TC/utc/utc_mm_fileinfo_common.h deleted file mode 100755 index 0e04e6b..0000000 --- a/TC/utc/utc_mm_fileinfo_common.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim <backto.kim@samsung.com> - * - * 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. - * - */ - -/** -* @ingroup MMF_FILEINFO_API -* @addtogroup FILE INFO -*/ - -/** -* @ingroup FILEINFO -* @addtogroup UTS_MMF_FILEINFO Unit -*/ - -/** -* @ingroup UTS_MMF_FILEINFO Unit -* @addtogroup UTS_MMF_FILEINFO_COMMON_ -* @{ -*/ - -/** -* @file uts_mmf_fileinfo_common.h -* @brief This is a suit of unit test cases to test mm-fileinfo API -* @author Haejeong Kim <backto.kim@samsung.com> -* @version Initial Creation Version 0.1 -* @date 2008.09.08 -* @last update 2011.01.20 -*/ -#ifndef __UTS_MMF_FILEINFO_COMMON_H_ -#define __UTS_MMF_FILEINFO_COMMON_H_ - -#include <mm_file.h> -#include <mm_message.h> -#include <mm_error.h> -#include <mm_types.h> -#include <string.h> -#include <tet_api.h> -#include <unistd.h> - -#define MEDIA_PATH "/opt/media/Music/Over the horizon.mp3" -#define MEDIA_PATH2 "/opt/media/Videos/Helicopter.mp4" - - -void startup(); -void cleanup(); - -void (*tet_startup)() = startup; -void (*tet_cleanup)() = cleanup; - -void utc_mm_file_create_tag_attrs_func_01(); -void utc_mm_file_create_tag_attrs_func_02(); - -void utc_mm_file_create_content_attrs_func_01(); -void utc_mm_file_create_content_attrs_func_02(); - -void utc_mm_file_destroy_content_attrs_func_01(); -void utc_mm_file_destroy_content_attrs_func_02(); - -void utc_mm_file_destroy_tag_attrs_func_01(); -void utc_mm_file_destroy_tag_attrs_func_02(); - -void utc_mm_file_get_stream_info_func_01(); -void utc_mm_file_get_stream_info_func_02(); -void utc_mm_file_get_stream_info_func_03(); -void utc_mm_file_get_stream_info_func_04(); - -void utc_mm_file_create_content_attrs_simple_func_01(); -void utc_mm_file_create_content_attrs_simple_func_02(); -void utc_mm_file_create_content_attrs_simple_func_03(); - -void utc_mm_file_create_content_attrs_from_memory_func_01(); -void utc_mm_file_create_content_attrs_from_memory_func_02(); -void utc_mm_file_create_content_attrs_from_memory_func_03(); - -void utc_mm_file_create_tag_attrs_from_memory_func_01(); -void utc_mm_file_create_tag_attrs_from_memory_func_02(); -void utc_mm_file_create_tag_attrs_from_memory_func_03(); - -void utc_mm_file_get_attrs_func_01(); -void utc_mm_file_get_attrs_func_02(); -void utc_mm_file_get_attrs_func_03(); -void utc_mm_file_get_attrs_func_04(); - -#endif //__UTS_MMF_FILEINFO_COMMON_H_ - - diff --git a/debian/changelog b/debian/changelog deleted file mode 100755 index 8986111..0000000 --- a/debian/changelog +++ /dev/null @@ -1,876 +0,0 @@ -libmm-fileinfo (0.5.0-11) unstable; urgency=low - - * increase retry search count when make video thumbnail - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-11 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 16 Aug 2012 18:03:16 +0900 - -libmm-fileinfo (0.5.0-10) unstable; urgency=low - - * increase retry search count when make video thumbnail - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-10 - - -- Haejeong Kim <backto.kim@samsung.com> Mon, 13 Aug 2012 18:04:50 +0900 - -libmm-fileinfo (0.5.0-9) unstable; urgency=low - - * duration bug fix (temporary) - * extract metadata eventhough no file extension - * merger from old git - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-9 - - -- Haejeong Kim <backto.kim@samsung.com> Wed, 08 Aug 2012 17:18:20 +0900 - -libmm-fileinfo (0.5.0-8) unstable; urgency=low - - * version up - * merger from old git - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-8 - - -- root <backto.kim@samsung.com> Tue, 07 Aug 2012 15:40:46 +0900 - -libmm-fileinfo (0.5.0-7) unstable; urgency=low - - * bug fix of parsing mmf - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-7 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 26 Jul 2012 14:05:10 +0900 - -libmm-fileinfo (0.5.0-6) unstable; urgency=low - - * fix get iTunes meta data - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-6 - - -- Haejeong Kim <backto.kim@samsung.com> Wed, 13 Jun 2012 17:21:03 +0900 - -libmm-fileinfo (0.5.0-5) unstable; urgency=low - - * bug fix of protocol for FFMpeg - * modify test code - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-5 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 07 Jun 2012 12:26:59 +0900 - -libmm-fileinfo (0.5.0-4) unstable; urgency=low - - * apply new DRM Service - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-4 - - -- Haejeong Kim <backto.kim@samsung.com> Tue, 22 May 2012 13:38:31 +0900 - -libmm-fileinfo (0.5.0-3) unstable; urgency=low - - * TYER(year) and TRDA are replaced by the TDRC in id3tag v2.4 - * bug fix of extract copyright, genre, description, tracknumber - * fix TC fail - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-3 - - -- Haejeong Kim <backto.kim@samsung.com> Fri, 08 Feb 2012 12:58:32 +0900 - -libmm-fileinfo (0.5.0-2) unstable; urgency=low - - * link libld library - * code clean up - * Tizen Open Tag - libmm-fileinfo_0.5.0-2 - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-2 - - -- Haejeong Kim <backto.kim@samsung.com> Tue, 03 Jan 2012 17:03:09 +0900 - -libmm-fileinfo (0.5.0-1) unstable; urgency=low - - * using extracted metadata by ffmpeg - * Git : slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.5.0-1 - - -- Haejeong Kim <backto.kim@samsung.com> Fri, 30 Dec 2011 14:11:39 +0900 - -libmm-fileinfo (0.4.0-6) unstable; urgency=low - - * add code for check lyric size - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-6 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 08 Dec 2011 12:36:31 +0900 - -libmm-fileinfo (0.4.0-5) unstable; urgency=low - - * apply changed ffmpeg library. ffmpeg library changed to .so - * code clean up for SDK release - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-5 - - -- Haejeong Kim <backto.kim@samsung.com> Mon, 06 Dec 2011 18:03:48 +0900 - -libmm-fileinfo (0.4.0-4) unstable; urgency=low - - * resolution bug fix. - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-4 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 24 Nov 2011 18:17:24 +0900 - -libmm-fileinfo (0.4.0-3) unstable; urgency=low - - * add code for getting Recording date(ID3tag) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-3 - - -- Haejeong Kim <backto.kim@samsung.com> Fri, 11 Nov 2011 14:18:43 +0900 - -libmm-fileinfo (0.4.0-2) unstable; urgency=low - - * fix prevent defect - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-2 - - -- Haejeong Kim <backto.kim@samsung.com> Mon, 07 Nov 2011 12:39:31 +0900 - -libmm-fileinfo (0.4.0-1) unstable; urgency=low - - * Add code for get SYLT - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-1 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 03 Nov 2011 16:13:11 +0900 - -libmm-fileinfo (0.4.0-0) unstable; urgency=low - - * apply new FFMPEG_0.8.5 - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.4.0-0 - - -- Haejeong Kim <backto.kim@samsung.com> Fri, 28 Oct 2011 12:51:47 +0900 - -libmm-fileinfo (0.3.2-4) unstable; urgency=low - - * add code for get albumart mime type - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.2-4 - - -- Haejeong Kim <backto.kim@samsung.com> Mon, 24 Oct 2011 11:04:11 +0900 - -libmm-fileinfo (0.3.2-3) unstable; urgency=low - - * add code for extracting SYLT(synclyrics) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.2-3 - - -- Haejeong Kim <backto.kim@samsung.com> Thu, 13 Oct 2011 12:49:34 +0900 - -libmm-fileinfo (0.3.2-2) unstable; urgency=low - - * add code for extracting USLT(Unsynclyrics) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.2-2 - - -- Haejeong Kim <backto.kim@samsung.com> Wed, 12 Oct 2011 13:09:13 +0900 - -libmm-fileinfo (0.3.2-1) unstable; urgency=low - - * Fix TC (update content path) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.2-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 06 Oct 2011 20:12:22 +0900 - -libmm-fileinfo (0.3.2-0) unstable; urgency=low - - * Enhance error handling in imy parsing - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.2-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 27 Sep 2011 14:55:21 +0900 - -libmm-fileinfo (0.3.1-0) unstable; urgency=low - - * Disable iTunes meta parsing - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.1-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 26 Sep 2011 13:17:33 +0900 - -libmm-fileinfo (0.3.0-0) unstable; urgency=low - - * Reupload due to ffmpeg update (VC-1 decoder enable) - * Disable iTunes meta parsing - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.3.0-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 16 Sep 2011 12:02:02 +0900 - -libmm-fileinfo (0.2.9-2) unstable; urgency=low - - * Remove GTK dependancy - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.9-2 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 06 Sep 2011 17:52:30 +0900 - -libmm-fileinfo (0.2.9-1) unstable; urgency=low - - * reupload for ffmpeg update - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.9-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 30 Aug 2011 11:14:27 +0900 - -libmm-fileinfo (0.2.9-0) unstable; urgency=low - - * Remove GPL code (thumbnail) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.9-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 26 Aug 2011 13:31:33 +0900 - -libmm-fileinfo (0.2.8-0) unstable; urgency=low - - * Fix for prevent - * update for storage path changed - * add build option. (enanble-gtk, disable-gtk) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.8-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 22 Aug 2011 14:54:56 +0900 - -libmm-fileinfo (0.2.7-15) unstable; urgency=low - - * Code cleanup - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-15 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 13 Jul 2011 19:43:07 +0900 - -libmm-fileinfo (0.2.7-14) unstable; urgency=low - - * Fix genre parsing - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-14 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 29 Jun 2011 12:05:54 +0900 - -libmm-fileinfo (0.2.7-13) unstable; urgency=low - - * add execstack - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-13 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 22 Jun 2011 19:48:32 +0900 - -libmm-fileinfo (0.2.7-12) unstable; urgency=low - - * Support dlopen & mmap selection (both disabled yet) - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-12 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 08 Jun 2011 16:08:56 +0900 - -libmm-fileinfo (0.2.7-11) unstable; urgency=low - - * Modify CFLAGS - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-11 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 03 May 2011 13:23:21 +0900 - -libmm-fileinfo (0.2.7-10) unstable; urgency=low - - * Reupload for drm-service update - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-10 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 07 Apr 2011 19:44:49 +0900 - -libmm-fileinfo (0.2.7-9) unstable; urgency=low - - * Fix for prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-9 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 15 Feb 2011 11:44:26 +0900 - -libmm-fileinfo (0.2.7-8) unstable; urgency=low - - * Update TC - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-8 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 24 Jan 2011 15:27:58 +0900 - -libmm-fileinfo (0.2.7-7) unstable; urgency=low - - * Fix for prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-7 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 19 Jan 2011 19:24:03 +0900 - -libmm-fileinfo (0.2.7-6) unstable; urgency=low - - * remove mm_attrs.h from tc common header - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-6 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Tue, 04 Jan 2011 14:05:53 +0900 - -libmm-fileinfo (0.2.7-5) unstable; urgency=low - - * Fix checking mp3 header - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-5 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 14 Dec 2010 16:08:18 +0900 - -libmm-fileinfo (0.2.7-4) unstable; urgency=low - - * Fix to return proper result - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-4 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 10 Dec 2010 13:59:26 +0900 - -libmm-fileinfo (0.2.7-3) unstable; urgency=low - - * Support file:// & Code Cleanup - * Git : 165.213.180.234:slp/pkgs/l/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-3 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 06 Dec 2010 14:31:08 +0900 - -libmm-fileinfo (0.2.7-2) unstable; urgency=low - - * Remove ffmpeg dependancy from dev package - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-2 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 01 Dec 2010 12:30:22 +0900 - -libmm-fileinfo (0.2.7-1) unstable; urgency=low - - * Fix for as-needed - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 24 Nov 2010 20:46:57 +0900 - -libmm-fileinfo (0.2.7-0) unstable; urgency=low - - * threats playready drm content to normal contents - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.7-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Sat, 20 Nov 2010 15:48:38 +0900 - -libmm-fileinfo (0.2.6-1) unstable; urgency=low - - * Add fPIC, hash-style - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.6-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 19 Nov 2010 12:05:54 +0900 - -libmm-fileinfo (0.2.6-0) unstable; urgency=low - - * Fix bugs in tag attr memory api - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.6-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Sat, 13 Nov 2010 12:49:04 +0900 - -libmm-fileinfo (0.2.5-0) unstable; urgency=low - - * Remove aricent code & sconscript - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.5-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 10 Nov 2010 15:38:52 +0900 - -libmm-fileinfo (0.2.4-0) unstable; urgency=low - - * Implement matroska header check function. - * Check QT header with MP4 header check function. - * Enable gtk view on thumbnail testsuite - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.4-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 09 Nov 2010 11:06:48 +0900 - -libmm-fileinfo (0.2.3-0) unstable; urgency=low - - * Support iTunes artist tag in mp4 - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.3-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 28 Oct 2010 15:38:41 +0900 - -libmm-fileinfo (0.2.2-0) unstable; urgency=low - - * Support iTunes genre tag in mp4 - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.2-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 27 Oct 2010 18:03:17 +0900 - -libmm-fileinfo (0.2.1-1) unstable; urgency=low - - * Revise doxygen comment - * Revise COPYRIGHT - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.1-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Sat, 23 Oct 2010 16:58:05 +0900 - -libmm-fileinfo (0.2.1-0) unstable; urgency=low - - * 1. Support id3 tag extented header skip - * 2. Fix offset calculation when no explicit MIME type in APIC tag - * 3. Update doxygen - * Tag : libmm-fileinfo_0.2.1-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 20 Oct 2010 16:48:46 +0900 - -libmm-fileinfo (0.2.0-0) unstable; urgency=low - - * add api to get attributes and rename - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.2.0-0 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Fri, 15 Oct 2010 17:06:29 +0900 - -libmm-fileinfo (0.1.4-19) unstable; urgency=low - - * add TCs and modify attrs api - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-19 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Wed, 29 Sep 2010 13:17:32 +0900 - -libmm-fileinfo (0.1.4-18) unstable; urgency=low - - * fix build error - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-18 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Sat, 18 Sep 2010 18:30:45 +0900 - -libmm-fileinfo (0.1.4-17) unstable; urgency=low - - * remove mm_attrs.h from header - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-17 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Sat, 18 Sep 2010 18:24:03 +0900 - -libmm-fileinfo (0.1.4-16) unstable; urgency=low - - :* - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Sat, 18 Sep 2010 15:35:10 +0900 - -libmm-fileinfo (0.1.4-15) unstable; urgency=low - - * update control - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-15 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Fri, 17 Sep 2010 12:19:26 +0900 - -libmm-fileinfo (0.1.4-14) unstable; urgency=low - - * Add common-internal-dev dependency - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-14 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Fri, 17 Sep 2010 12:14:27 +0900 - -libmm-fileinfo (0.1.4-13) unstable; urgency=low - - * Repackaging for EFL update - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-13 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Sat, 11 Sep 2010 09:56:17 +0900 - -libmm-fileinfo (0.1.4-12) unstable; urgency=low - - * Repackage for drm-service update - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-12 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 02 Sep 2010 17:15:31 +0900 - -libmm-fileinfo (0.1.4-11) unstable; urgency=low - - * Repackage for db-util update - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-11 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 31 Aug 2010 18:55:59 +0900 - - * remove useless Depends pkgs - * Git : 165.213.180.234:/git/slp/pkgs/libmm-fileinfo - * Tag : libmm-fileinfo_0.1.4-10 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Thu, 12 Aug 2010 17:55:13 +0900 - -libmm-fileinfo (0.1.4-9) unstable; urgency=low - - * apply doxygen policy to generate doc - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-9 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Mon, 05 Jul 2010 14:29:57 +0900 - -libmm-fileinfo (0.1.4-8) unstable; urgency=low - - * remove old dlog dependency - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-8 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Fri, 25 Jun 2010 19:26:57 +0900 - -libmm-fileinfo (0.1.4-7) unstable; urgency=low - - * Reupload for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-7 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 17 Jun 2010 13:52:43 +0900 - -libmm-fileinfo (0.1.4-6) unstable; urgency=low - - * Reuploading to use new dlog - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-6 - - -- Heungsoon Rim <hs06.rim@samsung.com> Wed, 16 Jun 2010 10:13:30 +0900 - -libmm-fileinfo (0.1.4-5) unstable; urgency=low - - * Remove mhal from depends - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-5 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 15 Jun 2010 19:30:32 +0900 - -libmm-fileinfo (0.1.4-4) unstable; urgency=low - - * Reupload for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-4 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 15 Jun 2010 19:01:10 +0900 - -libmm-fileinfo (0.1.4-3) unstable; urgency=low - - * Remove DEPRECATED define - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-3 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 11 Jun 2010 17:07:51 +0900 - -libmm-fileinfo (0.1.4-2) unstable; urgency=low - - * Repackaging for ffmpeg update (dv demuxer enable) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-2 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 07 Jun 2010 12:28:38 +0900 - -libmm-fileinfo (0.1.4-1) unstable; urgency=low - - * Repackaging - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-1 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Fri, 04 Jun 2010 00:52:57 +0900 - -libmm-fileinfo (0.1.4-0) unstable; urgency=low - - * Remove old style APIs - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.4-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 03 Jun 2010 21:18:33 +0900 - -libmm-fileinfo (0.1.3-11) unstable; urgency=low - - * Replace folat type of attribute as double - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-11 - - -- YoungHwan Ahn <younghwan_.an@samsung.com> Sun, 30 May 2010 00:52:45 +0900 - -libmm-fileinfo (0.1.3-10) unstable; urgency=low - - * Reupload - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-10 - - -- KwangHui Cho <kwanghui.cho@samsung.com> Sat, 29 May 2010 14:05:08 +0900 - -libmm-fileinfo (0.1.3-9) unstable; urgency=low - - * Use sync() instead of system() - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-9 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 24 May 2010 16:36:06 +0900 - -libmm-fileinfo (0.1.3-8) unstable; urgency=low - - * Add libmm-mhal-sdk-dev to dev depend - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-8 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 12 May 2010 13:25:59 +0900 - -libmm-fileinfo (0.1.3-7) unstable; urgency=low - - * Remove missing postinst - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-7 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 11 May 2010 21:14:02 +0900 - -libmm-fileinfo (0.1.3-6) unstable; urgency=low - - * Remove postinst & Remove MHAL dependancy - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-6 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 11 May 2010 15:57:53 +0900 - -libmm-fileinfo (0.1.3-5) unstable; urgency=low - - * Revert to install *.la - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-5 - - -- Jeon Hee Chul <heechul.jeon@samsung.com> Tue, 04 May 2010 09:39:50 +0900 - -libmm-fileinfo (0.1.3-4) unstable; urgency=low - - * Change debian/control & exclude .la - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-4 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 03 May 2010 21:04:27 +0900 - -libmm-fileinfo (0.1.3-3) unstable; urgency=low - - * Add posix style API & Remove unused #ifdef - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-3 - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 03 May 2010 12:44:20 +0900 - -libmm-fileinfo (0.1.3-2) unstable; urgency=low - - * Add postinst - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-2 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 20 Apr 2010 21:42:23 +0900 - -libmm-fileinfo (0.1.3-1) unstable; urgency=low - - * Repackage for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-1 - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 14 Apr 2010 23:07:07 +0900 - -libmm-fileinfo (0.1.3-0) unstable; urgency=low - - * Check for OMA DRM - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.3-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 13 Apr 2010 12:45:38 +0900 - -libmm-fileinfo (0.1.2-0) unstable; urgency=low - - * Enable Matroska & QT - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-fileinfo-0.1 - * Tag : libmm-fileinfo_0.1.2-0 - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 09 Apr 2010 14:35:51 +0900 - -libmm-fileinfo (0.1.1-1) unstable; urgency=low - - * dos2unix - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 05 Apr 2010 14:05:06 +0900 - -libmm-fileinfo (0.1.1-0) unstable; urgency=low - - * Repackageing for DRM module update - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 01 Apr 2010 11:02:04 +0900 - -libmm-fileinfo (0.1-26) unstable; urgency=low - - * 1. Fix so linking in .pc - * 2. Fix dlopen/dlclose bug - - -- Seungbae Shin <seungbae.shin@samsung.com> Sat, 27 Mar 2010 00:29:53 +0900 - -libmm-fileinfo (0.1-25) unstable; urgency=low - - * Repackaging for FFMPEG update - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 25 Mar 2010 16:36:51 +0900 - -libmm-fileinfo (0.1-24) unstable; urgency=low - - * Reupload because of ffmpeg building - - -- Wonhyung Cho <wh01.cho@samsung.com> Thu, 25 Mar 2010 14:22:50 +0900 - -libmm-fileinfo (0.1-23) unstable; urgency=low - - * Toolchain Upgrade - - -- Wonhyung Cho <wh01.cho@samsung.com> Thu, 25 Mar 2010 14:01:44 +0900 - -libmm-fileinfo (0.1-22) unstable; urgency=low - - * Add missing file for DRM - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 24 Mar 2010 20:50:15 +0900 - -libmm-fileinfo (0.1-21) unstable; urgency=low - - * Fix DRM dependancy - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 24 Mar 2010 19:53:23 +0900 - -libmm-fileinfo (0.1-20) unstable; urgency=low - - * Enable DRM - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 24 Mar 2010 19:04:28 +0900 - -libmm-fileinfo (0.1-19) unstable; urgency=low - - * Modify null check for MMFileGetContentAttrSimple() API - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 22 Mar 2010 11:56:39 +0900 - -libmm-fileinfo (0.1-18) unstable; urgency=low - - * Repackaging for rebuild on server side (to build debug package) - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 18 Mar 2010 14:33:18 +0900 - -libmm-fileinfo (0.1-17) unstable; urgency=low - - * Add debug package - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 18 Mar 2010 13:44:15 +0900 - -libmm-fileinfo (0.1-16) unstable; urgency=low - - * Add test for MMFileGetStreamInfo() - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 12 Mar 2010 14:56:02 +0900 - -libmm-fileinfo (0.1-15) unstable; urgency=low - - * Repacking for mm-common update - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 11 Mar 2010 12:04:20 +0900 - -libmm-fileinfo (0.1-14) unstable; urgency=low - - * argument NULL checking added - - -- Seungbae Shin <seungbae.shin@samsung.com> Wed, 10 Mar 2010 20:25:43 +0900 - -libmm-fileinfo (0.1-13) unstable; urgency=low - - * Modify section to main - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 05 Mar 2010 16:39:28 +0900 - -libmm-fileinfo (0.1-12) unstable; urgency=low - - * Modify section to non-free - - -- Seungbae Shin <seungbae.shin@samsung.com> Mon, 22 Feb 2010 14:19:13 +0900 - -libmm-fileinfo (0.1-11) unstable; urgency=low - - * Fix for prevent - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 19 Feb 2010 20:27:57 +0900 - -libmm-fileinfo (0.1-10) unstable; urgency=low - - * Enable new algorithm - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 05 Feb 2010 00:40:23 +0900 - -libmm-fileinfo (0.1-9) unstable; urgency=low - - * Apply new algorithm to search good thumbnail - - -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 04 Feb 2010 17:14:26 +0900 - -libmm-fileinfo (0.1-8) unstable; urgency=low - - * enable WMV support - - -- Seungbae Shin <seungbae.shin@samsung.com> Tue, 02 Feb 2010 19:38:24 +0900 - -libmm-fileinfo (0.1-7) unstable; urgency=low - - * Modify for easy debugging (TESTMODE & DUMP) - - -- Seungbae Shin <seungbae.shin@samsung.com> Fri, 29 Jan 2010 19:58:05 +0900 - -libmm-fileinfo (0.1-6) unstable; urgency=low - - * Merge from H2 (fix author/composer issue, add conductor) - - -- Shin Seung Bae <seungbae.shin@samsung.com> Tue, 26 Jan 2010 15:06:36 +0900 - -libmm-fileinfo (0.1-5) unstable; urgency=low - - * Add to group FILEINFO in mm_file.h - - -- Shin Seung Bae <seungbae.shin@samsung.com> Sat, 23 Jan 2010 18:08:58 +0900 - -libmm-fileinfo (0.1-4) unstable; urgency=low - - * Enable thumbnail-viewer - - -- Shin Seung Bae <seungbae.shin@samsung.com> Fri, 15 Jan 2010 21:57:54 +0900 - -libmm-fileinfo (0.1-3) unstable; urgency=low - - * Fix build break - - -- Shin Seung Bae <seungbae.shin@samsung.com> Wed, 30 Dec 2009 19:09:59 +0900 - -libmm-fileinfo (0.1-2) unstable; urgency=low - - * Fix static link issue - - -- Shin Seung Bae <seungbae.shin@samsung.com> Wed, 30 Dec 2009 19:09:59 +0900 - -libmm-fileinfo (0.1-1) unstable; urgency=low - - * Initial Release. - - -- Shin Seung Bae <seungbae.shin@samsung.com> Tue, 08 Dec 2009 23:38:34 +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 41c0818..0000000 --- a/debian/control +++ /dev/null @@ -1,33 +0,0 @@ -Source: libmm-fileinfo -Section: libs -Priority: extra -Maintainer: Shin Seung Bae <seungbae.shin@samsung.com>, JongHyuk Choi <jhchoi.choi@samsung.com>, Haejeong Kim <backto.kim@samsung.com> -Uploaders: Shin Seung Bae <seungbae.shin@samsung.com>, JongHyuk Choi <jhchoi.choi@samsung.com>, Haejeong Kim <backto.kim@samsung.com>, YoungHwan Ahn <younghwan_.an@samsung.com> -Build-Depends: debhelper (>= 5), autotools-dev, libmm-common-dev, libglib2.0-dev, libmm-log-dev, libavutil-dev, libavcodec-dev, libavformat-dev, drm-client-dev, libmm-common-internal-dev, execstack, libswscale-dev -Standards-Version: 3.7.2 - -Package: libmm-fileinfo -Section: libs -Architecture: any -Depends: libmm-common, libglib2.0-0, libmm-log, drm-client-0, libavcodec, libavutil, libavformat, libswscale -Description: Multimedia Framework FileInfo Library - -Package: libmm-fileinfo-dev -XB-Generate-Docs: yes -Section: libdevel -Architecture: any -Depends: libmm-fileinfo (= ${Source-Version}), libmm-common-dev, libglib2.0-dev, libmm-log-sdk-dev, drm-client-dev, libavutil-dev, libavcodec-dev, libavformat-dev, libswscale-dev -Description: Multimedia Framework FileInfo Library (DEV) - -Package: libmm-fileinfo-dbg -Section: debug -Architecture: any -Depends: libmm-fileinfo (= ${Source-Version}) -Description: Multimedia Framework FileInfo Library (unstripped) - - -Package: mm-fileinfo-tools -Section: libs -Architecture: any -Depends: libmm-common, libglib2.0-0, libmm-log, drm-client-0 -Description: Multimedia Framework FileInfo Tools diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 8eeb890..0000000 --- a/debian/copyright +++ /dev/null @@ -1,14 +0,0 @@ -Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. -Contact: Haejeong Kim <backto.kim@samsung.com> - -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 e845566..0000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README diff --git a/debian/libmm-fileinfo-dev.install.in b/debian/libmm-fileinfo-dev.install.in deleted file mode 100644 index 9c3ae7a..0000000 --- a/debian/libmm-fileinfo-dev.install.in +++ /dev/null @@ -1,4 +0,0 @@ -@PREFIX@/include/* -@PREFIX@/lib/*.la -@PREFIX@/lib/*.a -@PREFIX@/lib/pkgconfig/* diff --git a/debian/libmm-fileinfo.install.in b/debian/libmm-fileinfo.install.in deleted file mode 100644 index bf766f0..0000000 --- a/debian/libmm-fileinfo.install.in +++ /dev/null @@ -1 +0,0 @@ -@PREFIX@/lib/*.so* diff --git a/debian/mm-fileinfo-tools.install.in b/debian/mm-fileinfo-tools.install.in deleted file mode 100644 index 7346c45..0000000 --- a/debian/mm-fileinfo-tools.install.in +++ /dev/null @@ -1 +0,0 @@ -@PREFIX@/bin/* diff --git a/debian/rules b/debian/rules deleted file mode 100755 index a357515..0000000 --- a/debian/rules +++ /dev/null @@ -1,121 +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) - -CFLAGS += -Wall -g -fPIC -LDFLAGS ?= -PREFIX ?= /usr -DATADIR ?= /opt - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed - -config.status: configure - dh_testdir - ./autogen.sh - # Add here commands to configure the package. - CFLAGS="$(CFLAGS) -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="$(LDFLAGS)" ./configure --prefix=$(PREFIX) --disable-testmode --disable-dump --enable-drm --enable-dyn --disable-iommap --disable-gtk - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/mm-player.sgml > mm-player.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-player. - $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - execstack -c $(CURDIR)/debian/tmp/usr/lib/libmmfile_formats.so.0.0.0 - - -# 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-fileinfo-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 |