plasma-applet-system-panel, plasma-applet-weather-widget, and as dependency for the next packages sdl_ttf, htmlcxx

This commit is contained in:
groni
2016-11-23 22:06:03 +01:00
parent aa3608aa76
commit 29d5c7fa6e
15 changed files with 690 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
NoStrip = "/"
def setup():
shelltools.export("LDFLAGS", "%s -lm" % get.LDFLAGS())
autotools.configure("--prefix=/usr")
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "COPYING")
@@ -0,0 +1,17 @@
Author: Ludovico Cavedon <cavedon@debian.org>
Description: Fix compilation with GCC 4.6
Forwarded: yes
Index: htmlcxx/html/tree.h
===================================================================
--- htmlcxx.orig/html/tree.h
+++ htmlcxx/html/tree.h
@@ -116,7 +116,7 @@ class tree {
typedef T* pointer;
typedef T& reference;
typedef size_t size_type;
- typedef ptrdiff_t difference_type;
+ typedef std::ptrdiff_t difference_type;
typedef std::bidirectional_iterator_tag iterator_category;
iterator_base();
@@ -0,0 +1,38 @@
Description: do not link htmlcxx against libcss_parser, but have
libcss_parser_pp link against it.
Author: Ludovico Cavedon <cavedon@debian.org>
Index: htmlcxx/Makefile.am
===================================================================
--- htmlcxx.orig/Makefile.am
+++ htmlcxx/Makefile.am
@@ -3,7 +3,7 @@ SUBDIRS = html css
bin_PROGRAMS = htmlcxx
htmlcxx_SOURCES = htmlcxx.cc wingetopt.h
-htmlcxx_LDADD = html/libhtmlcxx.la css/libcss_parser_pp.la css/libcss_parser.la
+htmlcxx_LDADD = html/libhtmlcxx.la css/libcss_parser_pp.la
EXTRA_DIST = ASF-2.0 LGPL_V2 wingetopt.c htmlcxx.spec htmlcxx.vcproj htmlcxxapp.vcproj htmlcxx.pc.in
Index: htmlcxx/css/Makefile.am
===================================================================
--- htmlcxx.orig/css/Makefile.am
+++ htmlcxx/css/Makefile.am
@@ -1,11 +1,12 @@
-lib_LTLIBRARIES = libcss_parser_pp.la libcss_parser.la
-
-libcss_parser_pp_la_SOURCES = parser_pp.h parser_pp.cc parser.c
-libcss_parser_pp_la_LDFLAGS = -version-info 0:0:0
+lib_LTLIBRARIES = libcss_parser.la libcss_parser_pp.la
libcss_parser_la_SOURCES = css_syntax.y css_lex.l css_lex.h css_syntax.h parser.c parser.h
libcss_parser_la_LDFLAGS = -version-info 0:0:0
+libcss_parser_pp_la_SOURCES = parser_pp.h parser_pp.cc parser.c
+libcss_parser_pp_la_LDFLAGS = -version-info 0:0:0
+libcss_parser_pp_la_LIBADD = libcss_parser.la
+
AM_YFLAGS = -d
AM_LFLAGS = -i
+61
View File
@@ -0,0 +1,61 @@
<?xml version='1.0'?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>htmlcxx</Name>
<Homepage>http://htmlcxx.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPL</License>
<IsA>app:library</IsA>
<Summary>htmlcxx is a simple non-validating css1 and html parser for C++</Summary>
<Description>htmlcxx is the name of both the library and the utility application that comes with this package. Although the htmlcxx (the application) is mostly useless for programming, you can use it to easily see how htmlcxx (the library) would parse your html code.</Description>
<Archive sha1sum="0d8205a0d1296fd228af2001b1d990e9257c104c" type="targz">http://sourceforge.net/projects/htmlcxx/files/htmlcxx/0.86/htmlcxx-0.86.tar.gz</Archive>
<Patches>
<Patch level="1">fix-gcc-4.6-ftbfs.patch</Patch>
<Patch level="1">reduce-linking.patch</Patch>
</Patches>
<BuildDependencies>
<Dependency>flex</Dependency>
<Dependency>bison</Dependency>
<Dependency>libtool</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>htmlcxx</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>htmlcxx-devel</Name>
<Summary>Development files for htmlcxx</Summary>
<RuntimeDependencies>
<Dependency release="current">htmlcxx</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-20</Date>
<Version>0.86</Version>
<Comment>First release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>