pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/skippy wm/skippy: Fix for graphics/imlib2 update
details: https://anonhg.NetBSD.org/pkgsrc/rev/497b6aca66be
branches: trunk
changeset: 382464:497b6aca66be
user: rin <rin%pkgsrc.org@localhost>
date: Fri Jul 29 06:04:25 2022 +0000
description:
wm/skippy: Fix for graphics/imlib2 update
Switch to `pkg-config imlib2`.
Bump revision.
diffstat:
wm/skippy/Makefile | 4 ++--
wm/skippy/distinfo | 4 ++--
wm/skippy/patches/patch-Makefile | 35 +++++++++++++++++++++++++++++++++++
wm/skippy/patches/patch-aa | 32 --------------------------------
4 files changed, 39 insertions(+), 36 deletions(-)
diffs (102 lines):
diff -r bd8cbc01e14b -r 497b6aca66be wm/skippy/Makefile
--- a/wm/skippy/Makefile Fri Jul 29 06:03:02 2022 +0000
+++ b/wm/skippy/Makefile Fri Jul 29 06:04:25 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2020/08/17 20:20:18 leot Exp $
+# $NetBSD: Makefile,v 1.34 2022/07/29 06:04:25 rin Exp $
#
DISTNAME= skippy-0.5.0
-PKGREVISION= 19
+PKGREVISION= 20
CATEGORIES= wm
MASTER_SITES= http://thegraveyard.org/files/
EXTRACT_SUFX= .tar.bz2
diff -r bd8cbc01e14b -r 497b6aca66be wm/skippy/distinfo
--- a/wm/skippy/distinfo Fri Jul 29 06:03:02 2022 +0000
+++ b/wm/skippy/distinfo Fri Jul 29 06:04:25 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:25:18 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/07/29 06:04:25 rin Exp $
BLAKE2s (skippy-0.5.0.tar.bz2) = f8bf3b4a370461e55def49e4c8629c82a672900f0670f76cc41849974b2723a3
SHA512 (skippy-0.5.0.tar.bz2) = 516e648e23a6a92e37f4d712b36f65ad640e299bd18677e30d4aa565929629c7749e64124b97da590d947daaa4e0de819cdcc3aec99c524833dea4c7955a7770
Size (skippy-0.5.0.tar.bz2) = 23722 bytes
-SHA1 (patch-aa) = 8133c1fa2182af09a980e64066413c92216ef2b1
+SHA1 (patch-Makefile) = e1456df0aaf15d1867dea2180a43987c6ab9ece4
SHA1 (patch-ab) = 3351514ec99c034fbe8aedf281f38164dc997cae
diff -r bd8cbc01e14b -r 497b6aca66be wm/skippy/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skippy/patches/patch-Makefile Fri Jul 29 06:04:25 2022 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-Makefile,v 1.1 2022/07/29 06:04:25 rin Exp $
+
+- Do not hardcode paths and tools.
+- Switch from imlib2-config to pkg-config.
+
+--- Makefile.orig 2004-05-20 06:23:50.000000000 +0900
++++ Makefile 2022-07-29 02:24:37.776750501 +0900
+@@ -1,10 +1,7 @@
+-PREFIX = /usr/local
+ BINDIR = ${PREFIX}/bin
+
+-X11PREFIX = /usr/X11R6
+-
+-CFLAGS += -I${X11PREFIX}/include `imlib2-config --cflags` `pkg-config xft --cflags` -g -pedantic -Wall
+-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs`
++CFLAGS += -I${X11BASE}/include `pkg-config imlib2 --cflags` `pkg-config xft --cflags` -pedantic -Wall
++LDFLAGS += -L${X11BASE}/lib -lX11 -lm `pkg-config imlib2 --libs` `pkg-config xft --libs`
+
+ # Comment these out to disable Xinerama support
+ CFLAGS += -DXINERAMA
+@@ -21,11 +18,11 @@ HEADERS = skippy.h wm.h dlist.h mainwin.
+ all: skippy${EXESUFFIX}
+
+ skippy${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS}
+- gcc ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS}
++ gcc ${CPPFLAGS} ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS}
+
+ clean:
+ rm -f skippy${EXESUFFIX}
+
+ install:
+- install -d ${DESTDIR}${BINDIR}
+- install -m 755 skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX}
++ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}${BINDIR}
++ $(BSD_INSTALL_PROGRAM) skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX}
diff -r bd8cbc01e14b -r 497b6aca66be wm/skippy/patches/patch-aa
--- a/wm/skippy/patches/patch-aa Fri Jul 29 06:03:02 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/12 13:39:46 xtraeme Exp $
-
---- Makefile.orig 2004-05-19 23:23:50.000000000 +0200
-+++ Makefile 2005-01-12 09:43:05.000000000 +0100
-@@ -1,10 +1,7 @@
--PREFIX = /usr/local
- BINDIR = ${PREFIX}/bin
-
--X11PREFIX = /usr/X11R6
--
--CFLAGS += -I${X11PREFIX}/include `imlib2-config --cflags` `pkg-config xft --cflags` -g -pedantic -Wall
--LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs`
-+CFLAGS += -I${X11BASE}/include `imlib2-config --cflags` `pkg-config xft --cflags` -pedantic -Wall
-+LDFLAGS += -L${X11BASE}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs`
-
- # Comment these out to disable Xinerama support
- CFLAGS += -DXINERAMA
-@@ -21,11 +18,11 @@
- all: skippy${EXESUFFIX}
-
- skippy${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS}
-- gcc ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS}
-+ gcc ${CPPFLAGS} ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS}
-
- clean:
- rm -f skippy${EXESUFFIX}
-
- install:
-- install -d ${DESTDIR}${BINDIR}
-- install -m 755 skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX}
-+ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}${BINDIR}
-+ $(BSD_INSTALL_PROGRAM) skippy$(EXESUFFIX) ${DESTDIR}${BINDIR}/skippy${EXESUFFIX}
Home |
Main Index |
Thread Index |
Old Index