SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(BINDIR "${PREFIX}/bin")
SET(RESDIR "${PREFIX}/res")
-SET(DATADIR "/opt/apps/org.tizen.video-player/data")
+SET(THUMBDIR "/opt/usr/media/.video_thumb")
SET(LOCALEDIR "${RESDIR}/locale")
SET(ICONDIR "${RESDIR}/icons/default/small")
SET(EDJDIR "${RESDIR}/edje")
ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
-ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"")
+ADD_DEFINITIONS("-DTHUMBDIR=\"${THUMBDIR}\"")
ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
ADD_DEFINITIONS("-DICONDIR=\"${ICONDIR}\"")
ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"")
# install desktop file & icon, edje #
######################################
-INSTALL(DIRECTORY DESTINATION ${DATADIR})
+INSTALL(DIRECTORY DESTINATION ${THUMBDIR})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edc/main.edj DESTINATION ${EDJDIR})
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edc/vp_font.edj DESTINATION ${EDJDIR})
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edc/popup_progressbar.edj DESTINATION ${EDJDIR})
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edc/vp-speedbox-popup.edj DESTINATION ${EDJDIR})
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edc/vp-volume-popup.edj DESTINATION ${EDJDIR})
-
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.video-player.xml DESTINATION /opt/share/packages)
-
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/images/org.tizen.video-player.png DESTINATION /opt/share/icons/default/small/)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.video-player.xml DESTINATION /usr/share/packages)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/images/org.tizen.video-player.png DESTINATION /usr/share/icons/default/small/)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/images/icon/ DESTINATION ${RESDIR}/images/icon)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/images/toolbar/ DESTINATION ${RESDIR}/images/toolbar)
+++ /dev/null
-video-player (0.1.5) unstable; urgency=low
-
- * Initial release.
- * Git: pkgs/v/video-player
- * Tag : video-player_0.1.5
-
- -- jongdong.lee <jongdong.lee@samsung.com> Tue, 06 Dec 2011 16:49:05 -0800
+++ /dev/null
-Source: video-player
-Section: video
-Priority: optional
-Maintainer: JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>, JuBong Lee <jubong@samsung.com>
-Uploaders: JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>, JuBong Lee <jubong@samsung.com>
-Build-Depends: debhelper (>= 5),libelm-dev, libappcore-efl-dev, libui-gadget-dev, libslp-utilx-dev, libmm-common-dev, libmm-player-dev, libmm-sound-dev, dlog-dev, libslp-pm-dev, libmm-session-dev, libmm-ta-dev, libmm-fileinfo-dev, libappcore-common-dev, libmedia-service-dev, libxml2-0, syspopup-caller-dev, libecore, libecore-file, libecore-imf, libecore-x, libecore-input, libecore-evas, libeina, libevas, libedje, libappsvc-dev, libail-0-dev, libefreet-dev, libicu-dev, execstack
-Standards-Version: 3.7.2
-
-Package: org.tizen.video-player
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libappcore-efl-0, libslp-utilx-0, libslp-sensor-0, libmm-common, libmm-player, libmm-log, libmm-ta, libmm-sound-0, libmm-fileinfo, libdlog-0, libmm-session-0, libslp-setting-0, libappcore-efl-0, libui-gadget-0, libmm-utility, libxml2-0, libmedia-service, libpng12-0, libappsvc-0, libail-0, libmedia-utils
-Description: Video & streaming player
-
-Package: org.tizen.video-player-dbg
-Section: debug
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, org.tizen.video-player (= ${Source-Version})
-Description: Video & streaming player (unstripped)
-
+++ /dev/null
-/opt/apps/org.tizen.video-player/bin/*
-/opt/apps/org.tizen.video-player/res/locale/*
-/opt/apps/org.tizen.video-player/res/icons/default/small/*
-/opt/apps/org.tizen.video-player/res/edje/*
-/opt/apps/org.tizen.video-player/res/images/*
-/opt/apps/org.tizen.video-player/data
-/opt/share/applications/*
+++ /dev/null
-@PREFIX@/bin/*
-@PREFIX@/res/locale/*
-@PREFIX@/res/icons/default/small/*
-@PREFIX@/res/edje/*
-@PREFIX@/res/images/*
-@PREFIX@/data
-/opt/share/applications/*
+++ /dev/null
-#!/bin/sh
-# Create a directory to store video-player bookmark pictures and stuffs.
-# mkdir -p /opt/data/video-player
-
-if [ ${USER} == "root" ]
-then
- #chown 5000:5000 /opt/data/video-player
- chown -R 5000:5000 /opt/apps/org.tizen.video-player/data
-
-fi
+++ /dev/null
-#!/bin/sh
-# Create a directory to store video-player bookmark pictures and stuffs.
-# mkdir -p /opt/data/video-player
-
-if [ ${USER} == "root" ]
-then
- #chown 5000:5000 /opt/data/video-player
- chown -R 5000:5000 /opt/apps/org.tizen.video-player/data
-
-fi
+++ /dev/null
-#!/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
-
-
-CFLAGS += -Wall -g
-LDFLAGS ?=
-PREFIX ?= /opt/apps/org.tizen.video-player
-RESDIR ?= /opt/apps/org.tizen.video-player/res
-DATADIR ?= /opt/apps/org.tizen.video-player/data
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-CFLAGS += -fpie
-LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed -pie
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" cmake . -DCMAKE_INSTALL_PREFIX=$(PREFIX)
-
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/video-player.sgml > video-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#@RESDIR@#$(RESDIR)#g" $${f%.in}; \
- sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
- done
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
-
- find ./ -depth -type d -name "CMakeFiles" -exec rm {} -rf \;
- find ./ -name "Makefile" -exec rm {} -f \;
- find ./ -name "cmake_install.cmake" -exec rm {} -f \;
- rm -rf CMakeCache.txt
- rm -rf install_manifest.txt
- rm -rf *.pc
- rm -rf *.so
- rm -rf org.tizen.video-player.desktop
- rm -rf res/edc/*.edj
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/video-player.
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
- execstack -c $(CURDIR)/debian/tmp/opt/apps/org.tizen.video-player/bin/video-player
-
-
-# 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
- dh_strip --dbg-package=org.tizen.video-player-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 configure
+++ /dev/null
-shlibs:Depends=libdbus-1-0 (>= 1.1.1), libeet1, libeina-svn-04 (>= 0.0.2.062+svn20090910), libelm-svn-01, libembryo0, libglib2.0-0, libgstreamer-plugins-base0.10-0, libgstreamer0.10-0, libimlib2, zlib1g
#undef LOCALEDIR
#endif
-#define PREFIX "/usr/apps/com.samsung.video-player"
-#define EDJ_PATH "/usr/apps/com.samsung.video-player/res/edje"
-#define LOCALEDIR "/usr/apps/com.samsung.video-player/res/locale"
+#define PREFIX "/usr/apps/org.tizen.video-player"
+#define EDJ_PATH "/usr/apps/org.tizen.video-player/res/edje"
+#define LOCALEDIR "/usr/apps/org.tizen.video-player/res/locale"
+
-#define VIDEO_BOOKMARK_DIR "/opt"PREFIX"/data"
-#define VIDEO_TRIM_DATA_DIR "/opt"PREFIX"/data"
#define VIDEO_CHAPTER_VIEW_DATA_DIR "/opt/usr/media/.video_thumb"
<label>Video player</label>
<author email="jongdong.lee@samsung.com" href="www.samsung.com">JongDong Lee</author>
<description>Video player Application</description>
- <ui-application appid="org.tizen.video-player" exec="/opt/apps/org.tizen.video-player/bin/video-player" nodisplay="true" multiple="false" type="capp" taskmanage="true">
+ <ui-application appid="org.tizen.video-player" exec="/usr/apps/org.tizen.video-player/bin/video-player" nodisplay="true" multiple="false" type="capp" taskmanage="true">
<label>Video player</label>
<icon>org.tizen.video-player.png</icon>
<label xml:lang="en-us">Video player</label>
%endif
%build
-cmake . -DCMAKE_INSTALL_PREFIX=/opt/apps/org.tizen.video-player -DARCH=%{ARCH}
+cmake . -DCMAKE_INSTALL_PREFIX=/usr/apps/org.tizen.video-player -DARCH=%{ARCH}
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-execstack -c %{buildroot}/opt/apps/org.tizen.video-player/bin/video-player
+execstack -c %{buildroot}/usr/apps/org.tizen.video-player/bin/video-player
%post
vconftool set -t bool db/private/org.tizen.video-player/backgroud_playing 0 -g 5000
vconftool set -t string db/private/org.tizen.video-player/show_indicator 1 -g 5000
vconftool set -t string db/private/org.tizen.video-player/show_border 0 -g 5000
-chown -R 5000:5000 /opt/apps/org.tizen.video-player/data
-
%files -n org.tizen.video-player
%manifest org.tizen.video-player.manifest
-%dir /opt/apps/org.tizen.video-player/data
-/opt/apps/org.tizen.video-player/bin/*
-/opt/apps/org.tizen.video-player/res/locale/*
-/opt/share/icons/default/small/*
-/opt/apps/org.tizen.video-player/res/edje/*
-/opt/apps/org.tizen.video-player/res/images/*
-/opt/share/packages/org.tizen.video-player.xml
+%dir /opt/usr/media/.video_thumb
+
+/usr/apps/org.tizen.video-player/bin/*
+/usr/apps/org.tizen.video-player/res/locale/*
+/usr/share/icons/default/small/*
+/usr/apps/org.tizen.video-player/res/edje/*
+/usr/apps/org.tizen.video-player/res/images/*
+/usr/share/packages/org.tizen.video-player.xml
switch(nExternalUGType)
{
case MP_EXTERNAL_UG_YOUTUBE:
- strncpy(pkg_name,"com.samsung.youtube",STR_LEN_MAX-1);
+ strncpy(pkg_name,"org.tizen.youtube",STR_LEN_MAX-1);
break;
case MP_EXTERNAL_UG_FACEBOOK:
- strncpy(pkg_name,"com.samsung.facebook",STR_LEN_MAX-1);
+ strncpy(pkg_name,"org.tizen.facebook",STR_LEN_MAX-1);
break;
default:
break;
#include "mp-video-string-define.h"
//#include "mp-video-info-ctrl.h"
-#define MP_LAUNCH_BLUETOOTH_PACKAGE_NAME "com.samsung.bluetooth"
+#define MP_LAUNCH_BLUETOOTH_PACKAGE_NAME "org.tizen.bluetooth"
#define MP_UTIL_USER_AGENT_KEY "db/admin/uagent"
//#define MP_UTIL_TEMP_USER_AGENT_VALUE "User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-gb; GT-I9000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
#define MP_UTIL_ALLSHARE_NOTI_ON 1
#define MP_UTIL_ALLSHARE_NOTI_OFF 0
-#define MP_UTIL_VCONF_KEY_PREVIEW_URL_VIDEOS "db/private/com.samsung.video-player/preview_url_videos"
-#define MP_UTIL_VCONF_KEY_PREVIEW_URL_RECORDS "db/private/com.samsung.video-player/preview_url_records"
+#define MP_UTIL_VCONF_KEY_PREVIEW_URL_VIDEOS "db/private/org.tizen.video-player/preview_url_videos"
+#define MP_UTIL_VCONF_KEY_PREVIEW_URL_RECORDS "db/private/org.tizen.video-player/preview_url_records"
static bool bAlphaSet = TRUE;