wok-next rev 21016
Small updates; mdocml -> mandoc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 15 16:44:45 2018 +0300 (2018-10-15) |
parents | 9a78fd347e59 |
children | f48456621a9d |
files | lightsoff/receipt mandoc/receipt mandoc/stuff/cgi.h mandoc/stuff/configure.local.in mandoc/stuff/patches/libmandoc.a.patch mandoc/stuff/patches/pager.patch mandoc/stuff/patches/permissions.patch mandoc/stuff/patches/series mandoc/stuff/patches/shared-libmandoc.patch mate-user-share/receipt mdocml/receipt meson/receipt neonview/receipt |
line diff
1.1 --- a/lightsoff/receipt Mon Oct 15 14:02:33 2018 +0300 1.2 +++ b/lightsoff/receipt Mon Oct 15 16:44:45 2018 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="lightsoff" 1.7 -VERSION="3.28.0" 1.8 +VERSION="3.30.0" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Turn off all the lights" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -11,18 +11,23 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="vala glib-dev gtk+3-dev clutter-dev clutter-gtk-dev librsvg-dev \ 1.17 -gettext itstool" 1.18 +BUILD_DEPENDS="meson ninja vala gtk3-dev clutter-dev clutter-gtk-dev \ 1.19 +librsvg-dev gettext itstool" 1.20 1.21 compile_rules() { 1.22 - ./configure $CONFIGURE_ARGS && 1.23 - make && 1.24 - make install || return 1 1.25 + mv data/icons/hicolor/symbolic/apps/lightsoff-symbolic \ 1.26 + data/icons/hicolor/symbolic/apps/lightsoff-symbolic.svg 1.27 + 1.28 + mkdir build 1.29 + cd build 1.30 + meson-wrapper && 1.31 + ninja && 1.32 + ninja install || return 1 1.33 1.34 fix symlinks 1.35 } 1.36 1.37 genpkg_rules() { 1.38 copy @std 1.39 - DEPENDS="clutter clutter-gtk glib gtk+3" 1.40 + DEPENDS="clutter clutter-gtk gdk-pixbuf glib gtk3 librsvg" 1.41 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mandoc/receipt Mon Oct 15 16:44:45 2018 +0300 2.3 @@ -0,0 +1,45 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="mandoc" 2.7 +VERSION="1.14.4" 2.8 +CATEGORY="base-system" 2.9 +SHORT_DESC="UNIX manpage compiler" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="ISC" 2.12 +WEB_SITE="http://mdocml.bsd.lv/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL" 2.16 + 2.17 +BUILD_DEPENDS="zlib-dev" 2.18 +SPLIT="$PACKAGE-cgi $PACKAGE $PACKAGE-dev" 2.19 + 2.20 +# see also: https://github.com/trentm/mdocml/tree/html5 2.21 + 2.22 +compile_rules() { 2.23 + sed "s|@CFLAGS@|$CFLAGS|" $stuff/configure.local.in > configure.local 2.24 + cp $stuff/cgi.h . 2.25 + 2.26 + ./configure $CONFIGURE_ARGS && 2.27 + make -j1 && 2.28 + make -j1 DESTDIR=$install \ 2.29 + base-install lib-install cgi-install catman-install 2.30 +} 2.31 + 2.32 +genpkg_rules() { 2.33 + case $PACKAGE in 2.34 + *-cgi) 2.35 + copy var/www/ 2.36 + CAT="development|CGI files" 2.37 + DEPENDS=" " 2.38 + ;; 2.39 + mandoc) 2.40 + copy @std @rm 2.41 + DEPENDS="zlib" 2.42 + PROVIDE="mdocml" 2.43 + ;; 2.44 + *-dev) 2.45 + copy @dev 2.46 + ;; 2.47 + esac 2.48 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mandoc/stuff/cgi.h Mon Oct 15 16:44:45 2018 +0300 3.3 @@ -0,0 +1,5 @@ 3.4 +#define SCRIPT_NAME "cgi-bin/man.cgi" 3.5 +#define MAN_DIR "/usr/share/man" 3.6 +#define CSS_DIR "" 3.7 +#define CUSTOMIZE_TITLE "Manual pages with mandoc" 3.8 +#define COMPAT_OLDURI Yes
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/mandoc/stuff/configure.local.in Mon Oct 15 16:44:45 2018 +0300 4.3 @@ -0,0 +1,14 @@ 4.4 +PREFIX=/usr 4.5 +MANDIR=/usr/share/man 4.6 +LIBDIR=/usr/lib 4.7 +CFLAGS="@CFLAGS@" 4.8 +UTF8_LOCALE="en_US.UTF-8" 4.9 +MANPATH_DEFAULT="/usr/share/man:/usr/local/man" 4.10 +BUILD_CGI=1 4.11 +BUILD_CATMAN=1 4.12 +LN="ln -s" 4.13 + 4.14 +INSTALL_PROGRAM="install -m 0755" 4.15 +INSTALL_LIB="install -m 0755" 4.16 +INSTALL_MAN="install -m 0644" 4.17 +INSTALL_DATA="install -m 0644"
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/mandoc/stuff/patches/libmandoc.a.patch Mon Oct 15 16:44:45 2018 +0300 5.3 @@ -0,0 +1,9 @@ 5.4 +--- a/Makefile 5.5 ++++ b/Makefile 5.6 +@@ -579,3 +579,6 @@ 5.7 + .1.1.html .3.3.html .5.5.html .7.7.html .8.8.html: mandoc 5.8 + ./mandoc -Thtml -Wall,stop \ 5.9 + -Ostyle=mandoc.css,man=%N.%S.html,includes=%I.html $< > $@ 5.10 ++ 5.11 ++libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) 5.12 ++ $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/mandoc/stuff/patches/pager.patch Mon Oct 15 16:44:45 2018 +0300 6.3 @@ -0,0 +1,27 @@ 6.4 +--- mdocml-1.13.4/main.c.orig 6.5 ++++ mdocml-1.13.4/main.c 6.6 +@@ -1042,7 +1042,7 @@ 6.7 + if (pager == NULL || *pager == '\0') 6.8 + pager = getenv("PAGER"); 6.9 + if (pager == NULL || *pager == '\0') 6.10 +- pager = "more -s"; 6.11 ++ pager = "/bin/more -s"; 6.12 + cp = mandoc_strdup(pager); 6.13 + 6.14 + /* 6.15 +@@ -1063,15 +1063,6 @@ 6.16 + break; 6.17 + } 6.18 + 6.19 +- /* For less(1), use the tag file. */ 6.20 +- 6.21 +- if ((cmdlen = strlen(argv[0])) >= 4) { 6.22 +- cp = argv[0] + cmdlen - 4; 6.23 +- if (strcmp(cp, "less") == 0) { 6.24 +- argv[argc++] = mandoc_strdup("-T"); 6.25 +- argv[argc++] = tag_files->tfn; 6.26 +- } 6.27 +- } 6.28 + argv[argc++] = tag_files->ofn; 6.29 + argv[argc] = NULL; 6.30 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/mandoc/stuff/patches/permissions.patch Mon Oct 15 16:44:45 2018 +0300 7.3 @@ -0,0 +1,11 @@ 7.4 +--- a/Makefile 7.5 ++++ b/Makefile 7.6 +@@ -424,7 +424,7 @@ 7.7 + mkdir -p $(DESTDIR)$(INCLUDEDIR) 7.8 + mkdir -p $(DESTDIR)$(MANDIR)/man3 7.9 + $(INSTALL_LIB) $(LIBMANDOC) $(DESTDIR)$(LIBDIR) 7.10 +- $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \ 7.11 ++ $(INSTALL_DATA) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \ 7.12 + $(DESTDIR)$(INCLUDEDIR) 7.13 + $(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \ 7.14 + mansearch.3 mchars_alloc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/mandoc/stuff/patches/series Mon Oct 15 16:44:45 2018 +0300 8.3 @@ -0,0 +1,7 @@ 8.4 +# From Arch Linux: 8.5 +# https://git.alpinelinux.org/cgit/aports/tree/main/mdocml 8.6 +shared-libmandoc.patch 8.7 +pager.patch 8.8 + 8.9 +libmandoc.a.patch 8.10 +permissions.patch
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/mandoc/stuff/patches/shared-libmandoc.patch Mon Oct 15 16:44:45 2018 +0300 9.3 @@ -0,0 +1,73 @@ 9.4 +--- mandoc-1.14.2/Makefile.orig 9.5 ++++ mandoc-1.14.2/Makefile 9.6 +@@ -347,9 +347,13 @@ 9.7 + mdoc.h.html \ 9.8 + roff.h.html 9.9 + 9.10 ++LIBMANDOC = libmandoc.so 9.11 ++MANDOCLIB = -L. -lmandoc 9.12 ++ 9.13 + # === USER CONFIGURATION =============================================== 9.14 + 9.15 + include Makefile.local 9.16 ++CFLAGS += -fPIC 9.17 + 9.18 + # === DEPENDENCY HANDLING ============================================== 9.19 + 9.20 +@@ -372,7 +376,7 @@ 9.21 + rm -f Makefile.local config.h config.h.old config.log config.log.old 9.22 + 9.23 + clean: 9.24 +- rm -f libmandoc.a $(LIBMANDOC_OBJS) $(COMPAT_OBJS) 9.25 ++ rm -f $(LIBMANDOC) $(LIBMANDOC_OBJS) $(COMPAT_OBJS) 9.26 + rm -f mandoc $(MAIN_OBJS) 9.27 + rm -f man.cgi $(CGI_OBJS) 9.28 + rm -f mandocd catman catman.o $(MANDOCD_OBJS) 9.29 +@@ -411,11 +415,11 @@ 9.30 + $(INSTALL_MAN) makewhatis.8 \ 9.31 + $(DESTDIR)$(MANDIR)/man8/$(BINM_MAKEWHATIS).8 9.32 + 9.33 +-lib-install: libmandoc.a 9.34 ++lib-install: $(LIBMANDOC) 9.35 + mkdir -p $(DESTDIR)$(LIBDIR) 9.36 + mkdir -p $(DESTDIR)$(INCLUDEDIR) 9.37 + mkdir -p $(DESTDIR)$(MANDIR)/man3 9.38 +- $(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) 9.39 ++ $(INSTALL_LIB) $(LIBMANDOC) $(DESTDIR)$(LIBDIR) 9.40 + $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \ 9.41 + $(DESTDIR)$(INCLUDEDIR) 9.42 + $(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \ 9.43 +@@ -488,23 +492,23 @@ 9.44 + @echo "$@ is out of date; please run ./configure" 9.45 + @exit 1 9.46 + 9.47 +-libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) 9.48 +- ar rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS) 9.49 ++libmandoc.so: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) 9.50 ++ $(CC) $(LDFLAGS) -shared -o $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS) $(LDADD) 9.51 + 9.52 +-mandoc: $(MAIN_OBJS) libmandoc.a 9.53 +- $(CC) -o $@ $(LDFLAGS) $(MAIN_OBJS) libmandoc.a $(LDADD) 9.54 ++mandoc: $(MAIN_OBJS) $(LIBMANDOC) 9.55 ++ $(CC) -o $@ $(LDFLAGS) $(MAIN_OBJS) $(MANDOCLIB) $(LDADD) 9.56 + 9.57 + man.cgi: $(CGI_OBJS) libmandoc.a 9.58 + $(CC) $(STATIC) -o $@ $(LDFLAGS) $(CGI_OBJS) libmandoc.a $(LDADD) 9.59 + 9.60 +-mandocd: $(MANDOCD_OBJS) libmandoc.a 9.61 +- $(CC) -o $@ $(LDFLAGS) $(MANDOCD_OBJS) libmandoc.a $(LDADD) 9.62 ++mandocd: $(MANDOCD_OBJS) $(LIBMANDOC) 9.63 ++ $(CC) -o $@ $(LDFLAGS) $(MANDOCD_OBJS) $(LIBMANDOC) $(LDADD) 9.64 + 9.65 +-catman: catman.o libmandoc.a 9.66 +- $(CC) -o $@ $(LDFLAGS) catman.o libmandoc.a $(LDADD) 9.67 ++catman: catman.o $(LIBMANDOC) 9.68 ++ $(CC) -o $@ $(LDFLAGS) catman.o $(LIBMANDOC) $(LDADD) 9.69 + 9.70 +-demandoc: $(DEMANDOC_OBJS) libmandoc.a 9.71 +- $(CC) -o $@ $(LDFLAGS) $(DEMANDOC_OBJS) libmandoc.a $(LDADD) 9.72 ++demandoc: $(DEMANDOC_OBJS) $(LIBMANDOC) 9.73 ++ $(CC) -o $@ $(LDFLAGS) $(DEMANDOC_OBJS) $(LIBMANDOC) $(LDADD) 9.74 + 9.75 + soelim: $(SOELIM_OBJS) 9.76 + $(CC) -o $@ $(LDFLAGS) $(SOELIM_OBJS)
10.1 --- a/mate-user-share/receipt Mon Oct 15 14:02:33 2018 +0300 10.2 +++ b/mate-user-share/receipt Mon Oct 15 16:44:45 2018 +0300 10.3 @@ -1,7 +1,7 @@ 10.4 # SliTaz package receipt v2. 10.5 10.6 PACKAGE="mate-user-share" 10.7 -VERSION="1.20.0" 10.8 +VERSION="1.20.1" 10.9 CATEGORY="system-tools" 10.10 SHORT_DESC="Easy to use user-level file sharing" 10.11 MAINTAINER="al.bobylev@gmail.com" 10.12 @@ -11,7 +11,7 @@ 10.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 10.14 WGET_URL="https://github.com/mate-desktop/mate-user-share/archive/v$VERSION.tar.gz" 10.15 10.16 -BUILD_DEPENDS="mate-common yelp-tools itstool xorg-libX11-dev gtk+3-dev \ 10.17 +BUILD_DEPENDS="mate-common yelp-tools-dev itstool xorg-libX11-dev gtk3-dev \ 10.18 dbus-glib-dev libnotify-dev libcanberra-dev caja-dev" 10.19 10.20 compile_rules() { 10.21 @@ -19,11 +19,13 @@ 10.22 $CONFIGURE_ARGS && 10.23 fix libtool && 10.24 make && 10.25 - make install 10.26 + make install || return 1 10.27 + 10.28 + fix symlinks 10.29 } 10.30 10.31 genpkg_rules() { 10.32 copy @std 10.33 - DEPENDS="caja glib gtk+3 pango xorg-libX11" 10.34 + DEPENDS="caja glib gtk3 pango xorg-libX11" 10.35 TAGS="MATE" 10.36 }
11.1 --- a/mdocml/receipt Mon Oct 15 14:02:33 2018 +0300 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,72 +0,0 @@ 11.4 -# SliTaz package receipt v2. 11.5 - 11.6 -PACKAGE="mdocml" 11.7 -VERSION="1.12.1" 11.8 -CATEGORY="base-system" 11.9 -SHORT_DESC="UNIX manpage compiler" 11.10 -MAINTAINER="al.bobylev@gmail.com" 11.11 -LICENSE="ISC" 11.12 -WEB_SITE="http://mdocml.bsd.lv/" 11.13 -REPOLOGY="mandoc" 11.14 - 11.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 11.16 -WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL" 11.17 - 11.18 -BUILD_DEPENDS="db-dev" 11.19 -SPLIT="mdocml mdocml-cgi mdocml-dev mdocml-extra mdocml-man" 11.20 - 11.21 -# Rules to configure and make the package. 11.22 -compile_rules() 11.23 -{ 11.24 - export LDFLAGS="$LDFLAGS -lpthread" 11.25 - # configure 11.26 - sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \ 11.27 - s/^STATIC.*/#\0/; \ 11.28 - s/^PREFIX.*/PREFIX = \/usr/; 11.29 - s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/; 11.30 - s/^#\(DBLIB.*\)/\1/' \ 11.31 - Makefile 11.32 - make clean && 11.33 - make && 11.34 - make DESTDIR=$install install && 11.35 - make DESTDIR=$install installcgi && 11.36 - install -m 0755 apropos catman mandocdb whatis $install/usr/bin 11.37 -} 11.38 - 11.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.40 -genpkg_rules() 11.41 -{ 11.42 - case $PACKAGE in 11.43 - mdocml) 11.44 - DEPENDS="glibc-base" 11.45 - mkdir -p $fs/usr/bin 11.46 - cp -a $install/usr/bin/mandoc $fs/usr/bin 11.47 - ;; 11.48 - mdocml-cgi) 11.49 - CAT="development|CGI files for mdocml" 11.50 - DEPENDS="glibc-base libdb" 11.51 - mkdir -p $fs/var 11.52 - cp -a $install/var/www $fs/var 11.53 - ;; 11.54 - mdocml-dev) 11.55 - CAT="development|Devel files for mdocml" 11.56 - DEPENDS="mdocml" 11.57 - mkdir -p $fs/usr 11.58 - cp -a $install/usr/include $fs/usr 11.59 - cp -a $install/usr/lib $fs/usr 11.60 - ;; 11.61 - mdocml-extra) 11.62 - CAT="base-system|Extra files for mdocml" 11.63 - DEPENDS="glibc-base libdb mdocml" 11.64 - mkdir -p $fs/usr 11.65 - cp -a $install/usr/bin $fs/usr 11.66 - rm -f $fs/usr/bin/mandoc 11.67 - ;; 11.68 - mdocml-man) 11.69 - CAT="development|Man files for mdocml" 11.70 - DEPENDS="mdocml" 11.71 - mkdir -p $fs/usr/share 11.72 - cp -a $install/usr/share/man $fs/usr/share 11.73 - ;; 11.74 - esac 11.75 -}
12.1 --- a/meson/receipt Mon Oct 15 14:02:33 2018 +0300 12.2 +++ b/meson/receipt Mon Oct 15 16:44:45 2018 +0300 12.3 @@ -1,13 +1,14 @@ 12.4 # SliTaz package receipt v2. 12.5 12.6 PACKAGE="meson" 12.7 -VERSION="0.47.2" 12.8 +VERSION="0.48.0" 12.9 CATEGORY="development" 12.10 SHORT_DESC="A high performance build system" 12.11 MAINTAINER="al.bobylev@gmail.com" 12.12 LICENSE="Apache" 12.13 WEB_SITE="http://mesonbuild.com/" 12.14 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/meson.html" 12.15 +HOST_ARCH="any" 12.16 12.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 12.18 WGET_URL="https://github.com/mesonbuild/meson/releases/download/$VERSION/$TARBALL" 12.19 @@ -15,7 +16,7 @@ 12.20 BUILD_DEPENDS="python3" 12.21 12.22 compile_rules() { 12.23 - python3 setup.py install --root=$install --optimize=0 || return 1 12.24 + python3 -B setup.py install --root=$install || return 1 12.25 12.26 install -m755 $stuff/meson-wrapper $install/usr/bin/ 12.27 }
13.1 --- a/neonview/receipt Mon Oct 15 14:02:33 2018 +0300 13.2 +++ b/neonview/receipt Mon Oct 15 16:44:45 2018 +0300 13.3 @@ -1,24 +1,26 @@ 13.4 # SliTaz package receipt v2. 13.5 13.6 PACKAGE="neonview" 13.7 -VERSION="0.8.1" 13.8 +VERSION="0.8.2" 13.9 CATEGORY="graphics" 13.10 SHORT_DESC="Free, lightweight image viewer" 13.11 MAINTAINER="al.bobylev@gmail.com" 13.12 LICENSE="GPL2" 13.13 -WEB_SITE="http://www.tuxarena.com/neonview/" 13.14 +WEB_SITE="http://www.tuxarena.com/intro/neonview.php" 13.15 13.16 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 13.17 -WGET_URL="http://www.tuxarena.com/$PACKAGE/files/$TARBALL" 13.18 +WGET_URL="http://www.tuxarena.com/intro/files/$TARBALL" 13.19 13.20 -BUILD_DEPENDS="gtk+3-dev" 13.21 +BUILD_DEPENDS="gtk3-dev" 13.22 13.23 compile_rules() { 13.24 make && 13.25 - install -Dm755 $src/neonview $install/usr/bin/neonview 13.26 + install -Dm755 $src/neonview $install/usr/bin/neonview || return 1 13.27 + 13.28 + cook_pick_docs *.txt *.html 13.29 } 13.30 13.31 genpkg_rules() { 13.32 copy @std 13.33 - DEPENDS="gtk+3" 13.34 + DEPENDS="gtk3" 13.35 }