Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: xseticon-0.1
Date: Wed, 19 Feb 2020 04:32:32 +0100	[thread overview]
Message-ID: <20200219033232.kAA61SwzSTaTLrlpfeB3Z0638jV7pIHoF4hA9Q1yKQs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19285@inbox.vuxu.org>

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/19285#issuecomment-588017851

Comment:
This is what I come up with, for web rendering: https://github.com/sgn/void-packages/commit/24764b2b3967a2b11be9f8c5324f8a51893e00d7:
```diff
From 24764b2b3967a2b11be9f8c5324f8a51893e00d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 19 Feb 2020 10:29:46 +0700
Subject: [PATCH] New package: xseticon-0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
---
 srcpkgs/xseticon/patches/makefile.patch | 35 +++++++++++++++++++++++++
 srcpkgs/xseticon/template               | 15 +++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/xseticon/patches/makefile.patch
 create mode 100644 srcpkgs/xseticon/template

diff --git a/srcpkgs/xseticon/patches/makefile.patch b/srcpkgs/xseticon/patches/makefile.patch
new file mode 100644
index 0000000000..744602136d
--- /dev/null
+++ b/srcpkgs/xseticon/patches/makefile.patch
@@ -0,0 +1,35 @@
+diff --git Makefile Makefile
+index 725f750..17a47c0 100644
+--- Makefile
++++ Makefile
+@@ -9,22 +9,22 @@ GD_LIBS=-lgd
+ 
+ LIBS=${GLIB_LIBS} ${XLIB_LIBS} ${GD_LIBS}
+ 
++CFLAGS += $(GLIB_CFLAGS)
++CFLAGS += $(XLIB_CFLAGS)
++LDFLAGS := $(LIBS) $(LDFLAGS)
++
++INSTALL = install
++
+ PREFIX=/usr/local
+ BINDIR=$(PREFIX)/bin
+ 
+ all: xseticon
+ 
+-xseticon.o: xseticon.c
+-	gcc ${GLIB_CFLAGS} ${XLIB_CFLAGS} -c $^ -o $@
+-
+-xseticon: xseticon.o
+-	gcc ${LIBS} $^ -o $@
+-
+ .PHONY: clean
+ clean:
+ 	rm -f xseticon.o xseticon
+ 
+ .PHONY: install
+ install: xseticon
+-	install -d $(BINDIR)
+-	install -m 755 xseticon $(BINDIR)
++	$(INSTALL) -d $(DESTDIR)$(BINDIR)
++	$(INSTALL) -m 755 xseticon $(DESTDIR)$(BINDIR)
diff --git a/srcpkgs/xseticon/template b/srcpkgs/xseticon/template
new file mode 100644
index 0000000000..ee231eb895
--- /dev/null
+++ b/srcpkgs/xseticon/template
@@ -0,0 +1,15 @@
+# Template file for 'xseticon'
+pkgname=xseticon
+version=0.1+bzr13
+revision=1
+wrksrc="xseticon-0.1-bzr13"
+build_style=gnu-makefile
+hostmakedepends="pkg-config"
+makedepends="libXmu-devel gd-devel glib-devel"
+make_use_env=yes
+short_desc="Set the X11 window icon for any given window"
+maintainer="Benjamin Slade <slade@lambda-y.net>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/xeyownt/xseticon"
+distfiles="https://github.com/xeyownt/xseticon/archive/${version}.tar.gz"
+checksum=d34c349ff09ea42393fb3bac3fd2be0e7b9a244388e2f4b32cc92636967a4a2c
-- 
2.25.1.497.g3043dbfab8

```

  parent reply	other threads:[~2020-02-19  3:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19285@inbox.vuxu.org>
2020-02-19  1:49 ` emacsomancer
2020-02-19  3:31 ` sgn
2020-02-19  3:32 ` sgn [this message]
2020-02-19 17:47 ` emacsomancer
2020-02-19 17:54 ` emacsomancer
2020-02-25 13:27 ` [PR PATCH] [Merged]: " xtraeme

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200219033232.kAA61SwzSTaTLrlpfeB3Z0638jV7pIHoF4hA9Q1yKQs@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).