new upstream release 0.6.1

f41
David Tardon 9 years ago
parent d2378d0079
commit 26c2782ef5

1
.gitignore vendored

@ -2,3 +2,4 @@
/liblangtag-0.5.7.tar.bz2
/liblangtag-0.5.8.tar.bz2
/liblangtag-0.6.0.tar.bz2
/liblangtag-0.6.1.tar.bz2

@ -1,56 +0,0 @@
From 687378760fdbb432c0e4676cd499a140a6fe1b11 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 23 Mar 2016 14:07:48 +0100
Subject: [PATCH] enum must be declared before it's used
---
liblangtag/lt-tag.h | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/liblangtag/lt-tag.h b/liblangtag/lt-tag.h
index f4cbb76..3afd7b5 100644
--- a/liblangtag/lt-tag.h
+++ b/liblangtag/lt-tag.h
@@ -37,6 +37,19 @@ LT_BEGIN_DECLS
*/
typedef struct _lt_tag_t lt_tag_t;
+enum _lt_tag_filter_t {
+ LT_TAG_FILTER_NONE = 0,
+ LT_TAG_FILTER_LANGUAGE = 1 << 0,
+ LT_TAG_FILTER_EXTLANG = 1 << 1,
+ LT_TAG_FILTER_SCRIPT = 1 << 2,
+ LT_TAG_FILTER_REGION = 1 << 3,
+ LT_TAG_FILTER_VARIANT = 1 << 4,
+ LT_TAG_FILTER_EXTENSION = 1 << 5,
+ LT_TAG_FILTER_PRIVATEUSE = 1 << 6,
+ LT_TAG_FILTER_GRANDFATHERED = 1 << 7,
+ LT_TAG_FILTER_ALL = -1
+};
+
/**
* lt_tag_filter_t:
* @LT_TAG_FILTER_NONE: all of objects filtered.
@@ -55,19 +68,6 @@ typedef struct _lt_tag_t lt_tag_t;
*/
typedef enum _lt_tag_filter_t lt_tag_filter_t;
-enum _lt_tag_filter_t {
- LT_TAG_FILTER_NONE = 0,
- LT_TAG_FILTER_LANGUAGE = 1 << 0,
- LT_TAG_FILTER_EXTLANG = 1 << 1,
- LT_TAG_FILTER_SCRIPT = 1 << 2,
- LT_TAG_FILTER_REGION = 1 << 3,
- LT_TAG_FILTER_VARIANT = 1 << 4,
- LT_TAG_FILTER_EXTENSION = 1 << 5,
- LT_TAG_FILTER_PRIVATEUSE = 1 << 6,
- LT_TAG_FILTER_GRANDFATHERED = 1 << 7,
- LT_TAG_FILTER_ALL = -1
-};
-
lt_tag_t *lt_tag_new (void);
lt_tag_t *lt_tag_ref (lt_tag_t *tag);
void lt_tag_unref (lt_tag_t *tag);
--
2.5.0

@ -4,7 +4,7 @@
%global soversion_gobject 0
Name: liblangtag
Version: 0.6.0
Version: 0.6.1
Release: 1%{?dist}
Summary: An interface library to access tags for identifying languages
@ -19,8 +19,6 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libxml-2.0)
Patch0: 0001-enum-must-be-declared-before-it-s-used.patch
%description
%{name} is an interface library to access tags for identifying
languages.
@ -117,6 +115,9 @@ make %{?_smp_mflags} check
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Thu Sep 22 2016 David Tardon <dtardon@redhat.com> - 0.6.1-1
- new upstream release
* Wed Mar 23 2016 David Tardon <dtardon@redhat.com> - 0.6.0-1
- new upstream release

@ -1 +1 @@
dcd7a845a8a9b57ca96eb04a29083246 liblangtag-0.6.0.tar.bz2
90be6460842d8b719de0c2058bf108e1 liblangtag-0.6.1.tar.bz2

Loading…
Cancel
Save