From c5ea6ff7abd6e376ae151c9724d24f6fe156766e Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 26 Sep 2006 19:21:57 +0000 Subject: Initial import into public repository git-svn-id: http://svn.klever.net/kin/fireflix/trunk@159 fe716a7a-6dde-0310-88d9-d003556173a8 --- diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..a9fb0c7 --- a/dev/null +++ b/AUTHORS @@ -0,0 +1,3 @@ +Klever dissected: + Michael 'hacker' Krelin + Leonid Ivanov diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..9a21651 --- a/dev/null +++ b/COPYING @@ -0,0 +1,19 @@ +Copyright (c) 2006 Klever Group (http://www.klever.net/) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 --- a/dev/null +++ b/ChangeLog diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..913b46a --- a/dev/null +++ b/Makefile.am @@ -0,0 +1,37 @@ +SUBDIRS = content locale + +xpi_DATA = \ + install.rdf \ + AUTHORS COPYING NEWS + +EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest + +XPI=${PACKAGE}-${VERSION}.xpi + +xpi: ${XPI} + +${XPI}: install + cd ${xpichromedir} \ + && ${ZIP} -r -m ${PACKAGE}.jar */ + cd ${xpidir} \ + && ${ZIP} -r @abs_builddir@/$@ . + +install-data-local: ${xpidir}/chrome.manifest + +${xpidir}/chrome.manifest: chrome.manifest Makefile + sed \ + -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \ + -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \ + $< >$@ + +clean-local: + rm -rf ${xpidir} ${XPI} + +all-local: NEWS + +NEWS: NEWS.xsl NEWS.xml + ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml + +mozextptr: ${MOZ_EXT_ID} +${MOZ_EXT_ID}: + echo @abs_srcdir@ >$@ diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..d669517 --- a/dev/null +++ b/NEWS @@ -0,0 +1,2 @@ +0.0 (September 26th, 2006) + - Initial release diff --git a/NEWS.xml b/NEWS.xml new file mode 100644 index 0000000..ed82c8a --- a/dev/null +++ b/NEWS.xml @@ -0,0 +1,6 @@ + + + + Initial release + + diff --git a/NEWS.xsl b/NEWS.xsl new file mode 100644 index 0000000..7c71307 --- a/dev/null +++ b/NEWS.xsl @@ -0,0 +1,24 @@ + + + + + + + + + + + + + - + + + + + + diff --git a/README b/README new file mode 100644 index 0000000..e69de29 --- a/dev/null +++ b/README diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..1a4b02a --- a/dev/null +++ b/autogen.sh @@ -0,0 +1,7 @@ +#!/bin/sh +WANT_AUTOMAKE=1.8 +export WANT_AUTOMAKE +aclocal \ +&& automake -a \ +&& autoconf \ +&& ./configure "$@" diff --git a/chrome.manifest b/chrome.manifest new file mode 100644 index 0000000..3792a2f --- a/dev/null +++ b/chrome.manifest @@ -0,0 +1,5 @@ +content fireflix content/ + +overlay chrome://browser/content/browser.xul chrome://fireflix/content/browser.xul + +locale fireflix en-US locale/en-US/ diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..b76ae0f --- a/dev/null +++ b/configure.ac @@ -0,0 +1,28 @@ +AC_INIT([fireflix], [0.0], [fireflix-bugs@klever.net]) +AC_CONFIG_SRCDIR([install.rdf.in]) +AM_INIT_AUTOMAKE([dist-bzip2]) +AC_SUBST([MOZ_EXT_ID],[{4269f719-86de-4668-b8ad-04752c23a69e}]) + +AC_PATH_PROG([ZIP],[zip],[false]) +if test "${ZIP}" = "false" ; then + AC_MSG_ERROR([zip is required to produce packaged extension]) +fi +AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) + +AC_SUBST([xpidir],[\${top_builddir}/xpi]) +AC_SUBST([xpichromedir],[\${xpidir}/chrome]) +AC_SUBST([xpichromecontentdir],[\${xpichromedir}/content]) +AC_SUBST([xpichromelocaledir],[\${xpichromedir}/locale]) + +COPYING="`sed -e 's/\\"/\\"/g' -e 's,$,
,g' COPYING|tr '\n' ' '`" +AC_SUBST([COPYING]) + +AC_CONFIG_FILES([ + Makefile + install.rdf + update.rdf + content/Makefile + content/autoconf.dtd + locale/Makefile +]) +AC_OUTPUT diff --git a/content/Makefile.am b/content/Makefile.am new file mode 100644 index 0000000..8548400 --- a/dev/null +++ b/content/Makefile.am @@ -0,0 +1,22 @@ +xpichromecontent_DATA = \ + autoconf.dtd \ + browser.xul about.xul fireflix-panel.xul photoset-props.xul \ + generated-content.xul \ + photoset-props.js fireflix.js flickr.js md5.js \ + generated-content.js \ + fireflix.css \ + background.jpeg + +sized_icons = \ + $(addsuffix .png, \ + fireflix \ + ) + +nobase_xpichromecontent_DATA = \ + $(addprefix icons/, \ + $(addprefix 16x16/,${sized_icons}) \ + $(addprefix 32x32/,${sized_icons}) \ + ) + +EXTRA_DIST = \ + ${xpichromecontent_DATA} ${nobase_xpichromecontent_DATA} diff --git a/content/about.xul b/content/about.xul new file mode 100644 index 0000000..1cb13d4 --- a/dev/null +++ b/content/about.xul @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +