public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] Rename binary package to avoid correlations with Debian hello.
@ 2018-01-25  8:29 Alexander Smirnov
  2018-01-25  8:29 ` [PATCH 2/2] Add dependency from 'libhello' Alexander Smirnov
  2018-01-25  9:06 ` [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Baurzhan Ismagulov
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Smirnov @ 2018-01-25  8:29 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index c4e4d48..461fea4 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 9), autotools-dev
 Standards-Version: 3.9.5
 Homepage: https://github.com/ilbers/hello
 
-Package: hello
+Package: example-hello
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Sample application
-- 
2.1.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Add dependency from 'libhello'.
  2018-01-25  8:29 [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Alexander Smirnov
@ 2018-01-25  8:29 ` Alexander Smirnov
  2018-01-25  9:06 ` [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Baurzhan Ismagulov
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Smirnov @ 2018-01-25  8:29 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 Makefile.am      | 1 +
 Makefile.in      | 3 ++-
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 hello.c          | 4 ++--
 5 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 17fea24..6f64c47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@ RM = rm
 
 bin_PROGRAMS = hello
 hello_SOURCES = hello.c
+hello_LDADD = -lhello
 man1_MANS = hello.1
 
 hello.1: hello.sgml
diff --git a/Makefile.in b/Makefile.in
index 5bdf0b6..cd6fff1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -96,7 +96,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
 PROGRAMS = $(bin_PROGRAMS)
 am_hello_OBJECTS = hello.$(OBJEXT)
 hello_OBJECTS = $(am_hello_OBJECTS)
-hello_LDADD = $(LDADD)
+hello_DEPENDENCIES =
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -288,6 +288,7 @@ top_srcdir = @top_srcdir@
 DB2MAN = docbook-to-man
 RM = rm
 hello_SOURCES = hello.c
+hello_LDADD = -lhello
 man1_MANS = hello.1
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am
diff --git a/debian/changelog b/debian/changelog
index 4ccf2b1..abf142b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hello (0.2) unstable; urgency=low
+
+  * Add libhello dependency.
+
+ -- Alexander Smirnov <asmirnov@ilbers.de>  Mon, 22 Jan 2018 20:00:00 +0100
+
 hello (0.1+g7f35942-1) unstable; urgency=low
 
   * Initial release.
diff --git a/debian/control b/debian/control
index 461fea4..f36e614 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: hello
 Section: misc
 Priority: extra
 Maintainer: Baurzhan Ismagulov <ibr@radix50.net>
-Build-Depends: debhelper (>= 9), autotools-dev
+Build-Depends: debhelper (>= 9), autotools-dev, libhello-dev
 Standards-Version: 3.9.5
 Homepage: https://github.com/ilbers/hello
 
diff --git a/hello.c b/hello.c
index 9edc47a..269c24b 100644
--- a/hello.c
+++ b/hello.c
@@ -5,10 +5,10 @@
  * version 2.
  */
 
-#include <stdio.h>
+#include <hello.h>
 
 int main(void)
 {
-	printf("Hello, world!\n");
+	say_hello();
 	return 0;
 }
-- 
2.1.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] Rename binary package to avoid correlations with Debian hello.
  2018-01-25  8:29 [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Alexander Smirnov
  2018-01-25  8:29 ` [PATCH 2/2] Add dependency from 'libhello' Alexander Smirnov
@ 2018-01-25  9:06 ` Baurzhan Ismagulov
  1 sibling, 0 replies; 3+ messages in thread
From: Baurzhan Ismagulov @ 2018-01-25  9:06 UTC (permalink / raw)
  To: isar-users

On Thu, Jan 25, 2018 at 11:29:32AM +0300, Alexander Smirnov wrote:
> Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>

Could you please remove the period in the commit title?

Acked-by: Baurzhan Ismagulov <ibr@ilbers.de>

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-25  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25  8:29 [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Alexander Smirnov
2018-01-25  8:29 ` [PATCH 2/2] Add dependency from 'libhello' Alexander Smirnov
2018-01-25  9:06 ` [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox