debian/0000775000000000000000000000000011722747701007200 5ustar debian/patches/0000775000000000000000000000000011722747526010634 5ustar debian/patches/binutils-gold.patch0000664000000000000000000000110611722745560014423 0ustar Description: Fix FTBFS due to ld --no-add-needed in natty toolchain Author: Bhavani Shankar Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3147061&group_id=137089&atid=738772 --- llk-linux-2.3~beta1.orig/src/Makefile.am +++ llk-linux-2.3~beta1/src/Makefile.am @@ -30,5 +30,5 @@ llk_linux_LDADD = \ $(PACKAGE_LIBS)\ - -lc -lesd + -lc -lesd -lX11 --- llk-linux-2.3~beta1.orig/src/Makefile.in +++ llk-linux-2.3~beta1/src/Makefile.in @@ -226,7 +226,7 @@ llk_linux_LDADD = \ $(PACKAGE_LIBS)\ - -lc -lesd + -lc -lesd -lX11 all: all-am debian/patches/format_strings.patch0000664000000000000000000000402311722747550014712 0ustar Description: Fix building with -Werror=format-security Author: Andreas Moog Bug-Ubuntu: https://bugs.launchpad.net/bugs/935281 --- llk-linux-2.3~beta1.orig/src/main.c +++ llk-linux-2.3~beta1/src/main.c @@ -641,7 +641,7 @@ ui_game_begin(GtkWidget *w,gpointer data break; } type = GTK_MESSAGE_WARNING; - dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK,message); + dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK, "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); g_free(message); @@ -677,7 +677,7 @@ ui_game_begin(GtkWidget *w,gpointer data gchar *message = NULL; message = g_strdup(_("Read saved game data error,Maybe you have not saved a game before.\n")); type = GTK_MESSAGE_WARNING; - dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK,message); + dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK, "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); g_free(message); @@ -955,7 +955,7 @@ ui_game_over(gboolean success) } } } - dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK,message); + dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,type,GTK_BUTTONS_OK, "%s" ,message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); g_free(message); @@ -2320,7 +2320,7 @@ static const gchar *tray_popup_ui_info = { GtkWidget *dialog; dialog = gtk_message_dialog_new(NULL,GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,message); + GTK_MESSAGE_ERROR,GTK_BUTTONS_OK, "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); g_free(message); gtk_widget_destroy(dialog); debian/patches/series0000664000000000000000000000005111722747526012045 0ustar binutils-gold.patch format_strings.patch debian/docs0000664000000000000000000000001011722745560010043 0ustar AUTHORS debian/llk_linux.desktop0000664000000000000000000000054211722745560012576 0ustar [Desktop Entry] Encoding=UTF-8 Type=Application Name=llk_linux Exec=llk_linux GenericName=LianLianKan Game GenericName[zh_CN]=连连看游戏 GenericName[zh_TW]=連連看遊戲 Comment=Gtk based LianLianKan Game. Comment[zh_CN]=基于Gtk的连连看游戏 Comment[zh_TW]=基於Gtk的連連看遊戲 Icon=llk_linux.png Categories=GTK;Game; Terminal=false debian/dirs0000664000000000000000000000002711722745560010064 0ustar usr/share/applications debian/install0000664000000000000000000000013211722745560010566 0ustar debian/llk_linux.desktop usr/share/applications/ debian/llk_linux.xpm usr/share/pixmaps/ debian/llk_linux.xpm0000664000000000000000000000267311722745560011740 0ustar /* XPM */ static char *llk_linux[] = { /* columns rows colors chars-per-pixel */ "32 32 14 1", " c black", ". c #063801", "X c #0C8D05", "o c #0AA803", "O c #2DCC00", "+ c #3DE509", "@ c #BA8F3A", "# c #FFBA00", "$ c #E0BE7C", "% c #A6F58E", "& c #F2D59B", "* c #C0C0C0", "= c gray100", "- c None", /* pixels */ "------------ ----- -------------", "----------- # --- # ------------", "----------- ## - ## ------------", "------- - ## ## ------------", "------ %%O O OO # -- --------", "------ %O OOOOOOO O%% -------", "------- O ==OOOOOOOOOOOOO ------", "------ # = =OO==OOOOoXXX ------", "----- ## = =O= =OO -------", "----- # %O==OO= =OX # ---------", "---- # %OOOOOOO==Oo # ----------", "----- %OOOOOOOOOOOX ## ---------", "----- O +OOOOOOOOo ### ---------", "---- %O+OOO +OOOoX # ----------", "---- OOOOOO+OOOoX ## -----------", "---- OO.OOO.OOoXX # ------------", "----- OO...+OoXX # ---- -------", "------ O++oXX # O -- # ------", "-------- ## OO ## o -----", "------ O @@@@ O O ## oO -----", "---- %OO &$$@O %OO ooO ------", "--- %%OO &$$$ %%OO XoOOX ------", "--- OO - &$$$ %OO XoOOXX ------", "---- --- &&$$$ XoOOXXX ------", "---------- &$$$$$XOO X -------", "--------- &&$$$$$$ %OO -------", "-------- %O &&&$$$$ OOX --------", "-------- %O &&&& OOX --------", "-------- %OX - - OOX --------", "------- OOXX ----- OOOOO -------", "------- ----- -------", "--------------------------------" }; debian/watch0000664000000000000000000000020011722745560010222 0ustar # See uscan(1) for format version=3 opts="uversionmangle=s/beta/~beta/" \ http://sf.net/llk-linux/llk_linux-([^s].*)\.tar\.gz debian/control0000664000000000000000000000150511722745560010605 0ustar Source: llk-linux Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: LI Daobing Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), libgtk2.0-dev, libesd0-dev Standards-Version: 3.9.1 Homepage: http://sourceforge.net/projects/llk-linux Vcs-Browser: https://code.launchpad.net/~lidaobing/+junk/llk-linux Vcs-Bzr: lp:~lidaobing/+junk/llk-linux Package: llk-linux Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: a mahjongg-like game written in GTK Your mission in this game is to remove all blocks from the game board. A matching pair of blocks can be removed, if they are 'free', which means the connection between these two blocks does not cross other block and have at most two turns. debian/compat0000664000000000000000000000000211722745560010377 0ustar 5 debian/llk_linux.10000664000000000000000000000261011722745560011263 0ustar .\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "LLK_LINUX" 1 "January 06, 2007" "" "" .SH NAME llk_linux \- a mahjongg-like game written in GTK .SH "SYNOPSIS" .ad l .hy 0 .HP 6 \fBllk_linux\fR .ad .hy .SH "DESCRIPTION" .PP This manual page documents briefly the \fBllk_linux\fR command\&. .PP Your mission in this game is to remove all blocks from the game board. A matching pair of blocks can be removed, if they are `free', which means the connection between these two blocks does not cross other block and have at most two turns. .PP This manual page was written for the Debian distribution because the original program does not have a manual page\&. .PP Homepage: http://sourceforge\&.net/projects/llk-linux .SH "AUTHOR" .PP This manual page was written by LI Daobing for the Debian system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&. debian/copyright0000664000000000000000000000207011722745560011133 0ustar This package was debianized by LI Daobing on Mon, 10 Oct 2005 18:28:52 +0800. It was downloaded from http://www.gnome-cn.org/software/llk Copyright Holder: Copyright 2005 ZHAO Mingxian License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/rules0000775000000000000000000000104011722746454010257 0ustar #!/usr/bin/make -f # to re-generate debian/control, invoke # fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes # include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_INSTALL_MANPAGES_llk-linux = debian/llk_linux.1 common-install-impl:: rm -rf $(CURDIR)/debian/llk-linux/usr/doc mkdir -p $(CURDIR)/debian/llk-linux/usr/games/ mv $(CURDIR)/debian/llk-linux/usr/bin/* $(CURDIR)/debian/llk-linux/usr/games/ rm -rf $(CURDIR)/debian/llk-linux/usr/bin/ unpatch: deapply-dpatches debian/changelog0000664000000000000000000000233211722747343011054 0ustar llk-linux (2.3~beta1-0ubuntu5) precise; urgency=low * d/p/format_string.patch: Fix building with -Werror=format-security (LP: #935281) -- Andreas Moog Mon, 27 Feb 2012 19:42:45 +0100 llk-linux (2.3~beta1-0ubuntu4) natty; urgency=low * Add X11 libraries to LDADD rather than LDFLAGS in src/Makefile.in and src/Makefile.am during build to fix FTBFS with ld --no-add-needed. Thanks to Matthias Klose for the intimation * Add a simple-patchsys rule in view of the above change * Bump up standards to 3.9.1 No other changes -- Bhavani Shankar Tue, 28 Dec 2010 20:22:16 +0530 llk-linux (2.3~beta1-0ubuntu3) natty; urgency=low * Link X11 libraries in src/Makefile.in and src/Makefile.am during build to fix FTBFS with ld --no-add-needed. -- Bhavani Shankar Sun, 26 Dec 2010 19:07:53 +0530 llk-linux (2.3~beta1-0ubuntu2) maverick; urgency=low * No changes upload for libesd-alsa0 -> libesd0 transition -- Fabrice Coutadeur Tue, 14 Sep 2010 21:17:41 +0200 llk-linux (2.3~beta1-0ubuntu1) jaunty; urgency=low * Initial Ubuntu package (LP: #285886) -- LI Daobing Sun, 09 Nov 2008 21:32:12 +0800 debian/menu0000664000000000000000000000024211722745560010066 0ustar ?package(llk-linux):\ needs="X11"\ section="Games/Puzzles"\ title="llk-linux"\ icon="/usr/share/pixmaps/llk_linux.xpm"\ command="/usr/games/llk_linux" debian/control.in0000664000000000000000000000126111722745560011211 0ustar Source: llk-linux Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: LI Daobing Build-Depends: @cdbs@, libgtk2.0-dev, libesd0-dev Standards-Version: 3.7.2 Package: llk-linux Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: a mahjongg-like game written in GTK Your mission in this game is to remove all blocks from the game board. A matching pair of blocks can be removed, if they are 'free', which means the connection between these two blocks does not cross other block and have at most two turns. . Homepage: http://sourceforge.net/projects/llk-linux debian/source/0000775000000000000000000000000011722746405010500 5ustar debian/source/format0000664000000000000000000000001411722746405011706 0ustar 3.0 (quilt)