Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] luakit: update to 2.3.1 and added doc subpackage
@ 2022-09-05 15:44 bingulo
  2022-09-05 15:57 ` bingulo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bingulo @ 2022-09-05 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

There is a new pull request by bingulo against master on the void-packages repository

https://github.com/bingulo/void-packages luakit-update
https://github.com/void-linux/void-packages/pull/39116

luakit: update to 2.3.1 and added doc subpackage
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)

A patch file from https://github.com/void-linux/void-packages/pull/39116.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-luakit-update-39116.patch --]
[-- Type: text/x-diff, Size: 3947 bytes --]

From aa418b500a24351c2d539adef239ede82ff7f7bb Mon Sep 17 00:00:00 2001
From: bingulo <gcarlos@disroot.org>
Date: Mon, 5 Sep 2022 12:36:26 -0300
Subject: [PATCH] luakit: update to 2.3.1 and added doc subpackage

---
 srcpkgs/luakit-doc                    |  1 +
 srcpkgs/luakit/patches/Makefile.patch | 39 ---------------------------
 srcpkgs/luakit/template               | 16 ++++++++---
 3 files changed, 13 insertions(+), 43 deletions(-)
 create mode 120000 srcpkgs/luakit-doc
 delete mode 100644 srcpkgs/luakit/patches/Makefile.patch

diff --git a/srcpkgs/luakit-doc b/srcpkgs/luakit-doc
new file mode 120000
index 000000000000..50e9fe62e686
--- /dev/null
+++ b/srcpkgs/luakit-doc
@@ -0,0 +1 @@
+luakit
\ No newline at end of file
diff --git a/srcpkgs/luakit/patches/Makefile.patch b/srcpkgs/luakit/patches/Makefile.patch
deleted file mode 100644
index c1a5293e879a..000000000000
--- a/srcpkgs/luakit/patches/Makefile.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/Makefile	2018-12-30 16:13:10.512451500 -0600
-+++ b/Makefile	2018-12-30 16:15:27.507448741 -0600
-@@ -17,7 +17,7 @@
- # Must be kept in sync with doc/docgen.ld
- DOC_SRCS = $(filter-out lib/markdown.lua lib/lousy/init.lua,$(shell for d in doc/luadoc lib common/clib; do find $$d -type f; done)) tests/lib.lua
- 
--all: options newline luakit luakit.1.gz luakit.so apidoc
-+all: options newline luakit luakit.1.gz luakit.so
- 
- options:
- 	@echo luakit build options:
-@@ -79,27 +79,10 @@
- luakit.1.gz: luakit.1
- 	@gzip -c $< > $@
- 
--doc/apidocs/index.html: $(DOC_SRCS) $(wildcard build-utils/docgen/*)
--	rm -rf doc/apidocs
--	mkdir doc/apidocs
--	$(LUA_BIN_NAME) ./build-utils/docgen/makedoc.lua
--
--apidoc: doc/apidocs/index.html
--
--doc: buildopts.h $(THEAD) $(TSRC)
--	doxygen -s doc/luakit.doxygen
--
--clean:
--	rm -rf doc/apidocs doc/html luakit $(OBJS) $(EXT_OBJS) $(TSRC) $(THEAD) buildopts.h luakit.1 luakit.1.gz luakit.so
--
- install: all
- 	install -d $(DESTDIR)$(PREFIX)/share/luakit/
- 	install -d $(DESTDIR)$(DOCDIR) $(DESTDIR)$(DOCDIR)/classes $(DESTDIR)$(DOCDIR)/modules $(DESTDIR)$(DOCDIR)/pages
- 	install -m644 README.md AUTHORS COPYING.GPLv3 $(DESTDIR)$(DOCDIR)
--	install -m644 doc/apidocs/classes/* $(DESTDIR)$(DOCDIR)/classes
--	install -m644 doc/apidocs/modules/* $(DESTDIR)$(DOCDIR)/modules
--	install -m644 doc/apidocs/pages/* $(DESTDIR)$(DOCDIR)/pages
--	install -m644 doc/apidocs/*.html $(DESTDIR)$(DOCDIR)
- 	install -d $(DESTDIR)$(PREFIX)/share/luakit/lib $(DESTDIR)$(PREFIX)/share/luakit/lib/lousy $(DESTDIR)$(PREFIX)/share/luakit/lib/lousy/widget
- 	install -m644 lib/*.* $(DESTDIR)$(PREFIX)/share/luakit/lib
- 	install -m644 lib/lousy/*.* $(DESTDIR)$(PREFIX)/share/luakit/lib/lousy
diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 4fa00bb75712..3e06aa5f6479 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -1,7 +1,7 @@
 # Template file for 'luakit'
 pkgname=luakit
 reverts="2017.08.10_1"
-version=2.3
+version=2.3.1
 revision=1
 conf_files="/etc/xdg/luakit/*.lua"
 hostmakedepends="pkg-config LuaJIT"
@@ -13,14 +13,22 @@ license="GPL-3.0-or-later"
 homepage="https://luakit.github.io/"
 changelog="https://github.com/luakit/luakit/blob/develop/CHANGELOG.md"
 distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz"
-checksum=c7026b4f0bdfa44f43798b80f87548d3e7ad56f5b923fc43b9c712bf18496095
+checksum=138fed1eaccab801fae8c32ff2bec6cbcd864a9f527c5c77ad1de402ce1a130e
 
 CFLAGS="-fcommon"
 
 do_build() {
-	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
+	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 \
+	DOCDIR=/usr/share/doc/luakit PREFIX=/usr VERSION=${version} all
 }
 
 do_install() {
-	make PREFIX=/usr DESTDIR=${DESTDIR} install
+	make PREFIX=/usr DOCDIR=/usr/share/doc/luakit DESTDIR=${DESTDIR} install
+}
+
+luakit-doc_package() {
+	short_desk+=' - API documentation'
+	pkg_install() {
+		vmove usr/share/doc
+	}
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: luakit: update to 2.3.1 and added doc subpackage
  2022-09-05 15:44 [PR PATCH] luakit: update to 2.3.1 and added doc subpackage bingulo
@ 2022-09-05 15:57 ` bingulo
  2022-12-05  1:59 ` github-actions
  2022-12-20  1:58 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: bingulo @ 2022-09-05 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

New comment by bingulo on void-packages repository

https://github.com/void-linux/void-packages/pull/39116#issuecomment-1237245909

Comment:
It seems to fail on crossbuild because of apidocs build, that was previously disabled by the patch I removed. As I had not tested crossbuild I didn't see it. I'll try to fix it in another way to allow build these docs on all archs.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: luakit: update to 2.3.1 and added doc subpackage
  2022-09-05 15:44 [PR PATCH] luakit: update to 2.3.1 and added doc subpackage bingulo
  2022-09-05 15:57 ` bingulo
@ 2022-12-05  1:59 ` github-actions
  2022-12-20  1:58 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-12-05  1:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/39116#issuecomment-1336624485

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: luakit: update to 2.3.1 and added doc subpackage
  2022-09-05 15:44 [PR PATCH] luakit: update to 2.3.1 and added doc subpackage bingulo
  2022-09-05 15:57 ` bingulo
  2022-12-05  1:59 ` github-actions
@ 2022-12-20  1:58 ` github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-12-20  1:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

There's a closed pull request on the void-packages repository

luakit: update to 2.3.1 and added doc subpackage
https://github.com/void-linux/void-packages/pull/39116

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-20  1:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 15:44 [PR PATCH] luakit: update to 2.3.1 and added doc subpackage bingulo
2022-09-05 15:57 ` bingulo
2022-12-05  1:59 ` github-actions
2022-12-20  1:58 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).