Date: Tue, 22 Feb 2022 16:00:06 GMT From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 776f54e2056e - main - deskutils/ydotool: update to 1.0.1 Message-ID: <202202221600.21MG06Jf005244@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=776f54e2056ee75596d983f36fc3091abd8ba306 commit 776f54e2056ee75596d983f36fc3091abd8ba306 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2022-02-17 17:44:57 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-02-22 15:57:58 +0000 deskutils/ydotool: update to 1.0.1 * Add sdoc build dependency * The project does not ship a .so anymore * Pet linters Reported by: portscout --- deskutils/ydotool/Makefile | 21 +++++++------- deskutils/ydotool/distinfo | 6 ++-- deskutils/ydotool/files/patch-CMakeLists.txt | 42 ---------------------------- 3 files changed, 14 insertions(+), 55 deletions(-) diff --git a/deskutils/ydotool/Makefile b/deskutils/ydotool/Makefile index 6225ac9c0ada..ed8e1cb98c69 100644 --- a/deskutils/ydotool/Makefile +++ b/deskutils/ydotool/Makefile @@ -1,6 +1,5 @@ PORTNAME= ydotool -PORTVERSION= 0.1.8 -PORTREVISION= 2 +PORTVERSION= 1.0.1 DISTVERSIONPREFIX= v CATEGORIES= deskutils @@ -10,7 +9,8 @@ COMMENT= Generic command-line automation tool (no X!) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${LOCALBASE}/include/linux/uinput.h:devel/evdev-proto +BUILD_DEPENDS= ${LOCALBASE}/include/linux/uinput.h:devel/evdev-proto \ + scdoc:textproc/scdoc LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libuInputPlus.so:devel/libuinputplus \ libboost_program_options.so:devel/boost-libs \ @@ -18,17 +18,18 @@ LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ USES= cmake compiler:c++11-lang localbase -CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim -LDFLAGS+= -L${LOCALBASE}/lib -lepoll-shim - USE_GITHUB= yes GH_ACCOUNT= ReimuNotMoe +USE_LDCONFIG= yes + +CFLAGS+= -I${LOCALBASE}/include/libepoll-shim +LDFLAGS+= -L${LOCALBASE}/lib -lepoll-shim + PLIST_FILES= bin/ydotool \ bin/ydotoold \ - lib/libydotool.so \ - lib/libydotool.so.0 - -USE_LDCONFIG= yes + lib/systemd/user/ydotool.service \ + man/man1/ydotool.1.gz \ + man/man8/ydotoold.8.gz .include <bsd.port.mk> diff --git a/deskutils/ydotool/distinfo b/deskutils/ydotool/distinfo index 2708252bc729..71db74755622 100644 --- a/deskutils/ydotool/distinfo +++ b/deskutils/ydotool/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1587107905 -SHA256 (ReimuNotMoe-ydotool-v0.1.8_GH0.tar.gz) = 6ebc4ede0a11aa7ced6b52637a4a59cc1528b4c5ed54478d38f0248a40b40a07 -SIZE (ReimuNotMoe-ydotool-v0.1.8_GH0.tar.gz) = 13362 +TIMESTAMP = 1645119887 +SHA256 (ReimuNotMoe-ydotool-v1.0.1_GH0.tar.gz) = 02311cdc608f205711b06a95e5fd71093b2294f4920efc526f5e98a2ddab42b8 +SIZE (ReimuNotMoe-ydotool-v1.0.1_GH0.tar.gz) = 27219 diff --git a/deskutils/ydotool/files/patch-CMakeLists.txt b/deskutils/ydotool/files/patch-CMakeLists.txt deleted file mode 100644 index 6fc6edb7fca7..000000000000 --- a/deskutils/ydotool/files/patch-CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ ---- CMakeLists.txt.orig 2019-10-01 17:22:23 UTC -+++ CMakeLists.txt -@@ -47,10 +47,12 @@ set(SOURCE_FILES_CLIENT - - add_library(ydotool_library SHARED ${SOURCE_FILES_LIBRARY}) - set_target_properties(ydotool_library PROPERTIES OUTPUT_NAME ydotool) --add_library(ydotool_library_static STATIC ${SOURCE_FILES_LIBRARY}) --set_target_properties(ydotool_library_static PROPERTIES OUTPUT_NAME ydotool) --target_link_libraries(ydotool_library dl boost_program_options uInputPlus evdevPlus) --target_link_libraries(ydotool_library_static dl boost_program_options uInputPlus evdevPlus) -+set_target_properties(ydotool_library PROPERTIES VERSION ${PROJECT_VERSION}) -+set_target_properties(ydotool_library PROPERTIES VERSION ${CPACK_PACKAGE_VERSION_MAJOR}) -+#add_library(ydotool_library_static STATIC ${SOURCE_FILES_LIBRARY}) -+#set_target_properties(ydotool_library_static PROPERTIES OUTPUT_NAME ydotool) -+#target_link_libraries(ydotool_library dl boost_program_options uInputPlus evdevPlus) -+#target_link_libraries(ydotool_library_static dl boost_program_options uInputPlus evdevPlus) - - link_libraries(-L.) - add_executable(ydotoold ${SOURCE_FILES_DAEMON}) -@@ -60,9 +62,9 @@ add_executable(ydotool_client ${SOURCE_FILES_CLIENT}) - target_link_libraries(ydotool_client ydotool_library boost_program_options pthread uInputPlus evdevPlus) - set_target_properties(ydotool_client PROPERTIES OUTPUT_NAME ydotool) - --add_executable(ydotool_client_static ${SOURCE_FILES_CLIENT}) --target_link_libraries(ydotool_client_static ydotool_library_static boost_program_options pthread uInputPlus evdevPlus -static) --set_target_properties(ydotool_client_static PROPERTIES OUTPUT_NAME ydotool_static) -+#add_executable(ydotool_client_static ${SOURCE_FILES_CLIENT}) -+#target_link_libraries(ydotool_client_static ydotool_library_static boost_program_options pthread uInputPlus evdevPlus -static) -+#set_target_properties(ydotool_client_static PROPERTIES OUTPUT_NAME ydotool_static) - - #add_library(mousemove SHARED Tools/MouseMove/MouseMove.hpp Tools/MouseMove/MouseMove.cpp) - #target_link_libraries(mousemove ydotool_library boost_program_options uInputPlus evdevPlus) -@@ -80,6 +82,6 @@ set_target_properties(ydotool_client_static PROPERTIES - #target_link_libraries(recorder ydotool_library boost_program_options uInputPlus evdevPlus) - - --install(TARGETS ydotool_library ydotool_library_static DESTINATION lib) -+install(TARGETS ydotool_library DESTINATION lib) - #install(TARGETS mousemove key click type recorder DESTINATION lib/ydotool) --install(TARGETS ydotoold ydotool_client DESTINATION bin) -\ No newline at end of file -+install(TARGETS ydotoold ydotool_client DESTINATION bin)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202221600.21MG06Jf005244>