[glade-web] Adding missing files.



commit ed1f596a1dc050e621007b1316afd481a0cac7fc
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Jul 21 18:09:38 2009 -0400

    Adding missing files.

 Makefile |   63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 news.rss |   44 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7c222fc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,63 @@
+WEBDIR ?= ${HOME}/www/glade-web
+IMGDIR = ${WEBDIR}/images
+DISTDIR = ${WEBDIR}/dist
+DOCSDIR = ${WEBDIR}/docs
+
+#using python2.4 now (2007/04/19)
+PYTHON = python
+PROCESSOR = ${PYTHON} stp.py
+
+SRC_PAGES = 			\
+	sources.src 		\
+	index.src 		\
+	news.src
+
+HTML_PAGES = $(patsubst %.src, ${WEBDIR}/%.html, ${SRC_PAGES})
+COMMON_PAGES = head.src foot.src newsitems.py feed.py
+CSS_FILES = default.css
+
+all: start_log pages finish_log
+
+html: ${HTML_PAGES}
+
+pages: dirs news.rss ${HTML_PAGES} extras
+
+dirs: ${WEBDIR} ${IMGDIR} ${DISTDIR} ${DOCSDIR}
+
+start_log:
+	echo 'Starting to build the Glade web'
+
+finish_log:
+	echo 'Glade web finished'
+
+${WEBDIR}:
+	mkdir -p ${WEBDIR}
+
+${IMGDIR}:
+	mkdir -p ${IMGDIR}
+
+${DISTDIR}:
+	mkdir -p ${DISTDIR}
+
+${DOCSDIR}:
+	mkdir -p ${DOCSDIR}
+
+${HTML_PAGES}: ${SRC_PAGES} ${COMMON_PAGES}
+
+${WEBDIR}/%.html: %.src
+	${PROCESSOR} $< > $@
+
+news.rss: newsitems.py feed.py
+	${PYTHON} feed.py
+
+extras: ${CSS_FILES} images/*.png
+	cp ${CSS_FILES} ${WEBDIR}
+	cp images/*.png ${IMGDIR}
+	cp news.rss ${WEBDIR}
+	cp .htaccess ${WEBDIR}/.htaccess
+
+clean:
+	rm -f ${HTML_PAGES}
+
+.PHONY:	all dirs extras pages start_log finish_log
+
diff --git a/news.rss b/news.rss
new file mode 100644
index 0000000..ca0226d
--- /dev/null
+++ b/news.rss
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<rss version="2.0">
+
+  <channel>
+    <title>Glade News</title>
+    <description>Glade is a RAD tool to enable quick and easy development
+    of user interfaces for the GTK+ toolkit and the GNOME desktop environment,
+    released under the GNU GPL License.
+
+    The user interfaces designed in Glade are saved as XML, and by using the
+    GtkBuilder GTK+ object these can be loaded by applications dynamically as
+    needed.
+
+    By using GtkBuilder, Glade XML files can be used in numerous programming
+    languages including C, C++, Vala, Java, Perl, Python, C#, Pike, Ruby,
+    Haskell, Objective Caml and Scheme.
+    </description>
+    <language>en-us</language>
+    <link>http://glade.gnome.org</link>
+    <copyright> © 2003 by The GNOME Project</copyright>
+    <webMaster>glade-web glade gnome org</webMaster>
+
+  <image>
+    <title>Glade</title>
+    <url>http://glade.gnome.org/images/gnome-64.png</url>
+    <link>http://glade.gnome.org</link>
+  </image>
+
+  <item>
+    <title>New website design</title>
+    <link>http://glade.gnome.org/news.html#item2</link>
+    <pubDate>Mon, 20 Jul 2009 00:00:00 GMT</pubDate>
+    <description>Our website gets a facelift. Enjoy!.</description>
+  </item>
+
+  <item>
+    <title>Glade 3.6.7 released</title>
+    <link>http://glade.gnome.org/news.html#item1</link>
+    <pubDate>Mon, 29 Jun 2009 00:00:00 GMT</pubDate>
+    <description>This is a bugfix release. See full announcement for details.</description>
+  </item>
+
+  </channel>
+</rss>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]