From c7a6fc34ff402674be029d997e6689510d4704f1 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 1 Nov 2020 15:15:51 +0100 Subject: [PATCH] Remove sselp --- .suckless/sselp/.gitignore | 1 - .suckless/sselp/.hgtags | 2 -- .suckless/sselp/LICENSE | 21 ---------------- .suckless/sselp/Makefile | 48 ------------------------------------- .suckless/sselp/README | 24 ------------------- .suckless/sselp/config.mk | 21 ---------------- .suckless/sselp/sselp | Bin 14480 -> 0 bytes .suckless/sselp/sselp.c | 44 ---------------------------------- .suckless/sselp/sselp.o | Bin 3256 -> 0 bytes 9 files changed, 161 deletions(-) delete mode 100644 .suckless/sselp/.gitignore delete mode 100644 .suckless/sselp/.hgtags delete mode 100644 .suckless/sselp/LICENSE delete mode 100644 .suckless/sselp/Makefile delete mode 100644 .suckless/sselp/README delete mode 100644 .suckless/sselp/config.mk delete mode 100755 .suckless/sselp/sselp delete mode 100644 .suckless/sselp/sselp.c delete mode 100644 .suckless/sselp/sselp.o diff --git a/.suckless/sselp/.gitignore b/.suckless/sselp/.gitignore deleted file mode 100644 index c190512..0000000 --- a/.suckless/sselp/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.backup diff --git a/.suckless/sselp/.hgtags b/.suckless/sselp/.hgtags deleted file mode 100644 index 07c9150..0000000 --- a/.suckless/sselp/.hgtags +++ /dev/null @@ -1,2 +0,0 @@ -effa85f232313bdd7855a83941d42e28ccaf8808 0.1 -5293716fdc7c4c31e2936ec52d684b403356e747 0.2 diff --git a/.suckless/sselp/LICENSE b/.suckless/sselp/LICENSE deleted file mode 100644 index faf1c09..0000000 --- a/.suckless/sselp/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT/X Consortium License - -© 2006-2008 Anselm R Garbe - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. diff --git a/.suckless/sselp/Makefile b/.suckless/sselp/Makefile deleted file mode 100644 index bc23d57..0000000 --- a/.suckless/sselp/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# sselp - simple print selection - -include config.mk - -SRC = sselp.c -OBJ = ${SRC:.c=.o} - -all: options sselp - -options: - @echo sselp build options: - @echo "CFLAGS = ${CFLAGS}" - @echo "LDFLAGS = ${LDFLAGS}" - @echo "CC = ${CC}" - -.c.o: - @echo CC $< - @${CC} -c ${CFLAGS} $< - -${OBJ}: config.mk - -sselp: ${OBJ} - @echo CC -o $@ - @${CC} -o $@ ${OBJ} ${LDFLAGS} - -clean: - @echo cleaning - @rm -f sselp ${OBJ} sselp-${VERSION}.tar.gz - -dist: clean - @echo creating dist tarball - @mkdir -p sselp-${VERSION} - @cp -R LICENSE Makefile README config.mk ${SRC} sselp-${VERSION} - @tar -cf sselp-${VERSION}.tar sselp-${VERSION} - @gzip sselp-${VERSION}.tar - @rm -rf sselp-${VERSION} - -install: all - @echo installing executable file to ${DESTDIR}${PREFIX}/bin - @mkdir -p ${DESTDIR}${PREFIX}/bin - @cp -f sselp ${DESTDIR}${PREFIX}/bin - @chmod 755 ${DESTDIR}${PREFIX}/bin/sselp - -uninstall: - @echo removing executable file from ${DESTDIR}${PREFIX}/bin - @rm -f ${DESTDIR}${PREFIX}/bin/sselp - -.PHONY: all options clean dist install uninstall diff --git a/.suckless/sselp/README b/.suckless/sselp/README deleted file mode 100644 index f76ab9f..0000000 --- a/.suckless/sselp/README +++ /dev/null @@ -1,24 +0,0 @@ -sselp - simple print selection -============================== -Prints X selection to standard out. - - -Requirements ------------- -In order to build sselp you need the Xlib header files. - - -Installation ------------- -Edit config.mk to match your local setup (sselp is installed into -the /usr/local namespace by default). - -Afterwards enter the following command to build and install sselp -(if necessary as root): - - make clean install - - -Running sselp -------------- -Simply invoke the 'sselp' command. diff --git a/.suckless/sselp/config.mk b/.suckless/sselp/config.mk deleted file mode 100644 index 0731c35..0000000 --- a/.suckless/sselp/config.mk +++ /dev/null @@ -1,21 +0,0 @@ -# sselp version -VERSION = 0.2 - -# paths -PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man - -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib - -# includes and libs -INCS = -I. -I/usr/include -I${X11INC} -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 - -# flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} - -# compiler and linker -CC = cc diff --git a/.suckless/sselp/sselp b/.suckless/sselp/sselp deleted file mode 100755 index cfae47920ef085ea43bda977af2be3d1b6e0c94c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14480 zcmeHOZ)_aJ6(67N#1L{mXj0rHkZt5tmx3>MPHZ_)mtDty_R!(Fu^mhyTrR$KeC2$1 zy;}zdpm86I(%tg%EAAbe%KfSdSaL2npZW3GtBKm^>|zdRHclS`KplnGHh7DZ%E4x!65NsyGw7$GbHxRU+r3-C8Bz;`adcPzj^y8wRxcm+0RDTf4I zDbAx{cqQJufIUtpSF-;R@Ct0s@*)sdvVU^{z6tm>&PG7~`vUg0z+cO1*rW;-C^W9t zK>R*-e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i__oB4B~rf!R8i~Ly!jTz4=c3SDVqZIfe`!_0l!9sHUyc_ zXxaWjC4x)9h5jbe*VTW{g9UPfuwd4V?O=ffE?~{DKq_q-ft{)0z>eVrEGAFHC8f25 z>&)0r#&v_S+#n0Ycc*f@hXk5gp@9{xIb6%i&7=?oUDim(&_UKRNfWzFz}|#KuPguy zcoU#Y^ChkUV=y|9jSU&m!8rJmBs`+AY!+7Bau2FQ!?B@6KlGZ0wqO_F9f-zYxhxCx zr-z1cVeNlhaGc>aOXKHhSs|oxO&!toO){=E#UVug&i_Ne-*4=t!Y)AlYp~h<^RgjA z#bNLC-w67TVQf+VG~W=S9t+JsG|mOf;J;tQdQo zX+EU>oyU)tAfA&J*&xlYgft(cKmK2Z(|-?em=lbT7n&y|(tU^2&hx(;6n1|_`Vr2O zqeMsZY_G!~{wY8diEWMvoBX8}d(`1i_fNv5WGK-Y|D^P%{4+%wN(@Vp!0G=aDDe2n zKcWarLc0D1d-MtaWc+k}ksqDMm%tZI$e-5lpIHwi6u*Gd zp8N?_~kJjoANHHh9ra+Wd(AH%6GgL;wH) diff --git a/.suckless/sselp/sselp.c b/.suckless/sselp/sselp.c deleted file mode 100644 index 217c39a..0000000 --- a/.suckless/sselp/sselp.c +++ /dev/null @@ -1,44 +0,0 @@ -#include -#include -#include -#include - -int -main(int argc, char *argv[]) { - Atom clip, utf8, type; - Display *dpy; - Window win; - XEvent ev; - int fmt; - long off = 0; - unsigned char *data; - unsigned long len, more; - - if(argc > 1 && !strcmp(argv[1], "-v")) { - fputs("sselp-"VERSION", © 2006-2010 Anselm R Garbe\n", stdout); - return 0; - } - if(!(dpy = XOpenDisplay(NULL))) - return 1; - - utf8 = XInternAtom(dpy, "UTF8_STRING", False); - clip = XInternAtom(dpy, "_SSELP_STRING", False); - win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 1, 1, 0, - CopyFromParent, CopyFromParent); - XConvertSelection(dpy, XA_PRIMARY, utf8, clip, win, CurrentTime); - - XNextEvent(dpy, &ev); - if(ev.type == SelectionNotify && ev.xselection.property != None) { - do { - XGetWindowProperty(dpy, win, ev.xselection.property, off, BUFSIZ, - False, utf8, &type, &fmt, &len, &more, &data); - fwrite(data, 1, len, stdout); - XFree(data); - off += len/4; - } - while(more > 0); - putchar('\n'); - } - XCloseDisplay(dpy); - return 0; -} diff --git a/.suckless/sselp/sselp.o b/.suckless/sselp/sselp.o deleted file mode 100644 index 8a5efbbe5c83611918732bef8a31940eea16e5ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3256 zcmbuBO>7%Q6o8-Yq$#D{gz^_?5eqWHsLf(KDijdlO=5eEOcK>jYXqs;IvZl@Kdm=u z0##9!q+(@KawuHk*xt$of`p1oQ?->4R6Qag<$xfSKm~~-Qh0B7#@TMX7kJUky!qbG z%&gze=7V@T;rID~iw|Cb%^9Zv2k+U`W0o2N0d_&(4Akpdsn!>kqWi_~E{M@^__@Al zI1(1+3L47dAu*}y$FviF*!SyQBMEdyBwkt~qXmNrdo2!e>>0YH_A!X_1mgV*^9wD+Je?up+d=>Mm zve@iiI6#J5EQ?}Zvy2XKM=`J1>_+64{58d=Fto6^hMK%WbH%))Twd!^0*mCRG-^Gg z?*jeV3(c>J@yLy|c{^n`74xS{EF@*F+V&+Q7{V0RWd39@^mzB;CzJ>Ex1oE%L_Hq) zBaLo7@?p#*uYd@E`O@aEwDi(YFf_W^?`3*MX`Bl#W3atSV;8Epxol8T=2yc?<7BYM z+6pt{lxai3Ugh$-KjphhTM%K|{B}nxjd>>?`Gq;!KgER7Z~rz%r_E2V(oZ&IuDv-f zza@{$N3TF~aPUPjB;+e0B!1y_N;w2YQwRLeE+MfY7@X7!bsdI%FYqrc)Ne^V^cb=YIbe!g(}a z#I}O1=}!@S4Pg#p0$~DSLb&dig`56yGO9v&NC?S-h&eI$fUupd)_$NZbiiL5?W}>e zZw^2J{O#P42RwL(2k-RY?e`o2$4kp1ZL&4LVA(si?C5^R_qkT?W&C*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