newer jquery integrated in drupal, used by other stuff

This commit is contained in:
espie 2008-03-16 11:25:56 +00:00
parent 06d30c6a6a
commit 5a2ed36a78
5 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/03/16 11:25:56 espie Exp $
COMMENT = newer jquery, required by other modules
DISTNAME = jquery_update-5.x-1.0
PKGNAME = drupal5-jquery-update-1.0
RUN_DEPENDS = :drupal->=5.7p1:www/drupal5/core
post-extract:
rm ${WRKDIST}/jquery_update.module
touch ${WRKDIST}/jquery_update.module
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (drupal5/jquery_update-5.x-1.0.tar.gz) = D+XvTSS6OiX/OJFMcEm39Q==
RMD160 (drupal5/jquery_update-5.x-1.0.tar.gz) = LoYjxI7LvD1OvU0DivKVaFyinzU=
SHA1 (drupal5/jquery_update-5.x-1.0.tar.gz) = AzsSDQ3kBUDIa4f5DprzQMknpzE=
SHA256 (drupal5/jquery_update-5.x-1.0.tar.gz) = 5rjtvV3LIaC2/XcBZWE+hB398v4XRA015Pi/2BFZtBM=
SIZE (drupal5/jquery_update-5.x-1.0.tar.gz) = 19555

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-README_txt,v 1.1.1.1 2008/03/16 11:25:56 espie Exp $
--- README.txt.orig Tue Mar 11 11:33:04 2008
+++ README.txt Tue Mar 11 11:33:45 2008
@@ -5,21 +5,5 @@ you will want to build off a newer version of JQuery.
John Resig's compat-1.0.js plugin that provides backwards compatiblity for
newer versions of JQuery to work with the JS code in Drupal 5.
-The main issue with this module is that you will need to *replace* the
-jquery.js file in core with the jquery.js file included in the jquery_update
-directory. JQuery may exhibit some odd behaviors if you fail to do this
-and the JQuery Update module will warn you about this problem.
-
-INSTALLATION:
-
-1) Place this module directory in your modules folder (this will usually be
-"sites/all/modules/").
-
-2) Enable the module.
-
-3) Copy the jquery.js file in this directory and use it to replace the one at
-misc/jquery.js. Note: You will receive a warning message in the Drupal
-administration area if you if you do not perform this step correctly.
-
-You will need to repeat step #3 if/when you update your Drupal installation.
-
+In OpenBSD, Drupal core has been patched to allow jquery update to be
+a simple module that you activate as usual.

View File

@ -0,0 +1,6 @@
This module facilitates the upgrade of JQuery. JQuery 1.0.1 is
included with Drupal 5, however it is not very well supported in the JQuery
community. In order to use most current and advanced JQuery functionality
you will want to build off a newer version of JQuery. This module includes
John Resig's compat-1.0.js plugin that provides backwards compatiblity for
newer versions of JQuery to work with the JS code in Drupal 5.

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/03/16 11:25:56 espie Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_MODS}/
${DRUPAL_MODS}/jquery_update/
${DRUPAL_MODS}/jquery_update/LICENSE.txt
${DRUPAL_MODS}/jquery_update/README.txt
@comment ${DRUPAL_MODS}/jquery_update/README.txt.orig
${DRUPAL_MODS}/jquery_update/collapse-fix.js
${DRUPAL_MODS}/jquery_update/compat-1.0.js
${DRUPAL_MODS}/jquery_update/jquery.js
${DRUPAL_MODS}/jquery_update/jquery_update.info
${DRUPAL_MODS}/jquery_update/jquery_update.module