]> git.sesse.net Git - vlc/commitdiff
Maemo: rename plugin to Hildon
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 18:09:04 +0000 (21:09 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 18:33:20 +0000 (21:33 +0300)
Hildon is not Maemo-specific (Ubuntu Mobile...).
And Maemo soon won't be Hildon-GTK anymore.

12 files changed:
configure.ac
modules/gui/Modules.am
modules/gui/hildon/Modules.am [moved from modules/gui/maemo/Modules.am with 83% similarity]
modules/gui/hildon/maemo.c [moved from modules/gui/maemo/maemo.c with 100% similarity]
modules/gui/hildon/maemo.h [moved from modules/gui/maemo/maemo.h with 100% similarity]
modules/gui/hildon/maemo_callbacks.c [moved from modules/gui/maemo/maemo_callbacks.c with 100% similarity]
modules/gui/hildon/maemo_callbacks.h [moved from modules/gui/maemo/maemo_callbacks.h with 100% similarity]
modules/gui/hildon/maemo_input.c [moved from modules/gui/maemo/maemo_input.c with 100% similarity]
modules/gui/hildon/maemo_input.h [moved from modules/gui/maemo/maemo_input.h with 100% similarity]
modules/gui/hildon/maemo_interface.c [moved from modules/gui/maemo/maemo_interface.c with 100% similarity]
modules/gui/hildon/maemo_interface.h [moved from modules/gui/maemo/maemo_interface.h with 100% similarity]
share/Makefile.am

index 27a269b9989cb4f21968b8895d1e7d535219a6d8..8dccdc41f81b6ad3be9002de7a18892e6317949f 100644 (file)
@@ -4327,25 +4327,24 @@ AM_CONDITIONAL(BUILD_SKINS, [test "${enable_skins2}" = "yes" ||
          test "${SYS}" != "mingwce" && test "${enable_skins2}" != "no")])
 
 dnl
-dnl Maemo
+dnl Hildon UI
 dnl
-AC_ARG_ENABLE(maemo,
-  [  --enable-maemo          Internet tablets based on Maemo SDK (default disabled)])
-if test "${enable_maemo}" = "yes"
-then
+AC_ARG_ENABLE(hildon,
+  [  --enable-hildon         Hildon touchscreen UI (default disabled)])
+AS_IF([test "${enable_hildon}" = "yes"], [
   PKG_CHECK_MODULES(HILDON, [hildon-1 hildon-fm-2], [
-    VLC_ADD_CFLAGS([maemo],[${HILDON_CFLAGS}])
-    VLC_ADD_LIBS([maemo],[${HILDON_LIBS}])
-    VLC_ADD_PLUGIN([maemo])
+    VLC_ADD_CFLAGS([hildon],[${HILDON_CFLAGS}])
+    VLC_ADD_LIBS([hildon],[${HILDON_LIBS}])
+    VLC_ADD_PLUGIN([hildon])
     ALIASES="${ALIASES} mvlc"
   ], [
-    AS_IF([test "${enable_maemo}" = "yes"],[
+    AS_IF([test "${enable_hildon}" = "yes"],[
       AC_MSG_ERROR([Hildon libraries not found])
     ])
-    enable_maemo="no"
+    enable_hildon="no"
   ])
-fi
-AM_CONDITIONAL(BUILD_MAEMO, [test "${enable_maemo}" = "yes"])
+])
+AM_CONDITIONAL(BUILD_HILDON, [test "${enable_hildon}" = "yes"])
 
 dnl
 dnl QT 4
@@ -5209,7 +5208,7 @@ AC_CONFIG_FILES([
   modules/gui/Makefile
   modules/gui/beos/Makefile
   modules/gui/macosx/Makefile
-  modules/gui/maemo/Makefile
+  modules/gui/hildon/Makefile
   modules/gui/minimal_macosx/Makefile
   modules/gui/qnx/Makefile
   modules/gui/qt4/Makefile
index 87f3042f40df252005f860b7eaab881aebce54c7..7f298e1083e74552d376d97e472c12086661ed1f 100644 (file)
@@ -1,4 +1,4 @@
-DIST_SUBDIRS = beos macosx maemo minimal_macosx qnx qt4 skins2 wince
+DIST_SUBDIRS = beos macosx hildon minimal_macosx qnx qt4 skins2 wince
 SUBDIRS =
 
 if HAVE_BEOS
@@ -7,8 +7,8 @@ endif
 if HAVE_DARWIN
 SUBDIRS += macosx minimal_macosx
 endif
-if BUILD_MAEMO
-SUBDIRS += maemo
+if BUILD_HILDON
+SUBDIRS += hildon
 endif
 SUBDIRS += qnx
 if ENABLE_QT4
similarity index 83%
rename from modules/gui/maemo/Modules.am
rename to modules/gui/hildon/Modules.am
index 8a4cb70da26d0f9cc98b11d95691e05bf4f67142..f55147df347bbce4fdd0e00dac7ce0412c311084 100644 (file)
@@ -1,4 +1,4 @@
-SOURCES_maemo = maemo.c \
+SOURCES_hildon = maemo.c \
                maemo.h \
                maemo_callbacks.c \
                maemo_callbacks.h \
index 2460ce990447f7cb7b9d4883de677ec3f40cb9e2..43f2347f889d8874415a67baeedc4f81fa7d2d9c 100644 (file)
@@ -47,7 +47,7 @@ if BUILD_MOZILLA
 # TODO: move to the mozilla directory
 nobase_vlcdata_DATA += $(DIST_mozilla)
 endif
-if BUILD_MAEMO
+if BUILD_HILDON
 nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
 endif