dmenu-5.4

This commit is contained in:
4fury-c3440d8
2026-02-16 01:14:01 +04:00
parent c78d988f21
commit d209271873
3 changed files with 17 additions and 49 deletions
+2 -5
View File
@@ -1,13 +1,10 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2018 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
@@ -1,38 +0,0 @@
--- a/config.mk
+++ b/config.mk
@@ -5,8 +5,8 @@
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = -I/usr/X11R6/include
+X11LIB = -L/usr/X11R6/lib
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
@@ -14,18 +14,18 @@
# freetype
FREETYPELIBS = -lfontconfig -lXft
-FREETYPEINC = /usr/include/freetype2
+FREETYPEINC = -I/usr/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = ${X11INC}/freetype2
# includes and libs
-INCS = -I${X11INC} -I${FREETYPEINC}
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+INCS = ${X11INC} ${FREETYPEINC}
+LIBS = ${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CPPFLAGS += -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CFLAGS += -ansi -pedantic -Wall $(INCS) $(CPPFLAGS)
+LDFLAGS += ${LIBS}
# compiler and linker
CC = cc
+15 -6
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>dmenu</Name>
<Homepage>http://tools.suckless.org/dmenu/</Homepage>
<Homepage>https://tools.suckless.org/dmenu/</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
@@ -11,24 +11,26 @@
<License>MIT</License>
<Summary>A dynamic menu for X</Summary>
<Description>Dynamic menu is a generic menu for X, originally designed for dwm. It manages huge amounts (up to 10.000 and more) of user defined menu items efficiently</Description>
<Archive sha1sum="73d1a9a844e8f285fc315ea4ee5b95da2b0bc8f4" type="targz">https://dl.suckless.org/tools/dmenu-4.9.tar.gz</Archive>
<Archive sha1sum="7b993cbdb0e0015b4428748684f80a5fec2df003" type="targz">https://dl.suckless.org/tools/dmenu-5.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">dmenu-4.7-gentoo.patch</Patch> -->
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>dmenu</Name>
<RuntimeDependencies>
<Dependency>fontconfig</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXft</Dependency>
<Dependency>freetype</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libXinerama</Dependency>
</RuntimeDependencies>
<Files>
@@ -38,6 +40,13 @@
</Package>
<History>
<Update release="4">
<Date>2026-02-15</Date>
<Version>5.4</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="3">
<Date>2020-01-25</Date>
<Version>4.9</Version>