[BACK]Return to patch-Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / chat / lurch-purple / patches

File: [cvs.NetBSD.org] / pkgsrc / chat / lurch-purple / patches / patch-Makefile (download)

Revision 1.2, Wed Apr 6 19:53:52 2022 UTC (23 months, 3 weeks ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, HEAD
Changes since 1.1: +7 -7 lines

chat/lurch-purple: Update to 0.7.0

Actually works with pidgin, talking to Conversations via federation!
(0.6.8 did not)


Upstream:

## [0.7.0] - 2021-02-12
### Added
- This file.
- An API reachable through _libpurple_ signals. See `lurch_api.h` for details and usage.
- Testing setup using _cmocka_ and tests for new modules.
- CI setup running the tests in _appveyor_ and reporting coverage results to _codecov_.
- The possibility to dynamically link against the submodule libaries. ([#151](https://github.com/gkdr/lurch/pull/151)) (thanks, [@fortysixandtwo](https://github.com/fortysixandtwo)!)

### Changed
- A new `/command` handler using the API, replacing the old implementation. The commands are a bit different and some are new.
- Updated _libomemo_ submodule to 0.7.1. See the [changelog](https://github.com/gkdr/libomemo/blob/master/CHANGELOG.md) for details.
- Updated _axc_ submodule to 0.3.4. See the [changelog](https://github.com/gkdr/axc/blob/master/CHANGELOG.md) for details.

### Removed
- The `lurch_initialised` setting in the `accounts.xml`.

### BUGFIXES

$NetBSD: patch-Makefile,v 1.2 2022/04/06 19:53:52 gdt Exp $

Needs -lpurple.

--- Makefile.orig	2021-04-03 20:46:46.000000000 +0000
+++ Makefile
@@ -23,7 +23,8 @@ GLIB_LDFLAGS ?= $(shell $(PKG_CONFIG) --
 
 LIBPURPLE_CFLAGS=$(shell $(PKG_CONFIG) --cflags purple)
 PURPLE_DIR=$(shell $(PKG_CONFIG) --variable=plugindir purple)
-LIBPURPLE_LDFLAGS=$(shell $(PKG_CONFIG) --cflags purple) \
+LIBPURPLE_LDFLAGS=$(shell $(PKG_CONFIG) --libs purple) \
+		    -Wl,-R$(shell $(PKG_CONFIG) --variable=plugindir purple) \
 		    -L$(PURPLE_DIR)
 
 LIBOMEMO_CFLAGS = $(shell $(PKG_CONFIG) --cflags libomemo)