Skip to contentSkip to conversation

Remove clutter project templates

PATCH In review Ioana Grigoropol 3 participants 5 messages Mar 12, 2013 – Apr 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove clutter project templates

- support for clutter was removed from core-image-sato along with clutter-box2d and thus the project templates in Eclipse should not be supported anymore; gtk templates should be used instead

---
 plugins/org.yocto.sdk.ide/plugin.xml               |   12 --
 .../HelloWorldCClutterProject/src/Basename.c       |  199 -------------------
 .../src/Basename.desktop.in.src                    |    9 -
 .../HelloWorldCClutterProject/src/INSTALL          |    9 -
 .../HelloWorldCClutterProject/src/Makefile.am.src  |   10 -
 .../HelloWorldCClutterProject/src/Makefile.am.top  |    7 -
 .../HelloWorldCClutterProject/src/README           |   25 ---
 .../HelloWorldCClutterProject/src/autogen.sh       |   10 -
 .../HelloWorldCClutterProject/src/configure.ac.top |   51 -----
 .../HelloWorldCClutterProject/template.properties  |   28 ---
 .../HelloWorldCClutterProject/template.xml         |  146 --------------
 .../src/configure.ac.top                           |    1 -
 .../HelloWorldCPPClutterProject/src/Basename.cpp   |  203 --------------------
 .../src/Basename.desktop.in.src                    |    9 -
 .../HelloWorldCPPClutterProject/src/INSTALL        |    9 -
 .../src/Makefile.am.src                            |   10 -
 .../src/Makefile.am.top                            |    6 -
 .../HelloWorldCPPClutterProject/src/README         |   25 ---
 .../HelloWorldCPPClutterProject/src/autogen.sh     |   10 -
 .../src/configure.ac.top                           |   51 -----
 .../template.properties                            |   28 ---
 .../HelloWorldCPPClutterProject/template.xml       |  146 --------------
 22 files changed, 1004 deletions(-)
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Basename.c
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Basename.desktop.in.src
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/ChangeLog
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/INSTALL
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Makefile.am.src
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Makefile.am.top
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/NEWS
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/README
 delete mode 100755 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/autogen.sh
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/configure.ac.top
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/template.properties
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/template.xml
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Basename.cpp
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Basename.desktop.in.src
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/ChangeLog
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/INSTALL
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Makefile.am.src
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Makefile.am.top
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/NEWS
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/README
 delete mode 100755 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/autogen.sh
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/configure.ac.top
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/template.properties
 delete mode 100644 plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/template.xml
plugins/org.yocto.sdk.ide/plugin.xml +0 -12
index ea1a8ab..8e8daac 100644
@@ -112,18 +112,6 @@
       </template>
       <template
             filterPattern=".*gcc"
-            id="org.yocto.sdk.ide.template.helloWorldCClutterProject"
-            location="templates/projecttemplates/HelloWorldCClutterProject/template.xml"
-            projectType="org.yocto.sdk.ide.projectType">
-      </template>
-      <template
-            filterPattern=".*g\+\+"
-            id="org.yocto.sdk.ide.template.helloWorldCPPClutterProject"
-            location="templates/projecttemplates/HelloWorldCPPClutterProject/template.xml"
-            projectType="org.yocto.sdk.ide.projectType">
-      </template>
-      <template
-            filterPattern=".*gcc"
             id="org.yocto.sdk.ide.template.helloWorldCGTKProject"
             location="templates/projecttemplates/HelloWorldCGTKProject/template.xml"
             projectType="org.yocto.sdk.ide.projectType">
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Basename.c deleted +0 -199

199 lines not on this page · raw message

plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Basename.desktop.in.src deleted +0 -9
deleted file mode 100644
index b6eb111..0000000
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=@VERSION@
-Encoding=UTF-8
-Name=$(projectName) with Clutter
-Comment=A "$(message)" application with simple animations using Clutter
-Type=Application
-Categories=Application
-Exec=$(projectName)
-Name[en_US]=$(message) with Clutter
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/ChangeLog deleted +0 -0
deleted file mode 100644
index e69de29..0000000
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/INSTALL deleted +0 -9
deleted file mode 100644
index b8b0535..0000000
@@ -1,9 +0,0 @@
-Building:
-  $ ./autogen.sh  [--enable-gtk-doc] [--prefix=/usr]
-  $ make
-
-Installing:
-  $ sudo make install
-
-Running:
-  $ $(projectName)
\ No newline at end of file
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Makefile.am.src deleted +0 -10
deleted file mode 100644
index 830e329..0000000
@@ -1,10 +0,0 @@
-
-bin_PROGRAMS = $(projectName)
-$(projectName)_SOURCES = $(projectName).c
-
-AM_CFLAGS = @$(projectName)_CFLAGS@
-AM_LDFLAGS = @$(projectName)_LIBS@
-
-desktop_DATA = $(projectName).desktop
-
-CLEANFILES = *~ $(projectName).desktop
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/Makefile.am.top deleted +0 -7
deleted file mode 100644
index 7bee2b7..0000000
@@ -1,7 +0,0 @@
-SUBDIRS = $(sourceDir)
-
-MAINTAINERCLEANFILES = aclocal.m4 compile config.guess \
-		config.sub configure depcomp install-sh \
-		ltmain.sh Makefile.in missing
-
-
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/NEWS deleted +0 -0
deleted file mode 100644
index e69de29..0000000
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/README deleted +0 -25
deleted file mode 100644
index ec15541..0000000
@@ -1,25 +0,0 @@
-$(projectName)
-Copyright (C) $(copyright).
-
-Brief description of project....
-
------------------------------------------------------------------------------
- Build
------------------------------------------------------------------------------
-$ ./autogen.sh $CONFIGURE_FLAGS
-$ make
-
------------------------------------------------------------------------------
- Build with documentation generated (usually for libraries)
------------------------------------------------------------------------------
-$ ./autogen.sh --enable-gtk-doc
-$ make
-
-( If built with the --enable-gtk-doc flag above you can view the index.html
-  file in your web browser. )
-$ firefox ./docs/reference/index.html
-
------------------------------------------------------------------------------
- Install
------------------------------------------------------------------------------
-$ sudo make install
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/autogen.sh deleted +0 -10
deleted file mode 100755
index 7fd81e2..0000000
@@ -1,10 +0,0 @@
-#! /bin/sh
-[ -e config.cache ] && rm -f config.cache
-
-libtoolize --automake
-aclocal ${OECORE_ACLOCAL_OPTS}
-autoconf
-autoheader
-automake -a
-./configure $@
-exit
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/src/configure.ac.top deleted +0 -51

51 lines not on this page · raw message

plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/template.properties deleted +0 -28
deleted file mode 100644
index 9430748..0000000
@@ -1,28 +0,0 @@
-###############################################################################
-# Copyright (c) 2007, 2009 Symbian Software Private Ltd. and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-# 
-# Contributors:
-#     Bala Torati (Symbian) - initial API and implementation
-#     Red Hat Inc - modification to use with Autotools project
-###############################################################################
-
-#Template Default Values
-HelloWorld.CAnsitemplate.label=Clutter Hello World Project
-HelloWorld.CAnsitemplate.description=A skeletal C Clutter Hello World project. Creates a folder for sources and autogen artifacts.
-HelloWorld.basics.label=Basic Settings
-HelloWorld.basics.description=Basic properties of a project
-HelloWorld.author.label=Author
-HelloWorld.author.description=Name of the author
-HelloWorld.copyright.label=Copyright notice
-HelloWorld.copyright.description=The name of the copyright holder (e.g. XYZ Corporation)
-HelloWorld.copyright.default=Your copyright
-HelloWorld.message.default=Hello World
-HelloWorld.message.description=Your hello world greeting message
-HelloWorld.message.label=Hello world greeting
-HelloWorld.sourceDir.label=Source
-HelloWorld.sourceDir.description=Directory for hello world project source files
-HelloWorld.sourceDir.default=src
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCClutterProject/template.xml deleted +0 -146

146 lines not on this page · raw message

plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top +0 -1
index 2526a6f..5cc622b 100644
@@ -27,7 +27,6 @@ PKG_PROG_PKG_CONFIG
 # Checks for library functions.
 #AC_CHECK_FUNCS([memset])
 
-#PKG_CHECK_MODULES($(projectName), glib-2.0 clutter-1.0)
 AC_SUBST($(projectName)_CFLAGS)
 AC_SUBST($(projectName)_LIBS)
 
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Basename.cpp deleted +0 -203

203 lines not on this page · raw message

plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Basename.desktop.in.src deleted +0 -9
deleted file mode 100644
index b6eb111..0000000
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=@VERSION@
-Encoding=UTF-8
-Name=$(projectName) with Clutter
-Comment=A "$(message)" application with simple animations using Clutter
-Type=Application
-Categories=Application
-Exec=$(projectName)
-Name[en_US]=$(message) with Clutter
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/ChangeLog deleted +0 -0
deleted file mode 100644
index e69de29..0000000
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/INSTALL deleted +0 -9
deleted file mode 100644
index b8b0535..0000000
@@ -1,9 +0,0 @@
-Building:
-  $ ./autogen.sh  [--enable-gtk-doc] [--prefix=/usr]
-  $ make
-
-Installing:
-  $ sudo make install
-
-Running:
-  $ $(projectName)
\ No newline at end of file
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Makefile.am.src deleted +0 -10
deleted file mode 100644
index d05441f..0000000
@@ -1,10 +0,0 @@
-
-bin_PROGRAMS = $(projectName)
-$(projectName)_SOURCES = $(projectName).cpp
-
-AM_CXXFLAGS = @$(projectName)_CFLAGS@
-AM_LDFLAGS = @$(projectName)_LIBS@
-
-desktop_DATA = $(projectName).desktop
-
-CLEANFILES = *~ $(projectName).desktop
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/Makefile.am.top deleted +0 -6
deleted file mode 100644
index 6060599..0000000
@@ -1,6 +0,0 @@
-EXTRA_DIST = autogen.sh
-SUBDIRS = $(sourceDir) 
-
-DISTCHECK_CONFIGURE_FLAGS=
-
-CLEANFILES = *~
\ No newline at end of file
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/NEWS deleted +0 -0
deleted file mode 100644
index e69de29..0000000
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/README deleted +0 -25
deleted file mode 100644
index ec15541..0000000
@@ -1,25 +0,0 @@
-$(projectName)
-Copyright (C) $(copyright).
-
-Brief description of project....
-
------------------------------------------------------------------------------
- Build
------------------------------------------------------------------------------
-$ ./autogen.sh $CONFIGURE_FLAGS
-$ make
-
------------------------------------------------------------------------------
- Build with documentation generated (usually for libraries)
------------------------------------------------------------------------------
-$ ./autogen.sh --enable-gtk-doc
-$ make
-
-( If built with the --enable-gtk-doc flag above you can view the index.html
-  file in your web browser. )
-$ firefox ./docs/reference/index.html
-
------------------------------------------------------------------------------
- Install
------------------------------------------------------------------------------
-$ sudo make install
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/autogen.sh deleted +0 -10
deleted file mode 100755
index 7fd81e2..0000000
@@ -1,10 +0,0 @@
-#! /bin/sh
-[ -e config.cache ] && rm -f config.cache
-
-libtoolize --automake
-aclocal ${OECORE_ACLOCAL_OPTS}
-autoconf
-autoheader
-automake -a
-./configure $@
-exit
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/src/configure.ac.top deleted +0 -51

52 lines not on this page · raw message

plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/template.properties deleted +0 -28
deleted file mode 100644
index d84b2c7..0000000
@@ -1,28 +0,0 @@
-###############################################################################
-# Copyright (c) 2007, 2009 Symbian Software Private Ltd. and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-# 
-# Contributors:
-#     Bala Torati (Symbian) - initial API and implementation
-#     Red Hat Inc - modification to use with Autotools project
-###############################################################################
-
-#Template Default Values
-HelloWorld.CCtemplate.label= Clutter Hello World Project
-HelloWorld.CCtemplate.description=A skeletal C++ Clutter Hello World project. Creates a folder for sources and autogen artifacts.
-HelloWorld.basics.label=Basic Settings
-HelloWorld.basics.description=Basic properties of a project
-HelloWorld.author.label=Author
-HelloWorld.author.description=Name of the author
-HelloWorld.copyright.label=Copyright notice
-HelloWorld.copyright.description=The name of the copyright holder (e.g. XYZ Corporation)
-HelloWorld.copyright.default=Your copyright notice
-HelloWorld.message.default=Hello World
-HelloWorld.message.description=Your hello world greeting message
-HelloWorld.message.label=Hello world greeting
-HelloWorld.sourceDir.label=Source
-HelloWorld.sourceDir.description=Directory for hello world project source files
-HelloWorld.sourceDir.default=src
\ No newline at end of file
plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPClutterProject/template.xml deleted +0 -146

146 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

Hi Ioana,

Quoted 3 lines · On Tuesday 12 March 2013 18:05:33 Ioana Grigoropol wrote:

- support for clutter was removed from core-image-sato along with clutter-box2d and thus the project templates in Eclipse should not be supported anymore; gtk templates should be used instead

