debian/0000755000000000000000000000000011765726440007202 5ustar debian/uwsgi/0000755000000000000000000000000011765726372010344 5ustar debian/uwsgi/README0000644000000000000000000000070511765726372011226 0ustar RDF::Endpoint with uWSGI and Apache2 ==================================== uWSGI started as a Python WSGI but nowadays supports Perl PSGI as well. Copy the files into /etc and invoke these commands as root: aptitude install uwsgi uwsgi-plugin-psgi libapache2-mod-uwsgi ln -st /etc/uwsgi/apps-enabled/ ../apps-available/rdf_endpoint.psgi service uwsgi start rdf_endpoint -- Jonas Smedegaard Sun, 10 Jun 2012 19:31:13 +0200 debian/uwsgi/etc/0000755000000000000000000000000011765151061011102 5ustar debian/uwsgi/etc/uwsgi/0000755000000000000000000000000011765151113012236 5ustar debian/uwsgi/etc/uwsgi/apps-available/0000755000000000000000000000000011765725634015136 5ustar debian/uwsgi/etc/uwsgi/apps-available/rdf_endpoint.ini0000644000000000000000000000066011765725634020314 0ustar [uwsgi] plugins = 0:psgi # set if using e.g. SQLite and app uid is different from www-data #uid = www-app # set if web server needs write access to files auto-created by app #umask = 007 check-static = /usr/share/perl5/auto/share/dist/RDF-Endpoint/www psgi = /usr/share/librdf-endpoint-perl/endpoint.psgi env = RDF_ENDPOINT_CONFIG=/etc/rdf-endpoint # save memory - more info at ksm = 1 debian/uwsgi/etc/apache2/0000755000000000000000000000000011765154370012413 5ustar debian/uwsgi/etc/apache2/conf.d/0000755000000000000000000000000011765720463013564 5ustar debian/uwsgi/etc/apache2/conf.d/rdf_endpoint0000644000000000000000000000014311765720463016160 0ustar SetHandler uwsgi-handler uWSGISocket /run/uwsgi/app/rdf_endpoint/socket debian/patches/0000755000000000000000000000000011765716032010625 5ustar debian/patches/README0000644000000000000000000000021111347270217011473 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1002_fix_serve_html-friendly-xhtml.patch0000644000000000000000000000122211765716032020267 0ustar Description: Fix serve HTML-friendly XHTML Author: Jonas Smedegaard Last-Update: 2012-06-12 --- a/lib/RDF/Endpoint.pm +++ b/lib/RDF/Endpoint.pm @@ -413,7 +413,7 @@ my $gen = RDF::RDFa::Generator->new( style => 'HTML::Head', namespaces => { %$ns } ); $gen->inject_document($doc, $sdmodel); - my $writer = HTML::HTML5::Writer->new( markup => 'xhtml', doctype => DOCTYPE_XHTML_RDFA ); + my $writer = HTML::HTML5::Writer->new( markup => 'xhtml', polyglot => 1, doctype => DOCTYPE_XHTML_RDFA ); $content = encode_utf8( $writer->document($doc) ); $response->status(200); $response->headers->content_type('text/html'); debian/patches/series0000644000000000000000000000010411765714461012041 0ustar 1001_use_codemirror2.patch 1002_fix_serve_html-friendly-xhtml.patch debian/patches/1001_use_codemirror2.patch0000644000000000000000000000237711765714673015434 0ustar Description: Use Codemirror 2.x Author: Jonas Smedegaard Last-Update: 2012-06-12 --- a/share/index.html +++ b/share/index.html @@ -3,10 +3,19 @@ SPARQL + - - - + + + - +