diff --git a/Makefile.am b/Makefile.am index 2892b9b..cc686a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ doc_DATA = README ChangeLog AUTHORS NEWS COPYING imagedir = $(prefix)/share/g15macro/splash image_DATA = ${top_builddir}/g15macro.wbmp -LIBS = -lg15daemon_client -lg15render -lX11 -lXtst -lpthread +LIBS = -Wl,--no-add-needed -lg15daemon_client -lg15render -lX11 -lXtst -lpthread IMCLUDES = -I g15macro_SOURCES = g15macro.c diff --git a/Makefile.in b/Makefile.in index 45779e4..8055f08 100644 --- a/Makefile.in +++ b/Makefile.in @@ -246,7 +246,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ -LIBS = -lg15daemon_client -lg15render -lX11 -lXtst -lpthread +LIBS = -Wl,--no-add-needed -lg15daemon_client -lg15render -lX11 -lXtst -lpthread LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..c18dff1 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,43 @@ +Historical Debian overlay imported on 2026-09-07 +============================================== + +Target: https://gt.uo1.net/mikhail/g15macro +Base commit: beab6f13cf0d248209cbf2578073859232ec07dd (configure.ac: 1.0.5). + +Source: Debian g15macro 1.0.3-3 source package, using the previously +extracted debian-patched tree from g15macro_1.0.3.orig.tar.gz and +g15macro_1.0.3-3.diff.gz. Archive location: +https://archive.debian.org/debian/pool/main/g/g15macro/ + +SHA-256 values recomputed locally and matched against the accompanying +g15macro_1.0.3-3.dsc Checksums-Sha256 entries: + g15macro_1.0.3.orig.tar.gz + be4a5ba422777b330d09169fe505eae433aad7378c2eaf411ea591723b82ace2 + g15macro_1.0.3-3.diff.gz + 62af7645012e1be404bd790a8c5a07f8050665c1de1e412b2c46d507a9cae665 +This checks archive integrity against the local descriptor, not authenticity: +the descriptor's OpenPGP signature has not been verified for this import. + +The historical debian/ files and g15macro.1 preserve their content, including +copyright, attribution, changelog, and legacy metadata. Debian packaging is +unchanged apart from trailing blank-line differences introduced on import. +credited to Giacomo A. Catenazzi; see debian/copyright and upstream COPYING. +The manpage was introduced by the Debian 1.0.3-1 packaging. + +The Debian linker change is reconciled rather than applied wholesale: +the fork already links -lpthread. Add -Wl,--no-add-needed to both Makefile.am +and Makefile.in, keeping their LIBS consistent (the historical Debian patch +added that flag only to Makefile.am). Do not restore old -avoid-version or +replace the fork's generated build files with the 1.0.3 versions. + +This is NOT a new Debian release. The changelog deliberately still identifies +1.0.3-3, whereas the fork identifies itself as 1.0.5. A maintainer must choose +and document an appropriate package version before publishing packages. +No Debian 13 build or hardware/runtime validation is claimed. + +Modernization remains separate work: debhelper compatibility 5, CDBS, +historical dependencies/policy/watch URLs, obsolete --enable-ttf and +--disable-rpath configure arguments, and chrpath behavior need review. +The fork's generated Makefile.in also still references configure.in rather +than configure.ac; regenerate/validate Autotools as part of build work. +No macro-engine changes or outer packaging integration are included. \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..45d8ba0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,23 @@ +g15macro (1.0.3-3) unstable; urgency=low + + * update policy + * update links, allowing linking with gold (Closes: #554381) + * don't use .la files (Closes: #549834) + * remove rpath + + -- Giacomo Catenazzi Mon, 21 Dec 2009 08:13:41 +0100 + +g15macro (1.0.3-2) unstable; urgency=low + + * Correct debian/watch (upstream suffix is bz2) + * debian/control: add ${misc:Depends}, add Homepage, dump policy version + + -- Giacomo Catenazzi Thu, 06 Aug 2009 13:43:38 +0200 + +g15macro (1.0.3-1) unstable; urgency=low + + * Initial release. (Closes: #439792). + * created g15macro.1 manpage + + -- Giacomo Catenazzi Sat, 02 Feb 2008 09:19:53 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7bcf7d0 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: g15macro +Section: utils +Priority: extra +Maintainer: Giacomo Catenazzi +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, chrpath, + libxtst-dev, libfreetype6-dev, libusb-dev, + libg15-dev, libg15render-dev (>= 1.2-3), libg15daemon-client-dev +Standards-Version: 3.8.3 +Homepage: http://www.g15tools.com + +Package: g15macro +Section: utils +Architecture: any +Depends: g15daemon, ${shlibs:Depends}, ${misc:Depends} +Description: A simple Macro recording/playback application for G15Daemon + G15macro provides a way to record and playback keyboard macro using + the M and G keys found on some Logitech keyboards. + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fbd28a2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Giacomo A. Catenazzi on +Sat, 15 Sep 2007 08:32:51 +0200. + +It was downloaded from http://g15daemon.sourceforge.net/ + +Upstream Author: + Mike Lampard + +Copyright: + + (c) 2006-2007 Mike Lampard + +License: + + g15daemon is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + g15daemon is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +License can be found in the file `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2008, Giacomo A. Catenazzi and +is licensed under the GPL v2 (ot later), see `/usr/share/common-licenses/GPL-2'. + + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/g15macro.install b/debian/g15macro.install new file mode 100644 index 0000000..f380a96 --- /dev/null +++ b/debian/g15macro.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/g15macro usr/bin/ +debian/tmp/usr/share/g15macro/splash/g15macro.wbmp usr/share/g15macro/splash/ diff --git a/debian/g15macro.manpages b/debian/g15macro.manpages new file mode 100644 index 0000000..28b3931 --- /dev/null +++ b/debian/g15macro.manpages @@ -0,0 +1 @@ +g15macro.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b62eef0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DESTDIR = $(CURDIR)/debian/tmp/ +DEB_CONFIGURE_EXTRA_FLAGS = --enable-ttf --quiet --disable-rpath + +install/g15macro:: + chrpath --delete $(DEB_DESTDIR)/usr/bin/g15macro + + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..6339720 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +# See uscan(1) for format +version=3 +http://sf.net/g15daemon g15macro-(.+)\.tar\..* + + diff --git a/g15macro.1 b/g15macro.1 new file mode 100644 index 0000000..0670f19 --- /dev/null +++ b/g15macro.1 @@ -0,0 +1,36 @@ +.TH "g15macro" "1" "3.1" "G15Daemon - g15macro" "G15Daemon User Manual" + +.SH "NAME" +g15macro \- A simple Macro recording/playback application for G15Daemon + +.SH "DESCRIPTION" +This package provides a way to record, playback and display keyboard macro using +the M and G keys found on some Logitech keyboards. + +.SH "OPTIONS" +g15macro understands the following options: +.br +.P +.HP +\-h show usage information. +.P +.HP +\-d dump current configuration to stdout. +.P +.HP +\-g print debugging information. +.P +.HP +\-k configure multimedia and extra keys then exit +.P +.HP +\-v show program version. + +.SH "AUTHOR" +Mike Lampard +.SH "SEE ALSO" +.BR g15daemon (1), +.BR libg15 (3), + + +