From 50dcb2aba38f534cfd42581cedb83863951fb4a3 Mon Sep 17 00:00:00 2001 From: lace <> Date: Sun, 18 Dec 2005 00:14:37 +0000 Subject: [PATCH] +project xbelnormalize --- configure.ac | 1 + project/Makefile.am | 3 ++- project/xbelnormalize/Index.pm | 57 +++++++++++++++++++++++++++++++++++++++ project/xbelnormalize/Makefile.am | 23 ++++++++++++++++ 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 project/xbelnormalize/Index.pm create mode 100644 project/xbelnormalize/Makefile.am diff --git a/configure.ac b/configure.ac index eb7f83f..f197053 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,7 @@ Makefile ./project/udpgate/Makefile ./project/harpy/Makefile ./project/netdnsspoof/Makefile +./project/xbelnormalize/Makefile ]) echo done. diff --git a/project/Makefile.am b/project/Makefile.am index 4f92d24..af40114 100644 --- a/project/Makefile.am +++ b/project/Makefile.am @@ -88,7 +88,8 @@ SUBDIRS= \ ntfsprogsgnomevfs \ udpgate \ harpy \ - netdnsspoof + netdnsspoof \ + xbelnormalize SUBDIRS: Makefile @echo $(SUBDIRS) >$@ diff --git a/project/xbelnormalize/Index.pm b/project/xbelnormalize/Index.pm new file mode 100644 index 0000000..bf6f98e --- /dev/null +++ b/project/xbelnormalize/Index.pm @@ -0,0 +1,57 @@ +# $Id$ +# Main page of 'My::Project::xbelnormalize' +# Copyright (C) 2005 Jan Kratochvil +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; exactly version 2 of June 1991 is required +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +package project::xbelnormalize::Index; +require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway +our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; }; +our $CVS_ID=q$Id$; +use strict; +use warnings; + +use My::Web; +Wuse 'project::Lib'; +Wrequire 'product::Lib'; + + +our @ListItem=( + "name"=>"xbelnormalize", + "platform"=>"unixuser", + "priority"=>585, + "cvs"=>"nethome/bin/xbelnormalize", + # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"} + "link-Source file"=>'http://cvs.jankratochvil.net/viewcvs/'."nethome/bin/xbelnormalize?rev=HEAD", + "summary"=>"Bookmarks .xbel file normalizator", + "license"=>"GPL", + "maintenance"=>"ready", + "language"=>"Perl", + "description"=>sub { return <<"HERE"; }, +

Meaningfully version control and read/write-share +(@{[ a_href 'http://www.cvshome.org/','CVS' ]} etc.) +your browser bookmarks file of format +@{[ a_href 'http://pyxml.sourceforge.net/topics/xbel/','XBEL - XML Bookmark Exchange Language' ]}. +This format is used at least by the @{[ a_href 'http://galeon.sourceforge.net/','Galeon' ]} web browser. +This tool drops any timestamps and other dynamic parts and finally reindents the file to unify it.

+HERE + ); + +sub handler +{ +project::Lib->init(); +exit; +} +1; diff --git a/project/xbelnormalize/Makefile.am b/project/xbelnormalize/Makefile.am new file mode 100644 index 0000000..3082860 --- /dev/null +++ b/project/xbelnormalize/Makefile.am @@ -0,0 +1,23 @@ +# $Id$ +# automake source for the Makefile of project/xbelnormalize/ subdir +# Copyright (C) 2005 Jan Kratochvil +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; exactly version 2 of June 1991 is required +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +include $(top_srcdir)/Makefile-head.am + +MODPERL_PM+= \ + Index.pm + -- 1.8.3.1