[Pkg-citadel-commit] r50 - webcit/trunk/debian
dothebart-guest at alioth.debian.org
dothebart-guest at alioth.debian.org
Mon Apr 14 15:00:44 UTC 2008
Author: dothebart-guest
Date: 2008-04-14 15:00:43 +0000 (Mon, 14 Apr 2008)
New Revision: 50
Modified:
webcit/trunk/debian/citadel-webcit.postinst
webcit/trunk/debian/control
webcit/trunk/debian/rules
Log:
* remove static/prototype.js from the package
* depend on prototypejs
* link over prototype.js from the other package into our static directory
Modified: webcit/trunk/debian/citadel-webcit.postinst
===================================================================
--- webcit/trunk/debian/citadel-webcit.postinst 2008-04-14 10:50:51 UTC (rev 49)
+++ webcit/trunk/debian/citadel-webcit.postinst 2008-04-14 15:00:43 UTC (rev 50)
@@ -16,6 +16,13 @@
db_get citadel/WebcitApacheIntegration &&WWWTYPE="$RET"
db_stop
+# Hack: make webcit use gnome icons. roll your own if wanted.
+ if test ! -L /usr/share/citadel-webcit/static/icons; then
+ ln -sf /usr/share/icons/gnome/24x24/mimetypes /usr/share/citadel-webcit/static/icons || true
+ fi
+ if test ! -L /usr/share/citadel-webcit/static/; then
+ ln -sf /usr/share/prototypejs/prototype.js /usr/share/citadel-webcit/static/
+ fi
#DEBHELPER#
# update the webserver, if needed
Modified: webcit/trunk/debian/control
===================================================================
--- webcit/trunk/debian/control 2008-04-14 10:50:51 UTC (rev 49)
+++ webcit/trunk/debian/control 2008-04-14 15:00:43 UTC (rev 50)
@@ -9,7 +9,7 @@
Package: citadel-webcit
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales
+Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales, prototypejs
Suggests: citadel-server, apache2 | apache, localepurge, gnome-icon-theme
Recommends: shared-mime-info
Description: web-based frontend to Citadel groupware server
Modified: webcit/trunk/debian/rules
===================================================================
--- webcit/trunk/debian/rules 2008-04-14 10:50:51 UTC (rev 49)
+++ webcit/trunk/debian/rules 2008-04-14 15:00:43 UTC (rev 50)
@@ -84,6 +84,7 @@
chmod a-x $(DESTDIR)/usr/share/citadel-webcit/static/*
rmdir $(DESTDIR)/usr/share/citadel-webcit/static.local
find $(DESTDIR)/usr/share/locale/ -name webcit.mo -exec chmod a-x {} \;
+ rm $(DESTDIR)/usr/share/citadel-webcit/static/prototype.js
# mkdir -p $(DESTDIR)/etc/citadel; cp webcit.conf $(DESTDIR)/etc/citadel/
More information about the Pkg-citadel-commit
mailing list