Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding debian structure

  • Loading branch information...
commit 48505225355156319c180fcddf9736e65f879f87 1 parent 6a6882d
Paulo Cesar authored
Showing with 223 additions and 17 deletions.
  1. +6 −0 debian/README.Debian
  2. +25 −0 debian/changelog
  3. +1 −0  debian/compat
  4. +57 −0 debian/control
  5. +35 −0 debian/copyright
  6. +2 −0  debian/dirs
  7. +10 −0 debian/postinst
  8. +61 −0 debian/rules
  9. +9 −17 macuco.pro
  10. 0  { → src}/Delete.png
  11. 0  { → src}/data/26x26/macuco.png
  12. 0  { → src}/data/40x40/macuco.png
  13. 0  { → src/data/64x64}/macuco.png
  14. 0  { → src}/data/maemo/macuco.xpm
  15. 0  { → src}/errorbox.cpp
  16. 0  { → src}/errorbox.h
  17. 0  { → src}/errorbox.ui
  18. 0  { → src}/flickable.cpp
  19. 0  { → src}/flickable.h
  20. 0  { → src}/macuco.desktop
  21. 0  {data/64x64 → src}/macuco.png
  22. +17 −0 src/macuco.pro
  23. 0  { → src}/main.cpp
  24. 0  { → src}/mainwindow.cpp
  25. 0  { → src}/mainwindow.h
  26. 0  { → src}/networkcookiejar.cpp
  27. 0  { → src}/networkcookiejar.h
  28. 0  { → src}/resources.qrc
  29. 0  { → src}/spinner.png
  30. 0  { → src}/src.pro
  31. 0  { → src}/src.pro.user
  32. 0  { → src}/webpage.h
  33. 0  { → src}/webview.cpp
  34. 0  { → src}/webview.h
View
6 debian/README.Debian
@@ -0,0 +1,6 @@
+macuco for Maemo
+-----------------
+
+initial release
+
+ -- Paulo Cesar <puelocesar@gmail.com> Sat, 1 Aug 2009 18:39:21 -0300
View
25 debian/changelog
@@ -0,0 +1,25 @@
+macuco (0.1-4) unstable; urgency=low
+
+ * Zoom with hardware keys
+ * Changing loading animation to something that doesn't eat so much CPU
+
+ -- Paulo Cesar <puelocesar@gmail.com> Sat, 28 Oct 2009 22:16:00 -0300
+
+macuco (0.1-3) unstable; urgency=low
+
+ * Remove scroll bars.
+
+ -- Jie Zhang <jzhang918@gmail.com> Sat, 12 Oct 2009 18:49:00 +0800
+
+macuco (0.1-2) unstable; urgency=low
+
+ * Fix high cpu load bug.
+
+ -- Jie Zhang <jzhang918@gmail.com> Sat, 12 Oct 2009 08:52:00 +0800
+
+macuco (0.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Paulo Cesar <puelocesar@gmail.com> Sat, 1 Aug 2009 18:39:21 -0300
+
View
1  debian/compat
@@ -0,0 +1 @@
+5
View
57 debian/control
@@ -0,0 +1,57 @@
+Source: macuco
+Section: user/network
+Priority: optional
+Maintainer: Paulo Cesar <puelocesar@gmail.com>
+XSBC-Original-Maintainer: Paulo Cesar <puelocesar@gmail.com>
+Build-Depends: debhelper (>= 5), libqt4-dev
+Standards-Version: 3.7.3
+
+Package: macuco
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, hildon-application-manager
+Description: A simple mobile browser that emulates iPhone's Gmail behavior
+XB-Maemo-Icon-26:
+ iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAA6c
+ AAAOxAF19oSBAAAHbUlEQVRIib3UWWxc5RXA8f9d5s6d3RmPx+NtvMSxEyfO
+ ghPHiSnGISQOBFG1Tau2oLaiUlUoL30pokhpVR6qSq3aSnQBFJoKKRQIiGyQ
+ EEIQaYgTJ26m4yxeYo/t8TaLx/bMeObemXv7gKgaEqGqDz1PR/oefjrnO+dg
+ mqbA/yFkwAJod3tsa2uzLMfjpQ4HlFR5lt5/P5T5X6E7qmlpaVEq3Pb70ksL
+ Tzkd7lbVqlbqBQ09ry/ZbUoknU6/r5ny7z4Jheb+Z6isrMzZ6HW9UOUv//rW
+ zl2qy+2moqqG2akZFNVC0SgwNjXC+Y9P37TZ3T89dvb84f8Wkj5LHnvsQYey
+ uPxyj1j41n21NZaGh77Kls5tTN6aoDpYi89fztqNG/CVBgh4A77x8eFHA4Ey
+ a/u6taq/3OfY0tCYu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zpL3/mgZ5d1PuDLMwvIEoS
+ LpeTq+ErXL7aezKRTH/vxvj49BchAP8CTGQ2vpFDlBwAAAAASUVORK5CYII=
View
35 debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by unknown <puelocesar@gmail.com> on
+Sat, 1 Aug 2009 18:39:21 -0300.
+
+It was downloaded from <fill in http/ftp site>
+
+Upstream Author: <put author(s) name and email here>
+
+Copyright: <put the year(s) of the copyright, and the names of the
+ copyright holder(s) here>
+
+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'.
+
+The Debian packaging is (C) 2009, unknown <puelocesar@gmail.com> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
View
2  debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
View
10 debian/postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+gtk-update-icon-cache -f /usr/share/icons/hicolor
+
+oldversion="$2"
+if [ -z "$oldversion" ]; then
+ maemo-select-menu-location macuco.desktop
+fi
+
+exit 0
View
61 debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+APPNAME := macuco
+builddir:
+ mkdir -p builddir
+
+builddir/Makefile: builddir
+ cd builddir && qmake-qt4 PREFIX=/usr ../$(APPNAME).pro
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+ dh_testdir
+ # Add here commands to compile the package.
+ cd builddir && $(MAKE)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ # Add here commands to clean up after the build process.
+ rm -rf builddir
+ dh_clean
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/your_appname
+ cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
+ mkdir -p $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/26x26/apps
+ mkdir -p $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/40x40/apps
+ mkdir -p $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/64x64/apps
+ cp $(CURDIR)/src/data/26x26/macuco.png $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/26x26/apps
+ cp $(CURDIR)/src/data/40x40/macuco.png $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/40x40/apps
+ cp $(CURDIR)/src/data/64x64/macuco.png $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/64x64/apps
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
View
26 macuco.pro
@@ -1,17 +1,9 @@
-TEMPLATE = app
-SOURCES = flickable.cpp \
- main.cpp \
- webview.cpp \
- mainwindow.cpp \
- errorbox.cpp \
- networkcookiejar.cpp
-HEADERS = flickable.h \
- webview.h \
- mainwindow.h \
- webpage.h \
- errorbox.h \
- networkcookiejar.h
-QT += network \
- webkit
-FORMS += errorbox.ui
-RESOURCES += resources.qrc
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
+}
+
+TEMPLATE = subdirs
+SUBDIRS = src
+
View
0  Delete.png → src/Delete.png
File renamed without changes
View
0  data/26x26/macuco.png → src/data/26x26/macuco.png
File renamed without changes
View
0  data/40x40/macuco.png → src/data/40x40/macuco.png
File renamed without changes
View
0  macuco.png → src/data/64x64/macuco.png
File renamed without changes
View
0  data/maemo/macuco.xpm → src/data/maemo/macuco.xpm
File renamed without changes
View
0  errorbox.cpp → src/errorbox.cpp
File renamed without changes
View
0  errorbox.h → src/errorbox.h
File renamed without changes
View
0  errorbox.ui → src/errorbox.ui
File renamed without changes
View
0  flickable.cpp → src/flickable.cpp
File renamed without changes
View
0  flickable.h → src/flickable.h
File renamed without changes
View
0  macuco.desktop → src/macuco.desktop
File renamed without changes
View
0  data/64x64/macuco.png → src/macuco.png
File renamed without changes
View
17 src/macuco.pro
@@ -0,0 +1,17 @@
+TEMPLATE = app
+SOURCES = flickable.cpp \
+ main.cpp \
+ webview.cpp \
+ mainwindow.cpp \
+ errorbox.cpp \
+ networkcookiejar.cpp
+HEADERS = flickable.h \
+ webview.h \
+ mainwindow.h \
+ webpage.h \
+ errorbox.h \
+ networkcookiejar.h
+QT += network \
+ webkit
+FORMS += errorbox.ui
+RESOURCES += resources.qrc
View
0  main.cpp → src/main.cpp
File renamed without changes
View
0  mainwindow.cpp → src/mainwindow.cpp
File renamed without changes
View
0  mainwindow.h → src/mainwindow.h
File renamed without changes
View
0  networkcookiejar.cpp → src/networkcookiejar.cpp
File renamed without changes
View
0  networkcookiejar.h → src/networkcookiejar.h
File renamed without changes
View
0  resources.qrc → src/resources.qrc
File renamed without changes
View
0  spinner.png → src/spinner.png
File renamed without changes
View
0  src.pro → src/src.pro
File renamed without changes
View
0  src.pro.user → src/src.pro.user
File renamed without changes
View
0  webpage.h → src/webpage.h
File renamed without changes
View
0  webview.cpp → src/webview.cpp
File renamed without changes
View
0  webview.h → src/webview.h
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.