Commit ca927d4fcec01b42866fbbdbf1bdd6f8046157b0

Authored by matyapiro31
1 parent 92e8a219

add debian support

add support debian package.
debian/changelog 0 → 100755
  1 +pidgin-line (0.1-ubuntu1) vivid; urgency=low
  2 +
  3 + * Release for public.
  4 +
  5 + -- Akira Nakagawa <[email protected]> Tue, 28 Jul 2015 13:42:00 +0900
  6 +pidgin-line (0.0-ubuntu1) trusty; urgency=low
  7 +
  8 + * Initial Release
  9 +
  10 + -- Akira Nakagawa <[email protected]> Sat, 25 Jul 2015 21:31:57 +0900
  11 +
... ...
debian/compat 0 → 100755
  1 +8
... ...
debian/control 0 → 100755
  1 +Source: pidgin-line
  2 +Section: contrib/net
  3 +Priority: optional
  4 +Maintainer: Matti Virkkunen <[email protected]>
  5 +Build-Depends: debhelper (>= 9),thrift-compiler,libpurple-dev,libthrift-dev,libglib2.0-dev,quilt
  6 +Standards-Version: 3.9.6
  7 +Homepage: /git/purple-line/
  8 +Vcs-Git: /git/purple-line.git
  9 +
  10 +Package: pidgin-line
  11 +Architecture: any
  12 +Depends: ${misc:Depends},${shlibs:Depends},
  13 + libpurple0,libthrift0
  14 +Provides: purple-line
  15 +Description: purple-line
  16 + libpurple (Pidgin, Finch) protocol plugin for LINE.
  17 + Now, this doesn't work well on Empathy.
  18 + To know usage, you should read README.md in /usr/share/doc/pidgin-line.
  19 + .
  20 +
  21 +Package: pidgin-line-dbg
  22 +Section: contrib/debug
  23 +Architecture: any
  24 +Priority: extra
  25 +Depends: ${misc:Depends}, pidgin-line (= ${binary:Version})
  26 +Description: purple-line (debugging symbols)
  27 + libpurple (Pidgin, Finch) protocol plugin for LINE.
  28 + This package includes debug symbols.
  29 + .
... ...
debian/copyright 0 → 100755
  1 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  2 +Upstream-Name: purple-line
  3 +Source: /git/purple-line/
  4 +
  5 +Files: *
  6 +Copyright: Copyright (c) 2014, 2015 Matti Virkkunen
  7 +License: MIT
  8 + Permission is hereby granted, free of charge, to any person obtaining
  9 + a copy of this software and associated documentation files (the
  10 + "Software"), to deal in the Software without restriction, including
  11 + without limitation the rights to use, copy, modify, merge, publish,
  12 + distribute, sublicense, and/or sell copies of the Software, and to
  13 + permit persons to whom the Software is furnished to do so, subject to
  14 + the following conditions:
  15 + .
  16 + The above copyright notice and this permission notice shall be included
  17 + in all copies or substantial portions of the Software.
  18 + .
  19 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  20 + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  21 + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  22 + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  23 + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  24 + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  25 + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
... ...
debian/docs 0 → 100755
  1 +README.md
... ...
debian/patches/change-version.patch 0 → 100755
  1 +Change version id to 0.1-ubuntu1
  2 +Index: purple-line/libpurple/pluginmain.cpp
  3 +===================================================================
  4 +--- purple-line.orig/libpurple/pluginmain.cpp
  5 ++++ purple-line/libpurple/pluginmain.cpp
  6 +@@ -34,7 +34,7 @@ static void init_info(PurplePluginInfo &
  7 +
  8 + i.id = (char *)LINE_PRPL_ID;
  9 + i.name = (char *)"LINE";
  10 +- i.version = (char *)"0.1";
  11 ++ i.version = (char *)"0.1-ubuntu1";
  12 + i.summary = (char *)"Plugin for Naver LINE";
  13 + i.description = (char *)"Plugin for Naver LINE";
  14 + i.author = (char *)"Matti Virkkunen <[email protected]>";
... ...
debian/patches/fix-build-action.patch 0 → 100755
  1 +add to /usr/lib/debug debug symboled file.
  2 +remove strip.
  3 +Index: purple-line/libpurple/Makefile
  4 +===================================================================
  5 +--- purple-line.orig/libpurple/Makefile
  6 ++++ purple-line/libpurple/Makefile
  7 +@@ -38,7 +38,6 @@ all: $(MAIN)
  8 +
  9 + $(MAIN): $(OBJS) $(THRIFT_DEP)
  10 + $(CXX) $(CXXFLAGS) -Wl,-z,defs -o $(MAIN) $(OBJS) $(LIBS)
  11 +- strip $(MAIN)
  12 +
  13 + .cpp.o:
  14 + $(CXX) $(CXXFLAGS) -std=c++11 -c $< -o $@
  15 +@@ -79,7 +78,8 @@ user-uninstall:
  16 +
  17 + .PHONY: install
  18 + install: all
  19 +- install -D $(MAIN) $(DESTDIR)$(PURPLE_PLUGIN_DIR)/$(MAIN)
  20 ++ install -m 664 -D $(MAIN) $(DESTDIR)/usr/lib/debug$(PURPLE_PLUGIN_DIR)/$(MAIN)
  21 ++ install -m 664 -D $(MAIN) $(DESTDIR)$(PURPLE_PLUGIN_DIR)/$(MAIN)
  22 + install -m 644 -D ../icons/16/line.png $(DESTDIR)$(PURPLE_DATA_ROOT_DIR)/pixmaps/pidgin/protocols/16/line.png
  23 + install -m 644 -D ../icons/22/line.png $(DESTDIR)$(PURPLE_DATA_ROOT_DIR)/pixmaps/pidgin/protocols/22/line.png
  24 + install -m 644 -D ../icons/48/line.png $(DESTDIR)$(PURPLE_DATA_ROOT_DIR)/pixmaps/pidgin/protocols/48/line.png
  25 +@@ -110,4 +110,3 @@ endif
  26 + endif
  27 + endif
  28 + endif
  29 +-
... ...
debian/patches/series 0 → 100755
  1 +change-version.patch
  2 +fix-build-action.patch
... ...
debian/pidgin-line-dbg.install 0 → 100755
  1 +usr/lib/debug/usr/lib/purple-2/libline.so
... ...
debian/pidgin-line.install 0 → 100755
  1 +usr/lib/purple-2/libline.so
  2 +usr/share/pixmaps/
... ...
debian/rules 0 → 100755
  1 +#!/usr/bin/make -f
  2 +%:
  3 + dh $@
  4 +
  5 +override_dh_auto_build:
  6 + $(MAKE) all
  7 +
  8 +override_dh_strip:
  9 + dh_strip --dbg-package=pidgin-line-dbg
  10 +
  11 +override_dh_builddeb:
  12 + dh_builddeb -- -Zxz
  13 +
  14 +override_dh_shlibdeps:
  15 + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
  16 +
  17 +#comment out command if you don't want to build clean every time.
  18 +override_dh_auto_clean:
  19 + $(MAKE) clean
  20 + dh_clean
... ...
debian/source/format 0 → 100755
  1 +3.0 (quilt)
... ...