forked from ports/contrib
i3: initial release
This commit is contained in:
parent
de45289d60
commit
ff8a585b9d
44
i3/.footprint
Normal file
44
i3/.footprint
Normal file
@ -0,0 +1,44 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/i3
|
||||
-rwxr-xr-x root/root usr/bin/i3-config-wizard
|
||||
-rwxr-xr-x root/root usr/bin/i3-dmenu-desktop
|
||||
-rwxr-xr-x root/root usr/bin/i3-dump-log
|
||||
-rwxr-xr-x root/root usr/bin/i3-input
|
||||
-rwxr-xr-x root/root usr/bin/i3-migrate-config-to-v4
|
||||
-rwxr-xr-x root/root usr/bin/i3-msg
|
||||
-rwxr-xr-x root/root usr/bin/i3-nagbar
|
||||
-rwxr-xr-x root/root usr/bin/i3-save-tree
|
||||
-rwxr-xr-x root/root usr/bin/i3-sensible-editor
|
||||
-rwxr-xr-x root/root usr/bin/i3-sensible-pager
|
||||
-rwxr-xr-x root/root usr/bin/i3-sensible-terminal
|
||||
lrwxrwxrwx root/root usr/bin/i3-with-shmlog -> i3
|
||||
-rwxr-xr-x root/root usr/bin/i3bar
|
||||
drwxr-xr-x root/root usr/etc/
|
||||
drwxr-xr-x root/root usr/etc/i3/
|
||||
-rw-r--r-- root/root usr/etc/i3/config
|
||||
-rw-r--r-- root/root usr/etc/i3/config.keycodes
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/i3/
|
||||
-rw-r--r-- root/root usr/include/i3/ipc.h
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/i3.desktop
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-config-wizard.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-dmenu-desktop.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-dump-log.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-input.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-migrate-config-to-v4.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-msg.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-nagbar.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-save-tree.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-sensible-editor.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-sensible-pager.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3-sensible-terminal.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/i3bar.1.gz
|
||||
drwxr-xr-x root/root usr/share/xsessions/
|
||||
-rw-r--r-- root/root usr/share/xsessions/i3-with-shmlog.desktop
|
||||
-rw-r--r-- root/root usr/share/xsessions/i3.desktop
|
6
i3/.md5sum
Normal file
6
i3/.md5sum
Normal file
@ -0,0 +1,6 @@
|
||||
6ff0e7d59cf6983af68f9b4cdaf2a641 i3-4.15.tar.bz2
|
||||
94459a5a22db041dec6f98424d6efe54 libev-4.24.tar.gz
|
||||
5f7f8533f907ebcfb1cf8dceb9501264 libxkbcommon-0.8.2.tar.xz
|
||||
2cd77326d4dcaed9a5a23a1232fb38e9 startup-notification-0.12.tar.gz
|
||||
6b5249f1e4e4e1c5e367d894d27dd0c0 xcb-util-xrm-1.3.tar.bz2
|
||||
6887e0ed7479d2549761a4d284d3ecb0 yajl-2.1.0.tar.gz
|
10
i3/.signature
Normal file
10
i3/.signature
Normal file
@ -0,0 +1,10 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF31K83CRjMZqnlKoQcYP697PM6p2nMNQGkdGN4FDkV7sTjdgB1ztiSWOBpSkxd66nALVKlg6en8AVxezCpuinDww=
|
||||
SHA256 (Pkgfile) = f349854663f9c75297715c9e28ca42885cdff79b0544b0f4ea3f99eb6b6b63de
|
||||
SHA256 (.footprint) = ffddeda3d45fadfa85e007ad5f4413605d3f52ef3d4489eb7445b4fc8528afbe
|
||||
SHA256 (i3-4.15.tar.bz2) = 217d524d1fbc85ae346b25f6848d1b7bcd2c23184ec88d29114bf5a621385326
|
||||
SHA256 (yajl-2.1.0.tar.gz) = 3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
|
||||
SHA256 (libev-4.24.tar.gz) = 973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821
|
||||
SHA256 (startup-notification-0.12.tar.gz) = 3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a
|
||||
SHA256 (libxkbcommon-0.8.2.tar.xz) = 7ab8c4b3403d89d01898066b72cb6069bddeb5af94905a65368f671a026ed58c
|
||||
SHA256 (xcb-util-xrm-1.3.tar.bz2) = 301cf33701207ea8782d49f4cb6404abd8f2d64e16f242017fd720be7c900c85
|
65
i3/Pkgfile
Normal file
65
i3/Pkgfile
Normal file
@ -0,0 +1,65 @@
|
||||
# Description: A tiling window manager (depends only on ports from our ISO)
|
||||
# URL: http://i3wm.org/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: cmake pango xorg-xcb-util-cursor xorg-xcb-util-keysyms xorg-xcb-util-wm
|
||||
|
||||
name=i3
|
||||
version=4.15
|
||||
release=2
|
||||
source=(http://i3wm.org/downloads/$name-$version.tar.bz2
|
||||
https://github.com/lloyd/yajl/archive/2.1.0/yajl-2.1.0.tar.gz
|
||||
http://dist.schmorp.de/libev/Attic/libev-4.24.tar.gz
|
||||
http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz
|
||||
http://xkbcommon.org/download/libxkbcommon-0.8.2.tar.xz
|
||||
https://github.com/Airblader/xcb-util-xrm/releases/download/v1.3/xcb-util-xrm-1.3.tar.bz2)
|
||||
|
||||
build() {
|
||||
|
||||
local LIBS=$SRC/$name-$version/libs
|
||||
install -d $LIBS/{lib,include}
|
||||
|
||||
# xcb-util-xrm
|
||||
cd $SRC/xcb-util-xrm-1.3
|
||||
./configure --prefix=/ --disable-shared
|
||||
make
|
||||
make DESTDIR=$LIBS install
|
||||
|
||||
# libxkbcommon
|
||||
cd $SRC/libxkbcommon-0.8.2
|
||||
./configure --prefix=/ --disable-shared
|
||||
make
|
||||
make DESTDIR=$LIBS install
|
||||
|
||||
# yajl
|
||||
cd $SRC/yajl-2.1.0
|
||||
cmake . -Wno-dev
|
||||
make
|
||||
cp -r yajl-2.1.0/include $LIBS
|
||||
cp yajl-2.1.0/lib/libyajl_s.a $LIBS/lib/libyajl.a
|
||||
cp yajl-2.1.0/share/pkgconfig/yajl.pc $LIBS/lib/pkgconfig
|
||||
|
||||
# libev
|
||||
cd $SRC/libev-4.24
|
||||
./configure --prefix=/ --disable-shared
|
||||
make
|
||||
make DESTDIR=$LIBS install
|
||||
|
||||
# startup-notification
|
||||
cd $SRC/startup-notification-0.12
|
||||
sed -i '/^Libs: /s/$/ -lX11-xcb/' libstartup-notification-1.0.pc.in
|
||||
./configure --prefix=/ --disable-shared
|
||||
make
|
||||
make DESTDIR=$LIBS install
|
||||
mv $LIBS/include/{startup-notification-1.0/libsn,libsn}
|
||||
|
||||
# i3
|
||||
cd $SRC/$name-$version
|
||||
export CFLAGS="$CFLAGS -I$LIBS/include"
|
||||
export LDFLAGS="$LDFLAGS -L$LIBS/lib"
|
||||
export PKG_CONFIG_PATH="$LIBS/lib/pkgconfig"
|
||||
./configure --prefix=/usr --disable-builddir
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
install -d $PKG/usr/share/man/man1
|
||||
install -m 0644 man/*.1 $PKG/usr/share/man/man1/
|
||||
}
|
48
i3/i3-local_libs.patch
Normal file
48
i3/i3-local_libs.patch
Normal file
@ -0,0 +1,48 @@
|
||||
diff -Nru i3-4.12.orig/common.mk i3-4.12/common.mk
|
||||
--- i3-4.12.orig/common.mk 2016-04-05 21:34:20.130387548 +0200
|
||||
+++ i3-4.12/common.mk 2016-04-05 21:34:57.119059034 +0200
|
||||
@@ -49,7 +49,7 @@
|
||||
endif
|
||||
|
||||
# Default LDFLAGS that users should be able to override
|
||||
-LDFLAGS ?= $(as_needed_LDFLAG)
|
||||
+#LDFLAGS ?= $(as_needed_LDFLAG)
|
||||
|
||||
# Common CFLAGS for all i3 related binaries
|
||||
I3_CFLAGS = -std=c99
|
||||
@@ -57,7 +57,7 @@
|
||||
# unused-function, unused-label, unused-variable are turned on by -Wall
|
||||
# We don’t want unused-parameter because of the use of many callbacks
|
||||
I3_CFLAGS += -Wunused-value
|
||||
-I3_CFLAGS += -Iinclude
|
||||
+I3_CFLAGS += -Iinclude -I$(TOPDIR)/libs/include
|
||||
|
||||
I3_CPPFLAGS = -DI3_VERSION=\"${I3_VERSION}\"
|
||||
I3_CPPFLAGS += -DMAJOR_VERSION=${MAJOR_VERSION}
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
#libev
|
||||
LIBEV_CFLAGS := $(call cflags_for_lib, libev)
|
||||
-LIBEV_LIBS := $(call ldflags_for_lib, libev,ev)
|
||||
+LIBEV_LIBS := $(call ldflags_for_lib, libev,ev) -lm
|
||||
|
||||
# libpcre
|
||||
PCRE_CFLAGS := $(call cflags_for_lib, libpcre)
|
||||
@@ -141,7 +141,7 @@
|
||||
|
||||
# startup-notification
|
||||
LIBSN_CFLAGS := $(call cflags_for_lib, libstartup-notification-1.0)
|
||||
-LIBSN_LIBS := $(call ldflags_for_lib, libstartup-notification-1.0,startup-notification-1)
|
||||
+LIBSN_LIBS := $(call ldflags_for_lib, libstartup-notification-1.0,startup-notification-1) -lX11-xcb
|
||||
|
||||
# Pango
|
||||
PANGO_CFLAGS := $(call cflags_for_lib, cairo)
|
||||
@@ -154,7 +154,7 @@
|
||||
PANGO_LIBS += $(call ldflags_for_lib, pangocairo)
|
||||
|
||||
# libi3
|
||||
-LIBS = -L$(TOPDIR) -li3 -lm
|
||||
+LIBS = -L$(TOPDIR) -li3 -lm -L$(TOPDIR)/libs/lib -lxcb-xkb
|
||||
|
||||
## Platform-specific flags
|
||||
|
Loading…
x
Reference in New Issue
Block a user