# This parameter should be the external address of your Memories
# installation
-Memories->config->uri_base("http://localhost/memories/");
+Memories->config->uri_base("http://memories.simon-cozens.org/");
# This is where your templates will live.
-Memories->config->{template_root} = "/etc/memories/templates/";
+Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates";
# Here is where uploaded photos will be stored. Your web server user
# should own this directory.
-Memories->config->{data_store} = "/var/www/memories/store/";
+Memories->config->{data_store} = "/web/photostore/";
# You also need to configure your web server so that it serves files out
# of the data store; this URL should be where that data store directory
# is exposed on the web.
-Memories->config->{data_store_external} = "http://localhost/memories/store/";
+Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/";
# Your database server: the first part should always be "dbi"; the
# second, the name of the DBD driver you're using (usually mysql unless
You will also need a MySQL database. Again, in theory other databases
can be used, but in practice, you're on your own again.
-Configure /etc/memories/Config.pm to your site, and follow the instructions in
+Configure Maypole/Config.pm to your site, and follow the instructions in
there - it will require you to set other things up as well.
Test that everything works:
Maintainer: Ben Hutchings <ben@decadent.org.uk>
Section: web
Priority: extra
+Build-Depends: quilt
Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16)
Standards-Version: 3.6.2
--- /dev/null
+--- trunk.orig/templates/frontpage
++++ trunk/templates/frontpage
+@@ -2,8 +2,7 @@
+ <h1> Welcome to Memories </h1>
+
+ <p>
+- Memories is a site where you can upload and share your photos of
+- college life with your friends.
++ Memories is a site where you can upload and share your photos.
+ </p>
+ <p>
+ To view other people's photos, look at the <a
+--- trunk.orig/templates/header
++++ trunk/templates/header
+@@ -1,6 +1,6 @@
+ <html>
+ <head>
+- <title> Memories - ANCC Photo Sharing </title>
++ <title> Memories - Photo Sharing </title>
+ <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
+ [% IF photos %]
+ <link rel="alternate" type="application/rdf+xml" title="RSS"
+--- trunk.orig/templates/photo/upload
++++ trunk/templates/photo/upload
+@@ -1,6 +1,6 @@
+ <html>
+ <head>
+- <title> Memories - ANCC Photo Sharing </title>
++ <title> Memories - Photo Sharing </title>
+ <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
+ <script type="text/javascript" src="[%base%]/tag/list_js"></script>
+ <script type="text/javascript" src="[%base%]/static/upload.js"></script>
--- /dev/null
+--- trunk.orig/Memories/Config.pm
++++ trunk/Memories/Config.pm
+@@ -3,19 +3,19 @@
+
+ # This parameter should be the external address of your Memories
+ # installation
+-Memories->config->uri_base("http://memories.simon-cozens.org/");
++Memories->config->uri_base("http://localhost/memories/");
+
+ # This is where your templates will live.
+-Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates";
++Memories->config->{template_root} = "/etc/memories/templates/";
+
+ # Here is where uploaded photos will be stored. Your web server user
+ # should own this directory.
+-Memories->config->{data_store} = "/web/photostore/";
++Memories->config->{data_store} = "/var/www/memories/store/";
+
+ # You also need to configure your web server so that it serves files out
+ # of the data store; this URL should be where that data store directory
+ # is exposed on the web.
+-Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/";
++Memories->config->{data_store_external} = "http://localhost/memories/store/";
+
+ # Your database server: the first part should always be "dbi"; the
+ # second, the name of the DBD driver you're using (usually mysql unless
+--- trunk.orig/README
++++ trunk/README
+@@ -24,7 +24,7 @@
+ You will also need a MySQL database. Again, in theory other databases
+ can be used, but in practice, you're on your own again.
+
+-Configure Maypole/Config.pm to your site, and follow the instructions in
++Configure /etc/memories/Config.pm to your site, and follow the instructions in
+ there - it will require you to set other things up as well.
+
+ Test that everything works:
--- /dev/null
+101_remove-ancc-refs.diff
+201_use-debian-paths.diff
#!/usr/bin/make -f
-build :
+include /usr/share/quilt/quilt.make
+
+build : $(QUILT_STAMPFN)
binary : binary-arch binary-indep
<h1> Welcome to Memories </h1>
<p>
- Memories is a site where you can upload and share your photos.
+ Memories is a site where you can upload and share your photos of
+ college life with your friends.
</p>
<p>
To view other people's photos, look at the <a
<html>
<head>
- <title> Memories - Photo Sharing </title>
+ <title> Memories - ANCC Photo Sharing </title>
<link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
[% IF photos %]
<link rel="alternate" type="application/rdf+xml" title="RSS"
<html>
<head>
- <title> Memories - Photo Sharing </title>
+ <title> Memories - ANCC Photo Sharing </title>
<link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="[%base%]/tag/list_js"></script>
<script type="text/javascript" src="[%base%]/static/upload.js"></script>