tags 471160 + patch

hi there,

what about the attached patch. shouldn't do it the trick? on my test 
installation it works all well

with kind regards, jan.
diff -Nru gallery2-2.2.4/debian/changelog gallery2-2.2.4/debian/changelog
--- gallery2-2.2.4/debian/changelog	2008-04-06 02:29:15.000000000 +0200
+++ gallery2-2.2.4/debian/changelog	2008-04-06 02:29:47.000000000 +0200
@@ -1,3 +1,11 @@
+gallery2 (2.2.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * removing adodb and smarty from package (Closes: #471160)
+  * depending libphp-adodb and smarty and make use of them via symlink
+
+ -- Jan Wagner <[EMAIL PROTECTED]>  Sun, 06 Apr 2008 02:05:32 +0200
+
 gallery2 (2.2.4-2) unstable; urgency=high
 
   * Urgency high due to release critical bug
diff -Nru /tmp/FAwFfSgYAZ/gallery2-2.2.4/debian/control /tmp/3kZ6Kihe9t/gallery2-2.2.4/debian/control
--- gallery2-2.2.4/debian/control	2008-04-06 02:29:15.000000000 +0200
+++ gallery2-2.2.4/debian/control	2008-04-06 02:29:47.000000000 +0200
@@ -8,7 +8,7 @@
 
 Package: gallery2
 Architecture: all
-Depends: apache2 | apache-ssl | apache-perl | apache | httpd, php5 | php5-cgi | libapache-mod-php5 | libapache2-mod-php5 | php4 | php4-cgi | libapache-mod-php4 | libapache2-mod-php4, netpbm (>= 9.20) | imagemagick, debconf (>= 0.2.26) | debconf-2.0, mysql-client | postgresql-client, wwwconfig-common, php5-mysql | php4-mysql | php5-pgsql | php4-pgsql
+Depends: apache2 | apache-ssl | apache-perl | apache | httpd, php5 | php5-cgi | libapache-mod-php5 | libapache2-mod-php5 | php4 | php4-cgi | libapache-mod-php4 | libapache2-mod-php4, netpbm (>= 9.20) | imagemagick, debconf (>= 0.2.26) | debconf-2.0, mysql-client | postgresql-client, wwwconfig-common, php5-mysql | php4-mysql | php5-pgsql | php4-pgsql, libphp-adodb, smarty
 Recommends: jhead, unzip, libjpeg-progs, php5-gd | php4-gd, dcraw, ffmpeg, mysql-server-4.1 | mysql-server | postgresql, zip
 Description: web-based photo album written in PHP
  Gallery2 is a web-based photo album with multiple user support.  It
diff -Nru /tmp/FAwFfSgYAZ/gallery2-2.2.4/debian/rules /tmp/3kZ6Kihe9t/gallery2-2.2.4/debian/rules
--- gallery2-2.2.4/debian/rules	2008-04-06 02:29:15.000000000 +0200
+++ gallery2-2.2.4/debian/rules	2008-04-06 02:29:47.000000000 +0200
@@ -43,6 +43,12 @@
 		esac \
 	    fi \
 	done
+	# remove shipped stuff
+	rm -rf $(GDIR)/lib/smarty
+	rm -rf $(GDIR)/lib/adodb
+	# add links
+	dh_link usr/share/php/smarty/libs usr/share/gallery2/lib/smarty
+	dh_link usr/share/php/adodb usr/share/gallery2/lib/adodb
 	install -m 644 debian/apache.conf $(GCONFDIR)
 
 build:

Attachment: pgpVj9ZjnaOpR.pgp
Description: PGP signature

Reply via email to