• Re: packaging help

    From Andrey Rakhmatullin@21:1/5 to james smith on Sat May 4 08:00:01 2024
    On Sat, May 04, 2024 at 03:44:45AM +0000, james smith wrote:
    I am trying to package ly[1] I got everything up to the rules part, I am stuck thinking on how to edit/make the makefile, if you have any tips or tools that can make this a easier process, I would be much grateful
    You don't normally need to "edit/make the makefile". Do you have any
    specific problems you need hep with?

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmY1zqgtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh esIP/RsEbs0VGFz5+XQreo5gAuSGRhEmJjtAfsfmJdOC00L/ub2ehQ0nPfiQmYX8 cILPsJhfxxtZJQZ8Qzz0opjONKlbiPP6aBLJ8KX6nN0RBWhF80oG2WWUPpAqyNve oxVCZIIPSjV0/Ui0BQh5lzS16Izr9v3sYgCxWebEDUMQaLm819JDNED02NMC8RPW F3WWLA6cZ+cnxbulGKWE9KWNIeFcgfhxX3iCOIytwS+AoapkiR7En8n6U8zEyeYV HWZHQueOaBNlpcFz4cMB4ltkajed+noG8tSL3IYP3PJXHS4uqT7Iqcjq/qgq8eo0 rXh3tkRa3aNUSj+W5fiDCoOqmIt3Hzz6WdQhh7DsBGnDqiFN3eIYRrdy5ZM8Zp58 wnM4TvHLBqjdw+xNUaS8y1kCMXMV81D7NNjTrCkiKUHfb3r7VannbNaQPo4qyDVK ZCi2MRS8K2yT4JVQVKaxo5YyP/rzgx13QwV4Yf1dKJhXOb21Qf4TOqsKjSI0DZG+ 8cM1Y4ufrrRs31gSHh4xxXAsB+pP3NuBIlqvPdVShG5BJynmsN+QoUhQzJpynbT7 j7cDzaYja7qDSzhWU9Og6nY6bUfo2huRY2SPhO0yH8MKav96mE4R6zV+d/pRRTO2 sWbM+B3wEjK/Ka4OZWmEyOZaBaoGixRXqI1MK8PcBICsbBkN
    =Bo5p
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wookey@21:1/5 to james smith on Sun May 5 23:30:02 2024
    On 2024-05-04 03:44 +0000, james smith wrote:
    I am trying to package ly[1] I got everything up to the rules part, I am stuck thinking on how to edit/make the makefile, if you have any tips or tools that can make this a easier process, I would be much grateful

    Any editor will do - note that tabs are syntactically important in makefiles

    A tool like debmake will make you a template/base rules files (as well
    as sample/template/base all the other files), or you can copy-and-modify one from
    almost any other package that isn't hopelessly out of date (debmake is a better approach).

    These days most rules files look like:

    #!/usr/bin/make -f

    #DH_VERBOSE=1

    %:
    dh $@

    with maybe a few instances of environement variables and override rules

    # see ENVIRONMENT in dpkg-buildflags(1)
    export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic

    or
    override_dh_clean:
    -mv Doxyfile.orig Doxyfile
    -mv libsquish.pc.in.orig libsquish.pc.in
    dh_clean

    Does that help?

    Wookey
    --
    Principal hats: Debian, Wookware, ARM
    http://wookware.org/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmY3+TEACgkQ+4YyUahv nkfGOBAAq5iKeLeNbzVrzPOPJcWHb6h6K8YdC/KyfWScc9v07B5Vmb9b80PVhwlA P3RHShennEOE4xTUZFDtLVnRRldKYTfqVr4Y5hzPOuxGilpB/LnSdJazUF/Ce/0U 5q+sgcnqkrSrS5oZKO85sAh4EZMx3niV1zd5oRGWAZmurJJ7fzTdpjnE+n4ovGpy 7OSLTmnDRfMBpizVmjxMxjNvgxOxfDHO0RbXpn8XcVG6t9VQ2/+xtlrehkSTstxW RLpeelLXK2/hOAIqDd6W19+mvklcHrPrycA4AkNLWvOKHIEaCsEuOCObU76vimLE K6PTs+gnZMqWervLes+f/OrpZNE2jac8qPCT7EkXei0KfIHPJdSlbH5x2HRoSmf1 ImbJzYIFDiZwSWNCEoe/P5967GaBGX7kCzwQl8BEeVLqMGPEcIUuQbJvnvzIrNWx klsIP4+eZ+4jEedLQu10h8JK2pmvXQ1lD2SZJr5V2tYtPRwj8FOnqxm/zxMVpOvy 5pWcfJTNuIq3t9RlGRE94ROAJ0zQ+lt9wsmpOgueha8Lt9U4uDfqKefr3F+nLpMT 47ht3jmnAyZWxO2uSmN3PRpfd/H1YtkxYUBwogS+ZLAGYkdw7GZIDIE4y6RvGW+U Zfv1GzpTGXxL5EdoKv7M6NR6cXPxbNyDiXOvvRc+GgwqR3pF8F8=
    =Nwpb
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)