The removal of clutter-box2d doesn't signal that clutter itself is unsupported, so I think maybe we shouldn't be removing these templates just yet.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

Hi Paul,

In my opinion, since clutter was only brought in core-image-sato and core-image-sato-sdk by clutter-box2d, and not independently, it means it was not really intended to support it.

Do you think there should be support for clutter in the sdk images ?
Clutter + dependencies is not a small package and was only getting into images through testapps feature, and we could use gtk templates instead.

Thanks,
Ioana
________________________________________
From: Paul Eggleton [[email protected]]
Sent: Wednesday, April 03, 2013 11:14 AM
To: Grigoropol, IoanaX
Cc: [email protected]
Subject: Re: [yocto] [PATCH] Remove clutter project templates

Hi Ioana,

Quoted 3 lines · On Tuesday 12 March 2013 18:05:33 Ioana Grigoropol wrote:

- support for clutter was removed from core-image-sato along with clutter-box2d and thus the project templates in Eclipse should not be supported anymore; gtk templates should be used instead

The removal of clutter-box2d doesn't signal that clutter itself is unsupported, so I think maybe we shouldn't be removing these templates just yet.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

#3 lore raw
Quoted 6 lines · IoanaX
Quoted 5 lines · Paul Eggleton
Quoted 3 lines · On Tuesday 12 March 2013 18:05:33 Ioana Grigoropol wrote:

- support for clutter was removed from core-image-sato along with clutter-box2d and thus the project templates in Eclipse should not be supported anymore; gtk templates should be used instead

Quoted 7 lines
Quoted 3 lines

The removal of clutter-box2d doesn't signal that clutter itself is unsupported, so I think maybe we shouldn't be removing these templates just yet.

In my opinion, since clutter was only brought in core-image-sato and core-image-sato-sdk by clutter-box2d, and not independently, it means it was not really intended to support it.

Possibly; the other alternative is that nobody had really considered the question of whether or not it should be included. I'm unsure as to which is the case here.

Quoted 1 line

Do you think there should be support for clutter in the sdk images ?

I would say it depends on whether we believe it will be useful to new application developers, or we're just keeping it around for compatibility with existing applications. I can see it being useful but I'd probably like to hear from Jessica and others as well.

Quoted 2 lines

Clutter + dependencies is not a small package and was only getting into images through testapps feature, and we could use gtk templates instead.

True, but Gtk+ and Clutter aren't quite the same thing. I'm not an expert on Clutter by any means but I believe it provides a much better framework for animations and non-traditional UIs than Gtk+ does.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw

Hi Paul,

We removed clutter project templates just because we found that the underline package support for it is no longer there(in core-image-sato) and assume that there's a reason for the change. I'm in the same boat as you that by no means I'm an expert with clutter thus don't know how popular it's among developers. But base on my limited experiment with it when adding the template support in Eclipse, it seems a pretty neat framework for adding animation support, etc. and can be useful for new application developers doing the work.

Thanks,
Jessica

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Eggleton
Sent: Wednesday, April 03, 2013 1:58 AM
To: Grigoropol, IoanaX
Cc: [email protected]
Subject: Re: [yocto] [PATCH] Remove clutter project templates

Quoted 6 lines · IoanaX
Quoted 5 lines · Paul Eggleton
Quoted 3 lines · On Tuesday 12 March 2013 18:05:33 Ioana Grigoropol wrote:

- support for clutter was removed from core-image-sato along with clutter-box2d and thus the project templates in Eclipse should not be supported anymore; gtk templates should be used instead

Quoted 7 lines
Quoted 3 lines

The removal of clutter-box2d doesn't signal that clutter itself is unsupported, so I think maybe we shouldn't be removing these templates just yet.

In my opinion, since clutter was only brought in core-image-sato and core-image-sato-sdk by clutter-box2d, and not independently, it means it was not really intended to support it.

Possibly; the other alternative is that nobody had really considered the question of whether or not it should be included. I'm unsure as to which is the case here.

Quoted 1 line

Do you think there should be support for clutter in the sdk images ?

I would say it depends on whether we believe it will be useful to new application developers, or we're just keeping it around for compatibility with existing applications. I can see it being useful but I'd probably like to hear from Jessica and others as well.

Quoted 2 lines

Clutter + dependencies is not a small package and was only getting into images through testapps feature, and we could use gtk templates instead.

True, but Gtk+ and Clutter aren't quite the same thing. I'm not an expert on Clutter by any means but I believe it provides a much better framework for animations and non-traditional UIs than Gtk+ does.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto