* [Buildroot] [PATCH 1/2] jquery-ui: new package
@ 2012-06-14 20:02 spdawson at gmail.com
2012-06-14 20:02 ` [Buildroot] [PATCH 2/2] jquery-ui-themes: " spdawson at gmail.com
2013-05-06 22:13 ` [Buildroot] [PATCH 1/2] jquery-ui: " Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: spdawson at gmail.com @ 2012-06-14 20:02 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/jquery-ui/Config.in | 23 +++++++++++++++++++++++
package/jquery-ui/jquery-ui.mk | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 package/jquery-ui/Config.in
create mode 100644 package/jquery-ui/jquery-ui.mk
diff --git a/package/Config.in b/package/Config.in
index d047ce8..2f20617 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -381,6 +381,7 @@ source "package/explorercanvas/Config.in"
source "package/flot/Config.in"
source "package/jquery/Config.in"
source "package/jquery-sparkline/Config.in"
+source "package/jquery-ui/Config.in"
source "package/jquery-validation/Config.in"
source "package/jsmin/Config.in"
endmenu
diff --git a/package/jquery-ui/Config.in b/package/jquery-ui/Config.in
new file mode 100644
index 0000000..073a40a
--- /dev/null
+++ b/package/jquery-ui/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_JQUERY_UI
+ bool "jQuery UI"
+ help
+ jQuery UI provides abstractions for low-level interaction and
+ animation, advanced effects and high-level, themeable widgets,
+ built on top of the jQuery JavaScript Library, that you can use
+ to build highly interactive web applications.
+
+ http://jqueryui.com/
+
+config BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH
+ string "Target install path for JavaScript"
+ default "/var/www/javascripts"
+ depends on BR2_PACKAGE_JQUERY_UI
+ help
+ Specify a target install path for JavaScript files
+
+config BR2_PACKAGE_JQUERY_UI_CSS_PATH
+ string "Target install path for CSS"
+ default "/var/www/stylesheets"
+ depends on BR2_PACKAGE_JQUERY_UI
+ help
+ Specify a target install path for CSS files
diff --git a/package/jquery-ui/jquery-ui.mk b/package/jquery-ui/jquery-ui.mk
new file mode 100644
index 0000000..7f05e28
--- /dev/null
+++ b/package/jquery-ui/jquery-ui.mk
@@ -0,0 +1,36 @@
+#############################################################
+#
+# jquery-ui
+#
+#############################################################
+JQUERY_UI_VERSION = 1.8.21
+JQUERY_UI_SITE = http://jquery-ui.googlecode.com/files
+JQUERY_UI_SOURCE = jquery-ui-$(JQUERY_UI_VERSION).zip
+
+define JQUERY_UI_EXTRACT_CMDS
+ unzip -d $(@D) $(DL_DIR)/$(JQUERY_UI_SOURCE)
+ mv $(@D)/jquery-ui-$(JQUERY_UI_VERSION)/* $(@D)
+ $(RM) -r $(@D)/jquery-ui-$(JQUERY_UI_VERSION)
+endef
+
+define JQUERY_UI_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0644 -D $(@D)/ui/minified/jquery-ui.min.js \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH)/jquery-ui.js
+ $(INSTALL) -m 0644 -D $(@D)/ui/minified/i18n/jquery-ui-i18n.min.js \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH)/jquery-ui-i18n.js
+ $(INSTALL) -m 0644 -D $(@D)/themes/base/minified/jquery-ui.min.css \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/jquery-ui.css
+ $(INSTALL) -d $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/images
+ cp -a $(@D)/themes/base/minified/images/*.png \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/images
+ chmod 0644 $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/images/*.png
+endef
+
+define JQUERY_UI_UNINSTALL_TARGET_CMDS
+ $(RM) $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH)/jquery-ui.js
+ $(RM) $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH)/jquery-ui-i18n.js
+ $(RM) $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/jquery-ui.css
+ $(RM) -r $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_CSS_PATH)/images
+endef
+
+$(eval $(call GENTARGETS))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] jquery-ui-themes: new package
2012-06-14 20:02 [Buildroot] [PATCH 1/2] jquery-ui: new package spdawson at gmail.com
@ 2012-06-14 20:02 ` spdawson at gmail.com
2013-05-06 22:15 ` Peter Korsgaard
2013-05-06 22:13 ` [Buildroot] [PATCH 1/2] jquery-ui: " Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: spdawson at gmail.com @ 2012-06-14 20:02 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/jquery-ui-themes/Config.in | 21 +++++++++++++++++
package/jquery-ui-themes/jquery-ui-themes.mk | 31 ++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 package/jquery-ui-themes/Config.in
create mode 100644 package/jquery-ui-themes/jquery-ui-themes.mk
diff --git a/package/Config.in b/package/Config.in
index 2f20617..20d7323 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -382,6 +382,7 @@ source "package/flot/Config.in"
source "package/jquery/Config.in"
source "package/jquery-sparkline/Config.in"
source "package/jquery-ui/Config.in"
+source "package/jquery-ui-themes/Config.in"
source "package/jquery-validation/Config.in"
source "package/jsmin/Config.in"
endmenu
diff --git a/package/jquery-ui-themes/Config.in b/package/jquery-ui-themes/Config.in
new file mode 100644
index 0000000..49180f9
--- /dev/null
+++ b/package/jquery-ui-themes/Config.in
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_JQUERY_UI_THEMES
+ bool "jQuery UI themes"
+ select BR2_PACKAGE_JQUERY_UI
+ help
+ Themes for jQuery UI.
+
+ http://jqueryui.com/
+
+config BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH
+ string "Target install path for CSS"
+ default "/var/www/stylesheets"
+ depends on BR2_PACKAGE_JQUERY_UI_THEMES
+ help
+ Specify a target install path for CSS files
+
+config BR2_PACKAGE_JQUERY_UI_THEMES_THEME
+ string "Name of theme to install"
+ default "base"
+ depends on BR2_PACKAGE_JQUERY_UI_THEMES
+ help
+ Specify the name of a jQuery UI theme to be installed
diff --git a/package/jquery-ui-themes/jquery-ui-themes.mk b/package/jquery-ui-themes/jquery-ui-themes.mk
new file mode 100644
index 0000000..e193f51
--- /dev/null
+++ b/package/jquery-ui-themes/jquery-ui-themes.mk
@@ -0,0 +1,31 @@
+#############################################################
+#
+# jquery-ui-themes
+#
+#############################################################
+JQUERY_UI_THEMES_VERSION = 1.8.21
+JQUERY_UI_THEMES_SITE = http://jquery-ui.googlecode.com/files
+JQUERY_UI_THEMES_SOURCE = jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION).zip
+
+define JQUERY_UI_THEMES_EXTRACT_CMDS
+ unzip -d $(@D) $(DL_DIR)/$(JQUERY_UI_THEMES_SOURCE)
+ mv $(@D)/jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION)/* $(@D)
+ $(RM) -r $(@D)/jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION)
+endef
+
+define JQUERY_UI_THEMES_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0644 -D \
+ $(@D)/themes/$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME)/jquery-ui.css \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/jquery-ui.css
+ $(INSTALL) -d $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/images
+ cp -a $(@D)/themes/$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME)/images/*.png \
+ $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/images
+ chmod 0644 $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/images/*.png
+endef
+
+define JQUERY_UI_THEMES_UNINSTALL_TARGET_CMDS
+ $(RM) $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/jquery-ui.css
+ $(RM) -r $(TARGET_DIR)/$(BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH)/images
+endef
+
+$(eval $(call GENTARGETS))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] jquery-ui: new package
2012-06-14 20:02 [Buildroot] [PATCH 1/2] jquery-ui: new package spdawson at gmail.com
2012-06-14 20:02 ` [Buildroot] [PATCH 2/2] jquery-ui-themes: " spdawson at gmail.com
@ 2013-05-06 22:13 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-05-06 22:13 UTC (permalink / raw)
To: buildroot
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
Committed with minor changes, thanks.
spdawson> ---
spdawson> package/Config.in | 1 +
spdawson> package/jquery-ui/Config.in | 23 +++++++++++++++++++++++
spdawson> package/jquery-ui/jquery-ui.mk | 36 ++++++++++++++++++++++++++++++++++++
spdawson> 3 files changed, 60 insertions(+)
spdawson> create mode 100644 package/jquery-ui/Config.in
spdawson> create mode 100644 package/jquery-ui/jquery-ui.mk
spdawson> diff --git a/package/Config.in b/package/Config.in
spdawson> index d047ce8..2f20617 100644
spdawson> --- a/package/Config.in
spdawson> +++ b/package/Config.in
spdawson> @@ -381,6 +381,7 @@ source "package/explorercanvas/Config.in"
spdawson> source "package/flot/Config.in"
spdawson> source "package/jquery/Config.in"
spdawson> source "package/jquery-sparkline/Config.in"
spdawson> +source "package/jquery-ui/Config.in"
spdawson> source "package/jquery-validation/Config.in"
spdawson> source "package/jsmin/Config.in"
spdawson> endmenu
spdawson> diff --git a/package/jquery-ui/Config.in b/package/jquery-ui/Config.in
spdawson> new file mode 100644
spdawson> index 0000000..073a40a
spdawson> --- /dev/null
spdawson> +++ b/package/jquery-ui/Config.in
spdawson> @@ -0,0 +1,23 @@
spdawson> +config BR2_PACKAGE_JQUERY_UI
spdawson> + bool "jQuery UI"
It should select BR2_PACKAGE_JQUERY
spdawson> + help
spdawson> + jQuery UI provides abstractions for low-level interaction and
spdawson> + animation, advanced effects and high-level, themeable widgets,
spdawson> + built on top of the jQuery JavaScript Library, that you can use
spdawson> + to build highly interactive web applications.
spdawson> +
spdawson> + http://jqueryui.com/
spdawson> +
spdawson> +config BR2_PACKAGE_JQUERY_UI_JAVASCRIPT_PATH
spdawson> + string "Target install path for JavaScript"
spdawson> + default "/var/www/javascripts"
spdawson> + depends on BR2_PACKAGE_JQUERY_UI
spdawson> + help
spdawson> + Specify a target install path for JavaScript files
spdawson> +
spdawson> +config BR2_PACKAGE_JQUERY_UI_CSS_PATH
spdawson> + string "Target install path for CSS"
spdawson> + default "/var/www/stylesheets"
spdawson> + depends on BR2_PACKAGE_JQUERY_UI
spdawson> + help
spdawson> + Specify a target install path for CSS files
We afaik discussed these options some time ago. I dislike them, so I've
dropped them for now atleast.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] jquery-ui-themes: new package
2012-06-14 20:02 ` [Buildroot] [PATCH 2/2] jquery-ui-themes: " spdawson at gmail.com
@ 2013-05-06 22:15 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-05-06 22:15 UTC (permalink / raw)
To: buildroot
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
Committed with minor tweaks, thanks.
spdawson> ---
spdawson> package/Config.in | 1 +
spdawson> package/jquery-ui-themes/Config.in | 21 +++++++++++++++++
spdawson> package/jquery-ui-themes/jquery-ui-themes.mk | 31 ++++++++++++++++++++++++++
spdawson> 3 files changed, 53 insertions(+)
spdawson> create mode 100644 package/jquery-ui-themes/Config.in
spdawson> create mode 100644 package/jquery-ui-themes/jquery-ui-themes.mk
spdawson> diff --git a/package/Config.in b/package/Config.in
spdawson> index 2f20617..20d7323 100644
spdawson> --- a/package/Config.in
spdawson> +++ b/package/Config.in
spdawson> @@ -382,6 +382,7 @@ source "package/flot/Config.in"
spdawson> source "package/jquery/Config.in"
spdawson> source "package/jquery-sparkline/Config.in"
spdawson> source "package/jquery-ui/Config.in"
spdawson> +source "package/jquery-ui-themes/Config.in"
spdawson> source "package/jquery-validation/Config.in"
spdawson> source "package/jsmin/Config.in"
spdawson> endmenu
spdawson> diff --git a/package/jquery-ui-themes/Config.in b/package/jquery-ui-themes/Config.in
spdawson> new file mode 100644
spdawson> index 0000000..49180f9
spdawson> --- /dev/null
spdawson> +++ b/package/jquery-ui-themes/Config.in
spdawson> @@ -0,0 +1,21 @@
spdawson> +config BR2_PACKAGE_JQUERY_UI_THEMES
spdawson> + bool "jQuery UI themes"
spdawson> + select BR2_PACKAGE_JQUERY_UI
It imho makes more sense if it depends on JQUERY_UI.
spdawson> + help
spdawson> + Themes for jQuery UI.
spdawson> +
spdawson> + http://jqueryui.com/
spdawson> +
spdawson> +config BR2_PACKAGE_JQUERY_UI_THEMES_CSS_PATH
spdawson> + string "Target install path for CSS"
spdawson> + default "/var/www/stylesheets"
spdawson> + depends on BR2_PACKAGE_JQUERY_UI_THEMES
spdawson> + help
spdawson> + Specify a target install path for CSS files
spdawson> +
Like for jquery-ui, I've dropped this option.
spdawson> +++ b/package/jquery-ui-themes/jquery-ui-themes.mk
spdawson> @@ -0,0 +1,31 @@
spdawson> +#############################################################
spdawson> +#
spdawson> +# jquery-ui-themes
spdawson> +#
spdawson> +#############################################################
spdawson> +JQUERY_UI_THEMES_VERSION = 1.8.21
spdawson> +JQUERY_UI_THEMES_SITE = http://jquery-ui.googlecode.com/files
spdawson> +JQUERY_UI_THEMES_SOURCE = jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION).zip
It should have jquery-ui in it's _DEPENDENCIES to ensure it get's built
after it and overrides the base template.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-06 22:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 20:02 [Buildroot] [PATCH 1/2] jquery-ui: new package spdawson at gmail.com
2012-06-14 20:02 ` [Buildroot] [PATCH 2/2] jquery-ui-themes: " spdawson at gmail.com
2013-05-06 22:15 ` Peter Korsgaard
2013-05-06 22:13 ` [Buildroot] [PATCH 1/2] jquery-ui: " Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox